.vkbs-chat-menu {
    --vkbs-chat-primary: #0078d4;
    font-family: inherit;
    color: #1f2937;
    box-sizing: border-box;
}
.vkbs-chat-menu *, .vkbs-chat-menu *::before, .vkbs-chat-menu *::after { box-sizing: inherit; }
.vkbs-chat-panel {
    width: min(100%, 560px);
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}
.vkbs-chat-panel[hidden] { display: none !important; }
.vkbs-chat-header { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.vkbs-chat-header h2 { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.25; color: #111827; }
.vkbs-chat-header p { margin: 0; color: #64748b; line-height: 1.5; }
.vkbs-chat-options { display: grid; gap: 10px; }
.vkbs-chat-option {
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    text-align: left;
    color: #1f2937;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.vkbs-chat-option:hover, .vkbs-chat-option:focus-visible { border-color: var(--vkbs-chat-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vkbs-chat-primary) 18%, transparent); transform: translateY(-1px); outline: none; }
.vkbs-chat-option:disabled { opacity: .55; cursor: wait; transform: none; }
.vkbs-chat-option__icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--vkbs-chat-primary); font-size: 24px; line-height: 1; }
.vkbs-chat-option__content { display: grid; gap: 3px; }
.vkbs-chat-option__content strong { font-size: 1rem; }
.vkbs-chat-option__content small { color: #64748b; font-size: .875rem; line-height: 1.35; }
.vkbs-chat-status { min-height: 1.4em; margin: 14px 0 0; color: #166534; font-size: .9rem; }
.vkbs-chat-status.is-error { color: #b91c1c; }
.vkbs-chat-notice { padding: 14px; background: #fff8e5; border-left: 4px solid #dba617; }
.vkbs-chat-menu--floating { position: fixed; z-index: 999999; right: 22px; bottom: 22px; }
.vkbs-chat-menu--floating[data-position="left"] { right: auto; left: 22px; }
.vkbs-chat-menu--floating .vkbs-chat-panel { position: absolute; right: 0; bottom: 64px; width: min(390px, calc(100vw - 30px)); max-height: min(680px, calc(100vh - 100px)); overflow: auto; }
.vkbs-chat-menu--floating[data-position="left"] .vkbs-chat-panel { right: auto; left: 0; }
.vkbs-chat-launcher { display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 12px 18px; color: #fff; background: var(--vkbs-chat-primary); border: 0; border-radius: 999px; box-shadow: 0 10px 28px rgba(15, 23, 42, .25); cursor: pointer; font: inherit; font-weight: 700; }
.vkbs-chat-launcher:hover, .vkbs-chat-launcher:focus-visible { filter: brightness(.92); outline: 3px solid color-mix(in srgb, var(--vkbs-chat-primary) 25%, transparent); outline-offset: 2px; }
.vkbs-chat-close { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; cursor: pointer; font-size: 24px; line-height: 1; }
@media (max-width: 520px) {
    .vkbs-chat-menu--floating { right: 15px; bottom: 15px; }
    .vkbs-chat-menu--floating[data-position="left"] { left: 15px; }
    .vkbs-chat-panel { padding: 18px; }
}
