.related-tags a.ms-enhanced-tag-chip{display:inline-flex!important;align-items:center;gap:6px;vertical-align:middle}.ms-enhanced-chip-avatar{position:relative;display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;overflow:hidden;background:#e5defb;color:#5b35a3;font-size:12px;font-weight:750}.ms-enhanced-chip-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.related-tags a.is-matched-profile{background:#eee7ff!important;border-color:#9872e8!important;color:#55299a!important;box-shadow:0 0 0 1px rgba(124,58,237,.12);font-weight:750!important}.theme-dark .related-tags a.is-matched-profile,.theme-auto.theme-runtime-dark .related-tags a.is-matched-profile{background:#33234e!important;color:#ede2ff!important;border-color:#9872e8!important}.enhanced-results-controls{display:grid;gap:12px;margin:20px 0;padding:16px;border:1px solid var(--frontend-border,#dbe3ee);border-radius:14px}.enhanced-results-options{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.enhanced-results-options>span{font-size:12px;font-weight:700;min-width:108px;color:var(--frontend-muted,#64748b)}.enhanced-results-options>div{display:flex;gap:7px;flex-wrap:wrap}.enhanced-results-option{display:inline-block;padding:8px 13px;border:1px solid var(--frontend-border,#dbe3ee);border-radius:999px;text-decoration:none;color:inherit;font-size:13px;font-weight:600}.enhanced-results-option.is-active{background:#6d3ad1;border-color:#6d3ad1;color:#fff}.enhanced-results-error{padding:16px;border:1px solid #d5ae54;border-radius:12px;background:#fff8df;color:#674b0a;margin:16px 0}.enhanced-results-error a{font-weight:700}.theme-dark .enhanced-results-options>span,.theme-auto.theme-runtime-dark .enhanced-results-options>span{color:#bcc6d7}@media(max-width:600px){.enhanced-results-controls{padding:12px}.enhanced-results-options{gap:8px}.enhanced-results-options>span{flex-basis:100%}.enhanced-results-option{padding:8px 11px}.ms-enhanced-chip-avatar{width:22px;height:22px;flex-basis:22px}}
.ms-enhanced-chip-avatar img[hidden]{display:none!important}
/* Match the established compact-widget selectors so Modern's default chip
   colors do not override the selected profile's visible highlight. */
body .pro-search-panel .related-widget.ms-related-inline .popular-tags.related-tags>a.ms-enhanced-tag-chip.is-matched-profile{background:#eee7ff!important;border-color:#9872e8!important;color:#55299a!important;font-weight:750!important}
body.theme-dark .pro-search-panel .related-widget.ms-related-inline .popular-tags.related-tags>a.ms-enhanced-tag-chip.is-matched-profile,body.theme-auto.theme-runtime-dark .pro-search-panel .related-widget.ms-related-inline .popular-tags.related-tags>a.ms-enhanced-tag-chip.is-matched-profile{background:#33234e!important;color:#ede2ff!important}
.ms-enhanced-tag-chip>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.enhanced-results-hint{margin:0;color:var(--frontend-muted,#64748b);font-size:12px;line-height:1.5}.theme-dark .enhanced-results-hint,.theme-auto.theme-runtime-dark .enhanced-results-hint{color:#bcc6d7}
