8. Customize the Chat UI
In the sandbox administration → Agents → your Agent Details, there is a Template Markup field for further customisation of how the chat UI looks.
Scroll down on that page to read the documentation for the chat UI customization.