Allosteric regulation of DNA binding and target residence time drive the cytotoxicity of phthalazinone-based PARP-1 inhibitors.