.support-panel.support-panel--chat {
  display: none;
  width: min(430px, calc(100vw - 30px));
  height: min(640px, calc(100vh - 110px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  color: #eee;
  background: #111114;
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
  grid-template-rows: auto 1fr auto auto auto;
}
.support-panel.support-panel--chat.is-open { display: grid; animation: support-pop .35s var(--ease, ease); }
.support-panel--chat > header { display: grid; gap: 17px; padding: 14px 18px 19px; background: linear-gradient(135deg,#7c2ce3,#5b21b6); }
.support-panel--chat .support-header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.support-panel--chat .support-messages-pill { grid-column: 2; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px; border: 7px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 800; }
.support-panel--chat .support-pill-icon { width: 20px; height: 20px; color: #fff; }
.support-panel--chat .support-header-top button { justify-self: end; grid-column: 3; border: 0; color: white; background: transparent; font-size: 25px; cursor: pointer; }
.support-panel--chat .support-header-intro { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; text-align: left; }
.support-panel--chat .support-header-intro strong { display: block; font-size: 17px; color: #fff; }
.support-panel--chat .support-header-intro span { color: #ede9fe; font-size: 11px; }
.support-panel--chat .support-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; background: #172554; font-size: 18px; font-weight: 900; }
.support-panel--chat .support-thread { overflow-y: auto; padding: 18px; background: #111114; color: #f4f4f5; text-align: left; }
.support-panel--chat .support-welcome { width: fit-content; max-width: 88%; padding: 14px 16px; border-radius: 13px 13px 13px 3px; background: #333337; }
.support-panel--chat .support-welcome p { margin: 6px 0 0; color: #c7c7cc; line-height: 1.45; }
.support-panel--chat .support-gate { display: grid; gap: 8px; margin-top: 14px; }
.support-panel--chat .support-gate p { margin: 0; color: #c7c7cc; line-height: 1.45; font-size: 13px; }
.support-panel--chat .support-gate-action,
.support-panel--chat .support-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: 0; padding: 10px 14px; border: 1px solid rgba(167,139,250,.35); border-radius: 12px; color: #ede9fe; background: rgba(109,40,217,.22); text-decoration: none; font-size: 13px; font-weight: 700; }
.support-panel--chat .support-gate-action:hover,
.support-panel--chat .support-link:hover { border-color: #a78bfa; background: rgba(109,40,217,.34); }
.support-panel--chat .support-message { margin: 12px 0 0 auto; padding: 10px 12px; border-radius: 12px 12px 3px 12px; color: white; background: #6d28d9; max-width: 82%; }
.support-panel--chat .support-message p { margin: 0; white-space: pre-wrap; line-height: 1.45; }
.support-panel--chat .support-message--assistant,
.support-panel--chat .support-message--support { margin-right: 30px; margin-left: 0; border-radius: 12px 12px 12px 3px; color: #eee; background: #34343c; }
.support-panel--chat .support-ai-label { display: block; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.support-panel--chat .support-error { color: #fecaca; font-size: 12px; text-align: center; }
.support-panel--chat .support-actions { display: flex; justify-content: flex-end; padding: 8px 14px; background: #111114; }
.support-panel--chat .support-actions button { min-height: 44px; padding: 7px 13px; border: 1px solid #7137e8; border-radius: 999px; color: #cdbafd; background: transparent; cursor: pointer; }
.support-panel--chat .support-escalated { color: #c4b5fd; font-size: 11px; font-weight: 700; }
.support-panel--chat > footer { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; margin: 0 12px 8px; padding: 8px; border: 1px solid #44444a; border-radius: 14px; background: #2c2c30; }
.support-panel--chat > footer:not(:has(.support-attach:not([hidden]))) { grid-template-columns: 1fr auto; }
.support-panel--chat textarea { width: 100%; resize: none; padding: 10px 4px; border: 0; outline: 0; color: #f4f4f5; background: transparent; font: inherit; }
.support-panel--chat textarea::placeholder { color: #b7bac1; }
.support-panel--chat footer button { width: 38px; border: 0; border-radius: 10px; color: white; background: #6d28d9; cursor: pointer; }
.support-panel--chat .support-attach { display: grid; place-items: center; cursor: pointer; color: #ddd; }
.support-panel--chat .support-attach input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.support-panel--chat .support-disclosure { display: block; padding: 8px 14px 12px; color: #85858f; background: #111114; text-align: center; font-size: 9px; }
.support-panel--chat .support-typing { width: fit-content; display: flex; gap: 4px; margin-top: 12px; padding: 12px 14px; border-radius: 12px 12px 12px 3px; background: #34343c; }
.support-panel--chat .support-typing i { width: 5px; height: 5px; border-radius: 50%; background: #c4b5fd; animation: support-chat-bounce 1s infinite ease-in-out; }
.support-panel--chat .support-typing i:nth-child(2) { animation-delay: .15s; }
.support-panel--chat .support-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes support-chat-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.support--studio { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.support--studio .support-launcher { display: grid; place-items: center; width: 56px; height: 56px; margin: 0; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #6d28d9; box-shadow: 0 12px 34px rgba(44,23,53,.24); cursor: pointer; }
.support--studio .support-launcher svg { width: 32px; height: 32px; }
body:has(.tour-backdrop) .support--studio,
body:has(.modal-open) .support--studio,
body:has(#overlay-root > *) .support--studio { display: none; }
