CSS and other fixes for TEC 3.0