Text this: Local operator algebras of charged states in gauge theory and gravity