/* Shared native food-form choices for dog and cat profiles. */
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker{margin:0}
.food-form-primary,.food-form-available,.food-form-flexible,.food-form-extra{display:grid;gap:12px;min-width:0}
.food-form-primary,.food-form-flexible{grid-template-columns:repeat(2,minmax(0,1fr))}
.food-form-available{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:20px;padding-top:16px;border-top:1px solid #e1e9df}
.food-form-flexible{margin-top:12px;padding-top:0;border-top:0}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;min-height:84px;padding:16px 18px;border:1px solid #cbdcc6;border-radius:14px;background:#fff;position:relative;cursor:pointer;text-align:left;transition:border-color .16s,background .16s,box-shadow .16s}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice input{position:static;grid-column:1;grid-row:1;margin:0;width:20px;height:20px;accent-color:#376f41;cursor:pointer}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice>span{display:block;grid-column:2;min-width:0;text-align:left;margin:0}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice strong{display:block;font-size:1rem;line-height:1.35;color:#263e2d;overflow-wrap:anywhere}
.food-form-choice small{display:block;margin-top:4px;font-size:.84rem;line-height:1.45;color:#657568;overflow-wrap:anywhere}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice:hover{border-color:#6a9469;background:#f8fbf6}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice:has(input:checked){border-color:#3b7545;background:#edf6e9;box-shadow:inset 0 0 0 1px #3b7545}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice:has(input:focus-visible){outline:3px solid #86aa76;outline-offset:3px}
.food-form-flexible .food-form-choice{background:#f7f9f5!important}
.food-form-flexible .food-form-choice:has(input:checked){background:#edf6e9!important}
.food-form-more{margin-top:18px;border-top:1px solid #e1e9df;padding-top:4px}
.food-form-more summary{min-height:44px;display:list-item;padding:10px 2px;font-size:.95rem;font-weight:650;color:#426847;cursor:pointer}
.food-form-extra{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-unavailable{min-height:76px;background:#f9faf8;border-style:dashed}
@media(max-width:700px){.food-form-available{grid-template-columns:repeat(2,minmax(0,1fr))}:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice{padding:14px;gap:10px}}
@media(max-width:460px){.food-form-primary,.food-form-available,.food-form-flexible,.food-form-extra{grid-template-columns:1fr}:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice{min-height:72px}.food-form-flexible{margin-top:12px;padding-top:0}}
@media(prefers-reduced-motion:reduce){:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice{transition:none}}

:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker .food-form-choice:has(input:disabled){opacity:.7;cursor:default}
:is(.dog-profile-ui,.cat-theme .cat-profile-form) .food-form-picker input:disabled{cursor:default}

.refine-form-choices.food-form-expanded{flex-wrap:wrap}
.refine-form-choices.food-form-expanded button{flex:1 1 130px;overflow-wrap:anywhere}

.cat-theme .cat-profile-form .food-form-picker .food-form-choice input{padding:0;min-height:20px;right:auto;top:auto}
.cat-theme .cat-profile-form .food-form-picker .food-form-choice{border-color:var(--cat-border)}
.cat-theme .cat-profile-form .food-form-picker .food-form-choice strong{color:var(--cat-plum)}
.cat-theme .cat-profile-form .food-form-picker .food-form-choice:has(input:checked){border-color:var(--cat-plum);background:var(--cat-lavender);box-shadow:inset 0 0 0 1px var(--cat-plum)}
.cat-theme .cat-profile-form .food-form-picker input{accent-color:var(--cat-plum)}

.cat-theme .cat-profile-form .food-form-flexible .food-form-choice:has(input:checked){background:var(--cat-lavender)!important}
