a fine line
US /ə faɪn laɪn/
UK /ə faɪn laɪn/

1.
a subtle distinction or difference between two things that are very similar but can have very different consequences
:
•
There's a fine line between confidence and arrogance.
•
It's a fine line between being helpful and being intrusive.