I've developed this module with strong re-usability in mind, i.e. in such a way that it can be used in other projects without the PDF.js code. Because of this desired modularity, I've put the style sheet in a separate partial template.

I will check whether the re-using the password styles makes the code more maintainable.