/* MAX chat extension — same visual style as Telegram extension */
.xsodexai-actions {
    padding: 8px 12px;
    display: flex;
    gap: 4%;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,.06);
    background: #fff;
}

.xsodexai-action {
    width: 48%;
    padding: 6px 14px;
    /* Theme-independent sizing: the site theme may set a very tight
       line-height (e.g. line-height:1) which collapses these buttons.
       Explicit min-height + flex centering keeps the height stable. */
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    user-select: none;
    text-align: center;
    box-sizing: border-box;
    background: var(--xsodexai-action-bg, #4CAF50);
    color: var(--xsodexai-action-text, #fff);
    transition: opacity .2s;
}

.xsodexai-action:hover {
    opacity: .85;
}

.xsodexai-action-exit-operator,
.xsodexai-action-exit-lead {
    background: #f0f0f0;
    color: #555;
}

.xsodexai-operator-label {
    font-weight: 700;
    color: var(--xsodexai-fab-bg, #4CAF50);
}

.xsodexai-user-label {
    font-weight: 600;
    opacity: .8;
}