@
Lyn2012 - the calibre book editor can edit both AZW3 and EPUB; it also has a feature called CSS Live, see ==>>
The Live CSS panel
It's helped me identify a couple of long standing 'oddities', maybe you can spot where the Red ink comes from. You may need to adjust
Edit->Preferences->Integration with calibre->Ask which format to edit...
BR