We prove bounds of the form ∑e∈I∩σ\di(H)\dist(e,σ\e(H))1/2≤L1-norm of a perturbation, where I is a gap. Included are gaps in continuum one-dimensional periodic Schrödinger operators and finite gap Jacobi matrices where we get a generalized Nevai conjecture about an L1 condition implying a Szegő condition. One key is a general new form of the Birman--Schwinger bound in gaps.