.rcs-lec-wrap {
    --rcs-primary: #ff6900;
    --rcs-secondary: #fcb900;
    --rcs-accent: #ff6900;
    --rcs-accent-dark: #d95400;
    --rcs-dark: #1f2937;
    --rcs-muted: #667085;
    --rcs-border: #e8edf3;
    --rcs-soft: #f7f9fc;
    font-family: inherit;
}

.rcs-lec-shell {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--rcs-border);
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.rcs-lec-heading h2 {
    color: var(--rcs-dark);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rcs-lec-heading p,
.rcs-lec-note,
.rcs-lec-range-labels {
    color: var(--rcs-muted);
    font-size: 13px;
}

.rcs-lec-controls-card {
    background: #fff;
}

.rcs-lec-field {
    padding: 0 0 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
}

.rcs-lec-field:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rcs-lec-field-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.rcs-lec-field .form-label {
    color: var(--rcs-dark);
    font-size: 15px;
    font-weight: 600;
}

.rcs-lec-value-box {
    min-width: 148px;
    height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid var(--rcs-border);
    border-radius: 3px;
    background: #fff;
}

.rcs-lec-number {
    border: 0 !important;
    box-shadow: none !important;
    height: 38px;
    color: var(--rcs-dark);
    font-weight: 600;
    text-align: right;
    padding-left: 8px;
    padding-right: 8px;
}

.rcs-lec-value-box span {
    padding: 0 10px;
    color: var(--rcs-muted);
    white-space: nowrap;
    font-size: 14px;
}

.rcs-lec-range {
    height: 6px;
    cursor: pointer;
}

.rcs-lec-range::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rcs-primary), var(--rcs-secondary));
}

.rcs-lec-range::-moz-range-track {
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rcs-primary), var(--rcs-secondary));
}

.rcs-lec-range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7px;
    background: var(--rcs-accent);
    border: 3px solid #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.rcs-lec-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--rcs-accent);
    border: 3px solid #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.rcs-lec-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.rcs-lec-result-card {
    background: linear-gradient(180deg, #fff6e8 0%, #fffaf0 100%);
    border-radius: 4px;
    border: 1px solid #ffd7a8;
    padding: 28px 24px;
    text-align: center;
}

.rcs-lec-result-label {
    color: var(--rcs-muted);
    font-size: 14px;
    font-weight: 600;
}

.rcs-lec-loan-amount {
    color: var(--rcs-accent-dark);
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.05;
    font-weight: 800;
    margin-top: 8px;
    letter-spacing: -0.03em;
}

.rcs-lec-result-subtitle {
    color: var(--rcs-dark);
    font-size: 16px;
    font-weight: 700;
    margin-top: 6px;
}

.rcs-lec-result-line {
    width: 100%;
    height: 1px;
    background: #ffd7a8;
    margin: 22px 0;
}

.rcs-lec-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
}

.rcs-lec-mini-grid div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid #ffe2b8;
    border-radius: 4px;
    padding: 10px 12px;
}

.rcs-lec-mini-grid span {
    color: var(--rcs-muted);
    font-size: 13px;
}

.rcs-lec-mini-grid strong {
    color: var(--rcs-dark);
    font-size: 15px;
    font-weight: 700;
}

.rcs-lec-cta {
    background: var(--rcs-accent) !important;
    border-color: var(--rcs-accent) !important;
    color: #fff !important;
    border-radius: 3px;
    font-weight: 700;
    padding: 12px 18px;
}

.rcs-lec-cta:hover,
.rcs-lec-cta:focus {
    background: var(--rcs-accent-dark) !important;
    border-color: var(--rcs-accent-dark) !important;
    color: #fff !important;
}

@media (max-width: 575px) {
    .rcs-lec-shell {
        padding: 20px;
    }
    .rcs-lec-field-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .rcs-lec-value-box {
        width: 100%;
    }
}
