Mesh inside corner

Does anybody have any suggestions on how to solve this topology issue I’m having with this car panel? I’m trying to make a sharp corner as the green line indicates and have tried just about everything. Nothing gives me a clean result.

Maybe some fresh eyes can help?

Note: any detail edges cause the mesh to flatten it out; this is my main obstacle to finding a good solution