#systematika-callback-launcher {
    position: fixed;
    right: calc(16px + env(safe-area-inset-right));
    bottom: var(--callback-bottom, 16px);
    margin: 0 0 env(safe-area-inset-bottom);
    z-index: 900;
    display: grid;
    place-items: center;
    inline-size: 56px;
    block-size: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0049d8;
    color: #fff;
    box-shadow: 0 6px 20px rgb(0 34 102 / 27%);
    cursor: pointer;
    touch-action: manipulation;
}

#systematika-callback-launcher:hover { background: #003bb0; }
#systematika-callback-launcher:focus-visible {
    outline: 3px solid #0049d8;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px #fff, 0 6px 20px rgb(0 34 102 / 27%);
}

#systematika-callback-launcher[data-obstructed],
html.show--preferences #systematika-callback-launcher {
    visibility: hidden;
}

#systematika-callback-launcher::after {
    position: absolute;
    inset: 0;
    border: 2px solid #0049d8;
    border-radius: inherit;
    content: "";
    pointer-events: none;
    opacity: 0;
    animation: systematika-callback-pulse 1.35s ease-out 2;
}

@keyframes systematika-callback-pulse {
    0% { opacity: .44; transform: scale(1); }
    70%, 100% { opacity: 0; transform: scale(1.36); }
}

@media (prefers-reduced-motion: reduce) {
    #systematika-callback-launcher::after { animation: none; }
}

.systematika-callback-status {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.systematika-callback-status:not(:empty) {
    position: fixed;
    z-index: 900;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(var(--callback-bottom, 16px) + 66px + env(safe-area-inset-bottom));
    inline-size: max-content;
    max-inline-size: min(280px, calc(100vw - 48px));
    block-size: auto;
    clip-path: none;
    padding: 10px 14px;
    border-radius: 8px;
    background: #000f20;
    color: #fff;
    font: 14px/1.4 system-ui, sans-serif;
}
