.recipe-editor { background:var(--white); min-height:100%; }
.editor-toolbar { position:sticky; top:0; z-index:6; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 14px; background:var(--white); border-bottom:1px solid var(--line); }
.editor-toolbar h2 { font:600 1rem/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; margin:0; }
.editor-body { max-width:680px; margin:auto; padding:20px 20px calc(48px + env(safe-area-inset-bottom)); }
.editor-intro,.editor-hint { font-size:.82rem; line-height:1.5; color:var(--muted); margin:0 0 18px; }
.editor-body section { margin-top:30px; }
.editor-body h3 { margin:0 0 12px; font-size:1.05rem; }
.editor-field { display:block; color:var(--ink); font-size:.82rem; font-weight:600; }
.editor-field span { color:var(--muted); font-weight:400; }
.editor-field input,.editor-field textarea { display:block; width:100%; min-width:0; margin:7px 0 12px; min-height:46px; border:1px solid #d7dcd3; border-radius:10px; padding:11px 12px; background:white; color:var(--ink); font:400 16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.editor-field textarea { resize:vertical; min-height:110px; }
.editor-ingredient-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(88px,.55fr); gap:10px; }
.editor-row { padding:16px 0 12px; border-bottom:1px solid var(--line); margin-bottom:14px; }
.editor-row-actions { display:flex; gap:2px; flex-wrap:wrap; }
.editor-row-actions [data-remove] { margin-left:auto; color:#885041; }
.editor-error { color:var(--red); line-height:1.5; }
.editor-error:empty,.edit-open-error:empty { display:none; }
.editor-discard { padding:16px; margin-top:20px; background:#f7f3e9; border-radius:12px; }
.editor-discard[hidden] { display:none; }
.reader-edit-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.reader-edit-row .reader-byline { margin:0; }
.reader-edit-row { margin-bottom:12px; }
