Development of an efficient and durable photocatalytic system for hydride reduction of an NAD(P)+ model compound using a ruthenium(II) complex based on mechanistic studies.