Fixes #30097, regression from #29894. (cherry picked from commit 30a561ce569fcb1dfc12edf658104a126281494d)
Removed the grid module and moved the used parts it into our own CSS, eliminating around 75% unused CSS in turn. (cherry picked from commit 286268c9155c9e0b3a3aa0a18675111e5b744a5b)