/* Give the open profile action the same visual weight as the main navigation. */
body:not(.sidebar-collapsed) .sidebar .sidebar-footer .profile-btn.wide {
    min-height: 56px !important;
    padding: 8px 12px !important;
    gap: 11px !important;
    border-radius: 10px !important;
}

body:not(.sidebar-collapsed) .sidebar .sidebar-footer .profile-btn.wide .profile-avatar {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 50% !important;
}

body:not(.sidebar-collapsed) .sidebar .sidebar-footer .profile-btn.wide .profile-avatar svg {
    width: 22px !important;
    height: 22px !important;
}

body:not(.sidebar-collapsed) .sidebar .sidebar-footer #profileButtonText {
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

/* The profile button is the single account/settings destination. */
body:not(.sidebar-collapsed) .sidebar .sidebar-footer .profile-btn.wide .profile-settings-icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin-left: auto !important;
    opacity: 0.72 !important;
    color: var(--text-secondary) !important;
    transition: color 160ms ease, opacity 160ms ease !important;
}

body:not(.sidebar-collapsed) .sidebar .sidebar-footer .profile-btn.wide:hover .profile-settings-icon,
body:not(.sidebar-collapsed) .sidebar .sidebar-footer .profile-btn.wide:focus-visible .profile-settings-icon {
    color: var(--text-primary) !important;
    opacity: 1 !important;
}

body.sidebar-collapsed .sidebar .sidebar-footer .collapsed-only .profile-avatar {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
}
