Theory assisted design of N-doped tin oxides for enhanced electrochemical CO2 activation and reduction