We have tried the proposed workaround with position: relative; top: , unfortunately it did not work. We have tried to modify values of top manually so they would result in a good result in PDF, but did not find any rule or algorithm or coefficients that could be generally used to adjust the vertical alignment in PDF correctly.
It would be great if you could help us solve this problem, as in the current state exported document is almost not usable.
I am attaching the link to a sample HTML document (original with vertical-align) that we are trying to export:
https://drive.google.com/file/d/18EWWqF7Ij_t-qQ6bf8VOY9ESTMZrQumO/view?usp=sharing. I can also provide documents with vertical-align changed to position: relative; top: … if that could help.

Thanks in advance,