/* THRS V14.72 | Batch 1 — Internships / Training / Team Reports / T-Score (3)
   Paint-only Midnight Navy + restrained Cumin Gold. Original six designs, hero
   wave artwork, size/spacing, tables, rows, forms, data, JS, permissions and Light Mode
   are unchanged. Directly loaded last, scoped to dark and the named pages only. */

/* Internships — existing premium design stays intact */
html[data-theme="dark"] body .thrs-shell .thrs-page-internships{
 --it29-paper:#142d40!important;
 --it29-soft:#203d51!important;
 --it29-ink:#edf4f8!important;
 --it29-muted:#bfd0dc!important;
 --it29-border:#4d6a7f!important;
 --it29-elevation:0 9px 21px rgba(0,8,20,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
 --it29-gold:#d3a654!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card{
 border-color:#4e6c80!important;
 box-shadow:0 8px 20px rgba(0,8,20,.22)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card :is(input.form-input,select.form-input,input.form-select,select.form-select),
html[data-theme="dark"] body .thrs-shell .thrs-page-internships >div:has(>input.form-input) input.form-input{
 background:#1b3b4e!important;
 color:#eaf3f8!important;
 -webkit-text-fill-color:#eaf3f8!important;
 border-color:#54748a!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships input.form-input::placeholder{
 color:#b7ccd9!important;
 -webkit-text-fill-color:#b7ccd9!important;
 opacity:1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships :is(.modern-table-wrap,.modern-table){
 background:#142d40!important;
 border-color:#49687d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table thead th{
 background:#173346!important;
 color:#d7e3eb!important;
 border-bottom-color:#506f83!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody tr:nth-child(odd) td{
 background:#142f42!important;
 border-bottom-color:#405e72!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#48677b!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody tr:hover td{
 background:#294b5e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-state-panel-icon{
 background:#383b35!important;
 border-color:#977b4c!important;
 color:#e3bb72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .badge-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card .badge-success{
 background:#194538!important;
 border-color:#4c8871!important;
 color:#b9e7d2!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .badge-warning,
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card .badge-warning{
 background:#473a2a!important;
 border-color:#977b4d!important;
 color:#eed198!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .badge-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card .badge-danger{
 background:#472f39!important;
 border-color:#956572!important;
 color:#edbac5!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .thrs-btn-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card .thrs-btn-danger{
 background:#663843!important;
 border-color:#a36672!important;
 color:#f8d6dd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .thrs-btn-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card .thrs-btn-success{
 background:#194b3c!important;
 border-color:#5b9179!important;
 color:#c5efdc!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .thrs-btn-secondary,
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card .thrs-btn-secondary{
 background:#204258!important;
 border-color:#5b7b8d!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .page-header .thrs-btn-secondary{
 background:linear-gradient(145deg,#1b3b4e,#112d40)!important;
 border-color:#547488!important;
 color:#edf4f8!important;
 box-shadow:0 4px 12px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .page-header .thrs-btn-primary{
 background:linear-gradient(140deg,#deb76f,#cba051)!important;
 border-color:#c29b57!important;
 color:#142d40!important;
 box-shadow:0 5px 12px rgba(0,8,19,.18)!important;
}

/* Training — existing premium design stays intact */
html[data-theme="dark"] body .thrs-shell .thrs-page-training{
 --it29-paper:#142d40!important;
 --it29-soft:#203d51!important;
 --it29-ink:#edf4f8!important;
 --it29-muted:#bfd0dc!important;
 --it29-border:#4d6a7f!important;
 --it29-elevation:0 9px 21px rgba(0,8,20,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
 --it29-gold:#d3a654!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card{
 border-color:#4e6c80!important;
 box-shadow:0 8px 20px rgba(0,8,20,.22)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card :is(input.form-input,select.form-input,input.form-select,select.form-select),
html[data-theme="dark"] body .thrs-shell .thrs-page-training >div:has(>input.form-input) input.form-input{
 background:#1b3b4e!important;
 color:#eaf3f8!important;
 -webkit-text-fill-color:#eaf3f8!important;
 border-color:#54748a!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training input.form-input::placeholder{
 color:#b7ccd9!important;
 -webkit-text-fill-color:#b7ccd9!important;
 opacity:1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training :is(.modern-table-wrap,.modern-table){
 background:#142d40!important;
 border-color:#49687d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table thead th{
 background:#173346!important;
 color:#d7e3eb!important;
 border-bottom-color:#506f83!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody tr:nth-child(odd) td{
 background:#142f42!important;
 border-bottom-color:#405e72!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#48677b!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody tr:hover td{
 background:#294b5e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-state-panel-icon{
 background:#383b35!important;
 border-color:#977b4c!important;
 color:#e3bb72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .badge-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card .badge-success{
 background:#194538!important;
 border-color:#4c8871!important;
 color:#b9e7d2!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .badge-warning,
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card .badge-warning{
 background:#473a2a!important;
 border-color:#977b4d!important;
 color:#eed198!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .badge-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card .badge-danger{
 background:#472f39!important;
 border-color:#956572!important;
 color:#edbac5!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .thrs-btn-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card .thrs-btn-danger{
 background:#663843!important;
 border-color:#a36672!important;
 color:#f8d6dd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .thrs-btn-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card .thrs-btn-success{
 background:#194b3c!important;
 border-color:#5b9179!important;
 color:#c5efdc!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .thrs-btn-secondary,
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card .thrs-btn-secondary{
 background:#204258!important;
 border-color:#5b7b8d!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .page-header .thrs-btn-secondary{
 background:linear-gradient(145deg,#1b3b4e,#112d40)!important;
 border-color:#547488!important;
 color:#edf4f8!important;
 box-shadow:0 4px 12px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .page-header .thrs-btn-primary{
 background:linear-gradient(140deg,#deb76f,#cba051)!important;
 border-color:#c29b57!important;
 color:#142d40!important;
 box-shadow:0 5px 12px rgba(0,8,19,.18)!important;
}

/* Team Reports — existing premium design stays intact */
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports{
 --tr32-paper:#142d40!important;
 --tr32-soft:#203d51!important;
 --tr32-ink:#edf4f8!important;
 --tr32-muted:#bfd0dc!important;
 --tr32-border:#4d6a7f!important;
 --tr32-shadow:0 9px 21px rgba(0,8,20,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
 --tr32-gold:#d3a654!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card{
 border-color:#4e6c80!important;
 box-shadow:0 8px 20px rgba(0,8,20,.22)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card :is(input.form-input,select.form-input,input.form-select,select.form-select),
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports >div:has(>input.form-input) input.form-input{
 background:#1b3b4e!important;
 color:#eaf3f8!important;
 -webkit-text-fill-color:#eaf3f8!important;
 border-color:#54748a!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports input.form-input::placeholder{
 color:#b7ccd9!important;
 -webkit-text-fill-color:#b7ccd9!important;
 opacity:1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports :is(.modern-table-wrap,.modern-table){
 background:#142d40!important;
 border-color:#49687d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table thead th{
 background:#173346!important;
 color:#d7e3eb!important;
 border-bottom-color:#506f83!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody tr:nth-child(odd) td{
 background:#142f42!important;
 border-bottom-color:#405e72!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#48677b!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody tr:hover td{
 background:#294b5e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-state-panel-icon{
 background:#383b35!important;
 border-color:#977b4c!important;
 color:#e3bb72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table .badge-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card .badge-success{
 background:#194538!important;
 border-color:#4c8871!important;
 color:#b9e7d2!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table .badge-warning,
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card .badge-warning{
 background:#473a2a!important;
 border-color:#977b4d!important;
 color:#eed198!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table .badge-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card .badge-danger{
 background:#472f39!important;
 border-color:#956572!important;
 color:#edbac5!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table .thrs-btn-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card .thrs-btn-danger{
 background:#663843!important;
 border-color:#a36672!important;
 color:#f8d6dd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table .thrs-btn-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card .thrs-btn-success{
 background:#194b3c!important;
 border-color:#5b9179!important;
 color:#c5efdc!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table .thrs-btn-secondary,
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .thrs-card .thrs-btn-secondary{
 background:#204258!important;
 border-color:#5b7b8d!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .page-header .thrs-btn-secondary{
 background:linear-gradient(145deg,#1b3b4e,#112d40)!important;
 border-color:#547488!important;
 color:#edf4f8!important;
 box-shadow:0 4px 12px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .page-header .thrs-btn-primary{
 background:linear-gradient(140deg,#deb76f,#cba051)!important;
 border-color:#c29b57!important;
 color:#142d40!important;
 box-shadow:0 5px 12px rgba(0,8,19,.18)!important;
}

/* T-Score Evaluations — existing premium design stays intact */
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations{
 --t33-paper:#142d40!important;
 --t33-soft:#203d51!important;
 --t33-ink:#edf4f8!important;
 --t33-muted:#bfd0dc!important;
 --t33-line:#4d6a7f!important;
 --t33-shadow:0 9px 21px rgba(0,8,20,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
 --t33-gold:#d3a654!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card{
 border-color:#4e6c80!important;
 box-shadow:0 8px 20px rgba(0,8,20,.22)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card :is(input.form-input,select.form-input,input.form-select,select.form-select),
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations >div:has(>input.form-input) input.form-input{
 background:#1b3b4e!important;
 color:#eaf3f8!important;
 -webkit-text-fill-color:#eaf3f8!important;
 border-color:#54748a!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations input.form-input::placeholder{
 color:#b7ccd9!important;
 -webkit-text-fill-color:#b7ccd9!important;
 opacity:1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations :is(.modern-table-wrap,.modern-table){
 background:#142d40!important;
 border-color:#49687d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table thead th{
 background:#173346!important;
 color:#d7e3eb!important;
 border-bottom-color:#506f83!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody tr:nth-child(odd) td{
 background:#142f42!important;
 border-bottom-color:#405e72!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#48677b!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody tr:hover td{
 background:#294b5e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-state-panel-icon{
 background:#383b35!important;
 border-color:#977b4c!important;
 color:#e3bb72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .badge-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card .badge-success{
 background:#194538!important;
 border-color:#4c8871!important;
 color:#b9e7d2!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .badge-warning,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card .badge-warning{
 background:#473a2a!important;
 border-color:#977b4d!important;
 color:#eed198!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .badge-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card .badge-danger{
 background:#472f39!important;
 border-color:#956572!important;
 color:#edbac5!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .thrs-btn-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card .thrs-btn-danger{
 background:#663843!important;
 border-color:#a36672!important;
 color:#f8d6dd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .thrs-btn-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card .thrs-btn-success{
 background:#194b3c!important;
 border-color:#5b9179!important;
 color:#c5efdc!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .thrs-btn-secondary,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .thrs-card .thrs-btn-secondary{
 background:#204258!important;
 border-color:#5b7b8d!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .page-header .thrs-btn-secondary{
 background:linear-gradient(145deg,#1b3b4e,#112d40)!important;
 border-color:#547488!important;
 color:#edf4f8!important;
 box-shadow:0 4px 12px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .page-header .thrs-btn-primary{
 background:linear-gradient(140deg,#deb76f,#cba051)!important;
 border-color:#c29b57!important;
 color:#142d40!important;
 box-shadow:0 5px 12px rgba(0,8,19,.18)!important;
}

/* T-Score Analytics — existing premium design stays intact */
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics{
 --ta34-paper:#142d40!important;
 --ta34-soft:#203d51!important;
 --ta34-ink:#edf4f8!important;
 --ta34-muted:#bfd0dc!important;
 --ta34-border:#4d6a7f!important;
 --ta34-elev:0 9px 21px rgba(0,8,20,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
 --ta34-gold:#d3a654!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card{
 border-color:#4e6c80!important;
 box-shadow:0 8px 20px rgba(0,8,20,.22)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card :is(input.form-input,select.form-input,input.form-select,select.form-select),
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics >div:has(>input.form-input) input.form-input{
 background:#1b3b4e!important;
 color:#eaf3f8!important;
 -webkit-text-fill-color:#eaf3f8!important;
 border-color:#54748a!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics input.form-input::placeholder{
 color:#b7ccd9!important;
 -webkit-text-fill-color:#b7ccd9!important;
 opacity:1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics :is(.modern-table-wrap,.modern-table){
 background:#142d40!important;
 border-color:#49687d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table thead th{
 background:#173346!important;
 color:#d7e3eb!important;
 border-bottom-color:#506f83!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody tr:nth-child(odd) td{
 background:#142f42!important;
 border-bottom-color:#405e72!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#48677b!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody tr:hover td{
 background:#294b5e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-state-panel-icon{
 background:#383b35!important;
 border-color:#977b4c!important;
 color:#e3bb72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table .badge-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card .badge-success{
 background:#194538!important;
 border-color:#4c8871!important;
 color:#b9e7d2!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table .badge-warning,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card .badge-warning{
 background:#473a2a!important;
 border-color:#977b4d!important;
 color:#eed198!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table .badge-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card .badge-danger{
 background:#472f39!important;
 border-color:#956572!important;
 color:#edbac5!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table .thrs-btn-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card .thrs-btn-danger{
 background:#663843!important;
 border-color:#a36672!important;
 color:#f8d6dd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table .thrs-btn-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card .thrs-btn-success{
 background:#194b3c!important;
 border-color:#5b9179!important;
 color:#c5efdc!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table .thrs-btn-secondary,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card .thrs-btn-secondary{
 background:#204258!important;
 border-color:#5b7b8d!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .page-header .thrs-btn-secondary{
 background:linear-gradient(145deg,#1b3b4e,#112d40)!important;
 border-color:#547488!important;
 color:#edf4f8!important;
 box-shadow:0 4px 12px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .page-header .thrs-btn-primary{
 background:linear-gradient(140deg,#deb76f,#cba051)!important;
 border-color:#c29b57!important;
 color:#142d40!important;
 box-shadow:0 5px 12px rgba(0,8,19,.18)!important;
}

/* T-Score Templates — existing premium design stays intact */
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder{
 --tt35-paper:#142d40!important;
 --tt35-soft:#203d51!important;
 --tt35-ink:#edf4f8!important;
 --tt35-muted:#bfd0dc!important;
 --tt35-line:#4d6a7f!important;
 --tt35-shadow:0 9px 21px rgba(0,8,20,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
 --tt35-gold:#d3a654!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card{
 border-color:#4e6c80!important;
 box-shadow:0 8px 20px rgba(0,8,20,.22)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card :is(input.form-input,select.form-input,input.form-select,select.form-select),
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder >div:has(>input.form-input) input.form-input{
 background:#1b3b4e!important;
 color:#eaf3f8!important;
 -webkit-text-fill-color:#eaf3f8!important;
 border-color:#54748a!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder input.form-input::placeholder{
 color:#b7ccd9!important;
 -webkit-text-fill-color:#b7ccd9!important;
 opacity:1!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder :is(.modern-table-wrap,.modern-table){
 background:#142d40!important;
 border-color:#49687d!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table thead th{
 background:#173346!important;
 color:#d7e3eb!important;
 border-bottom-color:#506f83!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody tr:nth-child(odd) td{
 background:#142f42!important;
 border-bottom-color:#405e72!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody tr:nth-child(even) td{
 background:#203d51!important;
 border-bottom-color:#48677b!important;
 color:#eef4f9!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody tr:hover td{
 background:#294b5e!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-state-panel-icon{
 background:#383b35!important;
 border-color:#977b4c!important;
 color:#e3bb72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table .badge-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .badge-success{
 background:#194538!important;
 border-color:#4c8871!important;
 color:#b9e7d2!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table .badge-warning,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .badge-warning{
 background:#473a2a!important;
 border-color:#977b4d!important;
 color:#eed198!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table .badge-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .badge-danger{
 background:#472f39!important;
 border-color:#956572!important;
 color:#edbac5!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table .thrs-btn-danger,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .thrs-btn-danger{
 background:#663843!important;
 border-color:#a36672!important;
 color:#f8d6dd!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table .thrs-btn-success,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .thrs-btn-success{
 background:#194b3c!important;
 border-color:#5b9179!important;
 color:#c5efdc!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table .thrs-btn-secondary,
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .thrs-btn-secondary{
 background:#204258!important;
 border-color:#5b7b8d!important;
 color:#ebf3f8!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .page-header .thrs-btn-secondary{
 background:linear-gradient(145deg,#1b3b4e,#112d40)!important;
 border-color:#547488!important;
 color:#edf4f8!important;
 box-shadow:0 4px 12px rgba(0,8,18,.17)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .page-header .thrs-btn-primary{
 background:linear-gradient(140deg,#deb76f,#cba051)!important;
 border-color:#c29b57!important;
 color:#142d40!important;
 box-shadow:0 5px 12px rgba(0,8,19,.18)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .thrs-btn-danger{background:#663843!important;border-color:#a36672!important;color:#f8d6dd!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table .thrs-btn-success{background:#194b3c!important;border-color:#5b9179!important;color:#c5efdc!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .thrs-card-header{background:#1c3b4f!important;border-bottom-color:#4e6c80!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .thrs-btn-danger{background:#663843!important;border-color:#a36672!important;color:#f8d6dd!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table .thrs-btn-success{background:#194b3c!important;border-color:#5b9179!important;color:#c5efdc!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .thrs-card-header{background:#1c3b4f!important;border-bottom-color:#4e6c80!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports>div:nth-child(2) select{background:#1a394c!important;color:#edf5f9!important;border-color:#577688!important;color-scheme:dark!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports>div:nth-child(3)>button{background:#1b3d51!important;color:#dfeaf2!important;border-color:#58788a!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports>div:nth-child(3)>button[style*='var(--bg-card']{background:#343c3d!important;color:#f0cf94!important;border-color:#af915c!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:last-child{background:linear-gradient(135deg,#253b51,#292f46)!important;color:#e7e8f4!important;border-color:#5f647d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports>div:nth-child(4):not(:has(>.thrs-card))>div{background:linear-gradient(145deg,#1c3b4e,#142d40)!important;border-color:#4c6b7f!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations>.page-header .thrs-btn-secondary{background:linear-gradient(145deg,#1b3b4e,#112d40)!important;border-color:#547488!important;color:#edf4f8!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations>.page-header+div>.thrs-btn-secondary{background:#203e51!important;color:#e9f1f6!important;border-color:#587687!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table .badge-info{background:#223f54!important;color:#bddbef!important;border-color:#54788e!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics>.page-header+div>.form-input{background:#1a394b!important;border-color:#56758a!important;color:#edf4f8!important;-webkit-text-fill-color:#edf4f8!important;color-scheme:dark!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics>.page-header+div+div>.thrs-card{background:linear-gradient(140deg,#1c3a4e,#152e41)!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics>div:nth-child(4)>.thrs-card>div:last-child{background:#142d40!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .thrs-card canvas{background:transparent!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-toolbar{background:linear-gradient(145deg,#1a3a4e,#132e42)!important;border-color:#506e82!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-toolbar :is(input,select){background:#1c3d51!important;color:#eaf3f8!important;border-color:#59788c!important;color-scheme:dark!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-menu{background:#18374a!important;color:#edf5f9!important;border-color:#557387!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-menu button{background:#19394d!important;color:#edf5f9!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-menu button:hover{background:#294c60!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-summary{background:#1c3b4e!important;color:#cbdbe5!important;border-color:#57778a!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-menu-trigger{background:#1c3a4e!important;border-color:#5a7688!important;color:#e5f0f8!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-detail-card{background:#142e42!important;border-color:#59768b!important;color:#edf4f9!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-tt35-detail-overlay{background:rgba(1,10,23,.74)!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .thrs-card .thrs-btn-primary{background:linear-gradient(140deg,#dcb76e,#cda253)!important;color:#152e3e!important;border-color:#b89358!important;}

/* The T-score floating menu is portaled to body, but only exists for Templates;
   its own legacy dark selector already exists and requires no global override. */

/* Higher specificity than legacy v14.xx hard-coded light badges. */
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody td .badge-success{background:#194538!important;color:#b9e7d2!important;border-color:#4c8871!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody td .badge-warning{background:#473a2a!important;color:#eed198!important;border-color:#977b4d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody td .badge-danger{background:#472f39!important;color:#edbac5!important;border-color:#956572!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-internships .modern-table tbody td .badge-info{background:#254357!important;color:#c8e1f0!important;border-color:#587a91!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody td .badge-success{background:#194538!important;color:#b9e7d2!important;border-color:#4c8871!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody td .badge-warning{background:#473a2a!important;color:#eed198!important;border-color:#977b4d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody td .badge-danger{background:#472f39!important;color:#edbac5!important;border-color:#956572!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-training .modern-table tbody td .badge-info{background:#254357!important;color:#c8e1f0!important;border-color:#587a91!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody td .badge-success{background:#194538!important;color:#b9e7d2!important;border-color:#4c8871!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody td .badge-warning{background:#473a2a!important;color:#eed198!important;border-color:#977b4d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody td .badge-danger{background:#472f39!important;color:#edbac5!important;border-color:#956572!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-team-reports .modern-table tbody td .badge-info{background:#254357!important;color:#c8e1f0!important;border-color:#587a91!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody td .badge-success{background:#194538!important;color:#b9e7d2!important;border-color:#4c8871!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody td .badge-warning{background:#473a2a!important;color:#eed198!important;border-color:#977b4d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody td .badge-danger{background:#472f39!important;color:#edbac5!important;border-color:#956572!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-evaluations .modern-table tbody td .badge-info{background:#254357!important;color:#c8e1f0!important;border-color:#587a91!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody td .badge-success{background:#194538!important;color:#b9e7d2!important;border-color:#4c8871!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody td .badge-warning{background:#473a2a!important;color:#eed198!important;border-color:#977b4d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody td .badge-danger{background:#472f39!important;color:#edbac5!important;border-color:#956572!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-analytics .modern-table tbody td .badge-info{background:#254357!important;color:#c8e1f0!important;border-color:#587a91!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody td .badge-success{background:#194538!important;color:#b9e7d2!important;border-color:#4c8871!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody td .badge-warning{background:#473a2a!important;color:#eed198!important;border-color:#977b4d!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody td .badge-danger{background:#472f39!important;color:#edbac5!important;border-color:#956572!important;}
html[data-theme="dark"] body .thrs-shell .thrs-page-t-score-template-builder .modern-table tbody td .badge-info{background:#254357!important;color:#c8e1f0!important;border-color:#587a91!important;}
