Hello, Andy!
Unfortunately, we can’t help you with that. If you don’t have a back-up, you must manually add the Custom code.
Generally, the best practices for the cases like that is to use child-teme
…or keep a back-up of the custom CSS codes you made, in the separate file on local hard-drive, so you can easily get back your custom design.
Best Regards