/* ===========================================================
   Gray's Autonomy — Autonomous Conversion Core
   Non-intrusive returning-visitor greeting toast (bottom-left)
   =========================================================== */

.ga-toast {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 49; /* under the chat panel (51), beside the launcher (50) */
  max-width: min(330px, calc(100vw - 40px));
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  box-shadow: 4px 6px 0 rgba(31, 37, 48, 0.15);
  font-family: var(--body);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ga-toast.show { opacity: 1; transform: translateY(0); }

.ga-toast .ga-mark {
  flex: 0 0 auto;
  width: 8px; height: 8px; margin-top: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(26, 156, 196, 0.55);
  animation: ga-pulse 2.4s infinite;
}
@keyframes ga-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 156, 196, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(26, 156, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 156, 196, 0); }
}

.ga-toast .ga-body { flex: 1; min-width: 0; }
.ga-toast .ga-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 4px;
}
.ga-toast .ga-text { font-size: 0.98rem; line-height: 1.4; }

.ga-toast .ga-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 4px;
}
.ga-toast .ga-close:hover { color: var(--ink); }

@media (max-width: 520px) {
  .ga-toast { left: 8px; right: 8px; bottom: 76px; max-width: none; }
}
