.sbsc-calculator,
.sbsc-calculator * {
    box-sizing: border-box;
}

.sbsc-calculator {
    margin: 0 auto;
    color: #454545;
    font-family: Arial, sans-serif;
}

.sbsc-tabs {
    display: flex;
}

.sbsc-tab {
    border: 0;
    border-radius: 0;
    padding: 10px 18px;
    background: #009400;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    text-transform: none;
}

.sbsc-tab.active {
    background: #e6e6e6;
    color: #454545;
}

.sbsc-stage {
    overflow: hidden;
    background: #e6e6e6;
    padding: 10px 10px 0;
}

.sbsc-stage::after {
    content: "";
    display: block;
    clear: both;
}

.sbsc-stage-left {
    margin-top: 10px;
    width: 100%;
    margin-bottom: 18px;
}

.sbsc-header-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.sbsc-brand {
    margin-bottom: 0;
    flex-shrink: 0;
}

.sbsc-logo {
    width: 48px;
    height: auto;
    display: block;
}

.sbsc-title {
    margin: 0;
    color: #ff7d00;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.sbsc-description {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #454545;
}

.sbsc-controls {
    display: block;
    margin-bottom: 12px;
}

.sbsc-label {
    display: block;
    color: #454545;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.sbsc-label span {
    display: inline;
    color: #1d1d1b;
    font-weight: 700;
    font-size: 16px;
}

.sbsc-select {
    min-height: 35px;
    border: 1px solid #b5b5b5;
    border-radius: 0;
    background: #efefef;
    color: #454545;
    font-size: 16px;
    padding: 6px 10px;
    width: 98%;
    max-width: 300px;
}

.sbsc-button {
    min-height: 39px;
    padding: 10px 25px;
    border: 0;
    border-radius: 0;
    background: #009400;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
}

.sbsc-button:hover,
.sbsc-button:focus {
    background: #007700;
}

.sbsc-result {
    margin-top: 10px;
}

.sbsc-result-label {
    margin: 0 0 4px;
}

.sbsc-result-value {
    margin: 0;
    font-size: 16px;
    color: #1d1d1b;
}

.sbsc-result-value span,
.sbsc-result-value strong {
    font-size: 24px;
    font-weight: 700;
    color: #009400;
}

.sbsc-visual {
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
}

.calc-maket {
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.maket-svg1,
.maket-svg2 {
    width: 300px;
    height: 600px;
    max-width: 100%;
}

.maket-svg2 {
    display: none;
}

.maket-svg1 svg,
.maket-svg2 svg {
    width: 100%;
    height: auto;
}

.sbsc-help {
    padding: 0 20px 20px;
    background: #e6e6e6;
}

.sbsc-help-list {
    margin: 0 0 12px;
    padding-left: 0;
    list-style: none;
}

.sbsc-help-list li {
    margin: 0 0 9px;
    font-size: 14px;
    line-height: 1.45;
}

.sbsc-help-note {
    margin: 0 0 14px;
    font-size: 14px;
}

.sbsc-help h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #454545;
}

.sbsc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    background: transparent;
    font-size: 14px;
}

.sbsc-table th,
.sbsc-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
    text-transform: none;
}

.sbsc-table th {
    font-weight: 700;
}

.sbsc-table thead th:first-child {
    font-style: italic;
    font-weight: 400;
}

.sbsc-tip-list {
    margin: 0;
    padding-left: 22px;
}

.sbsc-tip-list li {
    margin: 0 0 9px;
    line-height: 1.45;
}

.sbsc-tip-list li::marker {
    color: #009400;
}

@media (min-width: 790px) {
    .sbsc-stage {
        padding: 40px 40px 0;
        display: flex;
        justify-content: center;
        gap: 80px;
    }

    .sbsc-stage-left {
        width: 320px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .sbsc-stage-right {
        width: 300px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .sbsc-help {
        padding: 0 40px 40px;
    }
}

@media (max-width: 789px) {
    .sbsc-tab {
        font-size: 14px;
        padding: 8px 12px;
    }

    .sbsc-title {
        font-size: 18px;
    }

    .sbsc-button {
        width: auto;
    }

    .sbsc-help {
        padding: 0 14px 14px;
    }

    .maket-svg1,
    .maket-svg2 {
        width: 260px;
        height: 520px;
    }
}
