.mm-quiz-section + .lp-block .component_benefit {
    margin-top: 0 !important;
}

.mm-quiz {
    max-width: 736px;
    margin-inline: auto;
    padding: clamp(16px, 4vw, 32px);
    background-color: #fff;
    border-radius: 16px;
    color: #302722;
}

.mm-quiz [hidden] {
    display: none !important;
}

.mm-quiz fieldset {
    min-width: 0;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.mm-quiz legend {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.mm-quiz progress {
    width: 100%;
    height: 9.6px;
    margin-bottom: 16px;
    accent-color: #406641;
}

.mm-quiz [data-quiz-step] {
    margin-bottom: 4px;
}

.mm-quiz-options {
    display: grid;
    gap: 8px;
}

.mm-quiz-options label,
.mm-quiz-consent label {
    display: flex;
    gap: 10.4px;
    align-items: center;
    margin: 0;
}

.mm-quiz-options label {
    padding: 10.4px 12.8px;
    border: 1px solid #d5ccc5;
    border-radius: 8px;
    cursor: pointer;
}

.mm-quiz-options label:has(input:checked) {
    background-color: #eff5ed;
    border-color: #406641;
}

.mm-quiz input[type="checkbox"],
.mm-quiz input[type="radio"] {
    display: inline-block !important;
    position: static;
    width: 17.6px;
    height: 17.6px;
    margin: 0;
    opacity: 1;
    flex-shrink: 0;
    appearance: auto;
    accent-color: #406641;
}

.mm-quiz-field {
    display: block;
    margin-bottom: 12.8px;
}

.mm-quiz input:not([type="checkbox"], [type="radio"], [type="hidden"]),
.mm-quiz select,
.mm-quiz textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 8.8px;
    font: inherit;
    border: 1px solid #a7988c;
    border-radius: 8px;
    background-color: #fff;
    color: inherit;
}

.mm-quiz-consent a {
    text-decoration: underline;
}

.mm-quiz-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

html body .mm-quiz .mm-quiz-actions > .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 44px;
    padding: 10px 20px;
}

html body .mm-quiz .mm-quiz-actions > .mm-quiz-primary {
    margin-inline-start: auto;
    background: #72b570;
    color: #fff;
}

html body .mm-quiz .mm-quiz-actions > .mm-quiz-primary:hover {
    background: #406641;
}

html body .mm-quiz .mm-quiz-actions > .mm-quiz-back {
    background: #e8e8e8;
    color: #302722;
}

html body .mm-quiz .mm-quiz-actions > .mm-quiz-back:hover {
    background: #dcdcdc;
}

@media (max-width: 767.98px) {
    .mm-quiz-actions {
        flex-direction: column-reverse;
    }

    html body .mm-quiz .mm-quiz-actions > .button {
        width: 100%;
        margin-inline-start: 0;
    }
}

.mm-quiz [data-quiz-status] {
    margin-bottom: 0;
    font-weight: 600;
}

.mm-quiz-method {
    position: relative;
}

.mm-quiz-method > label {
    display: block;
    margin-bottom: 4px;
}

.mm-quiz-method select {
    appearance: auto;
    cursor: pointer;
}

.mm-quiz-method .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid #a7988c;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.mm-quiz-method .select2-container .select2-selection__rendered {
    padding-inline: 12px 40px;
    color: #302722;
}

.mm-quiz-method .select2-container .select2-selection__arrow {
    position: absolute;
    top: 0;
    right: 12px;
    width: 14px;
    height: 100%;
    display: grid;
    place-items: center;
}

.mm-quiz-method .select2-container .select2-selection__arrow b {
    position: static;
    width: 8px;
    height: 8px;
    margin: -4px 0 0;
    border: solid #60554e;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mm-quiz-method .select2-container--open .select2-selection__arrow b {
    margin-top: 4px;
    transform: rotate(225deg);
}

.mm-quiz-method .select2-container--open {
    z-index: 20;
}

.mm-quiz-method .select2-dropdown {
    border-color: #a7988c;
}

.mm-quiz-method .select2-results__option {
    padding: 8px 12px;
}

.mm-quiz-method .select2-results__option--highlighted[aria-selected] {
    background-color: #406641;
}

.mm-quiz-method .select2-selection--single:focus-visible {
    outline: 2px solid #406641;
    outline-offset: 2px;
}

.mm-quiz-error {
    position: fixed;
    z-index: 1100;
    inset-inline: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: fit-content;
    max-width: min(520px, calc(100% - 32px));
    margin-inline: auto;
    pointer-events: none;
}

.mm-quiz-error:not(:empty) {
    padding: 12px 16px;
    border: 1px solid #bc796e;
    border-radius: 8px;
    background-color: #fff3ef;
    color: #612c22;
    box-shadow: 0 4px 20px rgb(48 39 34 / 15%);
}

.mm-quiz-photo-step > p {
    margin-bottom: 20px;
}

.mm-quiz-photo-step .mm-quiz-upload-trigger {
    padding: 20px 16px;
}

.mm-quiz-photos-hint {
    display: block;
    margin-top: 10px;
    line-height: 1.4;
}

.mm-quiz-photo-step .mm-quiz-actions {
    margin-top: 24px;
}

.mm-quiz-photos input::file-selector-button {
    margin-inline-end: 8px;
    padding: 6px 10px;
    border: 0;
    border-radius: 4px;
    background-color: #eee8e2;
    color: #302722;
    cursor: pointer;
}

.mm-quiz-upload-trigger {
    display: grid;
    gap: 4px;
    padding: 14px 12px;
    border: 1px dashed #a7988c;
    border-radius: 8px;
    background: #faf8f6;
    color: #302722;
    text-align: center;
    cursor: pointer;
}

.mm-quiz-upload-trigger span {
    font-weight: 600;
}

.mm-quiz-upload-trigger small {
    font-size: 13px;
}

.mm-quiz-upload-trigger:hover,
.mm-quiz-upload.dz-drag-hover .mm-quiz-upload-trigger {
    border-color: #406641;
    background: #eff5ed;
}

.mm-quiz-upload-trigger:focus-visible,
.mm-quiz-upload-remove:focus-visible {
    outline: 2px solid #406641;
    outline-offset: 2px;
}

.mm-quiz-upload-previews {
    display: grid;
    gap: 8px;
}

.mm-quiz-upload-previews:not(:empty) {
    margin-top: 8px;
}

.mm-quiz-upload-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #d5ccc5;
    border-radius: 8px;
}

.mm-quiz-upload-preview img {
    display: none;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: cover;
}

.mm-quiz-upload-preview.dz-image-preview img {
    display: block;
}

.mm-quiz-upload-preview [data-dz-name] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mm-quiz-upload-remove {
    margin-inline-start: auto;
    cursor: pointer;
    text-decoration: underline;
}

.mm-quiz-upload-details {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.mm-quiz-upload-preview [data-quiz-upload-progress] {
    height: 6px;
    margin: 0;
}
