/* Aerogreet v3 / Figma: Night Sky, Blue, white, grey, Manrope. */
.aero-support {
  --support-ink: var(--night-sky, #232f47);
  --support-blue: #007aff;
  --support-white: var(--white, #fdfdfd);
  --support-muted: #646d8d;
  --support-line: #e3e8f0;
  --support-ease: cubic-bezier(.23, 1, .32, 1);
  --support-bottom: 24px;
  --support-control-size: 60px;
  --support-control-radius: 30px;
  --support-controls-height: calc(var(--support-control-size) * 2 + 12px);
  --support-panel-offset: calc(var(--support-controls-height) + 16px);
  --support-viewport: 100dvh;
  --support-viewport-width: 100vw;
  position: fixed;
  z-index: 990;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(var(--support-bottom), env(safe-area-inset-bottom));
  width: 212px;
  height: var(--support-controls-height);
  font: 14px/1.5 Manrope, 'Manrope Fallback', sans-serif;
  color: var(--support-ink);
  text-align: left;
}
.aero-support *, .aero-support *::before, .aero-support *::after { box-sizing: border-box; font-family: inherit; }
.aero-support :where(div, span, p, h2, strong, label, small, time, a) { font-family: inherit; color: inherit; }
.aero-support :where(p, h2, form) { margin: 0; padding: 0; }
.aero-support button, .aero-support textarea, .aero-support input {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
}
.aero-support button { cursor: pointer; touch-action: manipulation; }
.aero-support button::before, .aero-support button::after { content: none; }
.aero-support [hidden] { display: none !important; }
.aero-support :focus-visible { outline: 3px solid var(--support-blue); outline-offset: 4px; }
.aero-support svg { display: block; flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.aero-support__launcher, .aero-support__top { height: var(--support-control-size); border-radius: var(--support-control-radius); }
.aero-support__launcher {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px 9px 9px;
  border: 1px solid rgb(255 255 255 / 14%);
  background: var(--support-ink);
  color: var(--support-white);
  box-shadow: 0 6px 24px rgb(35 47 71 / 20%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.aero-support__launcher:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgb(35 47 71 / 25%); }
.aero-support__launcher:active { transform: scale(.97); }
.aero-support__launcher-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--support-blue); color: white; }
.aero-support__launcher-copy { font-size: 14px; font-weight: 600; white-space: nowrap; }
.aero-support__unread { position: absolute; right: 0; top: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid white; border-radius: 20px; background: var(--support-blue); color: white; font-size: 11px; font-weight: 700; }
.aero-support__top {
  position: absolute;
  bottom: calc(var(--support-control-size) + 12px);
  right: 0;
  display: grid;
  place-items: center;
  width: var(--support-control-size);
  padding: 0;
  border: 1px solid var(--support-line);
  background: var(--support-white);
  color: var(--support-ink);
  box-shadow: 0 3px 12px rgb(35 47 71 / 8%);
  transition: color 180ms ease, transform 180ms ease;
}
.aero-support__top:hover { color: var(--support-blue); transform: translateY(-2px); }
.aero-support__progress { position: absolute; inset: -1px; width: var(--support-control-size) !important; height: var(--support-control-size) !important; transform: rotate(-90deg); stroke-width: 2 !important; color: var(--support-blue); }
.aero-support__progress circle { stroke-dasharray: 175.93; stroke-dashoffset: calc(175.93 * (1 - var(--support-progress, 0))); }
.aero-support__panel {
  position: absolute;
  right: 0;
  bottom: var(--support-panel-offset);
  display: flex;
  flex-direction: column;
  width: 386px;
  height: min(576px, calc(var(--support-viewport) - var(--support-bottom) - var(--support-panel-offset) - 16px));
  min-height: 280px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--support-line);
  border-radius: 20px;
  background: var(--support-white);
  box-shadow: 0 16px 64px rgb(35 47 71 / 18%), 0 2px 8px rgb(35 47 71 / 5%);
  transform-origin: bottom right;
}
.aero-support__header { flex: none; display: flex; align-items: center; gap: 12px; padding: 20px 20px 18px; background: var(--support-ink); color: white; }
.aero-support__back { display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; border: 1px solid rgb(255 255 255 / 16%); border-radius: 13px; background: transparent; color: white; }
.aero-support__back:hover { background: rgb(255 255 255 / 10%); }
.aero-support__back svg { transform: rotate(180deg); }
.aero-support__brand { flex: 1; }
.aero-support__brand-name { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.4px; line-height: 24px; color: white; }
.aero-support__brand-name img { display: block; width: 122px; height: auto; margin-bottom: 5px; }
.aero-support__brand-subtitle { display: block; font-size: 11px; line-height: 18px; color: #cbd5e6 !important; }
.aero-support__close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #dce5f4; }
.aero-support__close:hover { background: rgb(255 255 255 / 10%); }
.aero-support__body { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-gutter: stable; overflow-anchor: none; scroll-behavior: auto; }
.aero-support__welcome { padding: 27px 24px 22px; }
.aero-support__title { margin-bottom: 10px !important; font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -1px; color: var(--support-ink) !important; }
.aero-support__intro { color: var(--support-muted) !important; font-size: 13px; line-height: 21px; max-width: 300px; }
.aero-support__resume { display: flex; align-items: center; gap: 6px; padding: 0; margin-top: 14px !important; border: 0; background: transparent; color: var(--support-blue); font-size: 12px !important; font-weight: 600; }
.aero-support__resume:hover { text-decoration: underline; text-underline-offset: 3px; }
.aero-support__resume svg { width: 14px; height: 14px; }
.aero-support__topics { display: grid; gap: 9px; margin-top: 22px; }
.aero-support__topic { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 13px; border: 1px solid var(--support-line); border-radius: 12px; background: white; color: var(--support-ink); text-align: left; transition: border-color 150ms ease, background 150ms ease; }
.aero-support__topic:hover { border-color: #95bfff; background: #f5f9ff; }
.aero-support__topic-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #edf4ff; color: var(--support-blue) !important; }
.aero-support__topic-icon svg { width: 18px; height: 18px; }
.aero-support__topic-copy { flex: 1; font-size: 12px; line-height: 19px; font-weight: 600; }
.aero-support__topic > svg { width: 16px; height: 16px; color: var(--support-muted); }
.aero-support__browse { margin-top: 22px; }
.aero-support__messages { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px; }
.aero-support__message { display: flex; flex-direction: column; align-items: flex-start; max-width: 90%; align-self: flex-start; }
.aero-support__message--visitor { align-items: flex-end; align-self: flex-end; }
.aero-support__bubble { margin: 0; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #f0f3f8; color: var(--support-ink) !important; font-size: 13px; line-height: 21px; white-space: pre-wrap; overflow-wrap: anywhere; }
.aero-support__message--visitor .aero-support__bubble { border-radius: 14px 14px 4px 14px; background: var(--support-ink); color: white !important; }
.aero-support__typing-bubble { display: flex; align-items: center; gap: 5px; min-height: 38px; padding: 12px 15px; border-radius: 14px 14px 14px 4px; background: #f0f3f8; }
.aero-support__typing-bubble i { width: 6px; height: 6px; border-radius: 50%; background: var(--support-muted); opacity: .4; animation: aero-support-typing 1s cubic-bezier(.45, 0, .55, 1) infinite; }
.aero-support__typing-bubble i:nth-child(2) { animation-delay: 120ms; }
.aero-support__typing-bubble i:nth-child(3) { animation-delay: 240ms; }
@keyframes aero-support-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
.aero-support__meta { display: block; margin-top: 5px; color: var(--support-muted) !important; font-size: 9px; line-height: 14px; }
.aero-support__notice { padding: 12px 0; color: var(--support-muted) !important; font-size: 11px; line-height: 18px; text-align: center; }
.aero-support__footer { flex: none; padding: 14px 18px 12px; border-top: 1px solid var(--support-line); background: var(--support-white); }
.aero-support__composer { display: flex; align-items: flex-end; gap: 8px; padding: 5px 5px 5px 12px; border: 1px solid #d7dfe9; border-radius: 13px; background: white; }
.aero-support__composer:focus-within { border-color: var(--support-blue); box-shadow: 0 0 0 2px rgb(0 122 255 / 10%); }
.aero-support__composer > .symbol-indicator { display: none; }
.aero-support textarea.aero-support__input { flex: 1; min-width: 0; min-height: 38px; height: 38px; max-height: 100px; padding: 9px 0; border: 0 !important; border-radius: 0; outline: none !important; box-shadow: none !important; resize: none; background: transparent !important; color: var(--support-ink); font-size: 12px !important; line-height: 20px !important; }
.aero-support__input::placeholder { color: #818ba0; opacity: 1; }
.aero-support__send { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: var(--support-blue); color: white; }
.aero-support__send:hover { background: #0067dc; }
.aero-support__send:disabled { background: #e9eef5; color: #8792a5; cursor: default; }
.aero-support__send svg { width: 18px; height: 18px; }
.aero-support__status { min-height: 15px; margin-top: 5px !important; color: var(--support-muted) !important; font-size: 10px; line-height: 15px; }
.aero-support__status--error { color: #a52b40 !important; }
.aero-support__privacy { margin-top: 5px !important; color: var(--support-muted) !important; font-size: 9px; line-height: 15px; text-align: center; }
.aero-support__privacy a { text-decoration: underline; text-underline-offset: 2px; }
.aero-support__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.aero-support__assistant-options { padding: 0 20px 22px; }
.aero-support__assistant-options--pending { visibility: hidden; pointer-events: none; }
.aero-support__assistant-options .aero-support__topics { margin-top: 0; }
.aero-support__assistant-options .aero-support__topic { min-height: 40px; padding: 9px 12px; gap: 8px; }
.aero-support__script-heading { margin: 0 0 8px !important; color: var(--support-ink) !important; font-size: 12px; font-weight: 600; line-height: 18px; }
.aero-support__topics--feedback { grid-template-columns: 1fr 1fr; }
.aero-support__topics--feedback .aero-support__topic > svg { display: none; }
.aero-support__assistant-options .aero-support__choice--menu { grid-column: 1 / -1; justify-content: flex-start; min-height: 28px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: var(--support-muted); text-decoration: underline; text-underline-offset: 3px; }
.aero-support__resources { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.aero-support__resources a { padding: 7px 10px; border: 1px solid #b7d7ff; border-radius: 8px; background: #edf4ff; color: #005fc7; font-size: 11px; font-weight: 600; line-height: 17px; text-decoration: none; }
.aero-support__resources a:hover { border-color: var(--support-blue); }
.aero-support__handoff { margin-bottom: 12px; }
.aero-support__handoff-button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid #b7d7ff; border-radius: 12px; background: #edf4ff; color: #005fc7; text-align: left; font-size: 12px !important; font-weight: 600; }
.aero-support__handoff-button span { flex: 1; }
.aero-support__handoff-button svg { width: 18px; height: 18px; }
.aero-support__handoff-button:hover { border-color: var(--support-blue); background: #e2eeff; }
.aero-support__handoff-hint { margin-top: 5px !important; color: var(--support-muted) !important; font-size: 10px; line-height: 16px; text-align: center; }
.aero-support__retry { margin-top: 4px !important; padding: 3px 0; border: 0; background: transparent; color: #005fc7; font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.aero-support__topic:disabled, .aero-support__handoff-button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 600px) {
  .aero-support { right: max(16px, env(safe-area-inset-right)); --support-bottom: 16px; width: var(--support-control-size); }
  .aero-support__launcher { width: var(--support-control-size); padding: 9px; }
  .aero-support__launcher-copy { display: none; }
  .aero-support__panel { right: -4px; width: min(386px, calc(var(--support-viewport-width) - 24px)); height: min(576px, calc(var(--support-viewport) - var(--support-bottom) - var(--support-panel-offset) - 14px)); border-radius: 18px; }
  .aero-support__welcome { padding-top: 23px; }
  .aero-support textarea.aero-support__input { font-size: 16px !important; }
  .aero-support__input::placeholder { font-size: 14px; }
}
@media (max-height: 650px) {
  .aero-support[data-open="true"] .aero-support__launcher, .aero-support[data-open="true"] .aero-support__top { visibility: hidden; }
  .aero-support__panel { bottom: 0; height: calc(var(--support-viewport) - var(--support-bottom) - 12px); min-height: 180px; }
  .aero-support__welcome { padding: 20px; }
}
@media (max-width: 600px), (max-height: 650px) {
  .aero-support__header { gap: 10px; padding: 10px 14px; }
  .aero-support__brand-name img { width: 110px; margin-bottom: 2px; }
  .aero-support__brand-subtitle { font-size: 10px; line-height: 14px; }
  .aero-support__back { width: 34px; height: 34px; border-radius: 10px; }
  .aero-support__close { width: 32px; height: 32px; }
  .aero-support__messages { gap: 12px; padding: 16px 14px; }
  .aero-support__assistant-options { padding: 0 14px 16px; }
  .aero-support__assistant-options .aero-support__topics { gap: 6px; }
  .aero-support__bubble { padding: 10px 12px; line-height: 20px; }
  .aero-support__footer { padding: 8px 12px; }
  .aero-support__handoff { margin-bottom: 8px; }
  .aero-support__handoff-button { min-height: 40px; padding: 8px 10px; gap: 8px; font-size: 11px !important; }
  .aero-support__handoff-hint { position: absolute; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .aero-support__composer { gap: 6px; padding: 4px 4px 4px 10px; }
  .aero-support__status { margin-top: 4px !important; font-size: 9px; line-height: 12px; min-height: 0; }
  .aero-support__status:empty { display: none; }
  .aero-support__privacy { margin-top: 4px !important; line-height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .aero-support *, .aero-support *::before, .aero-support *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Delivery is already represented by the message bubble; keep informational status out of layout. */
.aero-support__status:not(.aero-support__status--error) { position: absolute; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.aero-support__topic, .aero-support__handoff-button, .aero-support__send, .aero-support__back, .aero-support__close, .aero-support__top { transition: transform 140ms var(--support-ease), background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.aero-support :is(.aero-support__topic, .aero-support__handoff-button, .aero-support__send, .aero-support__back, .aero-support__close, .aero-support__top):active:not(:disabled) { transform: scale(.98); }
@media (hover: none) {
  .aero-support__launcher:hover, .aero-support__top:hover { transform: none; }
}

.aero-support__home-options { margin-top: 22px; }
.aero-support__home-options .aero-support__topics { margin-top: 0; }
.aero-support__faq { padding: 24px; }
.aero-support__faq-title { margin: 0 0 16px !important; font-size: 22px; line-height: 28px; font-weight: 700; color: var(--support-ink) !important; }
.aero-support__faq-answer { margin-bottom: 18px !important; }
.aero-support__faq-options .aero-support__topics { margin-top: 0; }
.aero-support__faq-options .aero-support__topic, .aero-support__home-options .aero-support__topic { min-height: 40px; padding: 9px 12px; }
@media (max-width: 600px), (max-height: 650px) {
  .aero-support__faq { padding: 16px 14px; }
  .aero-support__home-options { margin-top: 16px; }
}

/* Figma form tokens; keep the prechat form inside the body scroll area on small screens. */
.aero-support__prechat { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.aero-support__prechat-title { color: var(--support-ink) !important; font-size: 24px; font-weight: 700; line-height: 30px; letter-spacing: -.6px; }
.aero-support__prechat-intro { margin-top: -8px !important; color: var(--support-muted) !important; font-size: 12px; line-height: 19px; }
.aero-support__field { display: flex; flex-direction: column; gap: 6px; }
.aero-support__field label { font-size: 12px; line-height: 18px; font-weight: 600; }
.aero-support .aero-support__field input { width: 100%; height: 48px; padding: 10px 12px; border: 1px solid #b4bbc7; border-radius: 6px; background: var(--support-white); color: var(--support-ink); font-size: 14px; line-height: 24px; box-shadow: none; }
.aero-support__field input::placeholder { color: #818ba0; opacity: 1; }
.aero-support .aero-support__field input:focus { border-color: var(--support-blue); outline: 2px solid rgb(0 122 255 / 15%); outline-offset: 0; }
.aero-support__consent { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; cursor: pointer; color: var(--support-muted) !important; font-size: 11px; line-height: 18px; }
.aero-support .aero-support__consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; border-radius: 4px; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--support-blue); }
.aero-support__consent a { color: #005fc7; text-decoration: underline; text-underline-offset: 2px; }
.aero-support__start { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 6px; background: var(--support-blue); color: white; font-size: 14px !important; font-weight: 600; }
.aero-support__start svg { width: 18px; height: 18px; }
.aero-support__start:hover { background: #0067dc; }
.aero-support__start:disabled { background: #e9eef5; color: var(--support-muted); cursor: default; }
.aero-support__prechat-status { color: #a52b40 !important; font-size: 11px; line-height: 18px; }
.aero-support__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aero-support__captcha { margin: 0; color: var(--support-muted) !important; font-size: 10px; line-height: 15px; }
.aero-support__captcha a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.aero-support__prechat-status:empty { display: none; }
.aero-support[data-prechat="true"] .aero-support__footer:has(.aero-support__status:empty):has(.aero-support__retry[hidden]) { display: none; }
@media (max-width: 600px), (max-height: 650px) {
  .aero-support__prechat { gap: 10px; padding: 14px; }
  .aero-support__field { gap: 4px; }
  .aero-support__prechat-title { color: var(--support-ink) !important; font-size: 21px; line-height: 27px; }
  .aero-support .aero-support__field input { height: 44px; font-size: 16px; }
  .aero-support__field input::placeholder { font-size: 14px; }
  .aero-support__start { min-height: 44px; padding: 10px 16px; }
}
