#nf-app-test-invite {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 16px 0 20px;
    padding: 16px;
    border: 1px solid #dedee4;
    border-inline-start: 4px solid var(--brand, #bd171f);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 8px rgb(37 37 43 / 3%);
    color: var(--ink, #25252b);
    font-family: inherit;
}

#nf-app-test-invite[hidden] {
    display: none;
}

#nf-app-test-invite h2 {
    margin: 0 26px 7px 0;
    color: var(--ink, #25252b);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.24;
}

#nf-app-test-invite p {
    margin: 0 0 10px;
    color: var(--muted, #62626e);
    font-size: .875rem;
    line-height: 1.44;
}

#nf-app-test-invite [data-nf-invite-close] {
    position: absolute;
    inset-block-start: 3px;
    inset-inline-end: 3px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #52525b;
    font: 1.5rem/1 Arial, sans-serif;
    cursor: pointer;
}

#nf-app-test-invite [data-nf-invite-close]:hover {
    background: var(--paper, #f6f6f8);
}

#nf-app-test-invite a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 9px;
    background: var(--brand, #bd171f);
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

#nf-app-test-invite a:hover {
    background: var(--brand-hover, #a4111a);
}

#nf-app-test-invite :focus-visible {
    outline: 3px solid var(--ink, #25252b);
    outline-offset: 2px;
}

@media (min-width: 901px) {
    #nf-app-test-invite {
        position: fixed;
        z-index: 39;
        inset-inline-end: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
        width: min(360px, calc(100vw - 40px));
        max-height: calc(100vh - 40px);
        max-height: calc(100dvh - 40px);
        margin: 0;
        overflow: auto;
        box-shadow: 0 6px 23px rgb(37 37 43 / 18%);
    }
}

html.br24-native-classifieds #nf-app-test-invite,
html.br24-app-invite-suppressed #nf-app-test-invite,
html.br24-app-invite-checking #nf-app-test-invite {
    display: none !important;
}

#nf-app-test-invite .br24-app-invite-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
}

#nf-app-test-invite [data-br24-app-installed] {
    min-height: 44px;
    padding: 0 6px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted, #62626e);
    font: inherit;
    font-size: .8125rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

#nf-app-test-invite [data-br24-app-installed][hidden] {
    display: none;
}
