
/* v20.50: contrast repair for all four themes; inherit foreground from surface. */
html .tile,html .panel,html .lic-panel,html .org-form,html .mp-report,html .mp-kpi,html .alert-card,html .mp-emp-card,html .mp-theme-dialog,html .mp-theme-option { color:var(--t-text)!important; }
html .tile h1,html .tile h2,html .tile h3,html .tile h4,html .panel h1,html .panel h2,html .panel h3,html .panel h4,html .panel .section-title,html .lic-panel h1,html .lic-panel h2,html .lic-panel h3,html .org-form h1,html .org-form h2,html .mp-kpi strong,html .mp-report strong,html .mp-emp-card h2,html .mp-emp-card h3 { color:var(--t-text)!important; }
html .tile p,html .tile small,html .tile .muted,html .panel p,html .panel small,html .panel .admin-note,html .lic-panel p,html .lic-panel small,html .org-form p,html .org-form small,html .mp-report small,html .mp-emp-card p { color:var(--t-muted)!important; }
html .tile button:not(.primary),html .panel button:not(.primary):not(.mp-nat-danger),html .lic-panel button:not(.primary),html .mp-report button:not(.primary) { color:var(--t-text)!important; }
html .tile a,html .panel a,html .lic-panel a { color:var(--t-soft-text)!important; }
html .tile .symbol,html .tile .chip,html .panel .symbol,html .panel .chip { color:var(--t-soft-text)!important; }
html[data-mp-theme='dark'] .tile,html[data-mp-theme='dark'] .panel,html[data-mp-theme='dark'] .lic-panel,html[data-mp-theme='dark'] .mp-report { color-scheme:dark; }
html .mp-nat-icon,html .mp-nat-bulk,html .mp-nat-cancel { background:var(--t-surface)!important;color:var(--t-text)!important;border-color:var(--t-line)!important; }
html .mp-nat-danger {color:#b5252c!important;background:var(--t-surface)!important}
html[data-mp-theme='dark'] .mp-nat-danger {color:#ff9b9e!important}
html .mp-nat-modal {background:var(--t-surface)!important;color:var(--t-text)!important}
html .mp-nat-modal h2,html .mp-nat-modal label {color:var(--t-text)!important}
