.combo-ai-launcher,
.combo-ai-launcher * {
  box-sizing: border-box;
}

.combo-ai-launcher {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 2147483001;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #007f80;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 74, 74, 0.24);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.combo-ai-launcher:hover {
  transform: translateY(-2px);
  background: #007f80;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 74, 74, 0.3);
}

.combo-ai-launcher:focus-visible {
  outline: 3px solid rgba(0, 127, 128, 0.35);
  outline-offset: 3px;
}

.combo-ai-launcher[hidden] {
  display: none !important;
}

.combo-ai-launcher svg {
  width: 27px;
  height: 27px;
  margin: 0;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.combo-ai-launcher__spinner {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.combo-ai-launcher.is-loading .combo-ai-launcher__spinner {
  opacity: 1;
  animation: combo-ai-spin 900ms linear infinite;
}

.combo-ai-launcher.is-error {
  background: #a33b32;
}

.combo-ai-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes combo-ai-spin {
  to { transform: rotate(360deg); }
}

/* Coze mounts this panel directly in the WordPress document. */
.coze-chat-sdk {
  top: auto !important;
  right: 20px !important;
  bottom: 8vh !important;
  height: 65vh !important;
  max-height: 65vh !important;
  max-width: calc(100vw - 24px) !important;
  z-index: 2147483000 !important;
}

[class~="my-[8px]"] {
  display: none !important;
}

.combo-ai-hidden-reasoning-message {
  display: none !important;
}

@media (max-width: 600px) {
  .combo-ai-launcher {
    right: 14px;
    bottom: 18px;
  }

  .coze-chat-sdk {
    right: 12px !important;
    bottom: 8dvh !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    height: 65dvh !important;
    max-height: 65dvh !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .combo-ai-launcher {
    transition: none;
  }
}
