You could create a custom css file and have it inside your theme, then link to it from the style.css file. The other way I’ve seen is to create a custom section in your css file and always keep a backup so when there is an update you just copy and paste it back in.