.recipe-info-dialog{box-sizing:border-box;padding:0;max-height:90dvh;overflow:hidden;width:min(560px,calc(100% - 24px));max-width:560px;border:1px solid #d8d4ca;border-radius:16px}
.recipe-info-dialog[open]{display:flex;flex-direction:column}
body:has(.recipe-info-dialog[open]){overflow:hidden}
.recipe-info-dialog[data-mode="work"]{width:min(95vw,1100px);max-width:1100px}
.recipe-info-dialog::backdrop{background:rgba(18,25,19,.62)}
.recipe-modal-head,.recipe-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:white;flex:none}
.recipe-modal-head{border-bottom:1px solid #e3ded4}.recipe-modal-head h2{font-size:18px;margin:0;min-width:0;overflow-wrap:anywhere}.recipe-modal-head button{flex:none;min-width:40px;min-height:40px;padding:5px 10px;font-size:22px}
.recipe-modal-footer{border-top:1px solid #e3ded4}.recipe-modal-footer button{min-width:100px}
#recipeModalMessage:not(:empty){margin:0;padding:8px 18px;background:#f7eedb}#recipeModalMessage.error{color:#973e30}
.recipe-info-dialog #recipeInfoBody{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px;flex:1}
.recipe-info-dialog #recipeInfoBody.recipe-editor-shell,.recipe-info-dialog #recipeInfoBody.manufacturing-editor-shell{max-width:none;scroll-margin:0}
.recipe-info-dialog #recipeInfoBody .recipe-totals{bottom:0}
.recipe-modal-confirm:not([hidden]){position:absolute;inset:0;display:grid;place-items:center;padding:16px;background:rgba(18,25,19,.65);z-index:5}
.recipe-modal-confirm>div{width:min(100%,420px);padding:20px;border-radius:14px;background:white;box-shadow:0 12px 32px #0004}.recipe-modal-confirm p{margin:0 0 16px}.recipe-modal-confirm .actions{display:flex;gap:8px;flex-wrap:wrap}.recipe-modal-confirm .actions button{flex:1 1 150px}
@media(max-width:620px){.recipe-info-dialog[data-mode="work"]{width:calc(100% - 8px);max-height:calc(100dvh - 8px)}.recipe-modal-head,.recipe-modal-footer{padding:10px 12px}.recipe-info-dialog #recipeInfoBody{padding:12px}}
