[CB-2305] Switch to innerHTML for inline style injection