.sd-calc {
    background: #fff9f2;
    border: 1px solid rgba(200, 149, 108, 0.2);
    border-radius: 14px;
    padding: 32px 28px;
    margin: 40px 0;
    box-shadow: 0 8px 28px rgba(44, 24, 16, 0.08);
}

.sd-calc .sd-calc-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #2c1810;
}

.sd-calc .sd-calc-sub {
    font-size: 0.85rem;
    color: #c8956c;
    margin-bottom: 24px;
}

.sd-calc .sd-stage-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
    background: #f4ebdd;
    padding: 5px;
    border-radius: 10px;
}

.sd-calc .sd-tab {
    flex: 1;
    padding: 10px 8px;
    border: 0;
    background: transparent;
    color: #4a3228;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sd-calc .sd-tab:hover {
    color: #2c1810;
}

.sd-calc .sd-tab-active {
    background: #fff9f2;
    color: #2c1810;
    box-shadow: 0 2px 6px rgba(44, 24, 16, 0.08);
}

.sd-calc .sd-stage-panel.sd-hidden {
    display: none;
}

.sd-calc .sd-slider-group {
    margin-bottom: 22px;
}

.sd-calc .sd-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.sd-calc .sd-slider-label label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #4a3228;
}

.sd-calc .sd-slider-val {
    font-weight: 600;
    font-size: 1.1rem;
    color: #c8956c;
    white-space: nowrap;
}

.sd-calc input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e8ddd0;
    outline: none;
}

.sd-calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #c8956c;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(200, 149, 108, 0.4);
}

.sd-calc input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #c8956c;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(200, 149, 108, 0.4);
}

.sd-calc .sd-result {
    margin-top: 24px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08), rgba(200, 149, 108, 0.06));
    border-radius: 10px;
    text-align: center;
}

.sd-calc .sd-result-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7a8b6f;
    margin-bottom: 4px;
}

.sd-calc .sd-result-time {
    font-size: 2.6rem;
    font-weight: 700;
    color: #2c1810;
    line-height: 1.2;
}

.sd-calc .sd-result-note {
    font-size: 0.82rem;
    color: #c8956c;
    margin-top: 4px;
}
