Tweak item code and state display styles.