.wl-loan-calc {
    --accent: #7fc6c4;
    --light: #e6e6e6;
    /* background: #f7fdfc; */
    padding: 32px;
    border-radius: 16px;
}

.wl-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #2c3a3a;
    margin: 0 0 24px;
}

.wl-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

.wl-left {
    padding-top:30px;
}

@media (max-width:900px) {
    .wl-grid {
        grid-template-columns: 1fr;
    }
}

.wl-left .wl-field {
    margin-bottom: 22px;
}

.wl-left label {
    display: block;
    font-weight: 700;
    color: #3a4a4a;
    margin-bottom: 8px;
}

.wl-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wl-inline output {
    min-width: 120px;
    text-align: right;
    color: #9aa6a6;
    font-weight: 600;
}

.wl-left input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: var(--light);
    border-radius: 10px;
    outline: none;
    position: relative;
}

.wl-left input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.wl-left input[type=range]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 0;
}

.wl-left input[type=range]::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--light) var(--fill, 0%));
}

.wl-left input[type=range]::-moz-range-track {
    height: 10px;
    border-radius: 10px;
    background: var(--light);
}

.wl-left input[type=range]::-moz-range-progress {
    background: var(--accent);
    height: 10px;
    border-radius: 10px;
}

/* Controls */
.wl-right {
    --line-color: #d3d3d3;
    --line-width: 2px;
    --chevron-gap: 100px;
    /* vertical center of the break; JS may set this */
    --line-break: 15px;
    /* size of the broken gap in the vertical rule */
    --chevron-depth: 1.15;
    /* >1 pushes the point further into the panel */
    position: relative;
    background: #fff;
    padding: 28px 28px 28px 40px;
    text-align: left;
}

/* Top & bottom vertical segments (meet exactly at the gap edges) */
.wl-right::before,
.wl-right::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    border-left: var(--line-width) solid var(--line-color);
}

.wl-right::before {
    top: 0;
    height: calc(var(--chevron-gap) - var(--line-break) / 2);
}

.wl-right::after {
    top: calc(var(--chevron-gap) + var(--line-break) / 2);
    bottom: 0;
}

/* Chevron that EXACTLY fits the gap */
.wl-right .chevron {
    position: absolute;
    left: calc(-1 * var(--line-width));
    /* share same x as the rule */
    top: calc(var(--chevron-gap) - (var(--line-break) / 2));
    width: calc(var(--line-break) * 0.7071);
    /* side = gap / √2 */
    height: calc(var(--line-break) * 0.7071);
    border-top: var(--line-width) solid var(--line-color);
    border-right: var(--line-width) solid var(--line-color);
    background: transparent;
    transform-origin: left center;
    transform: rotate(45deg) scaleX(var(--chevron-depth));
    pointer-events: none;
    display: block;
}

.wl-sub {
    letter-spacing: .08em;
    font-weight: 700;
    color: #28ADA0;
    margin: 0 0 8px;
}

.wl-amount-big {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    color: #334;
    margin: 0 0 16px;
}

.wl-btn {
    display: inline-block;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.wl-btn:hover {
    opacity: .9;
}

.wl-note {
    color: #96a3a3;
    font-size: 14px;
    margin-top: 12px;
}