.support-launcher {position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));width:88px;height:88px;border:0;padding:0;background:transparent;z-index:1001;cursor:pointer;filter:drop-shadow(0 6px 12px #0006);transition:transform .18s ease}
.support-launcher img {display:block;width:100%;height:100%;object-fit:contain}
.support-launcher:hover {transform:scale(1.04)}
.support-launcher:focus-visible {outline:3px solid #a5e6ff;outline-offset:2px;border-radius:50%}
.support-window.support-chat {position:fixed;inset:auto max(24px,env(safe-area-inset-right)) max(116px,calc(env(safe-area-inset-bottom) + 100px)) auto;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 144px);margin:0;padding:0;background:#202124;color:#fff;z-index:1002;box-shadow:0 24px 80px #0008;overflow:hidden;border-radius:26px}
.support-window[open] {display:flex;flex-direction:column;animation:support-window-open .22s ease-out;transform-origin:bottom right}
.support-window-header {display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #ffffff12;flex-shrink:0}
.support-window h2 {font-size:20px;margin:0 0 4px}
.support-window-header p {font-size:13px}
.support-window-brand {display:flex;align-items:center;gap:8px;min-width:0}
.support-window-brand img {width:44px;height:44px;object-fit:contain;flex-shrink:0}
.support-window-brand {min-height:48px}
.support-window-brand h2 {line-height:1.2;margin-bottom:2px}
.support-window-brand p {line-height:1.2}
.support-window .support-chat-message {position:relative;border-radius:24px;padding:14px;max-width:min(78%,320px);font-size:17px;line-height:1.5}
.support-window .support-chat-message[data-role=assistant] {align-self:flex-start;max-width:calc(100% - 4px);margin:2px 0 0 4px;padding-left:44px;background:linear-gradient(135deg,#e9ecf7,#ccd1e3);border:1px solid #ffffff85;color:#101827;box-shadow:0 3px 6px #0003}
.support-window .support-chat-message[data-role=user] {max-width:78%;padding:14px;background:linear-gradient(135deg,#af52de,#007aff);color:white;font-weight:600;border:1px solid #ffffff1a}
.support-window .support-chat-message strong {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.support-message-avatar {position:absolute;left:-4px;top:-2px;width:38px;height:38px;overflow:hidden;border-radius:50%;background:#dce0ed;box-shadow:0 0 0 3px #202124}
.support-message-avatar img {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.32);transform-origin:center}
.support-window .support-chat-message[data-role=assistant] a {color:#164b70;text-decoration:underline;text-underline-offset:3px}
.support-window .support-chat-message a:focus-visible {outline:2px solid #164b70;outline-offset:3px}
.support-window-brand h2 {font-size:20px}
.support-window .support-send-terms {font-size:13px;line-height:1.5;margin:12px 20px 16px;flex-shrink:0}
.support-window .support-chat-footer:has(.support-chat-status:empty) {display:none}
.support-window-header button {display:grid;place-items:center;min-width:44px;min-height:44px;background:transparent;color:#ddd;padding:8px}
.support-window-body {padding:24px;overflow:auto;overscroll-behavior:contain;min-height:0}
.support-window .support-window-welcome {font:700 24px/1.3 'BricolageGrotesque',sans-serif;color:white;margin-bottom:12px}
.support-window .support-chat-consent {margin:20px 0 12px}
.support-window .support-chat-consent span {font-size:13px;line-height:1.5}
.support-window .support-window-note {font-size:13px;line-height:1.5;color:#b8b8c3}
.support-window .support-chat-log {max-height:none;overflow:visible;margin-bottom:0}
.support-window .support-chat-message {font-size:17px;padding:14px 16px;max-width:100%}
.support-window .support-chat-form {margin:0 16px;display:flex;flex-direction:row;align-items:flex-end;flex-shrink:0}
.support-window .support-chat-form textarea {min-height:52px;padding:12px;resize:none}
.support-window .support-chat-form button {width:48px;min-width:48px;padding:12px;display:grid;place-items:center}
.support-window .support-chat-footer {margin:8px 16px 12px;flex-shrink:0}
.support-window .support-chat-status {font-size:13px}
.support-visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@keyframes support-window-open {from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:600px){.support-launcher{width:76px;height:76px;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.support-window.support-chat{right:12px;bottom:max(96px,calc(env(safe-area-inset-bottom) + 84px));max-height:calc(100dvh - 116px);max-width:calc(100vw - 24px)}.support-window-body{padding:20px}.support-window-header{padding:16px 20px}}
@media(prefers-reduced-motion:reduce){.support-window[open]{animation:none}.support-launcher{transition:none}}

/* The launcher and chat share one bottom-right anchor. */
.support-launcher.is-chat-open {visibility:hidden;pointer-events:none}
.support-window.support-chat {bottom:max(20px,env(safe-area-inset-bottom));max-height:calc(100dvh - 40px)}
.support-window .support-chat-log {margin:2px 0 0}
.support-window .support-chat-form {align-items:center;margin-bottom:16px}
.support-window .support-chat-form textarea {height:48px;min-height:48px;max-height:48px;box-sizing:border-box;padding:11px 12px;line-height:24px;overflow:auto}
.support-window .support-chat-form button {height:48px;min-height:48px;max-height:48px}
@keyframes support-window-open {from{opacity:0;transform:scale(.2);border-radius:50%}to{opacity:1;transform:scale(1);border-radius:26px}}
@media(max-width:600px){.support-window.support-chat{bottom:max(12px,env(safe-area-inset-bottom));max-height:calc(100dvh - 24px)}}
/* A moving blue-purple stroke belongs to the composer, including its focus state. */
@property --support-stroke-angle {syntax:'<angle>';initial-value:0deg;inherits:false}
.support-window .support-chat-form textarea {
  border:2px solid transparent;
  background:linear-gradient(#151619,#151619) padding-box,conic-gradient(from var(--support-stroke-angle),#69d9ff,#747dff,#c074ff,#747dff,#69d9ff) border-box;
  animation:support-stroke-flow 5s linear infinite;
}
.support-window .support-chat-form textarea:focus-visible {outline:none;box-shadow:0 0 0 2px #8784ff35}
@keyframes support-stroke-flow {to{--support-stroke-angle:360deg}}
.support-window:not([open]) .support-chat-form textarea,
html.motion-paused .support-window .support-chat-form textarea,
html[data-site-motion=paused] .support-window .support-chat-form textarea,
html[data-site-motion=inactive] .support-window .support-chat-form textarea {animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.support-window .support-chat-form textarea{animation:none}}
.support-window .support-chat-form textarea {scrollbar-width:none;-ms-overflow-style:none}
.support-window .support-chat-form textarea::-webkit-scrollbar {display:none;width:0;height:0}
.support-quick-prompts {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}
.support-quick-prompts[hidden] {display:none}
.support-window .support-quick-prompts button {padding:10px 12px;font-size:15px;font-weight:400;text-align:left;min-height:44px;background:#ffffff0b;border:1px solid #ffffff1a;color:#e1e1ed;border-radius:14px}
.support-window .support-quick-prompts button:hover {background:#ffffff16}

.support-launcher-profile {display:block;width:100%;height:100%;border-radius:50%;border:3px solid #fff;background:#fff;overflow:hidden;box-sizing:border-box;box-shadow:0 4px 16px #0003}
.support-launcher .support-launcher-profile img {transform:scale(1.28)}
.support-launcher-cue {position:absolute;right:0;bottom:calc(100% + 14px);white-space:nowrap;padding:12px 16px;background:#fff;color:#171b2c;border-radius:18px;font-family:"DM Sans",sans-serif;font-size:15px;font-weight:500;box-shadow:0 4px 16px #0003}
.support-launcher-cue::after {content:"";position:absolute;right:30px;bottom:-7px;width:14px;height:14px;background:#fff;transform:rotate(45deg);border-radius:0 0 3px 0}

.support-launcher-profile {border:0;background:transparent;overflow:visible;box-shadow:none}
.support-launcher .support-launcher-profile img {transform:none}
/* Compact phone layout, sized to the visible viewport and keyboard. */
.support-window-body {scrollbar-width:none;-ms-overflow-style:none}
.support-window-body::-webkit-scrollbar {display:none;width:0;height:0}
@media(max-width:600px) {
  .support-window.support-chat {width:340px;max-width:calc(100vw - 24px);max-height:min(580px,calc(var(--support-viewport-height,100dvh) - 32px));bottom:max(12px,var(--support-keyboard-inset,0px),env(safe-area-inset-bottom));border-radius:22px}
  .support-window-header {padding:10px 14px}
  .support-window-brand {gap:8px;min-height:44px}
  .support-window-brand img {width:32px;height:32px}
  .support-window-brand h2 {font-size:17px;line-height:1.2;margin:0}
  .support-window-body {padding:16px 14px}
  .support-window .support-chat-log {gap:12px}
  .support-window .support-chat-message {font-size:15px;line-height:1.45;border-radius:20px;padding:10px 12px}
  .support-window .support-chat-message[data-role=assistant] {padding-left:36px}
  .support-window .support-chat-message[data-role=user] {padding:10px 12px}
  .support-window .support-message-avatar {width:28px;height:28px;left:-3px;top:0;box-shadow:0 0 0 2px #202124}
  .support-window .support-chat-form {margin:0 12px 12px;gap:8px}
  .support-window .support-chat-form textarea {font-size:17px;height:44px;min-height:44px;max-height:44px;padding:8px 10px;line-height:24px;border-radius:14px}
  .support-window .support-chat-form button {width:44px;min-width:44px;height:44px;min-height:44px;max-height:44px;border-radius:14px;padding:10px}
  .support-window .support-chat-footer {margin:0 12px 10px}
  .support-window .support-chat-status {font-size:13px}
  .support-window .support-quick-prompts {gap:6px;margin-top:14px}
  .support-window .support-quick-prompts button {font-size:13px;padding:8px 10px;min-height:44px;border-radius:12px}
  .support-window .support-thinking-activity {font-size:15px;min-height:44px;padding:4px 8px}
  .support-window .support-thinking-activity canvas {width:28px;height:28px}
}
