#systematika-callback-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    inline-size: auto;
    padding-inline: 16px 18px;
    border-radius: 999px;
    font: 600 15px/1 Roboto, system-ui, sans-serif;
    white-space: nowrap;
}

#systematika-help-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(370px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 24px;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #000f20;
    box-shadow: 0 14px 48px rgb(0 34 102 / 24%);
    font: 16px/1.4 Roboto, system-ui, sans-serif;
    overflow: auto;
    overscroll-behavior: contain;
}

#systematika-help-dialog::backdrop { background: rgb(0 15 32 / 53%); }

#systematika-help-dialog #systematika-help-title {
    margin: 0 48px 18px 0;
    padding: 0;
    color: #000f20;
    font: 700 24px/1.2 Montserrat, system-ui, sans-serif;
    letter-spacing: -.02em;
    outline: none;
    text-wrap: balance;
}

#systematika-help-dialog .systematika-help-actions {
    display: grid;
    gap: 8px;
}

#systematika-help-dialog button {
    appearance: none;
    position: relative;
    display: inline-grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #0049d8;
    border-radius: 24px;
    background: #fff;
    color: #0049d8;
    font: 600 15px/1.25 Roboto, system-ui, sans-serif;
    text-align: center;
    text-transform: none;
    cursor: pointer;
}

#systematika-help-dialog button::before,
#systematika-help-dialog button::after { content: none; }

#systematika-help-dialog button[data-help-intent="program"] {
    padding-inline: 30px;
    background: #0049d8;
    color: #fff;
}

#systematika-help-dialog button[data-help-intent="program"]:hover { background: #003bb0; }
#systematika-help-dialog button[data-help-intent="callback"]:hover { background: #edf5ff; }

#systematika-help-dialog button[data-help-intent="program"] span {
    position: absolute;
    inset-inline-end: 15px;
    font-size: 17px;
    pointer-events: none;
}

#systematika-help-dialog .systematika-help-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edf5ff;
}

#systematika-help-dialog .systematika-help-close:hover { background: #d8edff; }
#systematika-help-dialog button:focus-visible { outline: 2px solid #0049d8; outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #systematika-callback-launcher { transition: transform 160ms ease-out, background-color 160ms ease-out; }
    #systematika-callback-launcher:hover { transform: translateY(-2px); }
}
