Improved cursor and highlight styles