/* Photo cards and a mobile recipe layout inspired by the supplied references. */
.recipe-grid{gap:14px}.recipe-grid .recipe-photo-card{position:relative;padding:0;overflow:hidden;border-radius:18px;background:#fff;border-color:#e5dfd6}.recipe-cover-button{width:100%;border:0;padding:0;background:#eee9df;display:block;text-align:inherit}.recipe-cover{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.recipe-cover-placeholder{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 28% 20%,#fff9ee,#e9e1d3);color:#726353}.recipe-cover-placeholder>span{font-size:72px;filter:drop-shadow(0 5px 7px #886b4920)}.recipe-card-body{padding:16px 14px 18px}.recipe-grid .recipe h3{font-size:18px;margin:8px 0 14px;letter-spacing:-.4px}.recipe-card-body h3 button{padding:0;background:transparent;border:0;text-align:left;color:inherit;font:inherit;line-height:1.3;font-weight:800;width:100%;min-height:44px}.recipe-card-meta{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#7d756b}.recipe-card-meta strong{color:#322d28;font-size:17px}.recipe-card-meta small{font-size:11px;font-weight:400}.recipe-photo-card .favorite{position:absolute;right:10px;top:10px;border:0;min-height:42px;width:42px;padding:0;border-radius:50%;background:#ffffffeb;box-shadow:0 2px 8px #0001;color:#b83e3e}.recipe-card-body .micro{font-size:9px;letter-spacing:1px}.recipe-card-body .warning-label{margin-top:10px;font-size:11px;padding:8px}.recipe-card-body .session-badge{display:inline-block;margin-bottom:12px;font-size:11px}.recipe-detail-content{background:#fff;padding-top:0}.recipe-hero{margin:0 -26px}.recipe-hero .recipe-cover{aspect-ratio:16/7;max-height:320px}.recipe-hero .recipe-cover-placeholder{aspect-ratio:16/5;max-height:220px}.recipe-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:24px 0 12px}.recipe-title-row h2{margin:0;font-size:30px;line-height:1.15;letter-spacing:-.8px}.photo-shortcut{font-size:11px;white-space:nowrap;padding:8px 10px;flex-shrink:0}.recipe-headline{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#746c62}.recipe-headline strong{font-size:18px;color:#292725}.recipe-tabs{position:sticky;top:69px;z-index:1;background:#f1efec;display:flex;gap:4px;border:5px solid #f1efec;border-radius:14px;margin:24px 0 20px}.recipe-tabs button{flex:1;border:0;background:transparent;border-radius:10px;padding:12px 7px;font-size:14px;color:#888079;min-width:0}.recipe-tabs button[aria-selected=true]{background:#fff;box-shadow:0 1px 4px #00000008;color:#292725;font-weight:700}.recipe-detail-content [role=tabpanel][hidden]{display:none!important}.ingredient-product-list{margin:0}.ingredient-product-list li{padding:0;border:0}.ingredients .ingredient-product{display:flex;align-items:center;gap:16px;min-height:78px;padding:14px 0;border-bottom:1px solid #f0ece7;line-height:1.45}.product-icon{font-size:34px;width:42px;flex:0 0 42px;text-align:center}.product-copy{flex:1;font-size:18px;overflow-wrap:anywhere}.product-copy b{font-weight:800}.ingredients .ingredient-product input{flex:0 0 22px;width:22px;height:22px;margin:0;align-self:center}.ingredient-product.is-checked .product-copy{text-decoration:line-through;color:#958c80}.ingredient-product.is-checked .product-icon{opacity:.45}.method-step{margin:0 0 32px}.method-step>h3{font-size:21px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e8e3dc}.method-step>p{font-size:19px;line-height:1.65;margin:0 0 18px}.step-products{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 20px}.step-product{display:inline-flex;align-items:center;gap:9px;border:1px solid #e5e0d9;background:#faf9f7;border-radius:12px;padding:10px 12px;max-width:100%;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.step-product>span:first-child{font-size:25px;flex-shrink:0}.step-product b{font-weight:800}.step-product small{color:#85776a}.method-step .step-product-note,.step-focus .step-product-note{font-size:13px;line-height:1.6;margin-top:-8px;color:#82776b}.step-focus .step-products{margin-bottom:24px}.recipe-photo-editor{margin:16px 0 24px}.recipe-photo-editor img{width:100%;height:190px;object-fit:cover;display:block;border-radius:14px;margin-bottom:12px}.photo-empty{height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px dashed #cfc5b8;background:#f6f2ec;border-radius:14px;color:#82776b;margin-bottom:12px;font-size:13px}.photo-empty>span:first-child{font-size:30px}.photo-picker{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;margin-right:12px}.step-link-editor{margin:22px 0}.step-link-editor>summary{cursor:pointer;font-size:15px;font-weight:750;min-height:44px;padding:12px;background:#eee9e1;border-radius:10px}.step-link-editor fieldset{border:1px solid #ddd4c8;border-radius:12px;margin:16px 0;padding:12px}.step-link-editor legend{font-size:13px;font-weight:750}.step-link-editor fieldset>p{font-size:13px;line-height:1.6}.step-link-editor fieldset>div{display:grid;gap:10px}.step-link-editor label{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.4;min-height:32px}.step-link-editor input{width:20px;height:20px;flex:0 0 20px;accent-color:#b83e3e}#recipeSaveError{color:#b83e3e;font-size:13px}.recipe-dialog.cooking .recipe-hero,.recipe-dialog.cooking .recipe-title-row,.recipe-dialog.cooking .recipe-headline{display:none}.recipe-dialog.cooking .step-focus p{font-size:23px}.recipe-dialog.cooking .step-focus .step-product-note{font-size:13px}
@media(max-width:620px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recipe-grid .recipe h3{font-size:16px}.recipe-card-body{padding:13px 11px}.recipe-card-meta strong{font-size:16px}.recipe-cover-placeholder>span{font-size:58px}.recipe-title-row{flex-direction:column;margin-top:20px}.recipe-title-row h2{font-size:27px}.recipe-hero{margin:0 -18px}.recipe-hero .recipe-cover{aspect-ratio:16/9}.recipe-hero .recipe-cover-placeholder{aspect-ratio:16/6}.recipe-tabs{top:69px;margin-top:20px}.recipe-tabs button{font-size:12px;padding:12px 4px}.ingredients .ingredient-product{min-height:78px;gap:12px}.product-copy{font-size:17px}.method-step>p{font-size:18px}.recipe-headline{flex-wrap:wrap}.recipe-photo-card .favorite{right:8px;top:8px;width:38px;min-height:38px}.step-product{font-size:13px;padding:9px 10px}.photo-shortcut{font-size:12px}}
@media(max-width:345px){.recipe-grid{grid-template-columns:1fr}.recipe-tabs button{font-size:11px}.recipe-card-body h3 button{min-height:0}}
