.menu-management{container-type:inline-size}.menu-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:1.25rem}.menu-details,.menu-section,.menu-item{display:grid;gap:.75rem}.menu-details{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.menu-details .actions{grid-column:1/-1}.inline-form{display:flex;gap:.75rem;align-items:end;margin:1.25rem 0}.inline-form label:first-child{flex:1}.menu-section{padding:1rem 0;border-top:1px solid var(--line,#d8ded9)}.section-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:.75rem;align-items:end}.menu-items{display:grid;gap:.75rem}.menu-item{grid-template-columns:repeat(12,minmax(0,1fr));padding:.75rem;background:rgba(255,255,255,.55);border-radius:.6rem;align-items:end}.menu-item>label{min-width:0}.menu-item>label:nth-child(1){grid-column:span 2}.menu-item>label:nth-child(2){grid-column:span 3}.menu-item>label:nth-child(3){grid-column:span 2}.menu-item>label:nth-child(4),.menu-item>label:nth-child(5),.menu-item>label:nth-child(6),.menu-item>label:nth-child(7){grid-column:span 1}.menu-item>input,.menu-item label input{min-width:0;width:100%}.menu-item .actions{display:flex;flex-direction:column;gap:.4rem;min-width:0}.menu-item .actions button,.menu-item>button{width:100%;padding-inline:.5rem}.check{display:flex;gap:.4rem;align-items:center;align-self:center;white-space:nowrap}.check input{width:auto}.menu-management select{min-width:12rem}@container(max-width:1100px){.menu-item{grid-template-columns:repeat(6,minmax(0,1fr))}.menu-item>label:nth-child(1),.menu-item>label:nth-child(2),.menu-item>label:nth-child(3){grid-column:span 2}.menu-item>label:nth-child(4),.menu-item>label:nth-child(5){grid-column:span 1}.menu-item>label:nth-child(6),.menu-item>label:nth-child(7){grid-column:span 2}.menu-item .actions,.menu-item>button{grid-column:span 2;align-self:end}}@container(max-width:700px){.menu-layout,.menu-details,.menu-item,.section-fields{grid-template-columns:1fr}.menu-details .actions,.menu-item>label:nth-child(n),.menu-item .actions,.menu-item>button{grid-column:auto}.menu-item .actions{flex-direction:row}.menu-item .actions button{flex:1}.inline-form{align-items:stretch;flex-direction:column}.menu-management select{min-width:0;width:100%}}@media(max-width:950px){.menu-layout{grid-template-columns:1fr}}
.menu-item .check input{width:auto}
.inline-form>label,.section-fields>label{min-width:0}.inline-form>label{margin-block:0}.inline-form>label:nth-child(2){flex:0 1 10rem}.inline-form input,.section-fields input{width:100%;min-width:0}.inline-form>button{align-self:end}.section-fields .actions{flex-wrap:nowrap;min-width:0}@container(max-width:700px){.inline-form>label:nth-child(2){flex:auto}.inline-form>button{align-self:stretch}.section-fields .actions button{flex:1}}
.section-fields>label{margin-block:0}.inline-form>button,.section-fields .actions button{box-sizing:border-box;border:1px solid transparent;font-size:1rem;line-height:1.5;padding-block:12px}
.inline-form input,.section-fields input{height:50px}
.inline-form>button,.section-fields .actions button{height:46px;padding-block:10px}
.inventory-row{display:grid;grid-template-columns:minmax(12rem,2fr) repeat(4,minmax(8rem,1fr)) auto;gap:.75rem;align-items:end}.inventory-row h3{margin:0}.inventory-row label{min-width:0}.inventory-row input,.inventory-row select{width:100%;min-width:0}@media(max-width:1100px){.inventory-row{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-row>div{grid-column:1/-1}}@media(max-width:700px){.inventory-row{grid-template-columns:1fr}.inventory-row>div{grid-column:auto}.inventory-row button{width:100%}}
.inventory-ingredient-row{display:grid;grid-template-columns:minmax(12rem,2fr) repeat(2,minmax(8rem,1fr)) auto;gap:.75rem;align-items:end}.inventory-ingredient-row input{width:100%;min-width:0}.recipe-editor{grid-column:1/-1;border-top:1px solid var(--line,#d8ded9);padding-top:.75rem}.recipe-lines{display:grid;gap:.5rem;margin:.75rem 0}.recipe-line{display:grid;grid-template-columns:minmax(12rem,2fr) minmax(6rem,1fr) auto;gap:.5rem;align-items:end}.recipe-line select,.recipe-line input{width:100%;min-width:0}@media(max-width:700px){.inventory-ingredient-row,.recipe-line{grid-template-columns:1fr}.recipe-editor{grid-column:auto}}
.inventory-ingredients{margin-top:1rem;padding:1rem;border:1px solid var(--line,#d8ded9);border-radius:.75rem;background:rgba(255,255,255,.45)}.inventory-ingredients>summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;cursor:pointer}.inventory-ingredients>summary .meta{font-size:.9rem}.inventory-ingredients .inline-form{margin:1rem 0}.inventory-subheading{margin:1.5rem 0 .75rem}.inventory-row{display:block;padding:1rem}.inventory-row>div:first-child{margin-bottom:.75rem}.inventory-row>form{display:grid;grid-template-columns:minmax(8rem,1fr) minmax(8rem,1fr) minmax(9rem,1fr) auto;gap:.75rem;align-items:end}.inventory-row .recipe-editor{margin-top:1rem}.inventory-row .recipe-editor>summary{cursor:pointer;font-weight:600}.inventory-row .recipe-editor>button{margin-right:.5rem}.inventory-ingredient-row{padding:1rem}.inventory-ingredient-row strong{overflow-wrap:anywhere}.inventory-ingredient-row .meta{min-width:0}@media(max-width:700px){.inventory-ingredients>summary{align-items:flex-start;flex-direction:column}.inventory-row>form,.inventory-ingredient-row{grid-template-columns:1fr}.inventory-row>form button,.inventory-ingredient-row button{width:100%}}
.inventory-recipes{margin-top:1.25rem}.inventory-recipes>summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.75rem 0;cursor:pointer;border-bottom:1px solid var(--line,#d8ded9)}.inventory-recipes>summary .meta{font-size:.9rem}.inventory-recipes>.cards{margin-top:.75rem}@media(max-width:700px){.inventory-recipes>summary{align-items:flex-start;flex-direction:column}}
.inventory-ingredients,.inventory-recipes{border:1px solid var(--line,#d8ded9);border-radius:.85rem;background:rgba(255,255,255,.55);padding:1.15rem 1.25rem}.inventory-ingredients>summary,.inventory-recipes>summary{font-size:1.12rem;font-weight:700;min-height:2.5rem}.inventory-ingredients>summary .meta,.inventory-recipes>summary .meta{font-size:.95rem;font-weight:400}.inventory-recipes{margin-top:1.25rem}.inventory-recipes>summary{padding:0 0 .9rem;border-bottom:1px solid var(--line,#d8ded9)}.inventory-recipes>.cards{margin-top:1rem}
.inventory-ingredients .inline-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;align-items:end}.inventory-ingredients .inline-form label{min-width:0;margin:0}.inventory-ingredients .inline-form input{box-sizing:border-box;width:100%;min-width:0}.inventory-ingredients .inline-form button{width:100%;white-space:normal}@media(max-width:700px){.inventory-ingredients{padding:.9rem}.inventory-ingredients .inline-form{grid-template-columns:1fr;gap:.7rem}.inventory-ingredients .inline-form button{min-height:46px}}
