Issue with tailwind variants when exporting a pdf with ChromicPDF

We’re trying to export a pdf with ChromicPDF when someone presses a button.
We’re able to produce a pdf and it’s pulling in all the stylesheets and heroicons properly.
However, I can’t seem to figure out how to make it render using the correct tailwind variant styling.

When the page renders, it’s definitely following the “screen:” styling. However when triggering the pdf export the rendered html isn’t using the “print:” styling. It’s not even using the “screen:” styling, as elements that have “screen:hidden” are showing up in the pdf.

I can share code if need be however if someone has experience with this and could provide a high level overview of how to make this work that would be preferable. Thank you so much in advance for any help provided.