Replace inline styles, flatten selectors, use png with gray diamond embedded