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

.notifystock-ai {
  --assistant-sheet-width: 400px;
  color: #111111;
  font-family: inherit;
  position: relative;
  z-index: 1000;
}

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

.notifystock-ai__messenger-trigger {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 0.375rem;
  bottom: 2rem;
  box-shadow: 0 0.75rem 2.25rem rgba(0, 0, 0, 0.22);
  color: #0a0a0a;
  cursor: pointer;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 2rem;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
  width: 2rem;
  z-index: 1002;
}

.notifystock-ai__messenger-trigger:hover,
.notifystock-ai__messenger-trigger:focus-visible {
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
  transform: translateY(-0.0625rem);
}

.notifystock-ai[data-state="open"] .notifystock-ai__messenger-trigger {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
}

.notifystock-ai__messenger-trigger:focus-visible,
.notifystock-ai__close:focus-visible,
.notifystock-ai__back:focus-visible,
.notifystock-ai__more:focus-visible,
.notifystock-ai__starter:focus-visible,
.notifystock-ai__composer-send:focus-visible,
.notifystock-ai__composer-input:focus-visible,
.notifystock-ai__consent-close:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.42);
  outline-offset: 2px;
}

.notifystock-ai__messenger-icon {
  display: block;
  height: 1.25rem;
  position: relative;
  width: 1.25rem;
}

.notifystock-ai__messenger-icon::before {
  background: #0a0a0a;
  border-radius: 0.1875rem;
  content: "";
  height: 0.875rem;
  left: 0.125rem;
  position: absolute;
  top: 0.125rem;
  width: 1rem;
}

.notifystock-ai__messenger-icon::after {
  border-color: #0a0a0a transparent transparent;
  border-style: solid;
  border-width: 0.35rem 0.35rem 0;
  bottom: 0.125rem;
  content: "";
  height: 0;
  left: 0.25rem;
  position: absolute;
  transform: rotate(45deg);
  width: 0;
}

.notifystock-ai__unread-dot {
  background: #ff342e;
  border-radius: 999px;
  height: 0.5rem;
  position: absolute;
  right: -0.1875rem;
  top: -0.1875rem;
  width: 0.5rem;
}

.notifystock-ai__messenger {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem;
  bottom: 1.25rem;
  box-shadow: 0 1.5rem 4.5rem rgba(0, 0, 0, 0.24);
  color: #111111;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: min(39rem, calc(100vh - 2.5rem));
  opacity: 0;
  overflow: hidden;
  position: fixed;
  right: 1.5rem;
  transform: translateY(0.75rem) scale(0.985);
  transform-origin: bottom right;
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  width: min(var(--assistant-sheet-width), calc(100vw - 3rem));
  z-index: 1001;
}

.notifystock-ai[data-state="open"] .notifystock-ai__messenger {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.notifystock-ai__messenger[hidden] {
  display: none;
}

.notifystock-ai__messenger-header {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex: 0 0 auto;
  gap: 0.625rem;
  height: 3.5rem;
  padding: 0 1.125rem;
}

.notifystock-ai__back,
.notifystock-ai__more,
.notifystock-ai__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.62);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  height: 1.875rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 1.875rem;
}

.notifystock-ai__back:hover,
.notifystock-ai__more:hover,
.notifystock-ai__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0a0a0a;
}

.notifystock-ai__avatars {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  margin-left: 0.125rem;
}

.notifystock-ai__avatar {
  align-items: center;
  background: #d8d8d8;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.625rem;
  font-weight: 700;
  height: 1.75rem;
  justify-content: center;
  line-height: 1;
  margin-left: -0.4375rem;
  overflow: hidden;
  width: 1.75rem;
}

.notifystock-ai__avatar:first-child {
  margin-left: 0;
}

.notifystock-ai__avatar--agent-one {
  background:
    radial-gradient(circle at 50% 34%, #d69b79 0 24%, transparent 25%),
    radial-gradient(circle at 50% 75%, #153047 0 38%, transparent 39%),
    linear-gradient(135deg, #bcd0df, #f4d4bc);
}

.notifystock-ai__avatar--agent-two {
  background:
    radial-gradient(circle at 50% 33%, #c48363 0 23%, transparent 24%),
    radial-gradient(circle at 50% 75%, #174b3a 0 40%, transparent 41%),
    linear-gradient(135deg, #1d2a35, #d8e6dc);
}

.notifystock-ai__avatar--agent-three {
  background:
    radial-gradient(circle at 50% 34%, #e4b795 0 24%, transparent 25%),
    radial-gradient(circle at 50% 76%, #ead8c2 0 41%, transparent 42%),
    linear-gradient(135deg, #f1e5d7, #c8b39e);
}

.notifystock-ai__brand {
  color: #111111;
  flex: 1 1 auto;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
}

.notifystock-ai__conversation {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: 1rem 0.875rem 0.75rem;
}

.notifystock-ai__message-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.notifystock-ai__message {
  font-size: 0.9375rem;
  line-height: 1.36;
  max-width: 82%;
  white-space: pre-wrap;
  width: fit-content;
}

.notifystock-ai__message a {
  color: inherit;
  display: inline-block;
  font-weight: 700;
  margin-top: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.notifystock-ai__message--assistant,
.notifystock-ai__message--status {
  align-self: flex-start;
  background: #f3f3f3;
  border-radius: 1.125rem;
  color: #111111;
  padding: 0.75rem 0.9375rem;
}

.notifystock-ai__message--visitor {
  align-self: flex-end;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.125rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  color: #111111;
  padding: 0.6875rem 0.875rem;
}

.notifystock-ai__message-meta {
  color: rgba(0, 0, 0, 0.52);
  font-size: 0.8125rem;
  line-height: 1.3;
  margin: 0.375rem 0 0 0.25rem;
}

.notifystock-ai__starters {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.5625rem;
  margin: 1rem 0.5625rem 0.125rem 0;
}

.notifystock-ai__starter {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 0.5rem 1.625rem rgba(0, 0, 0, 0.12);
  color: #111111;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25;
  max-width: 16rem;
  padding: 0.5625rem 0.875rem;
  text-align: center;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.notifystock-ai__starter:hover {
  box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.16);
  transform: translateY(-0.0625rem);
}

.notifystock-ai__starter--demo::before {
  background: #70a7d8;
  border-radius: 0.25rem;
  color: #ffffff;
  content: "\25b6";
  display: inline-flex;
  font-size: 0.5rem;
  height: 1rem;
  justify-content: center;
  line-height: 1;
  margin-right: 0.25rem;
  padding-left: 0.0625rem;
  vertical-align: -0.125rem;
  width: 1rem;
}

.notifystock-ai__footer {
  background: #ffffff;
  flex: 0 0 auto;
  padding: 0 0.75rem 0.6875rem;
}

.notifystock-ai__composer {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 1.125rem;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.08);
  min-height: 3.75rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.notifystock-ai__composer:focus-within {
  border-color: #111111;
  box-shadow: 0 0.875rem 2rem rgba(0, 0, 0, 0.1);
}

.notifystock-ai__composer-input {
  background: transparent;
  border: 0;
  color: #111111;
  display: block;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
  max-height: 7rem;
  min-height: 1.9375rem;
  outline: 0;
  padding: 0.625rem 3rem 0 0.875rem;
  resize: none;
  width: 100%;
}

.notifystock-ai__composer-input::placeholder {
  color: rgba(0, 0, 0, 0.42);
}

.notifystock-ai__composer-tools {
  align-items: center;
  display: flex;
  gap: 0.875rem;
  height: 1.625rem;
  padding: 0 2.875rem 0.4375rem 0.875rem;
}

.notifystock-ai__tool {
  color: rgba(0, 0, 0, 0.46);
  display: inline-flex;
  font-size: 0;
  font-weight: 700;
  height: 0.875rem;
  line-height: 1;
  position: relative;
  width: 0.875rem;
}

.notifystock-ai__tool::before,
.notifystock-ai__tool::after {
  content: "";
  position: absolute;
}

.notifystock-ai__tool--clip::before {
  border: 2px solid currentColor;
  border-radius: 999px;
  height: 0.75rem;
  left: 0.125rem;
  top: 0;
  transform: rotate(-38deg);
  width: 0.375rem;
}

.notifystock-ai__tool--smile::before {
  border: 1.5px solid currentColor;
  border-radius: 999px;
  inset: 0.0625rem;
}

.notifystock-ai__tool--smile::after {
  border-bottom: 1.5px solid currentColor;
  border-radius: 999px;
  bottom: 0.25rem;
  height: 0.25rem;
  left: 0.25rem;
  width: 0.375rem;
}

.notifystock-ai__tool--gif {
  align-items: center;
  border: 1.5px solid currentColor;
  border-radius: 0.1875rem;
  display: inline-flex;
  font-size: 0.4375rem;
  justify-content: center;
  letter-spacing: 0;
}

.notifystock-ai__tool--mic::before {
  border: 1.5px solid currentColor;
  border-radius: 999px;
  height: 0.5rem;
  left: 0.28125rem;
  top: 0.0625rem;
  width: 0.3125rem;
}

.notifystock-ai__tool--mic::after {
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  border-radius: 0 0 999px 999px;
  height: 0.3125rem;
  left: 0.1875rem;
  top: 0.4375rem;
  width: 0.5rem;
}

.notifystock-ai__composer-send {
  align-items: center;
  background: #f0f0f0;
  border: 0;
  border-radius: 999px;
  bottom: 0.5625rem;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  height: 1.875rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.625rem;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
  width: 1.875rem;
}

.notifystock-ai__composer-send::before {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 0.5rem;
  margin-top: 0.25rem;
  transform: rotate(45deg);
  width: 0.5rem;
}

.notifystock-ai__composer-send::after {
  background: currentColor;
  content: "";
  height: 0.75rem;
  left: 50%;
  position: absolute;
  top: 0.625rem;
  transform: translateX(-50%);
  width: 2px;
}

.notifystock-ai__composer--has-value .notifystock-ai__composer-send:not(:disabled),
.notifystock-ai__composer--has-value .notifystock-ai__composer-send:hover {
  background: #111111;
  color: #ffffff;
}

.notifystock-ai__composer-send:disabled {
  background: #f0f0f0;
  color: rgba(0, 0, 0, 0.22);
  cursor: not-allowed;
  opacity: 1;
}

.notifystock-ai__consent {
  align-items: flex-start;
  background: #f2f2f2;
  border-radius: 0.75rem;
  color: rgba(0, 0, 0, 0.56);
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.22;
  margin-top: 0.4375rem;
  padding: 0.5625rem 0.625rem;
}

.notifystock-ai__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.notifystock-ai__consent-text {
  flex: 1 1 auto;
}

.notifystock-ai__consent-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.54);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  height: 1.5rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 1.5rem;
}

.notifystock-ai__honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

@media (max-width: 767px) {
  .notifystock-ai__messenger-trigger {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .notifystock-ai__messenger {
    border-radius: 1.375rem;
    bottom: 0.375rem;
    height: auto;
    max-height: calc(100dvh - 0.75rem);
    right: 0.375rem;
    width: calc(100vw - 0.75rem);
  }

  .notifystock-ai__conversation {
    padding: 0.875rem 0.75rem 0.6875rem;
  }

  .notifystock-ai__starter {
    max-width: 90%;
  }

  .notifystock-ai__footer {
    padding: 0 0.625rem 0.625rem;
  }
}

@media (max-width: 420px) and (max-height: 700px) {
  .notifystock-ai__conversation {
    padding: 0.75rem 0.875rem 0.5rem;
  }

  .notifystock-ai__starters {
    gap: 0.5rem;
    margin: 0.875rem 0.5rem 0.25rem 0;
  }

  .notifystock-ai__starter {
    font-size: 0.8125rem;
    padding: 0.5625rem 0.8125rem;
  }

  .notifystock-ai__footer {
    padding-bottom: 0.625rem;
  }

  .notifystock-ai__consent {
    font-size: 0.75rem;
    padding: 0.5625rem 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notifystock-ai__messenger-trigger,
  .notifystock-ai__messenger,
  .notifystock-ai__starter,
  .notifystock-ai__composer-send {
    transition: none;
  }
}
