.recipe-photo-editor{margin:24px 0;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.recipe-photo-editor h2{margin:0 0 8px}
.recipe-photo-editor>p{margin:0 0 18px;color:var(--muted)}
.recipe-photo-upload{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:24px}
.recipe-photo-preview{display:grid;place-items:center;aspect-ratio:32/21;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--peach);color:var(--muted);text-align:center}
.recipe-photo-preview img{display:block;width:100%;height:100%;object-fit:cover}
.recipe-photo-preview span{padding:24px;font-size:14px;font-weight:700}
.recipe-photo-controls{min-width:0}
.recipe-photo-controls input[type=file]{max-width:100%;padding:10px;background:#fff;font-size:14px}
.recipe-photo-controls input[type=file]::file-selector-button{margin-right:10px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--peach);color:var(--chocolate);font:inherit;font-weight:700;cursor:pointer}
.recipe-photo-status{margin:12px 0;font-size:13px;font-weight:700;color:var(--sage);overflow-wrap:anywhere}
.recipe-photo-status:empty{display:none}
.recipe-photo-status.is-error{color:#842f30}
.recipe-photo-remove{margin-top:18px}
.recipe-photo-editor [hidden]{display:none!important}
.product-art.product-cover-photo{display:block;padding:0;background:var(--peach)}
.product-cover-photo img{display:block;width:100%;height:100%;object-fit:cover}
.recipe-library-photo{display:block;width:128px;height:96px;margin-bottom:14px;border:1px solid var(--line);border-radius:12px;object-fit:cover;background:var(--peach)}
@media(max-width:650px){.recipe-photo-editor{padding:16px}.recipe-photo-upload{grid-template-columns:1fr;gap:18px}.recipe-photo-controls .button{width:100%}.recipe-photo-preview{max-height:300px}.recipe-photo-remove{align-items:flex-start}}
