.mrc-react-calculator.kijo-savings-goal-calculator .mrc-pill-input input[type="text"] {
    width: 100%;
}

.mrc-react-calculator.kijo-savings-goal-calculator .mrc-pill-input input[readonly] {
    opacity: 0.65;
    cursor: not-allowed;
}

.mrc-react-calculator.kijo-savings-goal-calculator input[type="range"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Bubble must not block dragging the underlying range input (same fix as the loan calculator). */
.mrc-react-calculator.kijo-savings-goal-calculator .mrc-slider-group .mrc-slider-container .mrc-slider-bubble {
    pointer-events: none;
    width: min-content;
}

.kijo-sgc__unit-toggle {
    display: inline-flex;
    gap: 6px;
    margin: 6px 0 8px;
}

.kijo-sgc__unit-btn {
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid var(--e-global-color-primary);
    background: transparent;
    font-family: var(--e-global-typography-text-font-family), Satoshi;
    font-size: 14px;
    cursor: pointer;
    transition: linear 0.2s;
}

.kijo-sgc__unit-btn:hover:not(:disabled) {
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
    color: var(--e-global-color-accent);
}

.kijo-sgc__unit-btn.is-active {
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
}

.kijo-sgc__unit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.kijo-sgc__tabs {
    margin: 0 0 60px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.kijo-sgc__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background-color: var(--e-global-color-accent);
    padding: 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: linear 0.2s;
    font-family: var(--e-global-typography-d9b8830-font-family), Monserrat;
    font-size: var(--e-global-typography-d9b8830-font-size);
    font-weight: var(--e-global-typography-d9b8830-font-weight);
    text-transform: var(--e-global-typography-d9b8830-text-transform);
    font-style: var(--e-global-typography-d9b8830-font-style);
    text-decoration: var(--e-global-typography-d9b8830-text-decoration);
    line-height: var(--e-global-typography-d9b8830-line-height);
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    cursor: pointer;
}

.kijo-sgc__tab:hover {
    background-color: var(--e-global-color-secondary);
    border-color: var(--e-global-color-secondary);
}

.kijo-sgc__tab.is-active {
    background-color: var(--e-global-color-secondary);
    border: 1px solid var(--e-global-color-secondary);
}

.kijo-sgc__compare-row {
    opacity: 0.9;
}

.kijo-sgc__gap {
    display: none;
    margin: 20px 0 0;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: var(--e-global-typography-text-font-family), Satoshi;
    font-size: var(--e-global-typography-text-font-size, 15px);
    text-align: center;
}

.kijo-sgc__gap--warn {
    background: rgba(217, 119, 6, 0.12);
    color: #92400e;
}

.kijo-sgc__gap--ok {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.kijo-sgc__progress,
.kijo-sgc__whatif {
    margin-top: 40px;
}

.kijo-sgc__progress .title,
.kijo-sgc__whatif .title {
    font-family: var(--e-global-typography-b7fd117-font-family), Satoshi;
    font-size: var(--e-global-typography-b7fd117-font-size);
    font-weight: var(--e-global-typography-b7fd117-font-weight);
    line-height: var(--e-global-typography-b7fd117-line-height);
    text-transform: var(--e-global-typography-b7fd117-text-transform);
    color: var(--e-global-color-primary);
    margin: 0 0 16px;
    text-align: center;
}

.kijo-sgc__progress-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .kijo-sgc__progress-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kijo-sgc__progress-col {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--e-global-color-f0d6634);
    border-radius: 30px;
    height: auto;
    margin: 0 auto;
}

.kijo-sgc__progress-col .label {
    font-family: var(--e-global-typography-text-font-family), Satoshi;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);
    text-transform: var(--e-global-typography-text-text-transform);
    text-decoration: var(--e-global-typography-text-text-decoration);
    flex-shrink: 0;
    flex-grow: 0;
    text-align: center;
}

.kijo-sgc__progress-col .value {
    font-family: var(--e-global-typography-b7fd117-font-family), Satoshi;
    font-size: var(--e-global-typography-b7fd117-font-size);
    font-weight: var(--e-global-typography-b7fd117-font-weight);
    font-style: var(--e-global-typography-b7fd117-font-style);
    -webkit-text-decoration: var(--e-global-typography-b7fd117-text-decoration);
    text-decoration: var(--e-global-typography-b7fd117-text-decoration);
    line-height: var(--e-global-typography-b7fd117-line-height);
    text-transform: var(--e-global-typography-b7fd117-text-transform);
    color: var(--e-global-color-primary);
    text-align: center;
}

.kijo-sgc__progress-col .sub {
    font-family: var(--e-global-typography-text-font-family), Satoshi;
    font-size: var(--e-global-typography-text-font-size);
    opacity: 0.7;
    margin-top: 4px;
    text-align: center;
}

.kijo-sgc__whatif-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .kijo-sgc__whatif-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.kijo-sgc__whatif-card {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--e-global-color-f0d6634);
    border-radius: 30px;
    height: auto;
    margin: 0 auto;
}

.kijo-sgc__whatif-title {
    font-family: var(--e-global-typography-b7fd117-font-family), Satoshi;
    font-size: var(--e-global-typography-b7fd117-font-size);
    font-weight: var(--e-global-typography-b7fd117-font-weight);
    font-style: var(--e-global-typography-b7fd117-font-style);
    -webkit-text-decoration: var(--e-global-typography-b7fd117-text-decoration);
    text-decoration: var(--e-global-typography-b7fd117-text-decoration);
    line-height: var(--e-global-typography-b7fd117-line-height);
    text-transform: var(--e-global-typography-b7fd117-text-transform);
    color: var(--e-global-color-primary);
    text-align: center;
}

.kijo-sgc__whatif-body {
    font-family: var(--e-global-typography-text-font-family), Satoshi;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);
    text-transform: var(--e-global-typography-text-text-transform);
    text-decoration: var(--e-global-typography-text-text-decoration);
    flex-shrink: 0;
    flex-grow: 0;
    text-align: center;
    opacity: 0.85;
}
