.rfp-wrapper,
.rfp-wrapper * {
    font-family: inherit !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-sizing: border-box;
}

.rfp-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 32px auto;
    color: inherit;
}

.rfp-intro {
    border: 1px solid #CDB26B;
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 22px;
    background: #fff;
}

.rfp-intro h2,
.rfp-results h2 {
    margin: 0 0 10px;
    color: #25466f;
    line-height: 1.2;
}

.rfp-intro p {
    margin: 0;
    line-height: 1.65;
}

.rfp-form,
.rfp-results,
.rfp-chart {
    border: 1px solid #CDB26B;
    border-radius: 18px;
    padding: 24px;
    margin: 22px 0;
    background: #fff;
}

.rfp-form h3,
.rfp-chart h3 {
    margin: 24px 0 14px;
    color: #25466f;
}

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

.rfp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rfp-field {
    border: 1px solid rgba(205, 178, 107, .7);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.rfp-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #25466f;
}

.rfp-field input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #25466f;
    padding: 10px 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
}

.rfp-field input:focus {
    outline: none;
    border-bottom-color: #CDB26B;
}

.rfp-field small {
    display: block;
    margin-top: 8px;
    opacity: .75;
}

.rfp-button {
    display: inline-block;
    margin-top: 22px;
    padding: 14px 24px;
    border: 1px solid #CDB26B;
    border-radius: 12px;
    background: #25466f;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.rfp-button:hover {
    filter: brightness(.95);
}

.rfp-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.rfp-summary > div {
    border: 1px solid rgba(205, 178, 107, .8);
    border-radius: 14px;
    padding: 16px;
    background: #fafafa;
}

.rfp-summary span {
    display: block;
    margin-bottom: 8px;
    opacity: .75;
}

.rfp-summary strong {
    color: #25466f;
    font-size: 18px;
}

.rfp-chart {
    overflow: hidden;
}

.rfp-bar-row {
    display: grid;
    grid-template-columns: 180px 1fr 150px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.rfp-bar-row:last-child {
    border-bottom: none;
}

.rfp-bar-label {
    font-weight: 700;
}

.rfp-bar-track {
    height: 14px;
    border-radius: 99px;
    background: #f1f1f1;
    overflow: hidden;
}

.rfp-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #CDB26B, #25466f);
}

.rfp-bar-value {
    text-align: right;
    font-weight: 700;
    color: #25466f;
}

.rfp-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.rfp-card {
    border: 1px solid rgba(205, 178, 107, .8);
    border-radius: 18px;
    padding: 20px;
    background: #fff;
}

.rfp-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.rfp-card h3 {
    margin: 0;
    color: #25466f;
}

.rfp-card-head span {
    display: inline-block;
    border: 1px solid #CDB26B;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    white-space: nowrap;
}

.rfp-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.rfp-row:last-child {
    border-bottom: none;
}

.rfp-row span {
    opacity: .75;
}

.rfp-row strong {
    text-align: right;
}

.rfp-highlight strong,
.rfp-gain strong {
    color: #25466f;
}

.rfp-disclaimer {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 4px solid #CDB26B;
    background: #fafafa;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .rfp-grid,
    .rfp-grid-3,
    .rfp-summary,
    .rfp-cards {
        grid-template-columns: 1fr;
    }

    .rfp-bar-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rfp-bar-value {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .rfp-wrapper {
        margin: 20px auto;
    }

    .rfp-intro,
    .rfp-form,
    .rfp-results,
    .rfp-chart {
        padding: 18px;
        border-radius: 14px;
    }

    .rfp-row {
        flex-direction: column;
        gap: 4px;
    }

    .rfp-row strong {
        text-align: left;
    }

    .rfp-card-head {
        flex-direction: column;
    }
}
