CryptPad is my go to, there’s many different instances where you can make an account. Fully encrypted and allows for doc sharing plus working with others on the doc at the same time. Offline can be accomplished by ensuring you downloaded the file, and then uploading the updated doc once back online. It’s the bee’s knee’s! cryptpad.fr