#ce-gift-app {
    max-width: 980px;
    margin: 40px auto;
    padding: 0 20px;
}

.ce-gift-card {
    background: #ffffff;
    padding: 34px;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(7,24,39,.08);
    border: 1px solid rgba(7,24,39,.08);
    margin-bottom: 26px;
}

.ce-gift-welcome-card h2,
.ce-gift-card h2,
.ce-gift-card h3 {
    color: #071827;
    margin-top: 0;
    line-height: 1.25;
}

.ce-gift-label {
    color: #c99a4a;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.ce-gift-intro-list {
    margin: 22px 0;
    padding-left: 22px;
    line-height: 1.7;
}

.ce-gift-small-note,
.ce-gift-result-note {
    color: #475569;
    font-size: .98rem;
    line-height: 1.6;
}

.ce-gift-button,
.ce-gift-answer {
    display: block;
    width: 100%;
    margin: 13px 0;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background: #071827;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
}

.ce-gift-button:hover,
.ce-gift-answer:hover {
    background: #c99a4a;
    color: #071827;
    transform: translateY(-1px);
}

.ce-gift-inline-button {
    width: auto;
    display: inline-block;
    text-decoration: none;
    padding: 13px 24px;
}

.ce-gift-progress-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #475569;
    font-size: .92rem;
    margin-bottom: 10px;
}

.ce-gift-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 28px;
}

.ce-gift-progress-fill {
    height: 100%;
    background: #c99a4a;
    border-radius: 999px;
    transition: width .25s ease;
}

#ce-gift-reflection {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(7,24,39,.18);
    border-radius: 12px;
    font-size: 1rem;
    margin: 12px 0 18px;
}

.ce-gift-results-header {
    text-align: center;
}

.ce-gift-results-header h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    margin-bottom: 14px;
}

.ce-gift-styles {
    color: #334155;
}

.ce-gift-divider {
    display: inline-block;
    margin: 0 12px;
    color: #94a3b8;
}

.ce-gift-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ce-gift-card ul {
    margin-bottom: 0;
    padding-left: 22px;
    line-height: 1.7;
}

.ce-gift-email-card label {
    display: block;
    font-weight: 700;
    margin: 16px 0 6px;
    color: #071827;
}

.ce-gift-email-card input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(7,24,39,.18);
    border-radius: 10px;
    font-size: 1rem;
}

.ce-gift-email-message {
    padding: 14px 16px;
    border-radius: 10px;
    background: #f7f3ec;
    color: #071827;
    margin: 16px 0;
}

.ce-gift-email-success {
    background: #ecfdf5;
    color: #065f46;
}

.ce-gift-email-error {
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 760px) {
    #ce-gift-app {
        margin: 24px auto;
        padding: 0 14px;
    }

    .ce-gift-card {
        padding: 24px;
    }

    .ce-gift-two-column {
        grid-template-columns: 1fr;
    }

    .ce-gift-divider {
        display: block;
        opacity: 0;
        height: 6px;
    }
}


.ce-gift-after-email {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(7,24,39,.1);
}


.ce-gift-intro-list + .ce-gift-small-note {
    margin-top: 20px;
}


/* Softer answer buttons */
.ce-gift-answer {
    background: #f7f3ec;
    color: #071827;
    border: 1px solid rgba(201,154,74,.45);
    box-shadow: 0 4px 12px rgba(7,24,39,.04);
}

.ce-gift-answer:hover {
    background: #eadfcf;
    color: #071827;
    border-color: rgba(201,154,74,.85);
    transform: translateY(-1px);
}

/* Score details */
.ce-gift-score-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.ce-gift-score-grid div {
    background: #f7f3ec;
    border: 1px solid rgba(201,154,74,.35);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

.ce-gift-score-grid span {
    display: block;
    color: #64748b;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.ce-gift-score-grid strong {
    display: block;
    color: #071827;
    font-size: 1.8rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .ce-gift-score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Score percentage bars */
.ce-gift-score-bars {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.ce-gift-score-bar {
    background: #f7f3ec;
    border: 1px solid rgba(201,154,74,.35);
    border-radius: 14px;
    padding: 16px 18px;
}

.ce-gift-score-bar-label {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 9px;
}

.ce-gift-score-bar-label span {
    color: #071827;
    font-weight: 800;
}

.ce-gift-score-bar-label strong {
    color: #071827;
    font-size: 1.1rem;
}

.ce-gift-score-track {
    height: 12px;
    background: #e8dfd3;
    border-radius: 999px;
    overflow: hidden;
}

.ce-gift-score-fill {
    height: 100%;
    background: #c99a4a;
    border-radius: 999px;
}
