.aelvoro-care-hub,
.aelvoro-care-hub * {
  box-sizing: border-box;
}

.aelvoro-care-hub {
  --aelvoro-care-ink: #102a43;
  --aelvoro-care-paper: #ffffff;
  --aelvoro-care-soft: #f8fafb;
  --aelvoro-care-line: #dbe6df;
  --aelvoro-care-muted: #536878;
  --aelvoro-care-green: #058c51;
  --aelvoro-care-lime: #eaf8f2;
  bottom: calc(28px + env(safe-area-inset-bottom));
  color: var(--aelvoro-care-ink);
  font-family: Rubik, Arial, Helvetica, sans-serif;
  pointer-events: none;
  position: fixed;
  right: 28px;
  z-index: 100200;
}

.aelvoro-care-hub button,
.aelvoro-care-hub a,
.aelvoro-care-hub input,
.aelvoro-care-hub textarea {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  font: inherit;
}

.aelvoro-care-hub button,
.aelvoro-care-hub a {
  user-select: none;
}

.aelvoro-care-icon {
  display: block;
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 20px;
}

.aelvoro-care-icon--support {
  stroke-width: 2.2;
}

.aelvoro-care-icon--whatsapp {
  fill: currentColor;
  fill-rule: evenodd;
  stroke: none;
}

.aelvoro-care-mark {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(5, 140, 81, 0.18);
  border-radius: 50%;
  color: var(--aelvoro-care-ink);
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  position: relative;
  width: 40px;
  box-shadow: 0 7px 16px rgba(16, 42, 67, 0.12);
}

.aelvoro-care-mark::before {
  display: none;
}

.aelvoro-care-mark .aelvoro-care-icon--support {
  height: 26px;
  position: relative;
  width: 26px;
  z-index: 1;
}

.aelvoro-care-icon--support-image {
  display: block;
  height: 25px;
  object-fit: contain;
  position: relative;
  transform: translate(-1px, -1px);
  width: 25px;
  z-index: 1;
}

.aelvoro-care-mark__dot {
  background: var(--aelvoro-care-green);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(5, 140, 81, 0.16);
  height: 8px;
  position: absolute;
  right: -1px;
  top: 4px;
  width: 8px;
  z-index: 2;
}

.aelvoro-care-launcher.has-unread .aelvoro-care-mark__dot,
.aelvoro-care-launcher.is-thinking .aelvoro-care-mark__dot {
  animation: aelvoro-care-dot-pulse 1.8s ease-in-out infinite;
}

.aelvoro-care-launcher {
  align-items: center;
  background: #f8fafb;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 17px 38px rgba(16, 42, 67, 0.18);
  color: var(--aelvoro-care-ink);
  cursor: pointer;
  display: inline-flex;
  height: 81px;
  justify-content: center;
  letter-spacing: 0;
  min-width: 81px;
  padding: 0;
  place-items: center;
  pointer-events: auto;
  position: relative;
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 81px;
  isolation: isolate;
}

.aelvoro-care-launcher:hover {
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(16, 42, 67, 0.22);
  transform: translateY(-1px) scale(1.03);
}

.aelvoro-care-launcher:active {
  transform: translateY(0) scale(0.97);
}

.aelvoro-care-launcher::before,
.aelvoro-care-launcher::after {
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.aelvoro-care-launcher::before {
  border: 1px solid rgba(5, 140, 81, 0.48);
  inset: -7px;
  transform: scale(0.88);
  z-index: -2;
}

.aelvoro-care-launcher::after {
  display: none;
}

.aelvoro-care-launcher.has-unread::before,
.aelvoro-care-launcher.is-thinking::before {
  animation: aelvoro-care-launcher-pulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  opacity: 1;
}

.aelvoro-care-launcher.has-unread::after,
.aelvoro-care-launcher.is-thinking::after {
  animation: none;
  opacity: 0;
}

.aelvoro-care-hub button:focus-visible,
.aelvoro-care-hub a:focus-visible,
.aelvoro-care-hub input:focus-visible,
.aelvoro-care-hub textarea:focus-visible {
  outline: 2px solid var(--aelvoro-care-green);
  outline-offset: 3px;
}

.aelvoro-care-launcher__status {
  display: none;
}

.aelvoro-care-launcher__status {
  background: var(--aelvoro-care-green);
  border: 2px solid #ffffff;
  border-radius: 50%;
  height: 9px;
  position: absolute;
  right: 3px;
  top: 4px;
  width: 9px;
}

.aelvoro-care-launcher__surface {
  align-items: center;
  background: #047747;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 56px;
}

.aelvoro-care-launcher__glyph {
  align-items: center;
  display: inline-flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  transition: opacity 180ms ease, transform 180ms ease;
}

.aelvoro-care-launcher__glyph--chevron {
  opacity: 0;
  transform: translateY(-8px) scale(0.78);
}

.aelvoro-care-launcher-svg {
  display: block;
}

.aelvoro-care-launcher-svg--chat {
  height: 35px;
  width: 35px;
}

.aelvoro-care-launcher-svg--chevron {
  height: 35px;
  width: 35px;
}

.aelvoro-care-launcher-dot {
  fill: #047747;
  transform-box: fill-box;
  transform-origin: center;
}

.aelvoro-care-launcher.is-open {
  background: #f8fafb;
  transform: translateY(0) scale(1);
}

.aelvoro-care-launcher.is-open .aelvoro-care-launcher__surface {
  background: #012449;
  transform: scale(0.96);
}

.aelvoro-care-launcher.is-open .aelvoro-care-launcher__glyph--chat {
  opacity: 0;
  transform: translateY(8px) scale(0.78);
}

.aelvoro-care-launcher.is-open .aelvoro-care-launcher__glyph--chevron {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.aelvoro-care-launcher__badge {
  align-items: center;
  background: var(--aelvoro-care-green);
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  display: none;
  font-size: 0;
  font-weight: 900;
  height: 13px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 9px;
  top: 9px;
  width: 13px;
}

.aelvoro-care-launcher.has-unread .aelvoro-care-launcher__badge {
  display: inline-flex;
}

.aelvoro-care-launcher.has-unread .aelvoro-care-launcher__status {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .aelvoro-care-launcher.has-unread:not(.is-open) .aelvoro-care-launcher__surface {
    animation: aelvoro-care-launcher-nudge 4.2s ease-in-out 2;
  }

  .aelvoro-care-launcher.has-unread .aelvoro-care-launcher-dot,
  .aelvoro-care-launcher.is-thinking .aelvoro-care-launcher-dot {
    animation: aelvoro-care-launcher-typing 1.15s ease-in-out infinite;
  }

  .aelvoro-care-launcher.has-unread .aelvoro-care-launcher-dot--2,
  .aelvoro-care-launcher.is-thinking .aelvoro-care-launcher-dot--2 {
    animation-delay: 120ms;
  }

  .aelvoro-care-launcher.has-unread .aelvoro-care-launcher-dot--3,
  .aelvoro-care-launcher.is-thinking .aelvoro-care-launcher-dot--3 {
    animation-delay: 240ms;
  }
}

.aelvoro-care-panel {
  background: var(--aelvoro-care-paper);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  bottom: 96px;
  box-shadow: 0 24px 60px rgba(16, 42, 67, 0.22);
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  height: min(620px, calc(100vh - 156px));
  height: min(620px, calc(100dvh - 156px));
  max-height: min(700px, calc(100vh - 146px));
  max-height: min(700px, calc(100dvh - 146px));
  overflow: hidden;
  pointer-events: auto;
  position: absolute;
  right: 0;
  width: min(460px, calc(100vw - 32px));
}

.aelvoro-care-panel::before {
  background: rgba(1, 36, 73, 0.42);
  border-radius: 34px;
  content: "";
  inset: -20px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: -1;
}

.aelvoro-care-panel.is-open {
  animation: aelvoro-care-rise 190ms ease-out;
  display: grid;
}

.aelvoro-care-panel.is-open::before {
  opacity: 1;
  transform: scale(1);
}

.aelvoro-care-header {
  align-items: center;
  background: var(--aelvoro-care-ink);
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 18px;
}

.aelvoro-care-header__identity {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.aelvoro-care-header__identity > div {
  min-width: 0;
}

.aelvoro-care-header strong,
.aelvoro-care-header span {
  display: block;
}

.aelvoro-care-header .aelvoro-care-mark {
  display: inline-flex;
}

.aelvoro-care-header strong {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.aelvoro-care-header__identity > div > span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aelvoro-care-header__actions {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.aelvoro-care-header__wa,
.aelvoro-care-close {
  align-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  width: 38px;
}

.aelvoro-care-header__wa {
  background: var(--aelvoro-care-green);
  color: #ffffff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.16), 0 8px 18px rgba(5, 140, 81, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.aelvoro-care-header__wa:hover {
  background: #047747;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 10px 22px rgba(5, 140, 81, 0.28);
  transform: translateY(-1px);
}

.aelvoro-care-header__wa:active {
  transform: translateY(0) scale(0.97);
}

.aelvoro-care-header__wa .aelvoro-care-icon--whatsapp {
  height: 21px;
  width: 21px;
}

.aelvoro-care-close .aelvoro-care-icon {
  height: 21px;
  width: 21px;
}

.aelvoro-care-close {
  background: transparent;
  color: #fff;
}

.aelvoro-care-thread {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px 18px;
  scrollbar-width: none;
}

.aelvoro-care-thread::-webkit-scrollbar {
  display: none;
}

.aelvoro-care-message {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  max-width: 100%;
}

.aelvoro-care-message--customer {
  justify-content: flex-end;
}

.aelvoro-care-message--customer .aelvoro-care-message__body {
  background: var(--aelvoro-care-ink);
  border-color: var(--aelvoro-care-ink);
  color: #fff;
  max-width: 78%;
}

.aelvoro-care-message--assistant .aelvoro-care-message__body {
  background: var(--aelvoro-care-soft);
  border: 1px solid var(--aelvoro-care-line);
  color: #213748;
}

.aelvoro-care-message--ai .aelvoro-care-message__body {
  border-color: rgba(5, 140, 81, 0.5);
  box-shadow: inset 3px 0 0 rgba(5, 140, 81, 0.68);
}

.aelvoro-care-message--knowledge_base .aelvoro-care-message__body {
  box-shadow: inset 3px 0 0 rgba(83, 104, 120, 0.18);
}

.aelvoro-care-message--human_review .aelvoro-care-message__body {
  border-color: #e5d6b9;
  box-shadow: inset 3px 0 0 #d5ad63;
}

.aelvoro-care-message--error .aelvoro-care-message__body {
  background: #fff6f4;
  border-color: #efc9c1;
}

.aelvoro-care-message--typing .aelvoro-care-message__body p {
  display: none;
}

.aelvoro-care-message__body {
  border-radius: 15px;
  font-size: 12px;
  line-height: 1.38;
  padding: 12px 14px;
}

.aelvoro-care-message__body strong {
  color: inherit;
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 6px;
}

.aelvoro-care-message.is-streaming .aelvoro-care-message__body strong::after {
  color: var(--aelvoro-care-muted);
  content: " typing...";
  font-size: 11px;
  font-weight: 700;
}

.aelvoro-care-message__body p {
  margin: 0;
}

.aelvoro-care-message.is-streaming .aelvoro-care-message__body p::after {
  animation: aelvoro-care-cursor-blink 0.9s steps(2, start) infinite;
  content: "";
  border-right: 2px solid currentColor;
  display: inline-block;
  height: 1em;
  margin-left: 2px;
  transform: translateY(2px);
}

.aelvoro-care-message__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.aelvoro-care-message__actions a {
  align-items: center;
  background: #eaf8f2;
  border: 1px solid #b7dfcf;
  border-radius: 999px;
  color: #047747;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  min-height: 32px;
  padding: 0 13px;
  text-decoration: none;
}

.aelvoro-care-typing {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-height: 18px;
}

.aelvoro-care-typing i {
  animation: aelvoro-care-dot 1s ease-in-out infinite;
  background: #536878;
  border-radius: 50%;
  display: block;
  height: 6px;
  width: 6px;
}

.aelvoro-care-typing i:nth-child(2) {
  animation-delay: 120ms;
}

.aelvoro-care-typing i:nth-child(3) {
  animation-delay: 240ms;
}

.aelvoro-care-chips {
  background: var(--aelvoro-care-paper);
  border-top: 1px solid rgba(16, 42, 67, 0.08);
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: hidden;
  padding: 11px 18px 10px;
  position: relative;
}

.aelvoro-care-chips::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--aelvoro-care-paper));
  content: "";
  inset: 0 0 0 auto;
  pointer-events: none;
  position: absolute;
  width: 28px;
}

.aelvoro-care-chip {
  background: #f1f6f3;
  border: 1px solid #dbe6df;
  border-radius: 999px;
  color: #102a43;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 10px;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.aelvoro-care-hub .aelvoro-care-chip {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.aelvoro-care-chip:hover {
  background: #fff;
  border-color: #b7dfcf;
  transform: translateY(-1px);
}

.aelvoro-care-composer {
  background: var(--aelvoro-care-paper);
  padding: 0 18px 16px;
}

.aelvoro-care-composer__bar {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe6df;
  border-radius: 17px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 52px;
  padding: 6px;
}

.aelvoro-care-composer input[name="message"],
.aelvoro-care-composer textarea {
  background: transparent;
  border: 0;
  color: var(--aelvoro-care-ink);
  font-size: 14px;
  line-height: 1.25;
  height: 38px;
  min-height: 38px;
  outline: none;
  overflow: hidden;
  padding: 9px 10px;
  resize: none;
  width: 100%;
}

.aelvoro-care-composer input[name="message"] {
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aelvoro-care-send {
  align-items: center;
  background: var(--aelvoro-care-ink);
  border: 0;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  min-width: 78px;
  padding: 0 15px;
}

.aelvoro-care-hub .aelvoro-care-send {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.aelvoro-care-send .aelvoro-care-icon {
  height: 16px;
  width: 16px;
}

.aelvoro-care-send:disabled {
  cursor: wait;
  opacity: 0.64;
}

.aelvoro-care-honeypot {
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: auto;
}

.aelvoro-care-contact-card {
  background: #fff;
  border: 1px solid #dbe6df;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.aelvoro-care-contact-card__head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.aelvoro-care-contact-card__icon {
  align-items: center;
  background: #eaf8f2;
  border-radius: 50%;
  color: #047747;
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.aelvoro-care-contact-card strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.aelvoro-care-contact-card p {
  color: var(--aelvoro-care-muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 4px 0 0;
}

.aelvoro-care-contact-card__note {
  color: var(--aelvoro-care-muted);
  font-size: 12px;
  margin: -4px 0 0;
}

.aelvoro-care-contact-card__summary {
  background: #f8fafb;
  border: 1px solid #dbe6df;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.aelvoro-care-contact-card__summary span {
  color: var(--aelvoro-care-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.aelvoro-care-contact-card__summary strong {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.aelvoro-care-contact-card__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
}

.aelvoro-care-contact-card input {
  border: 1px solid #dbe6df;
  border-radius: 12px;
  color: var(--aelvoro-care-ink);
  font-size: 13px;
  min-height: 40px;
  padding: 0 12px;
  width: 100%;
}

.aelvoro-care-contact-card__actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
}

.aelvoro-care-contact-card button {
  background: #eaf8f2;
  border: 1px solid #b7dfcf;
  border-radius: 999px;
  color: #047747;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  min-height: 40px;
  transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.aelvoro-care-contact-card button:hover {
  background: #d7f1e6;
  border-color: #8ed1b8;
  transform: translateY(-1px);
}

.aelvoro-care-contact-card button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.aelvoro-care-contact-card button.aelvoro-care-contact-card__edit {
  background: #fff;
  border-color: #dbe6df;
  color: var(--aelvoro-care-ink);
}

.aelvoro-care-contact-card button.aelvoro-care-contact-card__edit:hover {
  background: #f8fafb;
  border-color: #b7dfcf;
}

.aelvoro-care-contact-card__whatsapp {
  align-items: center;
  border: 1px solid #dbe6df;
  border-radius: 999px;
  color: var(--aelvoro-care-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  text-decoration: none;
}

.aelvoro-care-contact-card__whatsapp svg {
  color: #058c51;
  height: 18px;
  width: 18px;
}

.aelvoro-care-contact-card__whatsapp:hover {
  background: #f8fafb;
  color: var(--aelvoro-care-ink);
}

.aelvoro-care-contact-card__saved {
  background: #eaf8f2;
  border: 1px solid #b7dfcf;
  border-radius: 14px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.aelvoro-care-whatsapp {
  align-items: center;
  background: #eaf8f2;
  border: 1px solid #b7dfcf;
  border-radius: 18px;
  color: #047747;
  display: none;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  margin: 0 24px 14px;
  min-height: 44px;
  pointer-events: auto;
  text-decoration: none;
}

.aelvoro-care-status {
  color: var(--aelvoro-care-muted);
  font-size: 12px;
  margin: 0;
  min-height: 14px;
  padding: 0 24px 16px;
}

@keyframes aelvoro-care-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes aelvoro-care-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.78);
  }
}

@keyframes aelvoro-care-launcher-pulse {
  0% {
    opacity: 0.48;
    transform: scale(0.88);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes aelvoro-care-launcher-nudge {
  0%,
  72%,
  100% {
    transform: translateX(0) rotate(0deg) scale(1);
  }
  76% {
    transform: translateX(-2px) rotate(-4deg) scale(1.02);
  }
  80% {
    transform: translateX(2px) rotate(4deg) scale(1.02);
  }
  84% {
    transform: translateX(-1px) rotate(-2deg) scale(1.01);
  }
  88% {
    transform: translateX(1px) rotate(2deg) scale(1.01);
  }
  92% {
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

@keyframes aelvoro-care-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes aelvoro-care-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(5, 140, 81, 0.16), 0 0 0 0 rgba(5, 140, 81, 0);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 1px rgba(5, 140, 81, 0.16), 0 0 0 7px rgba(5, 140, 81, 0.2);
    transform: scale(0.92);
  }
}

@keyframes aelvoro-care-launcher-typing {
  0%,
  78%,
  100% {
    opacity: 0.42;
    transform: translateY(0) scale(0.92);
  }
  36% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
}

@keyframes aelvoro-care-cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .aelvoro-care-hub {
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 18px;
  }

  .aelvoro-care-panel {
    border-radius: 20px;
    bottom: 58px;
    height: min(520px, calc(100vh - 98px));
    height: min(520px, calc(100dvh - 98px));
    max-height: min(82vh, 640px);
    max-height: min(82dvh, 640px);
    right: 0;
    width: min(390px, calc(100vw - 28px));
  }

  .aelvoro-care-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .aelvoro-care-header__identity {
    gap: 10px;
  }

  .aelvoro-care-header strong {
    font-size: 15px;
  }

  .aelvoro-care-header__identity > div > span {
    font-size: 11px;
  }

  .aelvoro-care-header__wa,
  .aelvoro-care-close {
    height: 36px;
    width: 36px;
  }

  .aelvoro-care-mark {
    flex-basis: 38px;
    height: 38px;
    width: 38px;
  }

  .aelvoro-care-mark .aelvoro-care-icon--support {
    height: 24px;
    width: 24px;
  }

  .aelvoro-care-mark .aelvoro-care-icon--support-image {
    height: 23px;
    width: 23px;
  }

  .aelvoro-care-thread {
    padding: 14px;
  }

  .aelvoro-care-message__body {
    padding: 11px 13px;
  }

  .aelvoro-care-message__body strong {
    font-size: 12px;
    line-height: 1.26;
  }

  .aelvoro-care-message__body {
    font-size: 11.5px;
    line-height: 1.34;
  }

  .aelvoro-care-chips {
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 12px 14px 10px;
    scrollbar-width: none;
  }

  .aelvoro-care-chips::after {
    width: 34px;
  }

  .aelvoro-care-chips::-webkit-scrollbar {
    display: none;
  }

  .aelvoro-care-chip {
    flex: 0 0 auto;
    font-size: 10px;
    min-height: 29px;
    padding: 0 7px;
  }

  .aelvoro-care-hub .aelvoro-care-chip {
    font-size: 10px;
  }

  .aelvoro-care-composer {
    padding: 0 14px 14px;
  }

  .aelvoro-care-composer__bar {
    gap: 8px;
  }

  .aelvoro-care-send {
    min-height: 40px;
    min-width: 44px;
    padding-inline: 0;
    width: 44px;
  }

  .aelvoro-care-send span {
    display: none;
  }

  .aelvoro-care-whatsapp {
    margin-inline: 18px;
  }

  .aelvoro-care-launcher {
    height: 48px;
    min-width: 48px;
    width: 48px;
  }

  .aelvoro-care-launcher__surface {
    height: 34px;
    width: 34px;
  }

  .aelvoro-care-launcher-svg--chat,
  .aelvoro-care-launcher-svg--chevron {
    height: 22px;
    width: 22px;
  }

  .aelvoro-care-launcher__badge {
    height: 9px;
    right: 5px;
    top: 5px;
    width: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aelvoro-care-panel.is-open,
  .aelvoro-care-launcher,
  .aelvoro-care-launcher::before,
  .aelvoro-care-launcher::after,
  .aelvoro-care-chip,
  .aelvoro-care-launcher__status,
  .aelvoro-care-launcher__surface,
  .aelvoro-care-typing i,
  .aelvoro-care-launcher-dot {
    animation: none;
    transition: none;
  }
}

@media (max-width: 390px) {
  .aelvoro-care-panel {
    width: calc(100vw - 36px);
  }

  .aelvoro-care-chip {
    font-size: 9.5px;
    padding: 0 6px;
  }

  .aelvoro-care-hub .aelvoro-care-chip {
    font-size: 9.5px;
  }
}

/* NORYLUME Chatwoot-aligned dark desk skin */
.aelvoro-care-hub {
  --aelvoro-care-blue: #3c8cff;
  --aelvoro-care-blue-deep: #75afff;
  --aelvoro-care-green: #05965a;
  --aelvoro-care-green-deep: #047747;
  --aelvoro-care-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.aelvoro-care-panel {
  --aelvoro-care-ink: #f5f7fb;
  --aelvoro-care-paper: #0f1115;
  --aelvoro-care-soft: #171a20;
  --aelvoro-care-line: rgba(255, 255, 255, 0.09);
  --aelvoro-care-muted: #9aa3af;
  background: var(--aelvoro-care-paper);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  height: min(650px, calc(100vh - 146px));
  height: min(650px, calc(100dvh - 146px));
  max-height: min(720px, calc(100vh - 132px));
  max-height: min(720px, calc(100dvh - 132px));
  width: min(420px, calc(100vw - 32px));
}

@media (min-width: 561px) {
  body.admin-bar .aelvoro-care-panel {
    height: min(585px, calc(100vh - 226px));
    height: min(585px, calc(100dvh - 226px));
    max-height: min(650px, calc(100vh - 226px));
    max-height: min(650px, calc(100dvh - 226px));
  }
}

.aelvoro-care-panel::before {
  background: rgba(0, 0, 0, 0.34);
  border-radius: 28px;
  inset: -10px;
}

.aelvoro-care-panel.is-open {
  animation: aelvoro-care-rise 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.aelvoro-care-header {
  align-items: stretch;
  background: var(--aelvoro-care-paper);
  border-bottom: 0;
  color: var(--aelvoro-care-ink);
  display: grid;
  gap: 16px;
  min-height: 0;
  padding: 24px 20px 14px;
}

.aelvoro-care-header__top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.aelvoro-care-header__identity {
  gap: 0;
}

.aelvoro-care-header__identity > div {
  display: none;
}

.aelvoro-care-header .aelvoro-care-mark {
  background: var(--aelvoro-care-blue);
  border: 0;
  box-shadow: none;
  color: #ffffff;
  flex-basis: 48px;
  height: 48px;
  width: 48px;
}

.aelvoro-care-header .aelvoro-care-mark__dot {
  display: none;
}

.aelvoro-care-header .aelvoro-care-icon--chat {
  height: 26px;
  width: 26px;
}

.aelvoro-care-header strong,
.aelvoro-care-header span {
  color: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

.aelvoro-care-header__copy {
  display: grid;
  gap: 6px;
  padding-right: 12px;
}

.aelvoro-care-header__copy h2 {
  color: var(--aelvoro-care-ink);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
  text-wrap: pretty;
}

.aelvoro-care-header__copy p {
  color: var(--aelvoro-care-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.42;
  margin: 0;
  max-width: 20.5em;
  text-wrap: pretty;
}

.aelvoro-care-header__actions {
  gap: 0;
}

.aelvoro-care-header__wa {
  display: none;
}

.aelvoro-care-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #aab2bf;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
  width: 32px;
}

.aelvoro-care-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.aelvoro-care-close:active {
  background: rgba(255, 255, 255, 0.12);
}

.aelvoro-care-thread {
  background: var(--aelvoro-care-paper);
  gap: 16px;
  padding: 0 16px 16px;
}

.aelvoro-care-home {
  display: grid;
  gap: 12px;
}

.aelvoro-care-home-card {
  background: var(--aelvoro-care-soft);
  border: 1px solid var(--aelvoro-care-line);
  border-radius: var(--aelvoro-care-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.18);
  padding: 16px 20px;
}

.aelvoro-care-home-card__row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.aelvoro-care-home-card__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.aelvoro-care-home-card__copy strong,
.aelvoro-care-home-card__title {
  color: var(--aelvoro-care-ink);
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.aelvoro-care-home-card__copy span {
  color: var(--aelvoro-care-muted);
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.38;
}

.aelvoro-care-home-card__marks {
  display: flex;
  flex: 0 0 auto;
}

.aelvoro-care-home-card__marks .aelvoro-care-mark {
  background: #20242c url("../images/norylume-care-agent-avatar.webp") center / cover no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
  color: transparent;
  flex-basis: 36px;
  height: 36px;
  width: 36px;
}

.aelvoro-care-home-card__marks .aelvoro-care-mark__dot {
  background: var(--aelvoro-care-green);
  border-color: var(--aelvoro-care-soft);
  display: block;
  height: 9px;
  right: -1px;
  top: 0;
  width: 9px;
}

.aelvoro-care-home-card__marks .aelvoro-care-icon--chat {
  display: none;
}

.aelvoro-care-home-card__action {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--aelvoro-care-blue);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 4px;
  line-height: 1.35;
  margin-top: 13px;
  padding: 0;
  text-align: left;
  transition: color 150ms ease;
}

.aelvoro-care-home-card__action::after {
  color: currentColor;
  content: ">";
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  margin-left: 2px;
  transition: transform 150ms ease;
}

.aelvoro-care-home-card__action:hover {
  color: var(--aelvoro-care-blue-deep);
}

.aelvoro-care-home-card__action:hover::after {
  transform: translateX(2px);
}

.aelvoro-care-home-card--topics {
  display: grid;
  gap: 14px;
}

.aelvoro-care-home-topics {
  display: grid;
  gap: 13px;
}

.aelvoro-care-home-topic {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--aelvoro-care-muted);
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 400;
  justify-content: space-between;
  line-height: 1.5;
  min-height: 0;
  padding: 0;
  text-align: left;
  transition: color 150ms ease, background-color 150ms ease;
  width: 100%;
}

.aelvoro-care-home-topic::after {
  color: currentColor;
  content: ">";
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
  margin-left: 12px;
  transition: transform 150ms ease;
}

.aelvoro-care-home-topic:hover {
  background: transparent;
  color: #ffffff;
}

.aelvoro-care-home-topic:hover::after {
  transform: translateX(2px);
}

.aelvoro-care-message {
  gap: 8px;
}

.aelvoro-care-message .aelvoro-care-mark {
  background: rgba(60, 140, 255, 0.14);
  border: 0;
  box-shadow: none;
  color: #8abaff;
  flex-basis: 30px;
  height: 30px;
  width: 30px;
}

.aelvoro-care-message .aelvoro-care-mark__dot {
  display: none;
}

.aelvoro-care-message .aelvoro-care-icon--chat {
  height: 17px;
  width: 17px;
}

.aelvoro-care-message--assistant .aelvoro-care-message__body {
  background: #171a20;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #e7ebf1;
}

.aelvoro-care-message--customer .aelvoro-care-message__body {
  background: var(--aelvoro-care-green);
  border-color: var(--aelvoro-care-green);
  color: #ffffff;
}

.aelvoro-care-message--ai .aelvoro-care-message__body {
  border-color: rgba(5, 150, 90, 0.45);
  box-shadow: none;
}

.aelvoro-care-message--knowledge_base .aelvoro-care-message__body {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 3px 0 0 rgba(154, 163, 175, 0.28);
}

.aelvoro-care-message--human_review .aelvoro-care-message__body {
  background: #1b1b17;
  border-color: rgba(213, 173, 99, 0.32);
  box-shadow: inset 3px 0 0 rgba(213, 173, 99, 0.72);
  color: #f1eadc;
}

.aelvoro-care-message--error .aelvoro-care-message__body {
  background: #241918;
  border-color: rgba(239, 104, 85, 0.4);
  color: #ffd9d4;
}

.aelvoro-care-message__body {
  border-radius: 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
  padding: 12px 14px;
}

.aelvoro-care-message__body strong {
  font-size: 14px;
  font-weight: 500;
}

.aelvoro-care-chips {
  display: none;
}

.aelvoro-care-message__actions a {
  background: rgba(5, 150, 90, 0.12);
  border-color: rgba(5, 150, 90, 0.36);
  color: #7be0ae;
}

.aelvoro-care-message__actions a:hover {
  background: rgba(5, 150, 90, 0.18);
  border-color: rgba(5, 150, 90, 0.5);
  color: #a3efc8;
}

.aelvoro-care-typing i {
  background: #7d8794;
}

.aelvoro-care-composer {
  background: var(--aelvoro-care-paper);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px 13px;
}

.aelvoro-care-composer__bar {
  background: #171a20;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  min-height: 50px;
  padding: 5px;
}

.aelvoro-care-composer__bar:focus-within {
  border-color: rgba(5, 150, 90, 0.64);
  box-shadow: 0 0 0 3px rgba(5, 150, 90, 0.16);
}

.aelvoro-care-composer input[name="message"],
.aelvoro-care-composer textarea {
  color: var(--aelvoro-care-ink);
  font-size: 14px;
  font-weight: 400;
  height: 38px;
  min-height: 38px;
  padding: 9px 10px;
}

.aelvoro-care-composer input[name="message"]::placeholder,
.aelvoro-care-composer textarea::placeholder {
  color: #858e9c;
  opacity: 1;
}

.aelvoro-care-send {
  background: var(--aelvoro-care-green);
  border-radius: 12px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  min-height: 40px;
  transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease;
}

.aelvoro-care-send:hover {
  background: var(--aelvoro-care-green-deep);
  box-shadow: none;
  transform: none;
}

.aelvoro-care-send:active {
  background: #03633d;
  transform: none;
}

.aelvoro-care-status {
  background: var(--aelvoro-care-paper);
  border-top: 0;
  color: #858e9c;
  font-size: 12px;
  font-weight: 400;
  min-height: 0;
  padding: 0 16px 12px;
}

.aelvoro-care-contact-card {
  background: #171a20;
  border-color: var(--aelvoro-care-line);
  border-radius: var(--aelvoro-care-radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.aelvoro-care-contact-card strong {
  color: var(--aelvoro-care-ink);
}

.aelvoro-care-contact-card p,
.aelvoro-care-contact-card__note {
  color: var(--aelvoro-care-muted);
}

.aelvoro-care-contact-card__icon {
  background: rgba(5, 150, 90, 0.14);
  color: #7be0ae;
}

.aelvoro-care-contact-card__summary,
.aelvoro-care-contact-card__saved {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.08);
}

.aelvoro-care-contact-card__summary span {
  color: #858e9c;
}

.aelvoro-care-contact-card__summary strong {
  color: #e7ebf1;
}

.aelvoro-care-contact-card input {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.11);
  color: var(--aelvoro-care-ink);
}

.aelvoro-care-contact-card input::placeholder {
  color: #858e9c;
}

.aelvoro-care-contact-card button {
  background: rgba(5, 150, 90, 0.14);
  border-color: rgba(5, 150, 90, 0.38);
  color: #7be0ae;
  font-weight: 500;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.aelvoro-care-contact-card button:hover {
  background: rgba(5, 150, 90, 0.2);
  border-color: rgba(5, 150, 90, 0.54);
  color: #a3efc8;
}

.aelvoro-care-contact-card button.aelvoro-care-contact-card__edit {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4dae3;
}

.aelvoro-care-contact-card button.aelvoro-care-contact-card__edit:hover {
  background: #1b1f27;
  border-color: rgba(255, 255, 255, 0.16);
}

.aelvoro-care-contact-card__whatsapp {
  background: #111318;
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4dae3;
}

.aelvoro-care-contact-card__whatsapp:hover {
  background: #1b1f27;
  color: #ffffff;
}

.aelvoro-care-contact-card__whatsapp svg {
  color: #7be0ae;
}

@media (max-width: 560px) {
  .aelvoro-care-panel {
    border-radius: 18px;
    bottom: 58px;
    height: min(590px, calc(100vh - 98px));
    height: min(590px, calc(100dvh - 98px));
    width: min(390px, calc(100vw - 28px));
  }

  .aelvoro-care-header {
    gap: 14px;
    padding: 20px 16px 12px;
  }

  .aelvoro-care-header__copy {
    padding-right: 0;
  }

  .aelvoro-care-header__copy h2 {
    font-size: 22px;
  }

  .aelvoro-care-header__copy p {
    font-size: 15.5px;
    max-width: none;
  }

  .aelvoro-care-thread {
    gap: 12px;
    padding: 0 12px 12px;
  }

  .aelvoro-care-home-card {
    border-radius: 12px;
    padding: 14px 16px;
  }

  .aelvoro-care-home-topic {
    font-size: 14px;
  }

  .aelvoro-care-composer {
    padding: 11px 12px 12px;
  }

  .aelvoro-care-status {
    padding: 0 12px 11px;
  }
}
