.step_assistant {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 500;
    max-width: 100%;
    max-height: 100%;
}

.step_assistant-content {
    border-radius: .4rem;
    height: 600px;
    width: 100%;
    max-width: 90dvw;
    margin: .5rem;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, .5);
}

.step_assistant:not([open]) {
    opacity: 0;
    visibility: hidden;
    height: 0 !important;
    min-height: 0 !important;
}

.step_assistant--close-link {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: .5rem .5rem 0 0 !important;
}

.step_assistant-entry {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.step_assistant-entry.inactive {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.step_assistant-entry.active {
    opacity: 1;
    visibility: visible;
}

.step_assistant-entry-buttons {
    --bs-columns: 4;
    row-gap: .15rem
}

@media screen and (min-width: 576px) {
    .step_assistant-content {
        min-height: 475px;
        max-height: 70dvh;
        max-width: 1200px;
        margin: 1.75rem auto;
    }

    .step_assistant-entry-buttons {
        --bs-columns: 8;
        row-gap: .3rem;
    }

    .step_assistant-entry .btn {
        height: 100%;
    }
}