.guided-editor{min-width:0}.guided-editor .guided-section{border-top:1px solid #e8e4dd;padding-top:1.25rem;margin-top:1.5rem}.guided-editor h2{font-size:1.3rem}.guided-editor h3{font-size:1.05rem}.guided-editor .guided-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.guided-editor .guided-field{min-width:0}.guided-editor label{display:block;font-weight:600;margin:.6rem 0 .35rem}.guided-editor :is(input,textarea,select){box-sizing:border-box;max-width:100%;width:100%;padding:.7rem;border:1px solid #d9d7ca;border-radius:8px;background:#fff;color:#302d28;font:inherit}.guided-editor textarea{display:block;resize:vertical;line-height:1.7}.guided-editor .guided-row{min-width:0;margin:.8rem 0;padding:1rem;border:1px solid #d9d7ca;border-radius:12px}.guided-editor legend{padding:0 .35rem;font-weight:700}.guided-editor .guided-tools{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem}.guided-editor .guided-action{font:inherit;font-size:.85rem;border:1px solid #365723;background:white;color:#365723;padding:.65rem .9rem;min-height:44px;border-radius:30px;cursor:pointer}.guided-editor .guided-action:focus-visible{outline:3px solid #294819;outline-offset:3px}.guided-editor .guided-small{font-size:.85rem;line-height:1.6;color:#625f56}.guided-editor .guided-slot{padding:1rem;background:#f8f6f1;border:1px solid #e8e4dd;border-radius:12px;margin:1rem 0}.guided-editor .guided-photo-preview{margin:.8rem 0}.guided-editor .guided-photo-preview :is(img,svg),.guided-editor .guided-private-photo{display:block;width:280px;max-width:100%;height:auto;max-height:220px;object-fit:contain}.guided-editor .guided-photo-preview [hidden]{display:none}.guided-editor .guided-consent{display:flex;gap:.6rem;font-weight:400}.guided-editor .guided-consent input{width:18px;flex:0 0 18px}.guided-editor pre{white-space:pre-wrap;overflow-wrap:anywhere}.guided-editor .guided-quick{margin-top:1rem}.guided-editor [hidden]{display:none}@media(max-width:600px){.guided-editor .guided-grid{grid-template-columns:1fr}.guided-editor .guided-row,.guided-editor .guided-slot{padding:.75rem}.guided-editor .guided-tools .guided-action{flex:1}}

/* Same recipe editor controls, grouped and compact; other types are unchanged. */
.recipe-editor-section,.recipe-editor-workflow{margin:12px 0;border:1px solid #dddccb;border-radius:12px;background:#fff;min-width:0}
.recipe-editor-section>summary,.recipe-editor-workflow>summary{padding:14px 16px;cursor:pointer;font-size:1.05rem;font-weight:700;color:#365723}
.recipe-editor-section>summary:focus-visible,.recipe-editor-workflow>summary:focus-visible{outline:3px solid #365723;outline-offset:2px;border-radius:10px}
.recipe-editor-section[open]{padding:0 16px 16px}.recipe-editor-section[open]>summary{margin:0 -16px 12px;border-bottom:1px solid #ebe8df}
.recipe-editor-layout .recipe-editor-section>.guided-section{margin:0;padding:0;border:0}.recipe-editor-layout .recipe-editor-section>.guided-section>h2{display:none}
.recipe-editor-layout .recipe-editor-section>.editor-section{margin:8px 0;padding:12px}.recipe-editor-layout .recipe-editor-section .guided-slot{margin:0}
.recipe-editor-layout .guided-row{padding:8px 10px;margin:8px 0;border-radius:8px}.recipe-editor-layout .guided-grid{gap:10px}
.recipe-editor-layout .guided-row label{font-size:.82rem;margin:0 0 4px}.recipe-editor-layout .guided-row :is(input,textarea,select){padding:8px;min-height:40px;font-size:.9rem}
.recipe-editor-layout .guided-row textarea{min-height:80px;line-height:1.45}.recipe-editor-layout .guided-row legend{font-size:.85rem}
.recipe-editor-layout .guided-row[data-row-kind="ingredient"]>.guided-grid{grid-template-columns:minmax(180px,2.4fr) minmax(70px,.8fr) minmax(115px,1.2fr) minmax(80px,1fr)}
.recipe-editor-layout .guided-row[data-row-kind="step"]>.guided-grid{grid-template-columns:minmax(150px,1fr) minmax(240px,3fr)}
.recipe-editor-layout .guided-tools{display:inline-flex;margin:6px 0 0;gap:6px}.recipe-editor-layout .guided-tools .guided-action{padding:6px 12px;min-height:36px}
.recipe-editor-layout .recipe-row-options{display:inline-block;vertical-align:top;margin:8px 12px 0 0;font-size:.82rem}.recipe-editor-layout .recipe-row-options summary{cursor:pointer;color:#365723}.recipe-editor-layout .recipe-row-options[open]{display:block}
.recipe-editor-layout .guided-small{margin:6px 0}.recipe-editor-workflow>.panel{border:0;margin:0}.recipe-editor-form>.editor-savebar{z-index:2}
@media(max-width:700px){.recipe-editor-layout .guided-row[data-row-kind="ingredient"]>.guided-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-editor-layout .guided-row[data-row-kind="ingredient"]>.guided-grid>.guided-field:first-child{grid-column:1/-1}.recipe-editor-layout .guided-row[data-row-kind="step"]>.guided-grid{grid-template-columns:1fr}.recipe-editor-layout .guided-tools .guided-action{min-height:44px}.recipe-editor-section>summary{font-size:.95rem}.recipe-editor-section[open]{padding:0 10px 10px}.recipe-editor-section[open]>summary{margin:0 -10px 10px}.recipe-editor-layout .guided-grid{grid-template-columns:1fr}}

.recipe-editor-layout .recipe-geography-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.recipe-editor-layout .recipe-editor-section>fieldset.editor-section{border:0;padding:0;margin:10px 0}
.recipe-editor-layout .recipe-editor-section>fieldset.editor-section>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.recipe-editor-layout :is(input,textarea,select){font-weight:400}
@media(max-width:700px){.recipe-editor-layout .recipe-geography-grid{grid-template-columns:1fr}}

/* Dish-only layout, using the same existing field and revision controls. */
.dish-editor-section,.dish-editor-workflow{margin:12px 0;border:1px solid #dddccb;border-radius:12px;background:#fff;min-width:0}
.dish-editor-section>summary,.dish-editor-workflow>summary{padding:14px 16px;cursor:pointer;font-size:1.05rem;font-weight:700;color:#365723}
.dish-editor-section[open]{padding:0 16px 16px}.dish-editor-section[open]>summary{margin:0 -16px 12px;border-bottom:1px solid #ebe8df}
.dish-editor-section>summary:focus-visible,.dish-editor-workflow>summary:focus-visible{outline:3px solid #365723;outline-offset:2px}
.dish-editor-layout .guided-section{margin-top:12px;padding-top:10px}.dish-editor-layout .guided-row{padding:10px;margin:10px 0}.dish-editor-layout .guided-row textarea{min-height:90px;line-height:1.5}.dish-editor-layout .guided-row>.guided-grid{grid-template-columns:minmax(160px,1fr) minmax(240px,3fr);gap:10px}.dish-editor-layout .guided-tools{gap:6px;margin-top:6px}.dish-editor-layout .guided-tools button{min-height:38px;padding:6px 12px}.dish-editor-workflow>.panel{border:0;margin:0}.dish-editor-layout .guided-photo-preview{max-width:320px}
@media(max-width:700px){.dish-editor-layout .guided-row>.guided-grid{grid-template-columns:1fr}.dish-editor-layout .guided-tools button{min-height:44px}.dish-editor-section[open]{padding:0 10px 10px}.dish-editor-section[open]>summary{margin:0 -10px 10px}}

.tradition-editor-section {margin:0 0 12px;border:1px solid #d8dfcb;border-radius:14px;background:#fff;padding:12px 16px;}
.tradition-editor-section>summary,.tradition-editor-workflow>summary {font-size:18px;color:#365723;font-weight:700;cursor:pointer;padding:4px 0;}
.tradition-editor-section>.guided-section {border-top:1px solid #e8e4dd;margin-top:16px;padding-top:16px;}
.tradition-editor-layout .guided-row .guided-grid {gap:10px;}.tradition-editor-layout .guided-row textarea {min-height:100px;}.tradition-editor-layout .guided-row {margin:10px 0;padding:12px;}
.tradition-editor-workflow {margin-bottom:14px;border:1px solid #d8dfcb;border-radius:14px;padding:12px 16px;background:white;}
@media(max-width:680px){.tradition-editor-section {padding:12px;}.tradition-editor-layout .guided-grid {grid-template-columns:1fr;}.tradition-editor-layout .guided-tools {flex-wrap:wrap;}}

.place-editor-section {margin:0 0 12px;border:1px solid #d8dfcb;border-radius:14px;background:white;padding:12px 16px;}
.place-editor-section>summary,.place-editor-workflow>summary {font-size:18px;color:#365723;font-weight:700;cursor:pointer;padding:4px 0;}
.place-editor-section>.guided-section {border-top:1px solid #e8e4dd;margin-top:16px;padding-top:16px;}
.place-editor-layout .guided-row .guided-grid {gap:10px;}.place-editor-layout .guided-row textarea {min-height:100px;}.place-editor-layout .guided-row {margin:10px 0;padding:12px;}
.place-editor-workflow {margin-bottom:14px;border:1px solid #d8dfcb;border-radius:14px;padding:12px 16px;background:white;}
@media(max-width:680px){.place-editor-section {padding:12px;}.place-editor-layout .guided-grid {grid-template-columns:1fr;}.place-editor-layout .guided-tools {flex-wrap:wrap;}}
