As you have a palm router, you could groove the floor and bottom of the panel and use a loose tenon. Agree with your left hand drawing as safest construction. Again you would need some kind of a stop if the hinges are inside, to prevent damage, ie trying to open doors the "wrong way".
It is...