/* Client 4.13 — canonical Planner, card colours, allergen rows and modal hierarchy */
#gimiPlannerV48Tools{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;flex-wrap:wrap;gap:8px;margin:12px 0 16px;align-items:center;min-height:44px}
#gimiPlannerV48Tools>button{display:block!important;visibility:visible!important;flex:1 1 210px;min-height:42px}
#gimiPlannerV48Tools .gimi-planner-shopping-tip{flex-basis:100%;font-size:11px;margin:2px 0 0}
/* The original 4.8 reminder and Planner buttons remain in the document during screen redraws */
#home #haveResults .have-recipe-card,#home #haveResults .have-recipe-body{height:auto!important;max-height:none!important;overflow:visible!important}
#home #haveResults .gimi-have-allergens{display:flex!important;visibility:visible!important;opacity:1!important;min-height:27px!important;margin:4px 0!important}
#home #haveResults .gimi-have-allergens .gimi-master-icon{width:27px!important;height:27px!important;min-width:27px!important}
#browse .quick-recipe-card .gimi-allergen-card-icons{display:flex!important;flex-wrap:wrap!important;justify-content:center;gap:3px;margin:3px auto 5px!important;min-height:24px}
#browse .quick-recipe-card .gimi-master-icon{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
/* No recommended side-dish row on compact Browse or Can't Decide cards. Full recipe page retains it. */
#browse #recipeGrid .recipe-card-servewith,#browse .quick-recipe-card .recipe-card-servewith,#home .have-recipe-card .recipe-card-servewith{display:none!important}
/* Existing card edge colours are authoritative; match scaler to those colours. */
#recipeDetail.gimi-recipe-theme.ingredient-edge-beef{--gimi-pastel:#f9eeee;--gimi-accent:#cf8888}
#recipeDetail.gimi-recipe-theme.ingredient-edge-chicken{--gimi-pastel:#fdf6e6;--gimi-accent:#d7b25e}
#recipeDetail.gimi-recipe-theme.ingredient-edge-pork{--gimi-pastel:#fdf0f4;--gimi-accent:#d7a2b6}
#recipeDetail.gimi-recipe-theme.ingredient-edge-fish{--gimi-pastel:#eff6fd;--gimi-accent:#82b3df}
#recipeDetail.gimi-recipe-theme.ingredient-edge-lamb{--gimi-pastel:#f5effa;--gimi-accent:#a893c3}
#recipeDetail.gimi-recipe-theme.ingredient-edge-veg{--gimi-pastel:#edf7ec;--gimi-accent:#8ba883}
#recipeDetail.gimi-recipe-theme.ingredient-edge-dessert{--gimi-pastel:#f8eef4;--gimi-accent:#b793ac}
#recipeDetail.gimi-recipe-theme.ingredient-edge-neutral{--gimi-pastel:#f7f4f9;--gimi-accent:#9a8caa}
#recipeDetail.gimi-recipe-theme .recipe-top-summary-v23:not(.cooking-guide-summary-v216){background:var(--gimi-pastel)!important;border-left-color:var(--gimi-accent)!important}
#recipeDetail.gimi-recipe-theme #changeScale{background:var(--gimi-accent)!important;border-color:var(--gimi-accent)!important;color:#201b26!important}
#recipeDetail.gimi-recipe-theme #changeScale:focus-visible{outline:3px solid #57316c;outline-offset:2px}
#recipeDetail.gimi-recipe-theme .recipe-scale-info-layout{--gimi-accent:inherit}
/* Modal layering: For Pooch cannot fall out of the viewport. */
#gimiPoochPopup46:not([hidden]){position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;justify-content:center!important;align-items:center!important}
#gimiPoochPopup46[hidden]{display:none!important}
/* Right-hand mobile banner must be entirely free of effects. */
@media(max-width:700px){.responsive-herbs-right,.responsive-herbs-right *, .gimi-realfood-art,.gimi-realfood-art img{box-shadow:none!important;filter:none!important;text-shadow:none!important;backdrop-filter:none!important}}
