.sc24h-app {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --green: #159447;
    --dark: #121826;
    --cream: #fff8ec;
    --border: #eadfce;

    max-width: 760px;
    margin: 30px auto;
    padding: 24px;
    color: var(--dark);
    background: var(--cream);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(31, 41, 55, 0.12);
}

.sc24h-app *,
.sc24h-app *::before,
.sc24h-app *::after {
    box-sizing: border-box;
}

.sc24h-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sc24h-header h2,
.sc24h-header p {
    margin: 0;
}

.sc24h-header h2 {
    font-size: 22px;
}

.sc24h-header p {
    color: #6b7280;
    font-size: 14px;
}

.sc24h-header > span {
    margin-left: auto;
    padding: 7px 12px;
    color: var(--primary-dark);
    background: #fff3d6;
    border-radius: 999px;
    font-size: 13px;
}

.sc24h-logo {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: white;
    background: var(--primary);
    border-radius: 15px;
    font-size: 25px;
}

.sc24h-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

.sc24h-progress span {
    height: 5px;
    background: #e5e7eb;
    border-radius: 999px;
}

.sc24h-progress span.active {
    background: var(--primary);
}

.sc24h-step {
    display: none;
}

.sc24h-step.active {
    display: block;
}

.sc24h-step h3 {
    margin-bottom: 24px;
    font-size: clamp(25px, 5vw, 38px);
    line-height: 1.15;
}

.sc24h-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.sc24h-options .option {
    min-height: 82px;
    padding: 14px;
    color: var(--dark);
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
}

.sc24h-options .option.active {
    color: white;
    background: linear-gradient(135deg, #fbbf24, #f08c00);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
}

.sc24h-quick-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.sc24h-quick-values button {
    padding: 9px 15px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.sc24h-quick-values button.active {
    color: white;
    background: var(--primary);
}

.sc24h-input-unit {
    display: flex;
    align-items: center;
    margin: 8px 0 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.sc24h-input-unit input {
    width: 100%;
    height: 58px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.sc24h-input-unit span {
    padding-right: 16px;
    color: #6b7280;
}

.sc24h-next,
.sc24h-submit,
.sc24h-cta {
    display: block;
    width: 100%;
    padding: 17px 20px;
    color: white;
    background: linear-gradient(135deg, #fbb000, #ef8f00);
    border: 0;
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

.sc24h-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 24px;
}

.sc24h-back,
#sc24h-restart {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sc24h-usage-result {
    display: flex;
    justify-content: space-between;
    margin: 12px 0 28px;
}

.sc24h-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sc24h-result-grid > div {
    display: flex;
    min-height: 120px;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.sc24h-result-grid strong {
    font-size: 25px;
}

.sc24h-result-grid span {
    margin-top: 4px;
    color: #6b7280;
}

.sc24h-summary {
    margin: 18px 0;
    padding: 20px;
    background: var(--dark);
    color: white;
    border-radius: 18px;
}

.sc24h-summary strong {
    color: #54d98c;
}

.sc24h-disclaimer {
    color: #6b7280;
    font-size: 13px;
}

#sc24h-restart {
    display: block;
    margin: 18px auto 0;
}

@media (max-width: 600px) {
    .sc24h-app {
        margin: 0;
        padding: 18px;
        border-radius: 0;
    }

    .sc24h-options {
        grid-template-columns: 1fr;
    }

    .customer-options,
    .phase-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc24h-result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc24h-result-grid strong {
        font-size: 20px;
    }
}