.afg-recipes { min-width: 0; overflow-wrap: anywhere; }
.afg-recipes [hidden], [data-recipe-option][hidden] { display: none !important; }
.afg-recipes button { min-height: 2.5rem; padding: .4rem .72rem; background: #102b40; color: #dceaf3; border: 1px solid #426278; border-radius: .45rem; font: inherit; font-size: .88rem; cursor: pointer; }
.afg-recipes button:focus-visible, .afg-recipes summary:focus-visible { outline: 2px solid #82d9ff; outline-offset: 2px; }
/* Rezeptbuttons erhalten beim Hover die Akzentfarbe der jeweiligen Food-Kategorie. */
.lab-food .afg-recipes button:not(:disabled):hover,
.lab-food .afg-recipes button:not(:disabled):focus-visible {
    color: var(--food-color, #78a7ff);
    border-color: var(--food-color, #78a7ff);
    background: rgba(var(--food-rgb, 120, 167, 255), .14);
}

.afg-recipes button:disabled { opacity: .55; cursor: default; }
.afg-recipes button[aria-pressed="true"], .afg-recipes [data-recipe-discover] { color: #abefd0; border-color: #398967; background: #123b31; }
.afg-recipes h3 { font-size: 1.1rem; margin: .55rem 0; color: #f1f7fa; }
.afg-recipes h4 { font-size: .92rem; margin: .85rem 0 .25rem; color: #d7eaf5; }
.afg-recipes ul, .afg-recipes ol { padding-inline-start: 1.3rem; margin: .3rem 0; }
.afg-recipes li, .afg-recipes p { font-size: .88rem; line-height: 1.5; margin: .2rem 0; }
.afg-recipes [data-recipe-status]:empty { margin: 0; }
.afg-recipes .afg-recipe-elapsed { display: block; margin-top: .12rem; color: #acc6d7; font-size: .82rem; }
.afg-recipes .afg-recipe-report-hint { color: #acc6d7; font-size: .8rem; line-height: 1.45; margin-top: .4rem; }
.afg-recipes [data-recipe-report] { margin-top: .45rem; }
.afg-recipe-portions, .afg-recipes [data-recipe-nav] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .65rem 0; }
.afg-recipe-portions span, .afg-recipes [data-recipe-position] { font-size: .82rem; color: #acc6d7; }
.afg-recipes [data-recipe-position] { flex-basis: 100%; }
.afg-recipe-book { margin: .65rem 0; border-top: 1px solid #355068; padding-top: .5rem; }
.afg-recipe-book summary { cursor: pointer; padding: .4rem 0; font-weight: 650; }
.afg-recipe-entry { margin: .6rem 0; padding: .4rem .65rem; background: #102739; border-radius: .45rem; }
.afg-recipe-book form { margin: .4rem 0; }
.afg-recipe-bulk { margin: .8rem 0; }
.lab-food .afg-recipe-steps { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.lab-food .afg-recipe-steps .lab-step { align-items: flex-start; min-width: 0; }
.lab-food .afg-recipe-steps .lab-step span { min-width: 0; overflow-wrap: anywhere; font-size: .88rem; line-height: 1.45; }

/* Rezeptideen-Einstieg: Erklärung sichtbar nur ohne vorhandenes Rezept. */
.afg-recipes[data-recipe-card] { display: flex; flex-direction: column; }
.afg-recipes .afg-recipe-intro { display: flex; flex: 1 1 auto; flex-direction: column; gap: .7rem; padding-top: .35rem; }
.afg-recipes .afg-recipe-intro-title { margin: .1rem 0 0; font-size: 1.04rem; font-weight: 750; color: #f1f7fa; }
.afg-recipes .afg-recipe-intro p { margin: 0; font-size: .89rem; line-height: 1.55; color: #d1dfec; }
.afg-recipes .afg-recipe-intro strong { color: #f1f7fa; }
.afg-recipes .afg-recipe-intro [data-recipe-discover] { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; margin-top: auto; }
