I coded from 1975 to 2025, retired as a senior python developer and now get to develop for fun using AI. I had that same uncomfortable feeling trying to understand generated code, until I stopped trying and accepted that my new role is a product manager with the most knowledgeable and efficient team of developers ever. My job is to inform, direct, correct and test. My 'team' is great but they can make big mistakes and need close monitoring.
So accept your promotion to product manager and build like you never could before. Use all the saved coding time for testing what you build, be very suspicious of your team.