Post-hoc calibrators that preserve the ranking of the classes on every input can correct the confidence of a classifier without changing any of its predictions. The most flexible of them apply a learned monotone function to every logit, but they have two shortcomings: monotonicity holds only approximately and, as we show, can fail in practice; and the same function is applied to every input, whether the classifier is confident or uncertain on it. Since order preservation only constrains the logits within one input, each input can in fact have its own map. We propose inputdependent monotone logit maps, which add to a scaled identity a residual network that is contractive in the logit and conditioned on a summary of the logit vector. The contraction makes every map strictly increasing by construction, so accuracy is preserved exactly. On CIFAR-10, CIFAR-100 and ImageNet, our method matches or improves on existing post-hoc calibrators.