/*
CodeSeven AI Operator — the chat button and the start button of [csai_chat] on the public site (the only styles
loaded before the visitor interacts). Colors from the theme tokens (Agent Plus Multi Theme / theme.json presets),
else neutral. Logical properties: right-to-left safe.

@package   codeseven-ai-operator
@author    Agent Plus 7 Ltd <https://codeseven.eu>
@copyright 2026 Agent Plus 7 Ltd. All rights reserved.
@license   Proprietary — CodeSeven license, https://codeseven.eu
*/
.csai-v-launcher, .csai-v-start { --csai-v-primary: var(--wp--preset--color--primary, #1f2937); --csai-v-on-primary: var(--wp--preset--color--primary-contrast, #fff); }
.csai-v-launcher { position: fixed; z-index: 99990; inset-block-end: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--csai-v-primary); color: var(--csai-v-on-primary); font: 600 15px/1.2 inherit; box-shadow: 0 6px 24px rgba(0,0,0,.22); cursor: pointer; }
.csai-v-launcher.csai-v-pos-end { inset-inline-end: 16px; }
.csai-v-launcher.csai-v-pos-start { inset-inline-start: 16px; }
.csai-v-launcher.csai-v-stack { inset-block-end: calc(max(16px, env(safe-area-inset-bottom)) + 84px); }   /* above the contact buttons in the same corner */
.csai-v-launcher svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.csai-v-launcher:focus-visible, .csai-v-start:focus-visible { outline: 3px solid var(--csai-v-primary); outline-offset: 3px; }
.csai-v-launcher[aria-busy="true"] { opacity: .8; cursor: progress; }
.csai-v-launcher[aria-expanded="true"] { display: none; }
.csai-v-embed { min-height: 64px; }
.csai-v-start { display: inline-block; padding: 12px 20px; border: 0; border-radius: var(--amt-field-radius, 8px); background: var(--csai-v-primary); color: var(--csai-v-on-primary); font: 600 15px/1.2 inherit; cursor: pointer; }
.csai-v-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 599px) { .csai-v-launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .csai-v-launcher { padding: 0; width: 56px; height: 56px; justify-content: center; } }
@media print { .csai-v-launcher { display: none; } }
