Electrum does not support having multiple master keys in one HD wallet. Even for watching only wallets. You need to create multiple wallets. (Note: this is true on desktop as well AFAIK!)
I would think that even though they should be using different derivation paths/addresses (xpub vs. zpub), this could prove to be very problematic and confusing, so is no doubt why it isn't supported.
Likewise with trying to combine a master key with "a legacy address" (I assume you mean a single private key?
)... Electrum does not support different "types" in one wallet. So, you can't import a single private key into an HD wallet.