.bep-body {
    background:
        linear-gradient(180deg, rgba(252, 100, 50, 0.055) 0, rgba(255, 255, 255, 0) 230px),
        linear-gradient(90deg, rgba(247, 183, 15, 0.07) 0, rgba(255, 255, 255, 0) 42%),
        #ffffff;
}

.bep-body .hub-wrapper {
    background: transparent;
}

.bep-page {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: calc(72px + 34px) 18px 56px;
}

.bep-hero,
.bep-workspace,
.bep-results,
.bep-detail-grid,
.bep-kpi-grid,
.bep-hero-metrics,
.bep-form-grid,
.bep-form-actions,
.bep-notes {
    min-width: 0;
}

.bep-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: 28px;
    align-items: end;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8eaee;
}

.bep-hero-copy {
    min-width: 0;
}

.bep-page-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(252, 100, 50, 0.12);
    color: #fc6432;
    font-size: 19px;
}

.bep-eyebrow,
.bep-kicker,
.bep-kpi-label,
.bep-hero-summary span {
    display: block;
    margin: 0;
    color: #7a7f89;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bep-title {
    max-width: 760px;
    margin: 8px 0 0;
    color: #111216;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
}

.bep-desc {
    max-width: 640px;
    margin: 16px 0 0;
    color: #555961;
    font-size: 16px;
    line-height: 1.65;
}

.bep-hero-summary {
    display: grid;
    gap: 12px;
}

.bep-hero-main,
.bep-hero-metrics > div,
.bep-form-panel,
.bep-kpi,
.bep-progress-panel,
.bep-analysis-card,
.bep-chart-panel {
    border: 1px solid #e8eaee;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(17, 18, 22, 0.055);
}

.bep-hero-main {
    display: grid;
    gap: 8px;
    padding: 22px;
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(135deg, rgba(252, 100, 50, 0.18), rgba(247, 183, 15, 0.06)),
        #111216;
}

.bep-hero-main span,
.bep-hero-main small {
    color: rgba(255, 255, 255, 0.72);
}

.bep-hero-main strong {
    color: #ffffff;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 900;
    line-height: 1;
}

.bep-hero-main small {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bep-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bep-hero-metrics > div {
    display: grid;
    gap: 7px;
    padding: 16px;
}

.bep-hero-metrics strong {
    overflow-wrap: anywhere;
    color: #111216;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.12;
}

.bep-workspace {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-top: 24px;
}

.bep-form-panel {
    position: sticky;
    top: 88px;
    padding: 22px;
}

.bep-panel-head {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8eaee;
}

.bep-panel-head h2,
.bep-progress-head h2,
.bep-analysis-card h2,
.bep-chart-head h2 {
    margin: 5px 0 0;
    color: #111216;
    font-family: var(--font-family-display);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.18;
}

.bep-panel-head p,
.bep-analysis-card p,
.bep-notes p {
    margin: 7px 0 0;
    color: #555961;
    font-size: 14px;
    line-height: 1.55;
}

.bep-page .form-group {
    margin-bottom: 15px;
}

.bep-page .form-label {
    margin-bottom: 7px;
    color: #24262b;
    font-size: 13px;
    font-weight: 800;
}

.bep-page .input,
.bep-money-input,
.bep-number-input {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border-color: #e8eaee;
    color: #111216;
    font-size: 14px;
}

.bep-page .input::placeholder,
.bep-money-input::placeholder,
.bep-number-input::placeholder {
    color: #9aa0aa;
}

.bep-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bep-input-wrap {
    display: flex;
    align-items: center;
    height: 44px;
    overflow: hidden;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.bep-input-wrap:focus-within {
    border-color: #fc6432;
    box-shadow: 0 0 0 3px rgba(252, 100, 50, 0.1);
}

.bep-input-prefix,
.bep-input-suffix {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 0 12px;
    flex: 0 0 auto;
    border-right: 1px solid #e8eaee;
    background: #f8fafb;
    color: #555961;
    font-size: 12px;
    font-weight: 900;
}

.bep-input-suffix {
    border-right: 0;
    border-left: 1px solid #e8eaee;
}

.bep-money-input,
.bep-number-input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bep-money-input:focus,
.bep-number-input:focus {
    border: 0;
    box-shadow: none;
}

.bep-range-box {
    display: grid;
    gap: 10px;
    margin: 4px 0 18px;
    padding: 14px;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    background: #f8fafb;
}

.bep-range-box > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bep-range-box .form-label {
    margin: 0;
}

.bep-range-box span {
    color: #fc6432;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.bep-range {
    width: 100%;
    height: 8px;
    padding: 0;
    accent-color: #fc6432;
}

.bep-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.bep-calc-btn,
.bep-soft-btn,
.bep-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.bep-calc-btn {
    padding: 0 18px;
}

.bep-soft-btn,
.bep-icon-btn {
    border: 1px solid #e8eaee;
    background: #ffffff;
    color: #111216;
}

.bep-soft-btn:hover,
.bep-icon-btn:hover {
    border-color: rgba(252, 100, 50, 0.35);
    color: #fc6432;
}

.bep-icon-btn {
    width: 44px;
}

.bep-results {
    display: grid;
    gap: 16px;
}

.bep-kpi-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bep-kpi {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 158px;
    padding: 18px;
}

.bep-kpi-primary {
    border-color: transparent;
    background:
        linear-gradient(135deg, rgba(252, 100, 50, 0.2), rgba(102, 88, 255, 0.08)),
        #111216;
}

.bep-kpi-primary .bep-kpi-label,
.bep-kpi-primary p {
    color: rgba(255, 255, 255, 0.72);
}

.bep-kpi strong {
    overflow-wrap: anywhere;
    color: #111216;
    font-family: var(--font-family-display);
    font-size: clamp(25px, 3.2vw, 35px);
    font-weight: 900;
    line-height: 1.05;
}

.bep-kpi-primary strong {
    color: #ffffff;
}

.bep-kpi p {
    margin: 0;
    color: #555961;
    font-size: 13px;
    line-height: 1.45;
}

.bep-progress-panel,
.bep-chart-panel,
.bep-analysis-card {
    padding: 18px;
}

.bep-progress-head,
.bep-chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.bep-score,
#projectionLabel {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(252, 100, 50, 0.1);
    color: #fc6432;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.bep-progress-track {
    width: 100%;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid #e8eaee;
    background: #f8fafb;
}

.bep-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fc6432, #f7b70f, #00827b);
    transition: width 320ms ease;
}

.bep-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #555961;
    font-size: 13px;
    font-weight: 700;
}

.bep-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 12px;
}

.bep-breakdown {
    display: grid;
    gap: 0;
    margin: 4px 0 0;
}

.bep-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e8eaee;
}

.bep-breakdown div:last-child {
    border-bottom: 0;
}

.bep-breakdown dt {
    color: #555961;
    font-size: 13px;
    line-height: 1.35;
}

.bep-breakdown dd {
    margin: 0;
    color: #111216;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    text-align: right;
}

.bep-chart {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
    min-height: 178px;
    padding: 16px 12px 10px;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(248, 250, 251, 0.7), rgba(248, 250, 251, 0.92)),
        #ffffff;
}

.bep-chart-bar {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 7px;
    align-items: end;
    min-width: 0;
    height: 138px;
}

.bep-chart-bar-fill {
    width: 100%;
    min-height: 6px;
    border-radius: 5px 5px 0 0;
    background: #fc6432;
    transition: height 320ms ease, background-color 320ms ease;
}

.bep-chart-bar.is-complete .bep-chart-bar-fill {
    background: #00827b;
}

.bep-chart-bar span {
    color: #8b9098;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.bep-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bep-notes > div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid #e8eaee;
}

.bep-notes i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0, 130, 123, 0.12);
    color: #00827b;
}

.bep-notes > div:first-child i {
    background: rgba(252, 100, 50, 0.12);
    color: #fc6432;
}

@media (max-width: 1080px) {
    .bep-hero,
    .bep-workspace,
    .bep-kpi-grid,
    .bep-detail-grid {
        grid-template-columns: 1fr;
    }

    .bep-form-panel {
        position: static;
    }

    .bep-kpi {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .bep-page {
        padding: calc(72px + 24px) 14px 40px;
    }

    .bep-hero {
        gap: 22px;
        padding-bottom: 22px;
    }

    .bep-title {
        font-size: clamp(38px, 13vw, 52px);
    }

    .bep-desc {
        font-size: 14px;
    }

    .bep-hero-metrics,
    .bep-form-grid,
    .bep-notes {
        grid-template-columns: 1fr;
    }

    .bep-form-panel,
    .bep-progress-panel,
    .bep-analysis-card,
    .bep-chart-panel,
    .bep-kpi {
        padding: 16px;
    }

    .bep-form-actions {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bep-soft-btn {
        grid-column: 1 / -1;
        order: 3;
    }

    .bep-icon-btn {
        order: 2;
    }

    .bep-calc-btn {
        order: 1;
    }

    .bep-progress-head,
    .bep-progress-meta,
    .bep-chart-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bep-chart {
        gap: 5px;
        padding-inline: 8px;
    }

    .bep-chart-bar {
        height: 120px;
    }
}
