Where to add the conditional styles

I would like to add some conditional styles. I am looking to change the style for something when a user is logged in, from what the style would be when they are not logged in.

Here is a screenshot of the logged in style.
https://nimbus.everhelper.me/client/notes/share/21796/mbCcF3g8VTGZtvCzqmTlZVHTimFI8mCL/

Here is what I am currently getting when not logged in.
https://nimbus.everhelper.me/client/notes/share/21795/hK1iwQWewrFqGlBtelCLvDiGMCwc2fsJ/

Can you direct me to where the conditional logic for this buddypress menu is located at. Can you tell me the file and line of code to look for.

Thank you in advance.