Best workflow to recover Highlights and Shadows

you can use tone equalizer
most basic: without guided filter enabled (just like exposure compensation for decent luma ranges)
if details matter: with guided filter enabled (exposure compensation based on more complex calculated masks)