/* Shared picker rows: consistent spacing for every result type. */
#SearchBoxContainer .profile-picker-result {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
#SearchBoxContainer .profile-picker-result > .Avatar {
    position: static;
    float: none;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
}
#SearchBoxContainer .profile-picker-result > .Info {
    position: static;
    float: none;
    flex: 1;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
}
/* Shared selection panel; navigation search retains its own behavior. */
#SearchBoxContainer.profile-picker-panel {
    border: 1px solid #d5dbe1;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    box-sizing: border-box;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: min(355px, 65vh);
    min-height: 0;
    padding: 0 4px 4px;
    font-size: 1rem;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-toolbar {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 6px;
    border-bottom: 1px solid #e8ebef;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-toolbar > span {
    font-size: .8125rem;
    color: #66717d !important;
}
#SearchBoxContainer.profile-picker-panel .Close { display: none; }
#SearchBoxContainer.profile-picker-panel .profile-picker-result {
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
    margin: 2px 0;
    border: 0;
    border-radius: 4px;
    min-height: 56px;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-result:hover,
#SearchBoxContainer.profile-picker-panel .profile-picker-result:focus-visible {
    background-color: #edf3f8 !important;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-result:focus-visible,
#SearchBoxContainer.profile-picker-panel .profile-picker-toolbar button:focus-visible {
    outline: 2px solid #337ab7;
    outline-offset: -2px;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-result > .Info,
#SearchBoxContainer.profile-picker-panel .profile-picker-result > .Info > div,
#SearchBoxContainer.profile-picker-panel .profile-picker-result > .Avatar {
    background-color: transparent !important;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-result .Name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-result .Title,
#SearchBoxContainer.profile-picker-panel .profile-picker-result .CompanyName {
    font-size: .8125rem;
    line-height: 1.4;
    color: #66717d !important;
    overflow-wrap: anywhere;
}
#SearchBoxContainer.profile-picker-panel .profile-picker-result .wol-avatar-initials {
    background-color: #e3edf8 !important;
    color: #1f4f86 !important;
}

/* Preserve complete entity artwork; the shared avatar supplies square initials. */
#SearchBoxContainer .profile-picker-result [data-avatar-type="entity"] .wol-avatar-image {
    object-fit: contain !important;
}

/* Legacy navigation results share the avatar fallback without requiring picker mode. */
#SearchBoxContainer .wol-avatar-initials {
    background-color: #e3edf8 !important;
    color: #1f4f86 !important;
}
