Use classes instead of hardcoded styles for chat messages