.recipe-template-button{font-size:12px;padding:7px 10px;min-height:40px;white-space:nowrap;color:#51483f;background:transparent}
.recipe-template-step-tools{display:flex;justify-content:flex-end;gap:8px;margin:8px 0 12px}.recipe-template-step-tools button{min-height:44px}
.recipe-template-dialog{width:min(680px,calc(100vw - 32px));max-height:min(85dvh,780px);padding:24px;border:1px solid #d9d3ca;border-radius:12px;background:#f5f2ec;color:#453d35;overflow:auto;overscroll-behavior:contain}
.recipe-template-dialog::backdrop{background:rgba(45,39,32,.28)}
.recipe-template-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.recipe-template-dialog h2{font-size:22px;margin:4px 0}.recipe-template-dialog small{color:#85786a;font-size:12px}
.recipe-template-dialog [data-template-close]{min-width:44px;min-height:44px;padding:0;font-size:20px;background:transparent}
.recipe-template-notice,.recipe-template-help{font-size:12px;color:#7b7165;line-height:1.7;margin:12px 0 18px}.recipe-template-controls label,.recipe-template-dialog form label{display:block;font-size:13px;margin:12px 0 6px}
.recipe-template-dialog input,.recipe-template-dialog select{width:100%;min-height:44px;box-sizing:border-box;font-size:16px;background:#fffdf8;color:inherit;border:1px solid #d9d3ca;border-radius:7px;padding:10px}
.recipe-template-dialog footer,.recipe-template-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.recipe-template-dialog footer{margin-top:20px}.recipe-template-dialog button{min-height:44px}
.recipe-template-list{display:grid;gap:12px}.recipe-template-list article{border-top:1px solid #ded8cf;padding:16px 0 4px;min-width:0}.recipe-template-list h3{font-size:16px;margin:5px 0}.recipe-template-list p{font-size:13px;line-height:1.7;overflow-wrap:anywhere;margin:8px 0 14px;white-space:pre-line}
.recipe-template-row-actions button{font-size:12px;padding:7px 10px}.recipe-template-row-actions [data-template-remove]{color:#8a655a}.recipe-template-error{font-size:13px;line-height:1.6;color:#9a5546;white-space:pre-line}
.recipe-template-delete-confirm{border:1px solid #d8cec1;border-radius:7px;padding:12px;margin-top:12px;background:#eee8df}.recipe-template-delete-confirm p{margin-top:0}.recipe-template-delete-confirm button+button{margin-left:8px}
@media(max-width:600px){.recipe-template-dialog{padding:18px;width:calc(100vw - 24px);max-height:calc(100dvh - 40px)}.recipe-template-row-actions{justify-content:flex-start}.recipe-template-button{min-height:44px}.operation-row-tools .recipe-template-button{font-size:11px;padding:5px 7px}.recipe-template-dialog h2{font-size:20px}}
