That setting is stored in the table qa_options under the title "custom_in_head." You should be able to fix the problem like this (assuming you're using a MySQL database):
UPDATE qa_options SET content = concat(content, "</style>") WHERE title = "custom_in_head";
I had the same problem when I was new to q2a.
Shvonder answered my question very well.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.