body {
    margin: 0;
    font-family: sans-serif;
    background: #f6f3ee;
    color: #1f1a17;
}

.page-shell {
    padding: 3rem 1rem;
}

.survey-card {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #ded6cb;
    border-radius: 0.75rem;
}

.survey-card__header {
    margin-bottom: 1.5rem;
}

.survey-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7c5b3e;
}

.survey-field {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.survey-field input,
.survey-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #c7b8a6;
    border-radius: 0.5rem;
    font: inherit;
    box-sizing: border-box;
}

.survey-runtime-card {
    display: grid;
    gap: 1.25rem;
}

.survey-runtime-card h1,
.survey-runtime-card h2,
.survey-runtime-card h3 {
    margin: 0;
}

.survey-runtime-card__topline,
.survey-status-row,
.survey-question-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.survey-runtime-card__description,
.survey-block__header p,
.survey-question-card__help,
.survey-status-message {
    margin: 0.5rem 0 0;
    color: #6b6157;
    line-height: 1.5;
}

.survey-progress-badge,
.survey-required-pill {
    border-radius: 999px;
    background: #f3ece2;
    color: #7c5b3e;
}

.survey-progress-badge {
    min-width: 4.75rem;
    padding: 0.85rem 1rem;
    text-align: center;
    display: grid;
    gap: 0.15rem;
}

.survey-progress-badge strong {
    font-size: 1.1rem;
}

.survey-progress-badge span,
.survey-required-pill {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.survey-block,
.survey-question-card {
    padding: 1rem;
    border: 1px solid #e1d7ca;
    border-radius: 0.85rem;
    background: #fcfaf7;
}

.survey-block {
    display: grid;
    gap: 1rem;
}

.survey-block__header {
    display: grid;
    gap: 0.35rem;
}

.survey-choice-list {
    display: grid;
    gap: 0.75rem;
}

.survey-choice-card {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid #d8cab7;
    border-radius: 0.75rem;
    background: #fff;
}

.survey-choice-card input {
    margin: 0;
}

.survey-question-card {
    margin-bottom: 1rem;
}

.survey-question-card:last-child {
    margin-bottom: 0;
}

.survey-required-pill {
    padding: 0.35rem 0.65rem;
}

.survey-resume-link {
    color: #7c5b3e;
    font-weight: 600;
}

.survey-actions {
    display: flex;
    justify-content: flex-end;
}

.survey-submit-button {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 0;
    border-radius: 0.75rem;
    background: #7c5b3e;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.survey-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .page-shell {
        padding: 1rem 0.75rem 2rem;
    }

    .survey-card {
        padding: 1.25rem;
    }

    .survey-runtime-card__topline,
    .survey-status-row,
    .survey-question-card__header {
        flex-direction: column;
    }

    .survey-progress-badge {
        min-width: 0;
        width: fit-content;
    }
}
