.iw-aida-service-chat { display: none; }

@media (min-width: 768px) {
  [data-aida-six-motion] .iw-aida-look-trigger {
    transition: opacity .18s ease;
  }
  [data-aida-six-motion][data-aida-service-focus] .iw-aida-look-trigger:not([data-aida-current="true"]) {
    filter: none;
    opacity: .2;
  }
  .iw-aida-service-chat:not([hidden]) {
    position: fixed;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 280px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    animation: iw-aida-chat-appear .22s ease both;
  }
  /* Reuse the original hero's white visitor / blue Aida conversation. */
  .iw-aida-service-chat .home__chat-bubble {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
  }
  .iw-aida-service-chat .home__chat-bubble-wrapper {
    flex: 1;
    min-width: 0;
  }
  .iw-aida-service-chat .home__chat-bubble-wrapper-msg {
    padding: 12px 15px;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: break-word;
  }
  .iw-aida-service-chat .home__chat-bubble-avatar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-top: 3px;
    object-fit: cover;
    border-radius: 9px 16px 16px 16px;
  }
  .iw-aida-service-chat .v--bot .home__chat-bubble-wrapper-msg {
    border-radius: 10px 20px 20px 20px;
  }
  .iw-aida-service-chat.iw-aida-chat-stacked { gap: 8px; }
  .iw-aida-service-chat.iw-aida-chat-stacked .home__chat-bubble { gap: 6px; }
  .iw-aida-service-chat.iw-aida-chat-stacked .home__chat-bubble-wrapper-msg { padding: 10px 12px; font-size: 14px; line-height: 1.4; }
  .iw-aida-service-chat.iw-aida-chat-stacked .home__chat-bubble-avatar { width: 28px; height: 28px; flex-basis: 28px; }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .iw-aida-service-chat:not([hidden]) { gap: 10px; }
  .iw-aida-service-chat .home__chat-bubble { gap: 8px; }
  .iw-aida-service-chat .home__chat-bubble-avatar { width: 32px; height: 32px; flex-basis: 32px; }
  .iw-aida-service-chat .home__chat-bubble-wrapper-msg { padding: 12px 15px; font-size: 14px; line-height: 1.45; }
}

@keyframes iw-aida-chat-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-aida-six-motion] .iw-aida-look-trigger { transition: none; }
  .iw-aida-service-chat:not([hidden]) { animation: none; }
}
