.tg-user-menu-avatar {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #1f2937;
    color: #19c7c1;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
}

.dark .tg-user-menu-avatar {
    background: #19c7c1;
    color: #1f2937;
}

.tg-user-menu-header {
    margin: 0.375rem 0.5rem 0;
    border-bottom: 1px solid color-mix(in oklab, var(--gray-950) 8%, transparent);
    padding: 0.625rem 0.75rem 0.75rem;
}

.tg-user-menu-header-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
}

.tg-user-menu-name {
    max-width: 100%;
    overflow: hidden;
    color: var(--gray-950);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-user-menu-header .fi-badge {
    padding-inline: 0.5rem;
}

.dark .tg-user-menu-header {
    border-bottom-color: color-mix(in oklab, var(--color-white) 10%, transparent);
}

.dark .tg-user-menu-name {
    color: var(--color-white);
}

.tg-topbar-business {
    display: inline-flex;
    max-width: min(18rem, 36vw);
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.tg-topbar-business-name {
    display: block;
    max-width: min(18rem, 36vw);
    min-width: 0;
    overflow: hidden;
    color: var(--gray-700);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: 1.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-topbar-business-date {
    display: block;
    overflow: hidden;
    color: var(--gray-500);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-normal);
    line-height: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark .tg-topbar-business-name {
    color: var(--gray-200);
}

.dark .tg-topbar-business-date {
    color: var(--gray-400);
}

@media (max-width: 640px) {
    .tg-topbar-business,
    .tg-topbar-business-name {
        max-width: 42vw;
    }
}
