Most of this CSS can come out once the FormObject is being used in JS.  The rest should either go inline in the JS if it is structural or else use classes from jquery ui so if the ui style is changes these elements will change to match.