- Extracted AI summarization logic and Modal into standalone JournalEntry_AITools component. - Applied Prettier formatting to main component for consistent structure. - Removed further blocks of legacy script and template code. - Re-verified stability of core features (decryption, saving, metadata).