Equivariant resolution, linearization, and Hilbert's fourteenth problem over arbitrary base schemes