.recipe-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #f7f8fc;
    padding: 1rem;
    border-radius: 0.75rem;
}

.recipe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.recipe-page .recipe-actions {
    position: static;
    top: auto;
    right: auto;
    align-items: stretch;
}

.recipe-table {
    width: 100%;
}

.recipe-card {
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.recipe-col-name {
    font-weight: 600;
    color: #0f172a;
}

.recipe-col-metric {
    text-align: right;
}

.recipe-margin-badge {
    font-size: 0.75rem;
    line-height: 1;
    padding: 0.3rem 0.5rem;
}

.recipe-col-portions,
.recipe-col-net,
.recipe-col-vat,
.recipe-col-gross,
.recipe-col-margin {
    display: none;
}

@media (min-width: 640px) {
    .recipe-col-portions,
    .recipe-col-gross {
        display: block;
    }
}

@media (min-width: 1024px) {
    .recipe-col-net,
    .recipe-col-vat,
    .recipe-col-margin {
        display: block;
    }
}

.margin-good {
    background: #22c55e;
    color: #052e16;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
    min-width: 72px;
    text-align: center;
}

.margin-excellent {
    background: #bfdbfe;
    color: #0f172a;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
    min-width: 72px;
    text-align: center;
}

.margin-medium {
    background: #fde68a;
    color: #713f12;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
    min-width: 72px;
    text-align: center;
}

.margin-bad {
    background: #fca5a5;
    color: #7f1d1d;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
    min-width: 72px;
    text-align: center;
}

.label-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}
