/* Shared recipe-card presentation; editor/safety-dialog styles remain unchanged. */
.rezept-container {
    display: flex;
    flex-direction: column;
    container-type: inline-size;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    box-shadow: 0 2px 6px rgb(15 23 42 / 3%);
}
.recipe-card-tags-row:empty { display: none; }
.recipe-card-tags-row { padding: 1rem 1.25rem 0; }
.rezept-container .recipe-card-tag { color: #1e40af; background: #eff6ff; border-color: #dbeafe; white-space: normal; overflow-wrap: anywhere; font-weight: 500; }
.rezept-container .recipe-card-tag__prefix { color: #64748b; }
.rezept-container .rezept-inhalt { width: 100%; min-width: 0; padding: 1.25rem; }
.rezept-container .rezept-kopf { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid #e2e8f0; }
.rezept-container .recipe-card-title { flex: 1 1 20rem; min-width: 0; margin: 0; font-size: 1.125rem; font-weight: 650; line-height: 1.4; letter-spacing: -.015em; text-transform: none; color: #0f172a; overflow-wrap: anywhere; }
.rezept-container .kopf-trennung { display: none; }
.rezept-container .recipe-actions { position: static; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .5rem; max-width: 100%; }
.rezept-container .recipe-edit-button.rz-button,
.rezept-container .safety-button { min-height: 44px; height: auto; min-width: 44px; margin: 0; border: 1px solid #dbe4ee; border-radius: 10px; background: #fff; color: #475569; box-shadow: none; }
.rezept-container .safety-button { width: auto; max-width: 100%; padding: .5rem .75rem; font: inherit; font-size: .875rem; line-height: 1.35; }
.rezept-container .recipe-edit-button.rz-button:hover,
.rezept-container .safety-button:hover { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; box-shadow: none; }
.rezept-container button:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.rezept-container .rezept-spalten { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; padding-top: 1rem; }
.rezept-container .rezept-links,
.rezept-container .rezept-rechts { width: auto; min-width: 0; color: #334155; font-size: .9375rem; line-height: 1.6; }
.rezept-container .rezept-rechts { padding: 0; border: 0; background: transparent; }
.rezept-container .rezept-rechts h3,
.rezept-container .ingredient-group__title { margin: 0 0 .65rem; color: #334155; font-size: .9375rem; font-weight: 600; line-height: 1.5; text-transform: none; }
.rezept-container .ingredient-group__title strong { font-weight: 600; }
.rezept-container .ingredient-group { margin-bottom: 1rem; }
.rezept-container .ingredient-group:last-child { margin-bottom: 0; }
.rezept-container .ingredient-list { padding: 0; margin: 0; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.rezept-container .ingredient-item { padding: .5rem .65rem; border-bottom: 1px solid #e2e8f0; line-height: 1.5; }
.rezept-container .ingredient-item:last-child { border-bottom: 0; }
.rezept-container .ingredient-item:hover,
.rezept-container .ingredient-item:focus-within { background: #eff6ff; }
.rezept-container .ingredient-item__header { width: 100%; min-width: 0; }
.rezept-container .ingredient-item__meta { display: flex; width: 100%; min-width: 0; gap: .75rem; align-items: baseline; font-size: .875rem; }
.rezept-container .ingredient-item__product-quantity,
.rezept-container .ingredient-item__quantity { flex: 0 0 5.25rem; min-width: 0; max-width: 38%; color: #64748b; font-size: .8125rem; font-weight: 400; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rezept-container .ingredient-item__product-name { min-width: 0; font-size: .875rem; color: #334155; font-weight: 500; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.rezept-container .rezept-rechts ol,
.rezept-container .rezept-rechts ul { margin: 0; padding-left: 1.4rem; }
.rezept-container .rezept-rechts li { padding-left: .2rem; margin-bottom: .6rem; line-height: 1.6; }
.rezept-container .rezept-rechts p:first-child { margin-top: 0; }
.rezept-container .rezept-rechts p:last-child { margin-bottom: 0; }
.rezept-container .rezept-rechts img { max-width: 100%; height: auto; }
.rezept-container .rezept-rechts { overflow-wrap: anywhere; }
@container (min-width: 46rem) {
    .rezept-container .rezept-spalten { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 1.75rem; }
}
@media (max-width: 640px) {
    .rezept-container { border-radius: 14px; }
    .rezept-container .rezept-inhalt { padding: 1rem; }
    .recipe-card-tags-row { padding: .75rem 1rem 0; }
}
