.editor-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem 2rem;display:flex}.editor-header h1{margin-block:.25rem .5rem}.editor-header p{margin:0}.editor-status{color:var(--color-text-muted);margin:.75rem 0 0;font-size:.875rem}.editor-tabs{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-level-1);flex-wrap:wrap;gap:.5rem;margin:1.25rem 0 1.5rem;padding:.75rem;display:flex;position:relative}.editor-tabs [data-slot=button]{text-align:left;border-radius:var(--radius-control);flex:8rem;justify-content:flex-start;gap:.65rem}.editor-tabs [data-slot=button][aria-current=step]{background:var(--color-sage-soft);color:var(--color-sage-hover);font-weight:600}.editor-step-number{border-radius:var(--radius-pill);background:var(--color-warm);width:1.75rem;height:1.75rem;color:var(--color-text-muted);font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;font-size:.75rem;display:inline-flex}[aria-current=step]>.editor-step-number{background:var(--color-sage);color:#fff}.editor-fields{border:0;min-width:0;padding:0}.editor-fields [data-slot=field-set]{min-width:0}.editor-fields section{flex-direction:column;gap:1.25rem;display:flex}.editor-fields section>[data-slot=field-set]{border:1px solid var(--color-border);border-radius:var(--radius-group);background:var(--color-cream);padding:1rem}.editor-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem;display:grid}.editor-grid-ingredients{grid-template-columns:1fr;gap:.75rem;display:grid}@media (min-width:640px){.editor-grid-ingredients{grid-template-columns:minmax(4.75rem,.6fr) minmax(5.5rem,.75fr) minmax(10rem,1.7fr) minmax(8rem,1.1fr);align-items:start}}.editor-actions,.row-actions{flex-wrap:wrap;gap:.65rem;margin:.875rem 0 .25rem;display:flex}.editor-actions a{min-height:44px;padding:.6rem}.recipe-preview{overflow-wrap:anywhere;max-width:100%}.recipe-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"controls""columns";gap:0 1.5rem;display:grid}.recipe-layout>.recipe-controls{grid-area:controls}.recipe-layout>.recipe-columns{grid-area:columns}@media (min-width:1024px){.recipe-layout:has(>.recipe-controls){grid-template-columns:minmax(0,1fr) 19rem;grid-template-areas:"columns controls"}.recipe-layout>.recipe-controls{align-self:start;position:sticky;top:1rem}}.recipe-hero{gap:1.25rem;margin:1rem 0 0;display:grid}@media (min-width:1024px){.recipe-hero[data-has-photos]:has(.recipe-story){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:1.5rem}}.recipe-hero .recipe-story{margin:0}.recipe-hero[data-has-photos] .recipe-story .author-text{font-size:1.1875rem;line-height:1.7}.recipe-story{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-warm);margin-block:1.5rem;padding:1.25rem 1.5rem}.recipe-story .author-text{color:var(--color-text-muted);margin:.5rem 0 0;font-size:1.0625rem}.recipe-columns h2{margin-top:0;font-size:1.375rem}.recipe-steps{counter-reset:recipe-step;padding:0;list-style:none}.recipe-steps>li{min-height:2.25rem;padding-left:2.85rem;position:relative}.recipe-steps>li:before{counter-increment:recipe-step;content:counter(recipe-step);border-radius:var(--radius-pill);background:var(--color-sage);color:#fff;font-variant-numeric:tabular-nums;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.875rem;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex;position:absolute;top:.45rem;left:0}.recipe-steps>li[data-done=true]:before{content:"✓";background:var(--color-sage-soft);color:var(--color-sage-hover)}.recipe-columns{grid-template-columns:1fr 1.45fr;align-items:start;gap:1.5rem;display:grid}.recipe-columns li{margin-block:.65rem}.recipe-layout{container-type:inline-size}@container (width<=34rem){.recipe-columns{grid-template-columns:1fr}}.author-text{white-space:pre-wrap}.recipe-editor input[type=range]{width:100%;display:block}@media (max-width:640px){.recipe-columns{grid-template-columns:1fr}.editor-tabs [data-slot=button]{flex:8rem}.editor-header{align-items:flex-start}.recipe-preview h1{font-size:2.2rem}}.recipe-steps>li:has(>h3){padding-left:0}.recipe-steps>li:has(>h3):before{content:none}
