/* Small manual launcher; never place it over an open header menu. */
.hp-chat-control {
    position: fixed;
    right: 20px;
    bottom: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 900;
    max-width: calc(100vw - 40px);
    text-align: right;
}

.hp-chat-control[hidden],
.hp-chat-control [hidden] {
    display: none !important;
}

.hp-chat-control button.hp-chat-control__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #075c9b;
    box-shadow: 0 4px 14px rgba(0, 38, 70, 0.2);
    font: 600 14px/1.4 Poppins, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.hp-chat-control button.hp-chat-control__button:hover {
    color: #fff;
    background: #064775;
}

.hp-chat-control a:focus-visible,
.hp-chat-control button:focus-visible {
    outline: 3px solid #075c9b;
    outline-offset: 3px;
}

.hp-chat-control .hp-chat-control__status,
.hp-chat-control a.hp-chat-control__fallback,
.hp-chat-control a.hp-chat-control__noscript {
    display: block;
    max-width: 260px;
    margin: 0 0 8px auto;
    padding: 8px 12px;
    color: #16314a;
    background: #fff;
    border-radius: 8px;
    font: 14px/1.45 Arial, sans-serif;
}

.hp-chat-control a.hp-chat-control__fallback,
.hp-chat-control a.hp-chat-control__noscript {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .hp-chat-control {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }
    .hp-chat-control button.hp-chat-control__button {
        padding: 9px 14px;
        font-size: 13px;
    }
}
