.oven-profit-section {
    padding: 0 0 90px;
    background: var(--background);
}

.oven-profit-card {
    padding: 28px;
}

.oven-profit-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.oven-profit-heading-copy {
    max-width: 720px;
}

.oven-profit-heading h2 {
    margin: 7px 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.025em;
}

.oven-profit-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.oven-profit-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(99, 210, 151, 0.28);
    border-radius: 999px;
    background: rgba(99, 210, 151, 0.08);
    color: #83e8b2;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.oven-profit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 22px;
    align-items: start;
}

.oven-profit-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.oven-profit-inputs .field-group label {
    min-height: 30px;
}

.oven-profit-inputs .field-group small {
    min-height: 30px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

.oven-profit-inputs input {
    font-variant-numeric: tabular-nums;
}

.oven-profit-input-span-two {
    grid-column: span 2;
}

.oven-profit-price-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.oven-profit-price-actions input {
    min-width: 0;
}

.oven-profit-price-actions .mini-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.oven-profit-results {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(5, 14, 24, 0.46);
}

.oven-profit-loads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}

.oven-profit-loads > div {
    min-width: 0;
    padding: 14px 15px;
    border-right: 1px solid var(--line);
}

.oven-profit-loads > div:last-child {
    border-right: 0;
}

.oven-profit-loads span,
.oven-profit-kpi span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.35;
}

.oven-profit-loads strong {
    display: block;
    margin-top: 5px;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.oven-profit-highlight {
    padding: 20px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(100, 117, 255, 0.07);
}

.oven-profit-highlight span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.oven-profit-highlight strong {
    display: block;
    margin-top: 3px;
    color: white;
    font-size: clamp(34px, 5vw, 48px);
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}

.oven-profit-highlight.is-positive strong {
    color: #83e8b2;
}

.oven-profit-highlight.is-negative strong {
    color: #ff9ca7;
}

.oven-profit-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.oven-profit-kpi {
    min-width: 0;
    padding: 14px 15px;
    border-bottom: 1px solid var(--line);
}

.oven-profit-kpi:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.oven-profit-kpi strong {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.oven-profit-note {
    margin: 0;
    padding: 12px 15px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .oven-profit-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .oven-profit-card {
        padding: 20px;
    }

    .oven-profit-heading {
        flex-direction: column;
    }

    .oven-profit-inputs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oven-profit-input-span-two {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .oven-profit-inputs {
        grid-template-columns: 1fr;
    }

    .oven-profit-price-actions {
        flex-direction: column;
    }

    .oven-profit-loads,
    .oven-profit-kpis {
        grid-template-columns: 1fr;
    }

    .oven-profit-loads > div,
    .oven-profit-kpi,
    .oven-profit-kpi:nth-child(odd) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}
