Genotype and diet shape resistance and tolerance across distinct phases of bacterial infection | Synapse