I have modified the CSS on the admin and login pages. But the problem is that sometimes the custom CSS is loaded last, and this makes the change visible.
The CSS can change during the loading of the page.

Is there any way to edit the CSS before the page renders? I cannot edit the core and plugin files because I want to be able to update without breaking it.

Any suggestions?