.chs-calculator {
    max-width: 1100px;
    margin: 30px auto;
    padding: 10px 20px 30px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #17324d;
}

.chs-header {
    text-align: center;
    margin-bottom: 30px;
}

.chs-header h2 {
    margin: 0 0 10px;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
    color: #132b45;
}

.chs-header p {
    margin: 0;
    font-size: 16px;
    color: #56708a;
}

.chs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.chs-left-card {
    background: #ffffff;
    border: 1px solid #d7e2df;
    border-radius: 16px;
    padding: 30px 32px;
    min-height: 440px;
    box-sizing: border-box;
}

.chs-field {
    margin-bottom: 34px;
}

.chs-field:last-child {
    margin-bottom: 0;
}

.chs-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.chs-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #0f2640;
    font-weight: 500;
}

.chs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2fa592;
    font-weight: 700;
    font-size: 24px;
    min-width: 18px;
}

.chs-value {
    color: #2fa592;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.chs-field input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: #dfe8e5;
    outline: none;
}

.chs-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #2fa592;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(47, 165, 146, 0.08);
}

.chs-field input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #2fa592;
    cursor: pointer;
}

.chs-right-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.chs-main-result {
    background: #35a894;
    border-radius: 16px;
    padding: 34px 30px;
    text-align: center;
    color: #ffffff;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.chs-main-icon {
    font-size: 34px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.chs-main-label {
    font-size: 16px;
    margin-bottom: 8px;
}

.chs-main-value {
    font-size: 58px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1px;
}

.chs-small-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.chs-small-card,
.chs-bottom-card {
    background: #ffffff;
    border: 1px solid #d7e2df;
    border-radius: 16px;
    padding: 22px 20px;
    text-align: center;
    box-sizing: border-box;
}

.chs-small-label {
    color: #7a8ca0;
    font-size: 16px;
    margin-bottom: 10px;
}

.chs-small-value {
    font-size: 22px;
    font-weight: 700;
    color: #132b45;
}

.chs-bottom-value {
    font-size: 44px;
    font-weight: 700;
    color: #132b45;
    line-height: 1.1;
}

.chs-note {
    text-align: center;
    font-size: 14px;
    color: #61758b;
    margin-top: 6px;
}

@media (max-width: 991px) {
    .chs-grid {
        grid-template-columns: 1fr;
    }

    .chs-header h2 {
        font-size: 40px;
    }

    .chs-main-value {
        font-size: 48px;
    }
}

@media (max-width: 640px) {
    .chs-calculator {
        padding: 10px 15px 20px;
    }

    .chs-header h2 {
        font-size: 32px;
    }

    .chs-left-card,
    .chs-main-result,
    .chs-small-card,
    .chs-bottom-card {
        padding: 20px;
    }

    .chs-small-cards {
        grid-template-columns: 1fr;
    }

    .chs-label-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .chs-main-value {
        font-size: 40px;
    }

    .chs-bottom-value {
        font-size: 32px;
    }

    .chs-label,
    .chs-value {
        font-size: 16px;
    }
}