and only import the public key to an online device with Electrum.
Electrum (and all other wallets I know) doesn't allow you to import a public key.
If you want to have a watch-only wallet in electrum, you need to import your address(es) or your master public key.