.invita-push-dialog:not([open]) {
    display: none;
}

.invita-push-dialog[open] {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 2147483645;
    width: min(30em, calc(100% - 2em));
    max-height: calc(100% - 2em);
    margin: auto;
    padding: 1.5em;
    border: 1px solid #a8b1b8;
    border-radius: .45em;
    background: #fff;
    color: #202830;
    box-shadow: 0 .4em 2.5em #0004;
    overflow: auto;
    text-align: left;
    font: 16px/1.5 system-ui, sans-serif;
    font-size: max(16px, 1rem);
}

.invita-push-dialog::backdrop {
    background: #18232d80;
}

.invita-push-dialog h2 {
    margin: 0 0 .65em;
    font-size: 1.35em;
    line-height: 1.25;
}

.invita-push-dialog p {
    margin: 0 0 1em;
    font: inherit;
}

.invita-push-actions {
    display: inline;
}

.invita-push-dialog button {
    min-height: 2.75em;
    margin: .2em .4em .2em 0;
    padding: .5em .8em;
    border: 1px solid #526574;
    border-radius: .25em;
    background: #fff;
    color: #253746;
    font: inherit;
    cursor: pointer;
}

.invita-push-actions button:first-child {
    background: #096ca0;
    border-color: #096ca0;
    color: #fff;
}

.invita-push-dialog button:focus-visible {
    outline: 3px solid #1b729c;
    outline-offset: 2px;
}

.invita-push-dialog button:disabled {
    opacity: .6;
    cursor: wait;
}

.invita-push-bell {
    position: fixed;
    z-index: 1100;
    left: max(1rem, env(safe-area-inset-left));
    bottom: max(1rem, env(safe-area-inset-bottom));
    display: inline-grid;
    width: 46px;
    height: 46px;
    padding: 0;
    box-sizing: border-box;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #0875ab;
    box-shadow: 0 3px 12px #092d4759;
    color: #fff;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}

.invita-push-bell:hover {
    background: #075d8b;
}

.invita-push-bell:focus-visible {
    outline: 3px solid #122e41;
    outline-offset: 2px;
}

.invita-push-bell[hidden],
.invita-push-preview-note[hidden] {
    display: none !important;
}

.invita-push-dialog[open] {
    width: min(28em, calc(100% - 2em));
    padding: 1.4em 1.5em 1.3em;
    border: 1px solid #b4cbd9;
    border-top: .3em solid #0875ab;
    border-radius: .65em;
}

.invita-push-dialog h2 {
    color: #14384b;
}

.invita-push-dialog .invita-push-preview-note {
    margin-bottom: .9em;
    color: #425c6c;
    font-size: .9em;
}

.invita-push-invito[open] {
    inset: max(1rem, env(safe-area-inset-top)) 0 auto;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .invita-push-dialog[open] {
        max-height: 78vh;
        max-height: 78dvh;
    }
    .invita-push-invito[open] {
        left: max(.7rem, env(safe-area-inset-left));
        right: max(.7rem, env(safe-area-inset-right));
        width: auto;
        top: max(.7rem, env(safe-area-inset-top));
    }
}
