/* Scoped menu, food checks and review controls within the existing table wizard. */
.mao-wizard-container[data-form-id="mao-dining-exp"] :is(.mao-field,.mao-helper,.private-home-location)>p+p{margin-top:1rem}
#tableAllergenChecklist [hidden], #foodDietarySection[hidden]{display:none!important}
#tableAllergenChecklist{overflow-wrap:anywhere;scroll-margin-top:110px}
#tableAllergenChecklist details{margin:1rem 0 1.5rem}
#tableAllergenChecklist summary{cursor:pointer;color:var(--olive-dark);font-weight:600}
#tableAllergenChecklist dd{margin:.35rem 0 1rem;white-space:pre-line}
#tableAllergenChecklist dt{font-weight:600}
#tableAllergenChecklist .food-allergen-options{display:grid;gap:1rem;margin:1rem 0 1.5rem}
#tableAllergenChecklist .food-allergen-options .mao-hint{margin:.35rem 0 0 1rem}
#tableAllergenChecklist .food-question{border:0;padding:0;min-width:0}
#tableAllergenChecklist .food-question legend{font-weight:600;margin-bottom:.6rem}
#tableAllergenChecklist .food-question .mao-toggle-card input[type="radio"]+.mao-toggle-label .mao-toggle-check{border-radius:50%}
#tableAllergenChecklist .mao-toggle-card{display:block;margin-bottom:.6rem}
#tableAllergenChecklist .mao-toggle-label{font-weight:400}
#tableAllergenChecklist .food-text-button, #tableMenuEditor .food-text-button{border:0;padding:.25rem 0;background:transparent;color:var(--olive-dark);font:inherit;text-decoration:underline;cursor:pointer;text-align:left}
#tableAllergenChecklist .food-text-button:focus-visible, #tableMenuEditor .food-text-button:focus-visible{outline:3px solid var(--olive);outline-offset:3px}
#tableAllergenChecklist .food-sr-only, #tableMenuEditor .food-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#tableAllergenChecklist [data-food-errors]{color:var(--terracotta);margin:1rem 0}
#tableAllergenChecklist .food-inline-error,#tableMenuEditor .food-inline-error{color:var(--terracotta);font-size:.9rem;line-height:1.5;margin:.6rem 0 1rem}
#tableAllergenChecklist [data-food-errors] .food-text-button{color:inherit;line-height:1.5}
#tableAllergenChecklist [data-food-errors] li{margin-bottom:.5rem}
#tableAllergenChecklist [data-food-target]{scroll-margin-top:120px}
#tableAllergenChecklist [data-food-content]>p{margin:0 0 1rem;line-height:1.65}
#tableAllergenChecklist [data-food-content]>h3{margin:1.75rem 0 .75rem}
#tableAllergenChecklist .food-question+.food-question{margin-top:1.5rem}
#tableAllergenChecklist .food-help p{margin:.6rem 0 0;line-height:1.6}
#tableAllergenChecklist #foodDietarySection>p{margin:0 0 1.25rem;line-height:1.65}
#tableAllergenChecklist .food-summary{padding-left:1.2rem;line-height:1.6;margin:1.25rem 0}
#tableAllergenChecklist .food-summary li{margin-bottom:.4rem}
#tableAllergenChecklist .food-help{display:flex;flex-wrap:wrap;gap:.65rem 1.5rem;margin:1.5rem 0}
#tableAllergenChecklist .food-save{margin-top:1.5rem}

#tableMenuEditor .mao-review-card{margin-bottom:1.5rem}
#tableMenuEditor .mao-review-card>p{margin:.5rem 0 1rem;line-height:1.6}
#tableMenuEditor>.mao-hint{margin:1rem 0;line-height:1.6}
#tableMenuEditor .food-text-button{margin-right:1rem}
#tableMenuEditor .mao-btn{font:inherit;font-weight:600;padding:.7rem 1rem;border-radius:10px;min-height:44px;cursor:pointer;margin:.25rem .75rem .25rem 0;max-width:100%;white-space:normal}
#tableMenuEditor [data-add-dish],#tableMenuEditor [data-save-dish]{background:var(--olive);color:#fff;border:1.5px solid var(--olive)!important}
#tableMenuEditor [data-add-dish]:hover,#tableMenuEditor [data-save-dish]:hover{background:var(--olive-dark)!important;color:#fff}
#tableMenuEditor .food-text-button{min-height:44px;line-height:1.4}
#tableMenuEditor .mao-btn:focus-visible,#tableMenuEditor .food-text-button:focus-visible{outline:3px solid rgba(92,107,79,.26);outline-offset:3px}
#tableMenuEditor .mao-btn:focus,#tableMenuEditor .food-text-button:focus{outline:3px solid rgba(92,107,79,.26);outline-offset:3px}
#tableMenuEditor .mao-field{min-width:0}
.mao-wizard-container[data-form-id="mao-dining-exp"] .mao-wizard-step:has(#tableMenuEditor) .mao-wizard-title:focus-visible{outline:3px solid rgba(92,107,79,.26);outline-offset:4px;border-radius:3px}
.mao-wizard-container[data-form-id="mao-dining-exp"] #foodDraftControls[hidden]{display:none!important}
.mao-wizard-container[data-form-id="mao-dining-exp"].submitted .mao-devpanel{display:none}
#tableAllergenChecklist .food-allergen-options{grid-template-columns:repeat(2,minmax(0,1fr))}
#savedDiningPhotographs{display:flex;flex-wrap:wrap;gap:1rem}
#savedDiningPhotographs figure{margin:0 0 1rem;max-width:100%}
#savedDiningPhotographs img{max-width:100%;object-fit:cover}
.mao-wizard-container[data-form-id="mao-dining-exp"] .mao-review-row{padding:.85rem 0;border-bottom:1px solid rgba(216,193,163,.44)}
.mao-wizard-container[data-form-id="mao-dining-exp"] .mao-review-row dd{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;white-space:pre-line;overflow-wrap:anywhere}
.mao-wizard-container[data-form-id="mao-dining-exp"] .mao-review-edit{border:0;background:transparent;color:var(--olive-dark);font:inherit;cursor:pointer;min-height:44px;padding:.3rem}
.mao-wizard-container[data-form-id="mao-dining-exp"] .mao-review-edit:focus-visible{outline:3px solid var(--olive);outline-offset:3px}
@media(max-width:600px){#tableAllergenChecklist .food-allergen-options{grid-template-columns:minmax(0,1fr)}}
