MDF vs humidity
MDF is moisture-resistant, not water-resistant, nor waterproof, and is still prone to swelling and warping if in direct contact with the elements.
There are a few areas where MDF should never be used kitchen or bathroom cabinets and trim in the bathrooms. These are the two areas we see the most failure because of moisture, commonly due to not being sealed 6 sides
That said, 40% RH reported/provided is not humid,
so only the bathroom steam potential harm seems afoot here as a constant threat.
re: Architect Specs:
DOORS: PAINT ALL 6 SIDES 1 COAT Devoe Wood Primer/Sealer; then
2 COATS Wonder-Tones Interior Semi-gloss Latex Enamel
thus, so long as bath moisture is sealed out/away from MDF via diligent vigilance,
then MDF may remain as stable as the remainder of the door materials.
Since most home owners get distracted from maintenance until too late, we usually try to steer them away from bathroom area MDFs, even with initial good sealing. Are you vigilant enough?
Ten words or less ... a goal unattainable