/* Axis v0.12.28 — Lucy chat scroll lock: внутренняя прокрутка чата */
.lucy-page .axis110-chat {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-content: stretch !important;
  gap: 12px !important;
  height: clamp(330px, 42dvh, 520px) !important;
  min-height: 330px !important;
  max-height: clamp(330px, 42dvh, 520px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: contain !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: auto !important;
  scrollbar-gutter: stable both-edges;
}
.lucy-page .axis110-chat > * {
  flex: 0 0 auto !important;
}
.lucy-page .axis110-chat .axis-chat-message {
  flex: 0 0 auto !important;
}
.lucy-page .axis110-chat .axis110-history,
.lucy-page .axis110-chat .axis110-action-card,
.lucy-page .axis110-chat .axis110-empty-chat {
  flex: 0 0 auto !important;
}
.lucy-page .axis110-chat.is-axis-scroll-ready {
  cursor: default;
}
.lucy-page .axis110-chat.is-axis-scroll-ready:hover::-webkit-scrollbar-thumb {
  background: rgba(153, 130, 255, .72);
}
@media (max-width: 720px) {
  .lucy-page .axis110-chat {
    height: clamp(280px, 39dvh, 410px) !important;
    min-height: 280px !important;
    max-height: clamp(280px, 39dvh, 410px) !important;
    gap: 10px !important;
  }
}
@media (max-width: 420px) {
  .lucy-page .axis110-chat {
    height: min(390px, 42dvh) !important;
    min-height: 260px !important;
    max-height: min(390px, 42dvh) !important;
  }
}
