/* THRS V14.84 — System Control Center DARK PALETTE ONLY.
   Preserve V14.47 shield/wave art, four shortcuts, four KPIs, policy values,
   governance workflows, module coverage, table geometry, RTL and Light Mode. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447{
 --sc47-paper:#162f43!important;
 --sc47-soft:#203d51!important;
 --sc47-ink:#edf4f9!important;
 --sc47-muted:#c0d2df!important;
 --sc47-line:#4d6d80!important;
 --sc47-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 unchanged. Keep health indicator meaningful without neon glare. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-indicator{
 background:#60c793!important;box-shadow:0 0 0 3px rgba(96,199,147,.13)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-governance-pill.is-loading .thrs-sc-indicator{
 background:#d3ad69!important;box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-governance-pill.is-error .thrs-sc-indicator{
 background:#d98996!important;box-shadow:none!important;
}
/* Shortcut palette: four restrained, still distinct semantic tones. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-shortcut{
 --sc47-accent:#b5cee8!important;
 --sc47-wash:#2b455a!important;
 --sc47-halo:rgba(89,124,158,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-shortcut.tone-green{
 --sc47-accent:#b6e3cc!important;
 --sc47-wash:#21483e!important;
 --sc47-halo:rgba(89,142,117,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-shortcut.tone-gold{
 --sc47-accent:#ead093!important;
 --sc47-wash:#4b412f!important;
 --sc47-halo:rgba(155,125,75,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-shortcut.tone-purple{
 --sc47-accent:#d0bdec!important;
 --sc47-wash:#423c56!important;
 --sc47-halo:rgba(131,107,163,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-icon,
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-shortcut-arrow{
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-shortcut-arrow{
 color:var(--sc47-accent)!important;
}
/* Audit events / records / recoveries / approvals: slate not pale-blue. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-kpi{
 --sc47-accent:#b5cee8!important;
 --sc47-wash:#2b455a!important;
 --sc47-halo:rgba(82,119,158,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-kpi.tone-green{
 --sc47-accent:#a7dfc5!important;
 --sc47-wash:#21493e!important;
 --sc47-halo:rgba(78,138,111,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-kpi.tone-gold{
 --sc47-accent:#e6c384!important;
 --sc47-wash:#4c402f!important;
 --sc47-halo:rgba(157,125,67,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-kpi.tone-purple{
 --sc47-accent:#cab8e6!important;
 --sc47-wash:#403b56!important;
 --sc47-halo:rgba(128,105,160,.10)!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-kpi-icon{
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)!important;
}
/* Matrix: blue module icons less saturated, retain same symbols/rows. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-module-name svg{
 color:#96bbd7!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-matrix-head>div:first-child>span{
 color:#dfbb79!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-refresh{
 background:#1d3a50!important;border-color:#5b788b!important;color:#e7f0f6!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-refresh:hover{
 background:#2a4a60!important;border-color:#b29561!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-phase-chip{
 background:#244256!important;color:#dfd0b1!important;border-color:#64798b!important;
}
/* Semantic policy legend: enabled green, workflow blue, protected gold,
   approval purple, N/A/audit-only neutral. No data or permission changes. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-badge{
 color:#bbe7ce!important;background:#224a3c!important;
 box-shadow:inset 0 0 0 1px #578b72!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-badge-blue{
 color:#c5daef!important;background:#294660!important;
 box-shadow:inset 0 0 0 1px #5e7e9a!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-badge-gold{
 color:#ecd095!important;background:#4c402c!important;
 box-shadow:inset 0 0 0 1px #927848!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-badge-purple{
 color:#dfcbf5!important;background:#433b57!important;
 box-shadow:inset 0 0 0 1px #7f6a9b!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-badge-neutral{
 color:#ccdae4!important;background:#334a5c!important;
 box-shadow:inset 0 0 0 1px #627e90!important;
}
/* Retention summary icons and caution text remain visible. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-retention>div svg{
 color:#e1bc76!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-retention>p svg{
 color:#8dd1ad!important;
}
/* Network/coverage error is deep muted red instead of white/pink. */
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-error{
 background:#48333f!important;color:#edc1cc!important;border-color:#976a79!important;
}
html[data-theme="dark"] body .thrs-shell .thrs-system-control-v1447 .thrs-sc-error button{
 background:#244257!important;color:#e9f1f7!important;
}
/* No layout geometry, hero artwork, policy logic, actions or Light Mode overrides. */
