Write styles inline on client error.

refs #310