.recipe-view-options{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.recipe-image-toggle{width:42px;height:42px;min-height:42px;display:grid;place-items:center;flex:none;border:1px solid #d8e5d7;background:#f6faf4;color:#315f45;border-radius:9px;padding:0}
.recipe-image-toggle:hover{background:#e8f2e5}
.recipe-image-toggle.active{background:#e5f0e1;border-color:#a8c9a9}
.recipe-art.has-image{position:relative;overflow:hidden}
.recipe-art.has-image img{width:100%;height:100%;object-fit:cover;display:block}
.recipe-art.has-image span{display:none}
.recipe-art.has-image.is-broken img{display:none}
.recipe-art.has-image.is-broken span{display:block}
.recipe-grid.images-hidden .recipe-art{display:none}
[data-theme="dark"] .recipe-image-toggle{background:#233b2b;border-color:#426548;color:#d7f0d3}
[data-theme="dark"] .recipe-image-toggle:hover{background:#315136}
[data-theme="dark"] .recipe-image-toggle.active{background:#315136;border-color:#648e69}
@media(max-width:600px){.recipe-tools{align-items:stretch;flex-wrap:wrap;gap:10px}.recipe-tools .search-field{width:100%}.recipe-view-options{width:100%;justify-content:space-between}}
@media(max-width:600px){
  #recipe-form{gap:20px}
  #recipe-form label{font-size:14px;line-height:1.35}
  #recipe-form input,#recipe-form textarea{font-size:16px;line-height:1.4}
  #recipe-form input{min-height:46px}
  #recipe-form .form-help{font-size:13px;line-height:1.5;color:#657765}
  #recipe-form .ingredient-heading strong{font-size:20px}
  #recipe-form .ingredient-heading .text-link{font-size:14px}
  #recipe-form .ingredient-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:8px;margin-bottom:13px}
  #recipe-form .ingredient-row .ing-name{grid-column:1/3;grid-row:1}
  #recipe-form .ingredient-row .ing-qty{grid-column:1;grid-row:2}
  #recipe-form .ingredient-row .ing-unit{grid-column:2;grid-row:2}
  #recipe-form .ingredient-row input{min-width:0;padding:10px;font-size:16px}
  #recipe-form .ingredient-row .ghost-icon{grid-column:3;grid-row:1;width:36px;min-height:46px;align-self:stretch}
  #recipe-form .modal-actions .primary{font-size:15px}
  #recipe-form .modal-actions .danger-link{font-size:14px}
  [data-theme="dark"] #recipe-form .form-help{color:#adbfaa}
}
