How to check if it’s edit.php & post_type is set?

Post type is reflected in body as class. It is .post-type-post for posts, .post-type-product for WooCommerce products and must be .post-type-food in your case. So, you can use css rule like that to detect certain post type:

body.post-type-food #titlediv input {
    background: yellow !important;
}

Post status is reflected only in TinyMCE editor classes, as .post-status-draft. You can use it as follows:

body#tinymce.post-status-draft {
    background: red;
}