Hi,
In my test application, no matter whtat to set the theme for page or reference the css file by using link, the page will not apply the style when using the web request calss, but if you set the css style in the page's aspx file, the page can apply the css style by using the web request.
It is very weird.
So, in order to slove your problem, I would suugest you can put the css style in the page'a aspx file instead of using theme or referring the css file.
Hope it helps.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Yours sincerely,
Amanda Wang
Microsoft Online Community Support