.exit-survey,
.exit-survey-launcher {
    font: inherit;
    color: #222222;
    background: #fffcf7;
    border: 1px solid #8a7d71;
    border-radius: 12px;
}

.exit-survey-launcher {
    position: fixed;
    inset: auto auto 16px 16px;
    z-index: 20;
    min-height: 44px;
    padding: 8px 16px;
    cursor: pointer;
}

.exit-survey {
    width: min(440px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    box-sizing: border-box;
    padding: 24px;
}

.exit-survey::backdrop {
    background: rgb(34 34 34 / 35%);
}

.exit-survey h2 {
    margin: 0 42px 12px 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.exit-survey-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}

.exit-survey fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.exit-survey-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    cursor: pointer;
}

.exit-survey input {
    accent-color: #274987;
}

.exit-survey-comment {
    display: grid;
    gap: 6px;
    margin: 12px 0;
}

.exit-survey textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    border: 1px solid #8a7d71;
    border-radius: 6px;
    font: inherit;
    resize: vertical;
}

.exit-survey-submit {
    min-height: 44px;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    background: #274987;
    color: white;
    font: inherit;
    cursor: pointer;
}

.exit-survey :focus-visible,
.exit-survey-launcher:focus-visible {
    outline: 2px solid #274987;
    outline-offset: 3px;
}

.exit-survey [role="status"]:empty {
    margin: 0;
}
