Extract and document command cards. Remove redundant css.