/* Follow saved tenant branding; semantic status/warning colors remain distinct. */
.crm-market-ui .crm-topbar .crm-account-cluster .crm-user-avatar {
    background: var(--crm-primary) !important;
    color: var(--crm-primary-contrast) !important;
    border: 1px solid rgba(var(--crm-primary-rgb), .24);
    box-shadow: 0 3px 10px rgba(var(--crm-primary-rgb), .18) !important;
}
.crm-market-ui .crm-sidebar .crm-sidebar-brand,
.crm-market-ui .crm-sidebar .crm-sidebar-footer { background: var(--crm-sidebar-bg) !important; }
.crm-market-ui .crm-topbar .crm-search-scope-toggle:hover,
.crm-market-ui .crm-topbar .crm-search-scope-toggle[aria-expanded="true"],
.crm-market-ui .crm-search-page-scopes input:checked + span {
    background: var(--crm-primary-soft) !important;
    color: var(--crm-primary-dark) !important;
    border-color: var(--crm-primary-dark) !important;
}
.crm-market-ui .market-trend-legend i { background: var(--crm-primary-dark); }
.crm-market-ui .market-trend-legend i.is-secondary {
    background: none;
    border-top: 3px dashed var(--crm-sidebar-active);
}
.crm-market-ui .market-opportunity-list i::after,
.crm-market-ui .market-metric-track i {
    background: linear-gradient(90deg, var(--crm-primary-dark), var(--crm-primary)) !important;
}
