:root {
  --fire-ai-chat-accent: #ff5a1f;
  --fire-ai-chat-accent-deep: #ff4712;
  --fire-ai-chat-ink: #101828;
  --fire-ai-chat-soft-ink: #475467;
  --fire-ai-chat-line: #d9dee7;
  --fire-ai-chat-surface: #ffffff;
  --fire-ai-chat-surface-soft: #f8fafc;
  --fire-ai-chat-shadow: 0 24px 70px rgba(16, 24, 40, 0.22);
  --fire-ai-chat-shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
  --fire-ai-chat-radius: 24px;
  --fire-ai-chat-nav-h: 82px;
  --fire-ai-chat-font: "Figtree", "Barlow Semi Condensed", Arial, sans-serif;
}

.fire-ai-chat {
  font-family: var(--fire-ai-chat-font);
}

.fire-ai-chat__dock,
.fire-ai-chat__panel button,
.fire-ai-chat__panel textarea,
.fire-ai-chat__panel input {
  font-family: inherit;
}

.fire-ai-chat__dock {
  position: fixed;
  right: 0;
  bottom: 128px;
  z-index: 9997;
  width: 52px;
  min-height: 170px;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--fire-ai-chat-accent), var(--fire-ai-chat-accent-deep));
  box-shadow: 0 18px 36px rgba(255, 90, 31, 0.34);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 10px 12px;
  color: #fff;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.fire-ai-chat__dock:hover {
  transform: translateX(-4px);
  box-shadow: 0 20px 40px rgba(255, 90, 31, 0.42);
}

.fire-ai-chat__dock:focus-visible,
.fire-ai-chat__panel button:focus-visible,
.fire-ai-chat__handoff-form input:focus,
.fire-ai-chat__handoff-form textarea:focus,
.fire-ai-chat__input:focus {
  outline: 2px solid rgba(16, 24, 40, 0.18);
  outline-offset: 2px;
}

.fire-ai-chat__dock-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--fire-ai-chat-accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.24);
  flex: 0 0 auto;
}

.fire-ai-chat__dock-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.fire-ai-chat__dock-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fire-ai-chat__panel {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9998;
  width: min(392px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 24px, 0) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fire-ai-chat__panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.fire-ai-chat__shell {
  position: relative;
  overflow: hidden;
  background: var(--fire-ai-chat-surface);
  border-radius: var(--fire-ai-chat-radius);
  box-shadow: var(--fire-ai-chat-shadow);
  border: 1px solid rgba(16, 24, 40, 0.08);
  height: min(648px, calc(100vh - 20px));
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__shell {
  height: min(712px, calc(100vh - 20px));
}

.fire-ai-chat__hero {
  position: relative;
  min-height: 132px;
  padding: 14px 18px 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(180deg, var(--fire-ai-chat-accent), var(--fire-ai-chat-accent-deep));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: min-height 280ms ease, padding 280ms ease;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero {
  min-height: 112px;
  padding-bottom: 16px;
}

.fire-ai-chat__hero-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
  padding-right: 58px;
}

.fire-ai-chat__hero-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #cfd4dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
}

.fire-ai-chat__hero-menu {
  display: none;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-bar {
  display: none;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-avatar {
  display: none;
}

.fire-ai-chat__hero-menu span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.fire-ai-chat__hero-copy {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding-right: 58px;
}

.fire-ai-chat__hero-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 800;
}

.fire-ai-chat__hero-copy p,
.fire-ai-chat__hero-eyebrow {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.fire-ai-chat__hero-copy--chat {
  display: none;
}

.fire-ai-chat__hero-copy--home {
  display: block;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-copy--home {
  display: none;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-copy--chat {
  display: block;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-copy {
  padding-right: 72px;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-copy h3 {
  font-size: 16px;
}

.fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero-copy p {
  font-size: 13px;
}

.fire-ai-chat__hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fire-ai-chat__views {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fire-ai-chat__view {
  display: none;
  padding: 16px 16px 0;
  flex: 1 1 auto;
  min-height: 0;
}

.fire-ai-chat__view.is-active {
  display: flex;
  flex-direction: column;
}

.fire-ai-chat__view--home {
  margin-top: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  overflow-y: auto;
  padding-right: 16px;
}

.fire-ai-chat__cta-card {
  width: 100%;
  border: 1px solid var(--fire-ai-chat-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--fire-ai-chat-shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  color: var(--fire-ai-chat-ink);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.fire-ai-chat__cta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 31, 0.26);
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.16);
}

.fire-ai-chat__cta-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}

.fire-ai-chat__cta-text strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.fire-ai-chat__cta-text small {
  font-size: 14px;
  line-height: 1.4;
  color: var(--fire-ai-chat-soft-ink);
}

.fire-ai-chat__cta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.1);
  color: var(--fire-ai-chat-accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.fire-ai-chat__cta-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.fire-ai-chat__home-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
}

.fire-ai-chat__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--fire-ai-chat-surface-soft);
  color: var(--fire-ai-chat-ink);
  font-size: 12px;
  font-weight: 700;
}

.fire-ai-chat__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #14b85a;
  box-shadow: 0 0 0 4px rgba(20, 184, 90, 0.16);
}

.fire-ai-chat__text-link,
.fire-ai-chat__assist-link,
.fire-ai-chat__handoff-close {
  border: 0;
  background: transparent;
  color: var(--fire-ai-chat-accent-deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.fire-ai-chat__capabilities,
.fire-ai-chat__prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fire-ai-chat__capabilities {
  margin-top: 0;
}

.fire-ai-chat__chip {
  border: 1px solid rgba(255, 90, 31, 0.14);
  border-radius: 999px;
  background: #fff7f4;
  color: var(--fire-ai-chat-accent-deep);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.fire-ai-chat__chip:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(255, 90, 31, 0.28);
}

.fire-ai-chat__view--chat {
  padding-top: 16px;
  padding-bottom: 12px;
  gap: 12px;
  overflow: hidden;
}

.fire-ai-chat__focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff7f4;
  border: 1px solid rgba(255, 90, 31, 0.16);
}

.fire-ai-chat__focus-copy {
  min-width: 0;
}

.fire-ai-chat__focus-label {
  display: block;
  color: #ff4712;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fire-ai-chat__focus-copy strong {
  display: block;
  margin-top: 4px;
  color: var(--fire-ai-chat-ink);
  font-size: 13px;
  line-height: 1.35;
}

.fire-ai-chat__focus-clear {
  border: 0;
  background: rgba(255, 90, 31, 0.12);
  color: var(--fire-ai-chat-accent-deep);
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fire-ai-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 4px;
}

.fire-ai-chat__messages::-webkit-scrollbar {
  width: 6px;
}

.fire-ai-chat__messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.14);
}

.fire-ai-chat__bubble {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.45;
  font-size: 14px;
  color: var(--fire-ai-chat-ink);
  background: var(--fire-ai-chat-surface-soft);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
  animation: fireAiChatBubbleIn 220ms ease;
  white-space: pre-wrap;
  word-break: break-word;
}

.fire-ai-chat__bubble--assistant {
  border-bottom-left-radius: 6px;
}

.fire-ai-chat__bubble--user {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(180deg, var(--fire-ai-chat-accent), var(--fire-ai-chat-accent-deep));
  border-bottom-right-radius: 6px;
}

.fire-ai-chat__typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 6px;
  background: var(--fire-ai-chat-surface-soft);
  margin-bottom: 12px;
}

.fire-ai-chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.7);
  animation: fireAiChatTyping 1.15s infinite ease-in-out;
}

.fire-ai-chat__typing span:nth-child(2) {
  animation-delay: 120ms;
}

.fire-ai-chat__typing span:nth-child(3) {
  animation-delay: 240ms;
}

.fire-ai-chat__products {
  display: grid;
  gap: 10px;
  margin: 4px 0 12px;
}

.fire-ai-chat__product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--fire-ai-chat-line);
  border-radius: 16px;
  background: #fff;
}

.fire-ai-chat__product-media {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f4f7;
}

.fire-ai-chat__product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fire-ai-chat__product-copy {
  min-width: 0;
}

.fire-ai-chat__product-copy strong {
  display: block;
  color: var(--fire-ai-chat-ink);
  font-size: 13px;
  line-height: 1.35;
}

.fire-ai-chat__product-source {
  margin-bottom: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fire-ai-chat__product-copy .price {
  margin: 4px 0 8px;
  color: var(--fire-ai-chat-accent-deep);
  font-size: 13px;
  font-weight: 800;
}

.fire-ai-chat__product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fire-ai-chat__product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 31, 0.18);
  background: #fff7f4;
  color: var(--fire-ai-chat-accent-deep);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.fire-ai-chat__product-btn--primary {
  border-color: transparent;
  background: var(--fire-ai-chat-accent-deep);
  color: #fff;
}

.fire-ai-chat__coupon {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf5, #fff2ea);
  border: 1px solid rgba(255, 90, 31, 0.16);
}

.fire-ai-chat__coupon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fire-ai-chat__coupon-head strong {
  color: var(--fire-ai-chat-ink);
  font-size: 14px;
}

.fire-ai-chat__coupon-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed rgba(255, 90, 31, 0.28);
  color: var(--fire-ai-chat-accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fire-ai-chat__coupon p {
  margin: 10px 0 0;
  color: var(--fire-ai-chat-soft-ink);
  font-size: 13px;
  line-height: 1.45;
}

.fire-ai-chat__coupon-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.fire-ai-chat__coupon-expiry {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.fire-ai-chat__compare {
  margin: 6px 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.fire-ai-chat__compare-title {
  padding: 12px 14px 0;
  color: var(--fire-ai-chat-ink);
  font-size: 13px;
  font-weight: 800;
}

.fire-ai-chat__compare-scroll {
  overflow-x: auto;
}

.fire-ai-chat__compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.fire-ai-chat__compare th,
.fire-ai-chat__compare td {
  padding: 11px 14px;
  border-top: 1px solid #eef2f6;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.45;
  color: var(--fire-ai-chat-ink);
}

.fire-ai-chat__compare thead th {
  border-top: 0;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fire-ai-chat__compare-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff7f4;
  border: 1px solid rgba(255, 90, 31, 0.18);
  color: var(--fire-ai-chat-accent-deep);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.fire-ai-chat__handoff {
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 18px;
  background: #fff7f4;
  border: 1px solid rgba(255, 90, 31, 0.14);
  flex: 0 0 auto;
  max-height: 280px;
  overflow: hidden;
}

.fire-ai-chat__handoff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--fire-ai-chat-ink);
}

.fire-ai-chat__handoff-form {
  display: grid;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}

.fire-ai-chat__handoff-form input,
.fire-ai-chat__handoff-form textarea {
  width: 100%;
  border: 1px solid var(--fire-ai-chat-line);
  border-radius: 14px;
  background: #fff;
  color: var(--fire-ai-chat-ink);
  padding: 11px 12px;
  font-size: 13px;
}

.fire-ai-chat__handoff-form textarea {
  resize: vertical;
  min-height: 96px;
  max-height: 160px;
}

.fire-ai-chat__handoff-form button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--fire-ai-chat-accent-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.fire-ai-chat__composer {
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
  margin-top: 0;
  flex: 0 0 auto;
  background: #fff;
}

.fire-ai-chat__assist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.fire-ai-chat__composer-box {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 6px 6px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d8dee7;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.fire-ai-chat--promptless .fire-ai-chat__prompt-row,
.fire-ai-chat--promptless .fire-ai-chat__assist-row {
  display: none;
}

.fire-ai-chat--promptless .fire-ai-chat__composer {
  padding-top: 6px;
  margin-top: 0;
}

.fire-ai-chat--handoff-open .fire-ai-chat__composer {
  padding-top: 8px;
}

.fire-ai-chat__input {
  width: 100%;
  min-height: 48px;
  max-height: 112px;
  resize: none;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--fire-ai-chat-ink);
  padding: 12px 2px 10px 0;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: none;
  appearance: none;
  -webkit-appearance: none;
}

.fire-ai-chat__input::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fire-ai-chat__input::placeholder {
  color: #7b8798;
}

.fire-ai-chat__input:focus {
  outline: none;
  box-shadow: none;
}

.fire-ai-chat__send {
  width: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--fire-ai-chat-accent), var(--fire-ai-chat-accent-deep));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  align-self: flex-end;
  box-shadow: 0 14px 24px rgba(255, 90, 31, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fire-ai-chat__send:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(255, 90, 31, 0.34);
}

.fire-ai-chat__send svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.fire-ai-chat__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  min-height: 60px;
  padding: 0 18px;
  border-top: 1px solid #eef2f6;
  flex: 0 0 auto;
}

.fire-ai-chat__nav button {
  border: 0;
  background: transparent;
  color: #667085;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.fire-ai-chat__nav button span:first-child {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fire-ai-chat__nav button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.fire-ai-chat__nav button.is-active {
  color: var(--fire-ai-chat-accent-deep);
}

.fire-ai-chat__powered {
  min-height: 20px;
  padding: 0 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fire-ai-chat__close-fab {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--fire-ai-chat-accent), var(--fire-ai-chat-accent-deep));
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(255, 90, 31, 0.22);
  cursor: pointer;
  transition: transform 180ms ease;
  z-index: 4;
}

.fire-ai-chat__close-fab:hover {
  transform: rotate(90deg);
}

.fire-ai-chat--active .fire-ai-chat__dock {
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
}

body.fire-ai-chat-lock::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.16);
  z-index: 9996;
  pointer-events: none;
}

@keyframes fireAiChatBubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fireAiChatTyping {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .fire-ai-chat__dock {
    right: 10px;
    bottom: 84px;
    width: 50px;
    min-height: 156px;
    border-radius: 18px;
  }

  .fire-ai-chat__panel {
    right: 12px;
    left: 12px;
    bottom: 16px;
    width: auto;
    max-height: calc(100vh - 24px);
  }

  .fire-ai-chat__hero {
    min-height: 124px;
  }

  .fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__hero {
    min-height: 108px;
  }

  .fire-ai-chat__shell {
    height: min(616px, calc(100vh - 16px));
    max-height: calc(100vh - 24px);
  }

  .fire-ai-chat__panel[data-view="chat"] .fire-ai-chat__shell {
    height: min(672px, calc(100vh - 16px));
  }

  .fire-ai-chat__view--home {
    padding-top: 12px;
  }

  .fire-ai-chat__view--chat {
    padding-top: 14px;
  }

  .fire-ai-chat__messages {
    min-height: 0;
  }

  .fire-ai-chat__close-fab {
    right: 10px;
    top: 10px;
    width: 42px;
    height: 42px;
  }
}
