.xai-embed-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #b74217;
  color: #fff;
  box-shadow: 0 14px 38px rgba(10, 25, 35, 0.28);
  text-decoration: none;
}

.xai-embed-launcher:focus-visible,
.xai-product-entry:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.xai-product-entry {
  min-height: 44px;
}

.xai-embed-launcher__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.xai-embed-launcher strong,
.xai-embed-launcher small {
  display: block;
  color: inherit;
}

.xai-embed-launcher strong {
  font-size: 15px;
  line-height: 1.2;
}

.xai-embed-launcher small {
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.82;
}

.xai-embed-standalone {
  position: relative;
  width: 100%;
  min-height: calc(100dvh - 120px);
  background: #f5f7f6;
}

.xai-embed-standalone iframe {
  display: block;
  width: 100%;
  min-height: calc(100dvh - 120px);
  border: 0;
  background: #fff;
}

.xai-embed-standalone__fallback {
  position: absolute;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(16, 36, 47, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #243943;
  font-size: 13px;
}

.xai-disabled {
  padding: 16px;
  border: 1px solid #e3c692;
  border-radius: 10px;
  background: #fff8e9;
  color: #5e451a;
}

@media (max-width: 767px) {
  .xai-embed-launcher {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    min-height: 48px;
  }

  .xai-embed-standalone,
  .xai-embed-standalone iframe {
    min-height: 100dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xai-embed-launcher,
  .xai-product-entry {
    transition: none !important;
    animation: none !important;
  }
}
