Molecular basis of cell-cycle plasticity and robustness