/* Small, self-contained first paint, also reused by the native session gate. */
.chat-launch-screen {
  --launch-bg: #eff3e9;
  --launch-text: #1a3b30;
  --launch-muted: #526d60;
  --launch-accent: #327655;
  --launch-line: #c7d6c9;
  --launch-glow-a: #89c7a066;
  --launch-glow-b: #c9d39d70;
  --launch-glow-c: #8bc9c052;
  position: fixed;
  inset: 0;
  z-index: 1;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  background: var(--launch-bg);
  color: var(--launch-text);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
:root[data-theme="dark"] .chat-launch-screen {
  --launch-bg: #081713;
  --launch-text: #f0f5ef;
  --launch-muted: #a6bcb0;
  --launch-accent: #b4dda3;
  --launch-line: #314b3e;
  --launch-glow-a: #28754a70;
  --launch-glow-b: #6c874129;
  --launch-glow-c: #277b7445;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .chat-launch-screen {
    --launch-bg: #081713;
    --launch-text: #f0f5ef;
    --launch-muted: #a6bcb0;
    --launch-accent: #b4dda3;
    --launch-line: #314b3e;
    --launch-glow-a: #28754a70;
    --launch-glow-b: #6c874129;
    --launch-glow-c: #277b7445;
    color-scheme: dark;
  }
}
.chat-launch-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, var(--launch-glow-b), transparent 65%);
}
.chat-launch-atmosphere::before,
.chat-launch-atmosphere::after {
  content: "";
  position: absolute;
  width: min(160vw, 1100px);
  height: min(150vh, 1100px);
  border-radius: 50%;
  animation: chat-launch-drift 18s ease-in-out infinite alternate;
}
.chat-launch-atmosphere::before {
  left: -55%;
  top: -50%;
  background: radial-gradient(ellipse, var(--launch-glow-a), transparent 68%);
}
.chat-launch-atmosphere::after {
  right: -55%;
  bottom: -45%;
  background: radial-gradient(ellipse, var(--launch-glow-c), transparent 68%);
  animation-direction: alternate-reverse;
  animation-duration: 23s;
}
.chat-launch-content {
  box-sizing: border-box;
  width: min(100%, 430px);
  margin: auto;
  padding: 24px 0;
  text-align: center;
}
.chat-launch-emblem {
  display: grid;
  place-items: center;
  position: relative;
  width: 92px;
  height: 92px;
  margin-inline: auto;
  border-radius: 28px;
  background: #eff5e9;
  box-shadow: 0 16px 48px #0528171a, 0 0 0 1px #ffffff38;
  animation: chat-launch-breathe 4s ease-in-out infinite;
}
.chat-launch-emblem img { display: block; width: 100%; height: 100%; }
.chat-launch-wordmark {
  color: var(--launch-accent);
  margin: 32px 0 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .24em;
}
.chat-launch-title {
  color: var(--launch-text);
  margin: 14px 0 18px;
  font-size: clamp(25px, 7vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.chat-launch-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  color: var(--launch-muted);
  font-size: 14px;
  line-height: 1.5;
}
.chat-launch-spinner {
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: chat-launch-spin .9s linear infinite;
}
.chat-launch-screen--error .chat-launch-emblem { animation: none; }
.chat-launch-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid var(--launch-line);
  border-radius: 16px;
  background: transparent;
  color: var(--launch-accent);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.chat-launch-retry[hidden], .chat-launch-progress[hidden] { display: none; }
.chat-launch-retry:focus-visible { outline: 2px solid var(--launch-accent); outline-offset: 4px; }
@keyframes chat-launch-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(.92); opacity: .65; }
  to { transform: translate3d(15%, 12%, 0) scale(1.13); opacity: 1; }
}
@keyframes chat-launch-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.025); }
}
@keyframes chat-launch-spin { to { transform: rotate(360deg); } }
:root[data-ambient-motion="off"] .chat-launch-screen *,
:root[data-ambient-motion="off"] .chat-launch-screen *::before,
:root[data-ambient-motion="off"] .chat-launch-screen *::after { animation: none !important; }
:root[data-ambient-visibility="hidden"] .chat-launch-screen *,
:root[data-ambient-visibility="hidden"] .chat-launch-screen *::before,
:root[data-ambient-visibility="hidden"] .chat-launch-screen *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .chat-launch-screen *, .chat-launch-screen *::before, .chat-launch-screen *::after { animation: none !important; transition: none !important; }
}
@media (max-height: 540px) {
  .chat-launch-screen { padding-top: max(20px, env(safe-area-inset-top, 0px)); padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
  .chat-launch-content { padding: 8px 0; }
  .chat-launch-emblem { width: 72px; height: 72px; border-radius: 23px; }
  .chat-launch-wordmark { margin-top: 22px; }
}
