/* The header switcher replaces both duplicate tenant representations for super-admins. */
.fi-topbar-start:has(.m-app-admin-tenant-switcher) > a:has(.fi-logo),
.fi-topbar-start:has(.m-app-admin-tenant-switcher) > .fi-logo {
    display: none;
}

.m-app-admin-tenant-switcher .fi-tenant-menu-trigger .fi-tenant-avatar,
.fi-sidebar > .fi-tenant-menu .fi-tenant-menu-trigger .fi-tenant-avatar {
    width: 5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    object-fit: contain;
}

.fi-dropdown-list-item-image[style*='/customers/'][style*='/logo'] {
    width: 2rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    background-repeat: no-repeat;
    background-size: contain;
}

@media (min-width: 64rem) {
    .fi-sidebar > .fi-tenant-menu {
        display: none;
    }
}

@media (max-width: 63.999rem) {
    .fi-sidebar:has(> .fi-tenant-menu) .fi-sidebar-header-logo-ctn {
        display: none;
    }
}
