/* Urban Star TV — sitewide contrast guard v1.0.0.
   Explicit rules for known dark production shells; dynamic evaluation handles
   other dark pages without forcing white-on-white on light backgrounds. */
html:has(.usvo) #wpadminbar,
html:has(.ussb.ussb-fullscreen) #wpadminbar { display: none !important; }
html:has(.usvo),
html:has(.ussb.ussb-fullscreen) { margin-top: 0 !important; }

/* Defend the full-screen executive office against inherited theme heading colors. */
body .usvo .usvo-headline h1,
body .usvo .usvo-page-heading h2,
body .usvo .usvo-section-title,
body .usvo .usvo-box-head h3,
body .usvo .usvo-tool-config h3,
body .usvo .usvo-tool-card h3,
body .usvo .usvo-check strong {
    color: #f3f6fc !important;
    -webkit-text-fill-color: #f3f6fc !important;
    text-shadow: none !important;
}
body .usvo .usvo-page-heading p,
body .usvo .usvo-tool-card p,
body .usvo .usvo-tool-note,
body .usvo .usvo-muted,
body .usvo .usvo-field small,
body .usvo .usvo-tool-config small {
    color: #b9c8dc !important;
    -webkit-text-fill-color: #b9c8dc !important;
}
body .usvo .usvo-field label {
    color: #e2eaf5 !important;
    -webkit-text-fill-color: #e2eaf5 !important;
}
/* The office's action button intentionally uses dark text against gold. */
body .usvo .usvo-primary,
body .usvo .usvo-primary * {
    color: #18202b !important;
    -webkit-text-fill-color: #18202b !important;
}

/* Active only when a contrast test found an illegible text/background pair. */
body [data-usm-contrast-repair="light"] {
    color: #eef4fc !important;
    -webkit-text-fill-color: #eef4fc !important;
    text-shadow: none !important;
}
body [data-usm-contrast-repair="dark"] {
    color: #142035 !important;
    -webkit-text-fill-color: #142035 !important;
    text-shadow: none !important;
}
