Changing the C line vs. Dealing with Thoughts & Emotions

My daughter have been going through a rough patch. I consider her behavior towards me as rude (and by most people’s standards, it is).
I try to give her space as much as possible because I know she’s stressed, etc., but I reach a limit and then there’s a blow up.
Most people who push my buttons as much as she does, I just avoid, lol, but that’s not going to work with her (obviously). But that seems to be changing the C line rather than dealing with my thoughts about other people’s actions .

I want her to be who she is. I also want her to treat me with respect. How do I bridge the concept of holding space for her and also still actively parenting this child at home?