.ask-airo-fab {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10002;
  display: none;
  align-items: center;
  gap: 0;
}

.ask-airo-fab.is-ready {
  display: flex;
}

.ask-airo-drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: grab;
  user-select: none;
  flex-shrink: 0;
}

.ask-airo-drag-handle:active {
  cursor: grabbing;
}

.ask-airo-fab.dragging {
  cursor: grabbing;
  user-select: none;
}

.ask-airo-fab.dragging .ask-airo-drag-handle {
  opacity: 1;
  cursor: grabbing;
}

.ask-airo-drag-handle img {
  width: 28px;
  height: 28px;
  pointer-events: none;
}

body:has(#askAiroSidebar.open) .ask-airo-fab,
body:has(#globalSidebar.open) .ask-airo-fab {
  display: none;
}

.ask-airo-fab .ask-airo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(249, 146, 0, 0.32) 0%,
    rgba(238, 147, 116, 0.32) 0.01%,
    rgba(243, 146, 61, 0.32) 12.5%,
    rgba(227, 138, 162, 0.32) 26.44%,
    rgba(214, 131, 242, 0.32) 37.5%,
    rgba(201, 114, 245, 0.32) 50.96%,
    rgba(185, 92, 249, 0.32) 63.46%,
    rgba(134, 122, 247, 0.32) 75%,
    rgba(79, 154, 245, 0.32) 87.32%,
    rgba(127, 162, 253, 0.32) 99.99%,
    rgba(27, 145, 237, 0.32) 100%
  );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease;
}

.ask-airo-fab .ask-airo-button:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.ask-airo-fab .ask-airo-button:active {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.ask-airo-fab .white-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: white;
}

.ask-airo-fab .ask-airo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  width: 68px;
  height: 68px;
  background: linear-gradient(
    135deg,
    rgba(249, 146, 0, 0.12) 0%,
    rgba(238, 147, 116, 0.12) 0.01%,
    rgba(243, 146, 61, 0.12) 12.5%,
    rgba(227, 138, 162, 0.12) 26.44%,
    rgba(214, 131, 242, 0.12) 37.5%,
    rgba(201, 114, 245, 0.12) 50.96%,
    rgba(185, 92, 249, 0.12) 63.46%,
    rgba(134, 122, 247, 0.12) 75%,
    rgba(79, 154, 245, 0.12) 87.32%,
    rgba(127, 162, 253, 0.12) 99.99%,
    rgba(27, 145, 237, 0.12) 100%
  );
}

.ask-airo-fab .ask-airo-icon img {
  position: absolute;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.ask-airo-fab .ask-airo-icon img.hover {
  opacity: 0;
}

.ask-airo-fab .ask-airo-button:hover .ask-airo-icon img.default {
  opacity: 0;
}

.ask-airo-fab .ask-airo-button:hover .ask-airo-icon img.hover {
  opacity: 1;
}

#askAiroSidebar {
  position: relative;
  width: 0;
  height: 100%;
  z-index: 10;
  transition: width 0.5s ease;
  overflow: hidden;
  pointer-events: none;
  flex-shrink: 0;
  border-radius: 20px;
  background-color: var(--ro-colors-component-opaque);
}

#askAiroSidebar.open {
  width: 480px;
  pointer-events: auto;
  margin-left: 10px;
}

#askAiroSidebar.open.fullscreen {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 100px;
  /* #menu width (80px) + its margin-right (10px) */
  width: auto !important;
  height: auto !important;
  z-index: 10;
  border-radius: 20px;
  box-shadow: 1px 6px 20px 0px rgba(18, 18, 18, 0.05);
  margin-left: 0;
}

#askAiroSidebar.open.fullscreen .askAiroScrollDown {
  bottom: 40px !important;
}

/* ── Fullscreen welcome layout (no messages) ── */
#askAiroSidebar.open.fullscreen .askAiroContent:not(.hasMessages) {
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
}

/* Push bottom margin on the last item so welcome+composer+suggestions centre as a group */
#askAiroSidebar.open.fullscreen .askAiroSuggestions.belowComposer {
  margin-bottom: auto;
}

#askAiroSidebar.open.fullscreen
  .askAiroContent:not(.hasMessages)
  .askAiroWelcome {
  max-width: 720px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 40px auto;
}

#askAiroSidebar.open.fullscreen
  .askAiroContent:not(.hasMessages)
  .askAiroWelcome
  .askAiroMascot
  img {
  transform: scaleX(-1);
}

#askAiroSidebar.open.fullscreen
  .askAiroContent:not(.hasMessages)
  .askAiroWelcome
  .header {
  flex: 1;
  min-width: 0;
  order: 0;
}

#askAiroSidebar.open.fullscreen
  .askAiroContent:not(.hasMessages)
  .askAiroWelcome
  .header
  .askAiroWelcomeDesc {
  margin-bottom: 0;
}

#askAiroSidebar.open.fullscreen
  .askAiroContent:not(.hasMessages)
  .askAiroWelcome
  .askAiroMascot {
  order: 1;
  width: auto;
  margin-bottom: 0;
  margin-left: 24px;
}

/* Suggestions when moved below composer by JS */
.askAiroSuggestions.belowComposer {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  margin-top: 20px;
}

/* ── Fullscreen composer & chat ── */
#askAiroSidebar.open.fullscreen .askAiroComposer {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  width: 100%;
}

#askAiroSidebar.open.fullscreen .askAiroChat {
  width: 100%;
  padding: 0 196px 24px 196px;
}

#askAiroSidebar.open.fullscreen .askAiroComposerBox {
  position: relative;
  border: none;
  background-clip: padding-box;
  box-shadow: 1px 6px 20px 0px rgba(196, 106, 247, 0.05);
  bottom: 8px;
}

#askAiroSidebar.open.fullscreen .askAiroComposerBox::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(
    135deg,
    rgba(249, 146, 0, 0.15) 0%,
    rgba(238, 147, 116, 0.15) 0.01%,
    rgba(243, 146, 61, 0.15) 12.5%,
    rgba(227, 138, 162, 0.15) 26.44%,
    rgba(214, 131, 242, 0.15) 37.5%,
    rgba(201, 114, 245, 0.15) 50.96%,
    rgba(185, 92, 249, 0.15) 63.46%,
    rgba(134, 122, 247, 0.15) 75%,
    rgba(79, 154, 245, 0.15) 87.32%,
    rgba(127, 162, 253, 0.15) 99.99%,
    rgba(27, 145, 237, 0.15) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* ── Fullscreen single-line pill bar ── */
#askAiroSidebar.open.fullscreen .askAiroComposerBox.composerAnimating {
  pointer-events: none;
  transform-origin: bottom center;
}

#askAiroSidebar.open.fullscreen .askAiroComposerBox.singleLine {
  flex-direction: row;
  align-items: center;
  min-height: auto;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
}

/* Context popup & search above pill bar need extra spacing */
#askAiroSidebar.open.fullscreen
  .askAiroComposerInner:has(.askAiroComposerBox.singleLine)
  .askAiroContextPopup,
#askAiroSidebar.open.fullscreen
  .askAiroComposerInner:has(.askAiroComposerBox.singleLine)
  .askAiroContextSearch {
  bottom: 130%;
}

#askAiroSidebar.open.fullscreen .askAiroComposerInner .askAiroContextPopup,
#askAiroSidebar.open.fullscreen .askAiroComposerInner .askAiroContextSearch {
  bottom: 110%;
}

#askAiroSidebar.open.fullscreen .askAiroComposerBox.singleLine::before {
  padding: 4px;
}

#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.singleLine
  .askAiroComposerInputWrapper {
  flex: 1;
  min-width: 0;
  order: 0;
}

#askAiroSidebar.open.fullscreen .askAiroQueueList {
  margin-bottom: 32px;
}

#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.singleLine
  .askAiroComposerInput {
  min-height: auto;
}

/* Make .askAiroComposerActions transparent to flex so its children
   (left & right groups) participate in the pill-bar row layout. */
#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.singleLine
  .askAiroComposerActions {
  display: contents;
}

#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.singleLine
  .askAiroComposerActionsLeft {
  order: -1;
  flex-shrink: 0;
}

#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.singleLine
  .askAiroComposerActionsRight {
  order: 1;
  flex-shrink: 0;
}

/* Also keep the gradient border as a pill in singleLine */
#askAiroSidebar.open.fullscreen .askAiroComposerBox.singleLine::before {
  border-radius: 999px;
}

/* ── Collapsed composer (scrolled away / blurred in fullscreen) ── */
#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.composerCollapsed
  .askAiroComposerInput {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-height: 1.6em;
  min-height: auto;
  cursor: pointer;
}

#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.composerCollapsed
  .askAiroContextChips {
  display: none !important;
}

#askAiroSidebar.open.fullscreen
  .askAiroComposerBox.composerCollapsed
  .askAiroComposerCharCount {
  display: none !important;
}

#askAiroSidebar.open.fullscreen
  .askAiroMessage.assistant
  .askAiroMessageBubble {
  max-width: 100% !important;
}

#askAiroSidebar.open.fullscreen
  .askAiroMessage.assistant
  .askAiroMessageActions {
  max-width: 100% !important;
}

@media (max-width: 1023px) {
  #askAiroSidebar.open.fullscreen {
    left: 0;
    /* menu moves to bottom bar on mobile */
  }
}

/* When the menu is hidden, the sidebar should take the full width */
body:has(#menu.hidden) #askAiroSidebar.open.fullscreen {
  left: 0;
}

#askAiroSidebar.open #askAiroSidebarBody {
  display: flex;
  background: radial-gradient(
    226.3% 104.04% at 110.1% -25.21%,
    rgba(249, 146, 0, 0.04) 0%,
    rgba(238, 147, 116, 0.04) 0.01%,
    rgba(243, 146, 61, 0.04) 7.12%,
    rgba(227, 138, 162, 0.04) 15.02%,
    rgba(214, 131, 242, 0.04) 24.26%,
    rgba(199, 111, 246, 0.04) 35.42%,
    rgba(27, 145, 237, 0.04) 42.79%,
    rgba(255, 255, 255, 0.04) 73.08%,
    rgba(255, 255, 255, 0.04) 100%
  );
}

/* Make background opaque when chat has messages */
#askAiroSidebar.open #askAiroSidebarBody:has(.askAiroContent.hasMessages) {
  background: var(--ro-colors-component-opaque);
}

@media (max-width: 1300px) {
  #askAiroSidebar {
    position: fixed;
    top: 20px;
    right: 20px;
    height: 96%;
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: none;
  }
}

#askAiroSidebarBody.askAiro {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

#askAiroSidebarBody.askAiro.menuOpen .askAiroHeader,
#askAiroSidebarBody.askAiro.menuOpen .askAiroContent,
#askAiroSidebarBody.askAiro.menuOpen .askAiroComposer,
#askAiroSidebarBody.askAiro.menuOpen .askAiroSuggestions {
  display: none !important;
}

#askAiroSidebarBody.askAiro.menuOpen .askAiroMenuHeader {
  display: flex;
}

#askAiroSidebarBody.askAiro.menuOpen .askAiroMenu {
  display: flex;
}

#askAiroSidebarBody.askAiro .header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.askAiroContent {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.askAiroWelcome {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 360px;
  width: 100%;
  padding: 16px;
  margin: auto;
}

.askAiroChat {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  flex-direction: column;
  gap: 12px;
}

/* Scroll-down button */
.askAiroScrollDown {
  display: none !important;
  position: absolute !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  border-radius: 999px !important;

  i {
    transform: rotate(180deg);
  }
}

.askAiroScrollDown.visible {
  display: inline-flex !important;
}

.askAiroContent.hasMessages .askAiroWelcome {
  display: none;
}

.askAiroContent.hasMessages .askAiroChat {
  display: flex;
}

/* Chat skeleton loader */
.askAiroChatSkeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Skeleton message row */
.askAiroSkMsg {
  display: flex;
}

.askAiroSkUser {
  justify-content: flex-end;
}

.askAiroSkAssistant {
  justify-content: flex-start;
}

/* Skeleton bubbles - match real chat bubble styling */
.askAiroSkBubble {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.askAiroSkBubbleUser {
  max-width: 75%;
  border-radius: 24px 0 24px 24px;
  background: linear-gradient(
    135deg,
    rgba(249, 146, 0, 0.04) 0%,
    rgba(238, 147, 116, 0.04) 0.01%,
    rgba(243, 146, 61, 0.04) 12.5%,
    rgba(227, 138, 162, 0.04) 26.44%,
    rgba(214, 131, 242, 0.04) 37.5%,
    rgba(201, 114, 245, 0.04) 50.96%,
    rgba(185, 92, 249, 0.04) 63.46%,
    rgba(134, 122, 247, 0.04) 75%,
    rgba(79, 154, 245, 0.04) 87.32%,
    rgba(127, 162, 253, 0.04) 99.99%,
    rgba(27, 145, 237, 0.04) 100%
  );
}

.askAiroSkBubbleAssistant {
  width: 85%;
  background: var(--ro-colors-component-regular);
  border-radius: 0 24px 24px 24px;
}

/* Skeleton text lines */
.askAiroSkLine {
  height: 14px;
  border-radius: 6px;
  background: var(--ro-colors-component-hover);
  position: relative;
  overflow: hidden;
}

.askAiroSkBubbleUser .askAiroSkLine {
  background: rgba(180, 160, 220, 0.12);
}

/* Shimmer effect on each line */
.askAiroSkLine::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  animation: askAiroSkShimmer 1.8s ease-in-out infinite;
}

/* Stagger shimmer per message for a wave effect */
.askAiroSkMsg:nth-child(1) .askAiroSkLine::after {
  animation-delay: 0s;
}

.askAiroSkMsg:nth-child(2) .askAiroSkLine::after {
  animation-delay: 0.2s;
}

.askAiroSkMsg:nth-child(3) .askAiroSkLine::after {
  animation-delay: 0.4s;
}

.askAiroSkMsg:nth-child(4) .askAiroSkLine::after {
  animation-delay: 0.6s;
}

.askAiroSkMsg:nth-child(5) .askAiroSkLine::after {
  animation-delay: 0.8s;
}

.askAiroSkMsg:nth-child(6) .askAiroSkLine::after {
  animation-delay: 1s;
}

@keyframes askAiroSkShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.askAiroMascot {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  width: 100%;
}

.askAiroMascot img {
  width: 120px;
  height: 120px;
  display: block;
}

.header {
  display: flex;
  gap: 24px;

  .askAiroWelcomeTitle {
    margin-bottom: 12px;
    color: var(--ro-colors-text-primary);
  }

  .askAiroWelcomeDesc {
    margin-bottom: 32px;
    color: var(--ro-colors-text-secondary);
  }
}

.askAiroSuggestions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.askAiroSuggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  justify-content: flex-start;
}

.askAiroSuggestionIcon {
  flex-shrink: 0;
  display: block;
}

.askAiroSuggestion span {
  flex: 1;
}

/* Message styles */
.askAiroMessage {
  display: flex;
  flex-direction: column;
}

.askAiroMessage.user {
  align-items: flex-end;
}

.askAiroMessage.assistant {
  align-items: flex-start;

  .askAiroMessageBubble {
    max-width: 100% !important;
    width: 100% !important;
  }
}

.askAiroMessageBubble {
  max-width: 75%;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  word-wrap: break-word;
  overflow: hidden;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.askAiroMessage.user .askAiroMessageBubble {
  background: linear-gradient(
    135deg,
    rgba(249, 146, 0, 0.04) 0%,
    rgba(238, 147, 116, 0.04) 0.01%,
    rgba(243, 146, 61, 0.04) 12.5%,
    rgba(227, 138, 162, 0.04) 26.44%,
    rgba(214, 131, 242, 0.04) 37.5%,
    rgba(201, 114, 245, 0.04) 50.96%,
    rgba(185, 92, 249, 0.04) 63.46%,
    rgba(134, 122, 247, 0.04) 75%,
    rgba(79, 154, 245, 0.04) 87.32%,
    rgba(127, 162, 253, 0.04) 99.99%,
    rgba(27, 145, 237, 0.04) 100%
  );
  border-radius: 24px 0 24px 24px;
}

/* Markdown content styling */
.askAiroMessageMarkdown {
  font-size: 14px;
  line-height: 1.5;
}

/* User messages may contain inline chips mixed with text – use flex to vertically center them */
.askAiroMessage.user .askAiroMessageMarkdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.askAiroMessageMarkdown p {
  margin-top: 0;
  line-height: 150%;
}

.askAiroMessageMarkdown li {
  line-height: 150%;
}

/* Vertically align inline chips, buttons, and links with surrounding text */
.askAiroMessageMarkdown .askAiroInlineChip,
.askAiroMessageMarkdown .ro-btn {
  vertical-align: middle;
}

/* Markdown emoji → icon replacements */
.askAiroMdIcon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}

i.askAiroMdIcon {
  font-size: 18px;
  line-height: 1;
}

img.askAiroMdIcon {
  object-fit: contain;
}

/* Platform badge (replaces raw identifiers like "ringover_meet_v3" with icon + label) */
.askAiroPlatformBadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
  vertical-align: middle;
  white-space: nowrap;
  line-height: 1.4;
}

.askAiroPlatformBadgeIcon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.askAiroMessageMarkdown p:last-child {
  margin-bottom: 0;
}

.askAiroMessageMarkdown strong {
  font-weight: 600;
  color: var(--ro-colors-text-primary);
}

.askAiroMessageMarkdown em {
  font-style: italic;
  color: var(--ro-colors-text-primary);
}

.askAiroMessageMarkdown h1,
.askAiroMessageMarkdown h2,
.askAiroMessageMarkdown h3,
.askAiroMessageMarkdown h4,
.askAiroMessageMarkdown h5,
.askAiroMessageMarkdown h6 {
  font-weight: 600;
  color: var(--ro-colors-text-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}

.askAiroMessageMarkdown h1:first-child,
.askAiroMessageMarkdown h2:first-child,
.askAiroMessageMarkdown h3:first-child,
.askAiroMessageMarkdown h4:first-child,
.askAiroMessageMarkdown h5:first-child,
.askAiroMessageMarkdown h6:first-child {
  margin-top: 0;
}

.askAiroMessageMarkdown h1 {
  font-size: 18px;
}

.askAiroMessageMarkdown h2 {
  font-size: 16px;
}

.askAiroMessageMarkdown h3 {
  font-size: 14px;
}

.askAiroMessageMarkdown h4,
.askAiroMessageMarkdown h5,
.askAiroMessageMarkdown h6 {
  font-size: 14px;
}

.askAiroMessageMarkdown ul,
.askAiroMessageMarkdown ol {
  margin-bottom: 8px;
  padding-left: 20px;
}

.askAiroMessageMarkdown ul {
  list-style-type: disc;
}

.askAiroMessageMarkdown ol {
  list-style-type: decimal;
}

.askAiroMessageMarkdown a {
  color: var(--ro-colors-accent);
}

.askAiroMessageMarkdown li {
  margin-bottom: 4px;
}

.askAiroMessageMarkdown pre code {
  background: none;
  padding: 0;
}

.askAiroMessageMarkdown a {
  text-decoration: none;
}

.askAiroMessageMarkdown blockquote,
.askAiroMessageMarkdown code,
.askAiroMessageMarkdown pre {
  border-left: 4px solid var(--ro-colors-accent);
  padding-left: 12px;
  margin: 8px 0;
}

.askAiroMessageMarkdown hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.askAiroMessageMarkdown table {
  min-width: 100%;
  width: max-content;
  border-collapse: collapse;
  margin: 12px 0;
  background-color: var(--ro-colors-component-opaque);
  border-radius: 8px;
  overflow: hidden;
}

.askAiroMessageMarkdown tr {
  border-bottom: 2px solid var(--ro-colors-border-regular);
  height: 52px;
}

.askAiroMessageMarkdown th,
.askAiroMessageMarkdown td {
  padding: 8px 12px;
  text-align: left;
  max-width: 420px;
}

.askAiroMessageMarkdown tbody tr:last-child td {
  border-bottom: none;
}

.askAiroMessageMarkdown th {
  font-weight: 600;
  color: var(--ro-colors-text-primary);
}

.askAiroMessageMarkdown td {
  color: var(--ro-colors-text-primary);
}

.askAiroMessageMarkdown a.askAiroLogsLink {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
  width: fit-content;
  justify-content: flex-start;
  white-space: nowrap;
}

.askAiroMessageMarkdown a.askAiroLogsLinkLoading {
  pointer-events: none;
  opacity: 0.6;
}

.askAiroMessageMarkdown a.askAiroLogsLinkLoading i.ro-icon {
  display: none;
}

.askAiroMessageMarkdown a.askAiroLogsLinkLoading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ro-colors-accent-light);
  border-top-color: var(--ro-colors-accent);
  border-radius: 50%;
  animation: askAiroLogsLinkSpin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes askAiroLogsLinkSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Private call chip (404 / inaccessible calls) */
.askAiroPrivateCallChip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  border-radius: 8px;
  background: var(--ro-colors-component-regular);
  color: var(--ro-colors-text-intermediate);
  font-size: 14px;
  line-height: 1.4;
  cursor: default;
  position: relative;
  pointer-events: auto;
}

.askAiroPrivateCallChip .ro-icon-lock-private {
  font-size: 18px;
  color: var(--ro-colors-text-intermediate);
  flex-shrink: 0;
}

.askAiroPrivateCallChipText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

/* Smart tooltip (auto-positioned via JS) */
.askAiroSmartTooltip {
  position: fixed;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.askAiroSmartTooltip.visible {
  opacity: 1;
}

/* Table wrapper with collapsible overflow */
.askAiroTableWrapper {
  position: relative;
  max-height: 550px;
  overflow: hidden;
  overflow-x: auto;
  transition: max-height 0.3s ease;
}

.askAiroTableWrapper.expanded {
  max-height: none;
}

.askAiroTableWrapper:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--ro-colors-component-opaque)
  );
  pointer-events: none;
}

.askAiroTableToggle {
  display: none !important;
  margin: 12px 0 !important;
}

.askAiroTableToggle.visible {
  display: inline-flex !important;
}

/* Table context selection checkboxes */
.askAiroTableCheckboxCell {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  text-align: center;
  padding: 8px !important;
  vertical-align: middle;
}

.askAiroTableCheckbox {
  cursor: pointer;
}

.askAiroMessageMarkdown tbody tr.selected {
  background: var(--ro-colors-accent-light);
}

/* Flash-highlight when a table-row chip is clicked */
.askAiroMessageMarkdown tbody tr.askAiroTableRowHighlight {
  animation: askAiroRowFlash 1.5s ease;
}

@keyframes askAiroRowFlash {
  0%,
  30% {
    background: var(--ro-colors-accent-active-light);
  }

  100% {
    background: transparent;
  }
}

/* Make read-only table-row chips clickable */
.askAiroTableRowChip {
  cursor: pointer;
}

/* Table cell calls button + popover */
.askAiroTableCallsBtn {
  white-space: nowrap;
}

.askAiroTableCallsBtn.active {
  background: var(--ro-colors-accent-light);
}

.askAiroTableCallsPopover {
  position: fixed;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  width: max-content;
  padding: 8px;
  background: var(--ro-colors-component-opaque);
  border: 1px solid var(--ro-colors-border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  gap: 4px;
}

.askAiroTableCallsPopoverItem {
  justify-content: flex-start;
  white-space: nowrap;
  border-radius: 6px;
}

.askAiroTableCallsPopoverItem:hover {
  background: var(--ro-colors-accent-light);
}

/* Options styling */
.askAiroMessageOptions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

/* Followups container styling */
.askAiroMessageFollowups {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  margin-top: 8px;
  width: 100%;
}

/* Followup styling */
.askAiroMessageFollowup {
  justify-content: flex-start !important;
}

/* Action buttons styling */
.askAiroMessageActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 8px;
}

.askAiroMessageActionsLeft,
.askAiroMessageActionsRight {
  display: flex;
  align-items: center;
  gap: 8px;
}

.askAiroMessageAction {
  color: var(--ro-colors-text-secondary);
  transition: color 0.2s ease;
}

/* More options dropdown */
.askAiroMessageActionMoreContainer {
  position: relative;
}

.askAiroMessageActionMoreDropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--ro-colors-component-opaque);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 4px;
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.askAiroMessageActionMoreDropdown.above {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 8px;
}

.askAiroMessageActionMoreDropdown.open {
  display: flex;
}

.askAiroMessageActionMoreItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--ro-colors-text-intermediate);
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  text-align: left;
  width: 100%;
}

.askAiroMessageActionMoreItem:hover {
  background-color: var(--ro-colors-accent-light);
}

.askAiroMessageActionMoreItem i {
  color: var(--ro-colors-text-intermediate);
}

.askAiroMessageAction:hover {
  color: var(--ro-colors-text-primary);
}

.askAiroThumbsDownIcon {
  transform: rotate(180deg);
}

.askAiroMessageAction.askAiroThumbsUpActive,
.askAiroReasoningResponseAction.askAiroThumbsUpActive {
  color: var(--ro-colors-success) !important;
  opacity: 1 !important;
}

.askAiroMessageAction.askAiroThumbsDownActive,
.askAiroReasoningResponseAction.askAiroThumbsDownActive {
  color: var(--ro-colors-danger) !important;
  opacity: 1 !important;
}

.askAiroMessageAction.askAiroThumbsDisabled,
.askAiroReasoningResponseAction.askAiroThumbsDisabled {
  opacity: 0.4 !important;
  pointer-events: none;
}

/* Error message styles */
.askAiroErrorMessage {
  align-items: flex-start;
}

.askAiroErrorContent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.askAiroErrorIcon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.askAiroErrorText {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ro-colors-warning);
}

.askAiroErrorThreadId {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.askAiroErrorThreadIdText {
  font-size: 12px;
  color: var(--ro-colors-content-secondary);
  user-select: all;
}

.askAiroErrorRetry {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

/* Reasoning state styles */
.askAiroReasoning {
  align-items: flex-start;
  width: 100%;
}

.askAiroReasoningHeader {
  display: flex;
  align-items: center;
  max-width: 75%;
  width: 100%;
  background: transparent;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
}

.askAiroReasoningHeader:hover {
  opacity: 0.9;
}

.askAiroReasoningHeaderLeft {
  display: flex;
  align-items: center;
  gap: 8px;
}

.askAiroReasoningIcon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.askAiroReasoningTitle {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
}

/* Shining animation for reasoning loader (text only, icon stays static) */
.askAiroReasoning .askAiroReasoningTitle {
  background: linear-gradient(
    90deg,
    var(--ro-colors-text-intermediate) 0%,
    var(--ro-colors-text-secondary) 50%,
    var(--ro-colors-text-intermediate) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: askAiroReasoningShine 2s linear infinite;
}

@keyframes askAiroReasoningShine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.askAiroReasoningCaret {
  flex-shrink: 0;
  color: var(--ro-colors-text-secondary);
  transition: transform 0.2s ease;
}

.askAiroReasoningSteps {
  display: none;
  flex-direction: column;
  gap: 16px;
  max-width: 75%;
  width: 100%;
  padding-left: 28px;
  padding-top: 16px;
}

.askAiroReasoningSteps.expanded {
  display: flex;
}

.askAiroReasoningStep {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: askAiroStepSlideIn 0.4s ease forwards;
}

.askAiroReasoningStep:nth-child(1) {
  animation-delay: 0s;
}

.askAiroReasoningStep:nth-child(2) {
  animation-delay: 4s;
}

.askAiroReasoningStep:nth-child(3) {
  animation-delay: 8s;
}

.askAiroReasoningStep:nth-child(4) {
  animation-delay: 12s;
}

@keyframes askAiroStepSlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.askAiroReasoningStepIcon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.askAiroReasoningStepText {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  line-height: 1.5;
}

/* Reasoning response styles (after API response) */
.askAiroReasoningResponse {
  align-items: flex-start;
  width: 100%;
}

.askAiroReasoningResponseHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 75%;
  width: 100%;
  background: transparent;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
  padding: 0;
}

.askAiroReasoningResponseHeader:hover {
  opacity: 0.9;
}

.askAiroReasoningResponseHeaderLeft {
  display: flex;
  align-items: center;
  gap: 8px;
}

.askAiroReasoningResponseIcon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.askAiroReasoningResponseTitle {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
}

.askAiroReasoningResponseCaret {
  flex-shrink: 0;
  color: var(--ro-colors-text-secondary);
  transition: transform 0.2s ease;
}

.askAiroReasoningResponseContent {
  display: none;
  flex-direction: column;
  gap: 16px;
  max-width: 75%;
  width: 100%;
  padding-left: 28px;
  padding-top: 16px;
}

.askAiroReasoningResponseContent.expanded {
  display: flex;
}

.askAiroReasoningResponseItem {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.askAiroReasoningResponseItemNumber {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
  flex-shrink: 0;
}

.askAiroReasoningResponseItemContent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.askAiroReasoningResponseItemText {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  line-height: 1.5;
}

.askAiroReasoningResponseSubList {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.askAiroReasoningResponseSubList li {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  line-height: 1.5;
  margin-bottom: 4px;
}

/* Action buttons */
.askAiroReasoningResponseActions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 0 28px;
  max-width: 75%;
}

.askAiroReasoningResponseAction {
  color: var(--ro-colors-text-secondary);
}

.askAiroReasoningResponseAction:hover {
  color: var(--ro-colors-text-primary);
}

/* Followup suggestions */
.askAiroReasoningResponseFollowups {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 0 28px;
  max-width: 75%;
}

.askAiroReasoningResponseFollowup {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  justify-content: flex-start;
}

.askAiroMenu {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.askAiroMenuHeader {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 16px;
}

.askAiroMenuContent {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 16px 16px;
}

.askAiroMenuSection {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.askAiroMenuSectionTitle {
  color: var(--ro-colors-text-primary);
  margin: 0;
}

.askAiroMenuHistoryHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.askAiroMenuHistoryNewChat {
  white-space: nowrap;
}

.askAiroMenuHistorySearchWrap {
  flex-shrink: 0;
  margin-bottom: 4px;
}

/* (date grouping removed – flat list with pinned-first sorting) */

.askAiroMenuHistoryList {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  gap: 8px;
}

/* Empty state for chat history */
.askAiroMenuHistoryEmpty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  height: 80%;
}

/* Infinite scroll loading indicator */
.askAiroHistoryLoader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
}

.askAiroHistoryLoaderDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ro-colors-text-secondary);
  animation: askAiroHistoryBounce 1.2s ease-in-out infinite;
}

.askAiroHistoryLoaderDot:nth-child(2) {
  animation-delay: 0.15s;
}

.askAiroHistoryLoaderDot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes askAiroHistoryBounce {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.askAiroMenuHistorySection.empty .askAiroMenuHistoryList {
  display: none;
}

.askAiroMenuHistorySection.empty .askAiroMenuHistoryEmpty {
  display: flex;
}

.askAiroMenuHistoryEmptyImg {
  height: auto;
}

.askAiroMenuHistoryEmptyText {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.askAiroMenuHistoryEmptyTitle {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: var(--ro-colors-text-primary);
  margin: 0;
}

.askAiroMenuHistoryEmptyDesc {
  font-weight: 400;
  line-height: 18px;
  color: var(--ro-colors-text-secondary);
  margin: 0;
}

.askAiroMenuHistoryItem {
  padding: 4px 8px !important;
  color: var(--ro-colors-text-intermediate);
}

.askAiroMenuHistoryText {
  flex: 1;
  min-width: 0;
  color: var(--ro-colors-text-intermediate);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.askAiroMenuHistoryInput {
  flex: 1;
  min-width: 0;
}

.askAiroMenuHistoryActions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}

.askAiroMenuHistoryItem:hover .askAiroMenuHistoryActions,
.askAiroMenuHistoryItem
  .askAiroMenuHistoryActions:has(.askAiroMenuHistoryDropdown.open) {
  opacity: 1;
  visibility: visible;
}

.askAiroMenuHistoryPinIcon {
  width: 20px;
  height: 20px;
  display: block;
}

.askAiroMenuHistoryItem.pinned .askAiroMenuHistoryPin {
  opacity: 1;
  visibility: visible;
}

.askAiroMenuHistoryItem.pinned .askAiroMenuHistoryActions {
  opacity: 1;
  visibility: visible;
}

.askAiroMenuHistoryKebabWrap {
  position: relative;
  display: none;
}

.askAiroMenuHistoryItem:hover .askAiroMenuHistoryKebabWrap,
.askAiroMenuHistoryKebabWrap:has(.askAiroMenuHistoryDropdown.open) {
  display: flex;
}

.askAiroMenuHistoryDropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  min-width: 160px;
  padding: 4px;
  background: var(--ro-colors-component-opaque);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-direction: column;
}

.askAiroMenuHistoryDropdown.open {
  display: flex;
}

.askAiroMenuHistoryDropdownItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--ro-colors-text-intermediate);
  border-radius: 6px;
  transition: background-color 0.2s ease;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

.askAiroMenuHistoryDropdownItem:hover {
  background-color: var(--ro-colors-accent-light);
}

.askAiroMenuHistoryDropdownItem i {
  color: var(--ro-colors-text-intermediate);
}

.askAiroMenuHistoryDropdownItemDanger {
  color: var(--ro-colors-text-danger, #d32f2f);
}

.askAiroMenuHistoryDropdownItemDanger i {
  color: var(--ro-colors-text-danger, #d32f2f);
}

.askAiroMenuHistoryDropdownItemDanger:hover {
  background-color: var(--ro-colors-accent-light);
}

.askAiroMenuHistoryEditActions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.askAiroMenuHistoryItem.editing {
  padding: 0;
  cursor: default;
  pointer-events: auto;
  display: flex;
}

.askAiroMenuHistoryItem.editing:hover {
  background: transparent;
  border-color: transparent;
}

.askAiroMenuHistoryItem.editing .askAiroMenuHistoryInput {
  margin-right: 8px;
}

/* Menu footer - fixed at bottom */
.askAiroMenuFooter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-top: 1px solid var(--ro-colors-border-regular);
  flex-shrink: 0;
}

.askAiroMenuFooter .askAiroMenuAction {
  justify-content: flex-start;
  width: 100%;
}

.askAiroMenuShortcuts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.askAiroMenuShortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  justify-content: flex-start;
}

.askAiroMenuShortcut i,
.askAiroMenuShortcut img {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.askAiroMenuSuggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.askAiroMenuSuggestion,
.askAiroMenuAction {
  justify-content: flex-start !important;
}

.askAiroMenuFooter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--ro-colors-border-light);
  flex-shrink: 0;
}

/* Context popup styles (@ mention) */
.askAiroContextPopup {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: var(--ro-colors-component-opaque);
  border: 1px solid var(--ro-colors-border-light);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

.askAiroContextPopup.open {
  display: flex;
}

.askAiroContextPopupTitle {
  font-weight: 500;
  color: var(--ro-colors-text-secondary);
  padding: 4px 8px 8px;
}

.askAiroContextPopupList {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.askAiroContextItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.askAiroContextItem:hover,
.askAiroContextItem.selected {
  background: var(--ro-colors-accent-light);
}

.askAiroContextItemIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--ro-colors-text-intermediate);
}

.askAiroContextItemInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.askAiroContextItemTitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--ro-colors-text-primary);
}

.askAiroContextItemDesc {
  color: var(--ro-colors-text-secondary);
  line-height: 1.3;
}

/* Context Search Dropdown (after selecting a context type) */
.askAiroContextSearch {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: var(--ro-colors-component-opaque);
  border: 1px solid var(--ro-colors-border-light);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-height: 400px;
  overflow-y: auto;
  z-index: 11;
  flex-direction: column;
}

.askAiroContextSearch.open {
  display: flex;
}

.askAiroContextSearchTitle {
  font-weight: 500;
  color: var(--ro-colors-text-secondary);
  padding: 16px 16px 8px;
}

.askAiroContextSearchResults {
  padding: 4px 8px 8px;
}

.askAiroContextSearchItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.askAiroContextSearchItem:hover,
.askAiroContextSearchItem.selected {
  background: var(--ro-colors-accent-light);
}

.askAiroContextSearchItemAvatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  background-size: cover;
  background-position: center;
}

.askAiroContextSearchItemInfo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.askAiroContextSearchItemName {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ro-colors-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;

  img {
    height: 20px;
    width: 20px;
  }

  > div {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ro-colors-text-secondary);
    font-weight: 400;
    overflow: hidden;

    span {
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .askAiroContextSearchCrmMark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
  }

  .askAiroContextSearchCrmMark.sfIcon {
    background: #00a1e0;
  }

  .askAiroContextSearchCrmMark.sfIcon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  .askAiroContextSearchCrmMark.crmIcon {
    background: #f5f5f5;
  }

  .askAiroContextSearchCrmMark.crmIcon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
  }
}

.askAiroContextSearchItemMeta {
  color: var(--ro-colors-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 16px;

  > div {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;

    span {
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

.askAiroContextSearchItemMetaIcon {
  font-size: 14px;
  color: var(--ro-colors-text-secondary);
}

.askAiroContextSearchItemMetaSep {
  color: var(--ro-colors-text-secondary);
}

.askAiroContextSearchEmpty {
  padding: 24px 16px;
  text-align: center;
  color: var(--ro-colors-text-secondary);
  font-size: 14px;
}

/* Moment chip grid in context search */
.askAiroContextSearchMomentGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 8px 8px;
}

.askAiroContextSearchMomentChip {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: filter 0.15s ease;
  width: max-content;
  max-width: 100%;
}

.askAiroContextSearchMomentChip:hover,
.askAiroContextSearchMomentChip.selected {
  filter: brightness(0.92);
}

.askAiroContextSearchMomentEmoji {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.askAiroContextSearchMomentLabel {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Call search results ── */
.askAiroContextSearchCallList {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.askAiroCallSearchItem {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.askAiroCallSearchItem:last-child {
  border-bottom: none;
}

.askAiroCallSearchIcon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: no-repeat center / contain;
  flex-shrink: 0;
}

.askAiroCallSearchIcon.out {
  background-image: url("/img/icon/logs-out.svg");
}

.askAiroCallSearchIcon.in {
  background-image: url("/img/icon/logs-in.svg");
}

.askAiroCallSearchIcon.voicemail {
  background-image: url("/img/icon/logs-voicemail.svg");
}

.askAiroCallSearchIcon.upload-audio {
  background-image: url("/img/icon/logs-upload-audio.svg");
}

.askAiroCallSearchIcon.upload-video {
  background-image: url("/img/icon/logs-upload-video.svg");
}

.askAiroCallSearchIcon.video {
  background-image: url("/img/icon/logs-video.svg");
}

.askAiroCallSearchIcon.ringoverMeetIcon {
  background-image: url("/img/icon/ringover-meet.svg");
}

.askAiroCallSearchIcon.ringoverMeetV3Icon {
  background-image: url("/img/icon/ringover-meet-v3.svg");
}

.askAiroCallSearchIcon.googleMeetIcon {
  background-image: url("/img/icon/google-meet.svg");
}

.askAiroCallSearchIcon.zoomMeetIcon {
  background-image: url("/img/icon/zoom.svg");
}

.askAiroCallSearchIcon.teamsMeetIcon {
  background: #5059c91a no-repeat center / 20px;
  background-image: url("/img/icon/ms-teams-meet.svg");
}

.askAiroCallSearchIcon.zohoMeetIcon {
  background-image: url("/img/icon/zoho-meet.svg");
}

.askAiroCallSearchIcon.aircall {
  background-image: url("/img/icon/aircall.svg");
}

.askAiroCallSearchIcon.ringcentral {
  background-image: url("/img/icon/ringcentral.svg");
}

.askAiroCallSearchIcon.persona-call {
  background-image: url("/img/icon/logs-ai-graduate-cap2.svg");
}

.askAiroCallSearchInfo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.askAiroCallSearchName {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ro-colors-text-primary, #1a1a2e);
}

.askAiroCallSearchCrm {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.askAiroCallSearchCrmIcon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
}

.askAiroCallSearchMeta {
  font-size: 12px;
  font-weight: 500;
  color: var(--ro-colors-text-secondary, #6b7280);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.askAiroContextSearchLoading {
  padding: 24px 16px;
  text-align: center;
  color: var(--ro-colors-text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.askAiroContextSearchLoading .askAiroSpinner {
  width: 18px;
  height: 18px;
}

/* Context search skeleton loader */
.askAiroContextSearchSkeletonItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
}

.askAiroContextSearchSkAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    var(--ro-colors-component-regular) 25%,
    var(--ro-colors-component-light) 50%,
    var(--ro-colors-component-regular) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s linear infinite alternate;
}

.askAiroContextSearchSkInfo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.askAiroContextSearchSkInfo .askAiroSkLine {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--ro-colors-component-regular) 25%,
    var(--ro-colors-component-light) 50%,
    var(--ro-colors-component-regular) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s linear infinite alternate;
}

.askAiroContextSearchSkeletonItem:nth-child(2) .askAiroContextSearchSkAvatar,
.askAiroContextSearchSkeletonItem:nth-child(2) .askAiroSkLine {
  animation-delay: 0.15s;
}

.askAiroContextSearchSkeletonItem:nth-child(3) .askAiroContextSearchSkAvatar,
.askAiroContextSearchSkeletonItem:nth-child(3) .askAiroSkLine {
  animation-delay: 0.3s;
}

/* Templates popup styles */
.askAiroComposer {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.askAiroDailyLimitBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: fit-content;
  padding: 8px;
  border-radius: 12px;
  background: var(--ro-colors-danger-light);
  margin-bottom: 8px;
}

#askAiroSidebar.open.fullscreen .askAiroDailyLimitBanner {
  margin-bottom: 28px;
}

.askAiroDailyLimitContent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ro-colors-text-primary);
}

.askAiroDailyLimitContent > .ro-icon {
  color: var(--ro-colors-danger);
  font-size: 18px;
  flex-shrink: 0;
}

.askAiroDailyLimitClose {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  color: var(--ro-colors-text-secondary);
}

.askAiroDailyLimitClose:hover {
  color: var(--ro-colors-text-primary);
}

/* Entity "@" tip banner */
.askAiroEntityTip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--ro-colors-warning-light, #fff4e5);
  margin-bottom: 8px;
  width: 95%;
}

#askAiroSidebar.open.fullscreen .askAiroEntityTip {
  margin-bottom: 28px;
}

.askAiroEntityTipContent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  width: 100%;
}

.askAiroEntityTipContent > .ro-icon {
  color: var(--ro-colors-warning, #f59e0b);
  font-size: 18px;
  flex-shrink: 0;
}

.askAiroEntityTipClose {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  color: var(--ro-colors-text-primary);
}

.askAiroEntityTipClose:hover {
  color: var(--ro-colors-text-secondary);
}

.askAiroDisclaimerBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 95%;
  padding: 8px 12px;
  border-radius: 16px;
  background: var(--ro-colors-warning-light, #fff4e5);
  margin-bottom: 8px;
}

#askAiroSidebar.open.fullscreen .askAiroDisclaimerBanner {
  margin-bottom: 28px;
}

.askAiroDisclaimerContent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  width: 100%;
}

.askAiroDisclaimerContent > .ro-icon {
  color: var(--ro-colors-warning, #f59e0b);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.askAiroDisclaimerLink {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.askAiroDisclaimerClose {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  color: var(--ro-colors-text-primary);
}

.askAiroDisclaimerClose:hover {
  color: var(--ro-colors-text-secondary);
}

.askAiroDisclaimerFooter {
  font-size: 12px;
  color: var(--ro-colors-text-secondary);
  text-align: center;
  padding: 4px 2px;
}

.askAiroDisclaimerFooter .askAiroDisclaimerLink {
  color: var(--ro-colors-text-secondary);
}

.askAiroComposerInner {
  width: 100%;
  position: relative;
}

.askAiroQueueList {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  overflow-y: auto;
  background: var(--ro-colors-bg-overlay);
}

.askAiroQueueList.visible {
  display: flex;
}

.askAiroQueueItem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--ro-colors-component-regular);
  cursor: grab;
  animation: askAiroQueueSlideIn 0.2s ease-out;
  min-height: 36px;
}

.askAiroQueueItem:active {
  cursor: grabbing;
}

.askAiroQueueItem.dragging {
  opacity: 0.4;
}

.askAiroQueueItem.drag-over {
  border-color: var(--ro-colors-accent);
  background: var(--ro-colors-accent-light);
}

.askAiroQueueItem.editing {
  background: var(--ro-colors-component-accentuated);
}

.askAiroQueueDragHandle {
  display: flex;
  align-items: center;
  color: var(--ro-colors-text-secondary);
  flex-shrink: 0;
  cursor: grab;
}

.askAiroQueueDragHandle i {
  font-size: 14px;
}

.askAiroQueueItemText {
  flex: 1;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.askAiroQueueItemText .askAiroInlineChip {
  font-size: 12px;
  vertical-align: middle;
  flex-shrink: 0;
}

.askAiroQueueItemActions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.askAiroQueueItemDelete,
.askAiroQueueItemEdit {
  padding: 2px !important;
  min-width: unset !important;
  min-height: unset !important;
}

.askAiroQueueItemDelete i,
.askAiroQueueItemEdit i {
  font-size: 14px;
}

@keyframes askAiroQueueSlideIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

.askAiroTemplatesPopup {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  transform: translateY(-10px);
  z-index: 1000;
  width: 100%;
  height: 385px;
  display: none;
  padding: 12px;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  background: var(--ro-colors-component-opaque);
  box-shadow: 1px 6px 30px 0px rgba(18, 18, 18, 0.1);
}

.askAiroTemplatesPopup.open {
  display: flex;
}

.askAiroTemplatesPopup .askAiroTemplatesClose {
  position: absolute;
  right: 12px;
  top: 22px;
}

.askAiroTemplatesPinned {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  overflow: auto;
}

.askAiroTemplatesPinned.empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.askAiroTemplatesPinned.empty > p {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  width: 100%;
  text-align: center;
  color: var(--ro-colors-text-secondary);
}

.askAiroTemplatesAll {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  overflow: auto;
}

.askAiroTemplatesPopup.loaded[data-tab="pinned-templates"]
  .askAiroTemplatesPinned {
  display: flex;
}

.askAiroTemplatesPopup.loaded[data-tab="all-templates"] .askAiroTemplatesAll {
  display: flex;
}

.askAiroTemplatesPopup.error[data-tab="pinned-templates"]
  .askAiroTemplatesPinned {
  display: flex;
}

.askAiroTemplatesPopup.error[data-tab="all-templates"] .askAiroTemplatesAll {
  display: flex;
}

.askAiroTemplateChip {
  display: flex;
  padding: 4px 6px;
  justify-content: space-between;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 40px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.askAiroTemplateChip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.askAiroTemplateChip:active {
  transform: translateY(0);
}

.askAiroTemplateChip > div:first-child {
  width: 100%;
}

.askAiroTemplateChip > div:first-child > span:last-child {
  word-break: break-word;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.askAiroTemplateChipRedirect {
  margin-left: 12px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: url("/img/icon/redirect2.svg") no-repeat center / 16px;
  flex-shrink: 0;
  opacity: 1;
  cursor: pointer;
}

.askAiroTemplateChipRedirect:hover {
  opacity: 1;
  background-color: rgba(78, 110, 193, 0.2);
}

/* Template skeleton loader */
.askAiroTemplatesSkeleton {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  align-content: flex-start;
  min-height: 140px;
}

.askAiroTemplateSkChip {
  height: 30px;
  border-radius: 40px;
  background: linear-gradient(
    90deg,
    var(--ro-colors-component-regular) 25%,
    var(--ro-colors-component-light) 50%,
    var(--ro-colors-component-regular) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s linear infinite alternate;
  position: relative;
  overflow: hidden;
}

.askAiroTemplateSkChip:nth-child(1) {
  width: 140px;
}

.askAiroTemplateSkChip:nth-child(2) {
  width: 100px;
}

.askAiroTemplateSkChip:nth-child(3) {
  width: 170px;
}

.askAiroTemplateSkChip:nth-child(4) {
  width: 120px;
}

.askAiroTemplateSkChip:nth-child(5) {
  width: 155px;
}

.askAiroTemplateSkChip:nth-child(6) {
  width: 90px;
}

.askAiroTemplateSkChip:nth-child(7) {
  width: 130px;
}

.askAiroTemplateSkChip:nth-child(8) {
  width: 160px;
}

/* Fade skeleton out and content in when loaded */
.askAiroTemplatesSkeleton {
  transition: opacity 0.2s ease;
}

.askAiroTemplatesPopup.loaded .askAiroTemplatesSkeleton {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.askAiroTemplatesPopup.loading .askAiroTemplatesSkeleton {
  opacity: 1;
  position: relative;
  flex: 1;
}

.askAiroTemplatesPopup.error .askAiroTemplatesSkeleton {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.askAiroTemplatesPinned,
.askAiroTemplatesAll {
  animation: askAiroTemplateFadeIn 0.25s ease;
}

@keyframes askAiroTemplateFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

/* Loading state on individual template chip while fetching prompt */
.askAiroTemplateChip.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.askAiroTemplatesPopup.loading .askAiroTemplatesTab {
  pointer-events: none;
  opacity: 0.7;
}

.askAiroTemplateChip.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(78, 110, 193, 0.1) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: askAiroChipLoading 1.2s ease-in-out infinite;
}

@keyframes askAiroChipLoading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Empty state for templates */
.askAiroTemplatesEmpty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 24px 0;
}

.askAiroTemplatesEmpty p {
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-secondary);
  text-align: center;
}

.askAiroTemplatesError {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 160px;
  padding: 20px;
}

.askAiroTemplatesError p {
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-secondary);
  text-align: center;
  margin: 0;
}

.askAiroComposerTemplatesBtn.active {
  background-color: var(--ro-colors-component-hover);
}

.askAiroComposerBox {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
  border-radius: 24px;
  background: var(--ro-colors-component-opaque);
  width: 100%;
  border: 2px solid var(--ro-colors-border-light);
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.askAiroComposerInputWrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

/* Contenteditable composer input */
.askAiroComposerInput {
  border: none;
  outline: none;
  background: transparent;
  color: var(--ro-colors-text-primary);
  width: 100%;
  font-size: 14px;
  min-width: 0;
  min-height: 24px;
  max-height: 160px;
  overflow-y: auto;
  line-height: 1.6;
  word-wrap: break-word;
  white-space: pre-wrap;
  font-family: inherit;
}

.askAiroComposerInput.isEmpty:not(:focus)::before {
  content: attr(data-placeholder);
  color: var(--ro-colors-text-secondary);
  pointer-events: none;
}

/* Inline entity chip (finalized, inside contenteditable) */
.askAiroInlineChip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ro-colors-accent-light);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
  white-space: nowrap;
  line-height: 1.4;
  vertical-align: middle;
  cursor: default;
  user-select: all;
  margin: 2px;
  max-width: 180px;
  min-height: 32px;
}

.askAiroInlineChip .askAiroInlineChipName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.askAiroInlineChip .askAiroInlineChipAvatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.askAiroInlineChip .askAiroInlineChipAvatar.sfIcon {
  background: #00a1e0;
}

.askAiroInlineChip .askAiroInlineChipAvatar.sfIcon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.askAiroInlineChip .askAiroInlineChipAvatar.crmIcon {
  background: #f5f5f5;
  border-radius: 50%;
  overflow: hidden;
}

.askAiroInlineChip .askAiroInlineChipAvatar.crmIcon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 50%;
}

.askAiroContextChip .askAiroContextChipAvatar.sfIcon {
  background: #00a1e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.askAiroContextChip .askAiroContextChipAvatar.sfIcon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.askAiroContextChip .askAiroContextChipAvatar.crmIcon {
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.askAiroContextChip .askAiroContextChipAvatar.crmIcon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  border-radius: 50%;
}

.askAiroInlineChip .askAiroInlineChipAvatar.photoAvatar {
  background-size: cover;
  background-position: center;
}

/* Call source icon in inline chip */
.askAiroInlineChipCallIcon {
  background: no-repeat center / contain !important;
  border-radius: 0 !important;
}

.askAiroInlineChipCallIcon.out {
  background-image: url("/img/icon/logs-out.svg") !important;
}

.askAiroInlineChipCallIcon.in {
  background-image: url("/img/icon/logs-in.svg") !important;
}

.askAiroInlineChipCallIcon.voicemail {
  background-image: url("/img/icon/logs-voicemail.svg") !important;
}

.askAiroInlineChipCallIcon.upload-audio {
  background-image: url("/img/icon/logs-upload-audio.svg") !important;
}

.askAiroInlineChipCallIcon.upload-video {
  background-image: url("/img/icon/logs-upload-video.svg") !important;
}

.askAiroInlineChipCallIcon.video {
  background-image: url("/img/icon/logs-video.svg") !important;
}

.askAiroInlineChipCallIcon.ringoverMeetIcon {
  background-image: url("/img/icon/ringover-meet.svg") !important;
}

.askAiroInlineChipCallIcon.ringoverMeetV3Icon {
  background-image: url("/img/icon/ringover-meet-v3.svg") !important;
}

.askAiroInlineChipCallIcon.googleMeetIcon {
  background-image: url("/img/icon/google-meet.svg") !important;
}

.askAiroInlineChipCallIcon.zoomMeetIcon {
  background-image: url("/img/icon/zoom.svg") !important;
}

.askAiroInlineChipCallIcon.teamsMeetIcon {
  background-image: url("/img/icon/ms-teams-meet.svg") !important;
}

.askAiroInlineChipCallIcon.zohoMeetIcon {
  background-image: url("/img/icon/zoho-meet.svg") !important;
}

.askAiroInlineChipCallIcon.aircall {
  background-image: url("/img/icon/aircall.svg") !important;
}

.askAiroInlineChipCallIcon.ringcentral {
  background-image: url("/img/icon/ringcentral.svg") !important;
}

.askAiroInlineChipCallIcon.persona-call {
  background-image: url("/img/icon/logs-ai-graduate-cap2.svg") !important;
}

/* Close button on inline chip (only in composer) */
.askAiroInlineChip .askAiroInlineChipClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: var(--ro-colors-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 2px;
}

.askAiroInlineChip .askAiroInlineChipClose:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--ro-colors-text-primary);
}

/* ── Persistent context chips container (above composer input) ── */
.askAiroContextChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 4px 0;
  max-height: 76px;
  overflow: hidden;
  position: relative;
}

.askAiroContextChips.expanded {
  max-height: none;
}

.askAiroContextChipsMore {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ro-colors-accent);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  min-height: 32px;
  user-select: none;
  flex-shrink: 0;
}

.askAiroContextChipsMore:hover {
  background: var(--ro-colors-accent-light);
}

.askAiroContextChips:empty,
.askAiroContextChips[style*="display: none"] {
  display: none !important;
}

/* ── Recommendation chips (dashed, + icon) ── */
.askAiroContextChip.recommendation {
  border: 1px dashed var(--ro-colors-border-accentuated);
  background: transparent;
  cursor: pointer;
  padding-right: 6px;
  color: var(--ro-colors-text-intermediate);
}

.askAiroContextChip.recommendation:hover {
  border-color: var(--ro-colors-accent);
  background: var(--ro-colors-accent-light);
}

.askAiroContextChip.recommendation .askAiroContextChipAdd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ro-colors-text-secondary);
  line-height: 1;
  flex-shrink: 0;
}

.askAiroContextChip.recommendation:hover .askAiroContextChipAdd {
  color: var(--ro-colors-accent);
}

/* Dismiss (×) button on recommendation chips */
.askAiroContextChipDismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: var(--ro-colors-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 2px;
}

.askAiroContextChipDismiss:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--ro-colors-text-primary);
}

.askAiroContextChip .askAiroContextChipAvatar.photoAvatar {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.askAiroContextChip .askAiroContextChipAvatar.initialsAvatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--ro-colors-text-primary);
  line-height: 1;
}

.askAiroContextChip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--ro-colors-accent-light);
  border: 1px solid var(--ro-colors-border-light);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
  white-space: nowrap;
  line-height: 1.4;
  max-width: 220px;
  min-height: 32px;
  cursor: default;
  user-select: none;
}

.askAiroContextChip .askAiroContextChipAvatar {
  width: 18px;
  height: 18px;
  min-width: 16px;
  border-radius: 50%;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Reuse call icon classes from inline chips */
.askAiroContextChip .askAiroContextChipCallIcon.in {
  background-image: url("/img/icon/call-in.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.out {
  background-image: url("/img/icon/call-out.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.voicemail {
  background-image: url("/img/icon/voicemail.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.upload-audio {
  background-image: url("/img/icon/upload.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.upload-video {
  background-image: url("/img/icon/upload.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.ringoverMeetV3Icon {
  background-image: url("/img/icon/ringover-meet-v3.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.video {
  background-image: url("/img/icon/video.svg");
}

.askAiroContextChip .askAiroContextChipCallIcon.googleMeetIcon {
  background-image: url("/img/icon/google-meet.svg") !important;
}

.askAiroContextChip .askAiroContextChipCallIcon.zoomMeetIcon {
  background-image: url("/img/icon/zoom.svg") !important;
}

.askAiroContextChip .askAiroContextChipCallIcon.teamsMeetIcon {
  background-image: url("/img/icon/ms-teams-meet.svg") !important;
}

.askAiroContextChip .askAiroContextChipCallIcon.zohoMeetIcon {
  background-image: url("/img/icon/zoho-meet.svg") !important;
}

.askAiroContextChip .askAiroContextChipCallIcon.aircall {
  background-image: url("/img/icon/aircall.svg") !important;
}

.askAiroContextChip .askAiroContextChipCallIcon.ringcentral {
  background-image: url("/img/icon/ringcentral.svg") !important;
}

.askAiroContextChip .askAiroContextChipCallIcon.persona-call {
  background-image: url("/img/icon/logs-ai-graduate-cap2.svg") !important;
}

.askAiroContextChip .askAiroContextChipName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.askAiroContextChip .askAiroContextChipClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: var(--ro-colors-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 2px;
}

.askAiroContextChip .askAiroContextChipClose:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--ro-colors-text-primary);
}

/* Read-only chips inside chat messages (no close button, non-interactive) */
.askAiroMessage .askAiroInlineChip.readOnly {
  cursor: default;
  user-select: text;
  pointer-events: none;
}

.askAiroMessage .askAiroInlineChip.askAiroTableRowChip,
.askAiroMessage .askAiroInlineChip.askAiroCallChip {
  cursor: pointer !important;
  pointer-events: all !important;
}

.askAiroMessage .askAiroInlineChip.askAiroCallChip:hover {
  background: var(--ro-colors-accent-active-light);
}

.askAiroMessage .askAiroInlineChip.askAiroCallChip.askAiroLogsLinkLoading {
  opacity: 0.7;
  pointer-events: none !important;
}

/* Hide the call icon and show a spinner when loading */
.askAiroMessage
  .askAiroInlineChip.askAiroCallChip.askAiroLogsLinkLoading
  .askAiroInlineChipAvatar {
  background-image: none !important;
  position: relative;
}

.askAiroMessage
  .askAiroInlineChip.askAiroCallChip.askAiroLogsLinkLoading
  .askAiroInlineChipAvatar::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid var(--ro-colors-border-light);
  border-top-color: var(--ro-colors-accent);
  border-radius: 50%;
  animation: askAiroChipSpin 0.6s linear infinite;
}

/* Make persistent context chips clickable */
.askAiroContextChip {
  cursor: pointer;
}

.askAiroContextChip[data-type="call"]:hover {
  background: var(--ro-colors-accent-active-light);
}

.askAiroContextChip.askAiroLogsLinkLoading {
  opacity: 0.7;
  pointer-events: none;
}

/* Hide the call icon and show a spinner when loading */
.askAiroContextChip.askAiroLogsLinkLoading .askAiroContextChipAvatar {
  background-image: none !important;
  position: relative;
}

.askAiroContextChip.askAiroLogsLinkLoading .askAiroContextChipAvatar::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid var(--ro-colors-border-light);
  border-top-color: var(--ro-colors-accent);
  border-radius: 50%;
  animation: askAiroChipSpin 0.6s linear infinite;
}

@keyframes askAiroChipSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Inline search chip (temporary, during search) */
.askAiroInlineSearchChip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--ro-colors-accent-light);
  border: 1px solid var(--ro-colors-accent);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ro-colors-text-primary);
  white-space: nowrap;
  line-height: 1.4;
  vertical-align: middle;
  margin: 0 2px;
  height: 32px;
}

.askAiroInlineSearchChip .askAiroInlineSearchChipLabel {
  pointer-events: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.askAiroInlineSearchChip .askAiroInlineSearchChipInput {
  border: none;
  outline: none;
  background: transparent;
  font-weight: 400;
  color: var(--ro-colors-text-primary);
  padding: 0;
  margin: 0;
  margin-left: 2px;
  width: 100px;
  min-width: 30px;
  line-height: 1.4;
  font-family: inherit;
}

.askAiroComposerCharCount {
  display: flex;
  align-items: center;
}

.askAiroComposerCharCountText {
  font-size: 12px;
  color: var(--ro-colors-text-secondary);
}

.askAiroComposerCharCount.nearLimit .askAiroComposerCharCountText {
  color: var(--ro-text-danger, #e53935);
}

/* Conflict resolution bar (Replace / Merge / Cancel) */
.askAiroComposerConflict {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.askAiroComposerConflictActions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.askAiroComposerConflict .ro-divider {
  margin: 0;
}

.askAiroComposerConflictPreview {
  padding: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ro-colors-text-primary);
  max-height: 80px;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.askAiroComposerActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.askAiroComposerActionsRight {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Recording interface styles */
.askAiroComposerRecording {
  display: none;
  width: 100%;
}

.askAiroComposerRecordingBox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: var(--ro-colors-component-opaque);
  width: 100%;
  border: 2px solid var(--ro-colors-border-light);
  box-sizing: border-box;
  min-height: 148px;
}

.askAiroComposerRecordingWaveform {
  width: 100%;
  height: 40px;
  position: relative;
  overflow: hidden;
}

.askAiroComposerRecordingCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.askAiroComposerRecordingActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.askAiroComposerRecordingActionsLeft {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.askAiroComposerRecordingActionsRight {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.askAiroComposerRecordingButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.askAiroComposerRecordingButton:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.askAiroComposerRecordingButton:disabled:has(.voiceTyping-spinning) {
  opacity: 1;
  cursor: wait;
}

.askAiroHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 16px;

  .left {
    display: flex;
    align-items: center;
    gap: 12px;

    .askAiroHeaderTitle {
      flex: 1;
    }
  }
}

.askAiroHeaderNewChat {
  display: none !important;
  align-items: center;
  gap: 4px;
}

/* Show button only when there are messages in the chat */
#askAiroSidebarBody.askAiro:has(.askAiroContent.hasMessages)
  .askAiroHeaderNewChat {
  display: inline-flex !important;
}

.askAiroHeaderActions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.askAiroHeaderButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.askAiroHeaderButton img {
  width: 18px;
  height: 18px;
  display: block;
}

#popupRelatedCall.askAiroCallDetails {
  right: 500px;
}

/* In fullscreen, the popover is appended inside the sidebar —
   left offset is set dynamically in JS relative to the trigger element */
#askAiroSidebar.open.fullscreen #popupRelatedCall.askAiroCallDetails {
  position: absolute;
  right: auto;
  left: 20px;
  /* fallback; JS overrides via inline style */
  bottom: 20px;
  height: calc(100% - 100px);
  z-index: 20;
}

#askAiroSidebar.open.fullscreen .askAiroMenu {
  padding: 0 320px 24px 320px;
}

/* ── Calendar Not Connected card ── */
.askAiroCalendarNotConnected {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.askAiroCalendarNotConnectedText {
  margin: 0;
  font-size: 14px;
  color: var(--ro-colors-text-primary);
  line-height: 1.5;
}

.askAiroCalendarNotConnectedActions {
  display: flex;
  gap: 12px;
}

.askAiroCalendarConnect.ro-btn {
  border-radius: 0 12px 12px 12px;
  gap: 10px;

  .ro-btn-text {
    color: var(--ro-colors-text-primary);
  }
}

.askAiroCalendarConnect.ro-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Negative feedback popup */
#askAiroSidebar .askAiroFeedbackOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#askAiroSidebar .askAiroFeedbackOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

#askAiroSidebar .askAiroFeedbackPopup {
  background: var(--ro-colors-bg-primary, #fff);
  border: 1px solid var(--ro-colors-component-strong, #e0e0e0);
  border-radius: 16px;
  padding: 20px;
  width: 85%;
  max-width: 360px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

#askAiroSidebar .askAiroFeedbackOverlay.open .askAiroFeedbackPopup {
  transform: translateY(0);
}

#askAiroSidebar .askAiroFeedbackPopupHeader {
  font-size: 16px;
  font-weight: 600;
  color: var(--ro-colors-text-primary, #1a1a1a);
  margin: 0;
}

#askAiroSidebar .askAiroFeedbackPopupTextarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--ro-colors-component-strong, #d0d0d0);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ro-colors-text-primary, #1a1a1a);
  background: var(--ro-colors-bg-secondary, #f5f5f5);
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

#askAiroSidebar .askAiroFeedbackPopupTextarea:focus {
  border-color: var(--ro-colors-accent, #6c5ce7);
}

#askAiroSidebar .askAiroFeedbackPopupTextarea::placeholder {
  color: var(--ro-colors-text-tertiary, #999);
}

#askAiroSidebar .askAiroFeedbackPopupActions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

#askAiroSidebar .askAiroFeedbackPopupSubmit.ro-btn {
  background: var(--ro-colors-accent, #6c5ce7);
  color: #fff;
}

#askAiroSidebar .askAiroFeedbackPopupSubmit.ro-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Clear history confirm popup */
#askAiroSidebar .askAiroConfirmOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#askAiroSidebar .askAiroConfirmOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

#askAiroSidebar .askAiroConfirmPopup {
  background: var(--ro-colors-bg-primary, #fff);
  border: 1px solid var(--ro-colors-component-strong, #e0e0e0);
  border-radius: 16px;
  padding: 20px;
  width: 85%;
  max-width: 360px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

#askAiroSidebar .askAiroConfirmOverlay.open .askAiroConfirmPopup {
  transform: translateY(0);
}

#askAiroSidebar .askAiroConfirmPopupHeader {
  font-size: 16px;
  font-weight: 600;
  color: var(--ro-colors-text-primary, #1a1a1a);
  margin: 0;
}

#askAiroSidebar .askAiroConfirmPopupMessage {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ro-colors-text-secondary, #555);
  margin: 0;
}

#askAiroSidebar .askAiroConfirmPopupActions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ── Table / Chart Toggle ── */

.askAiroTableChartToggle {
  margin: 8px 0;
}

.askAiroToggleTabBar {
  margin-bottom: 8px;
}

/* When chart is inside a toggle, remove its outer margin so it sits flush */
.askAiroToggleView > .askAiroChartBlock {
  margin: 0;
}

/* ── Chart Visualization (inline, auto-generated by LLM) ── */

.askAiroChartBlock {
  margin: 12px 0;
  padding: 8px 0 0;
}

.askAiroChartCanvasWrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--ro-colors-accent) var(--ro-colors-accent-hover-light);
}

.askAiroChartCanvasWrapper.hasAgentAvatars {
  height: 332px;
}

.askAiroAgentAvatarRow {
  position: relative;
  height: 48px;
  width: 100%;
}

.askAiroAgentAvatarCell {
  position: absolute;
  transform: translateX(-50%);
  top: 6px;
}

.askAiroAgentAvatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dce4f5;
  border: 1.5px solid #4e6ec1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #4e6ec1;
  overflow: hidden;
  flex-shrink: 0;
}

.askAiroAgentAvatar.hasPhoto {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.askAiroAgentValueLabel {
  position: absolute;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  pointer-events: none;
}

.askAiroAgentValIcon {
  font-size: 11px;
  vertical-align: middle;
  margin-left: 1px;
}

.askAiroPieLayout {
  display: flex;
  align-items: center;
  gap: 24px;
}

.askAiroPieLayout .askAiroChartCanvasWrapper {
  width: 260px;
  min-width: 260px;
  height: 260px;
  flex-shrink: 0;
}

.askAiroPieLegend {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 18px 20px;
  align-content: center;
}

.askAiroPieLegendItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.askAiroPieLegendSwatch {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.askAiroPieLegendText {
  min-width: 0;
}

.askAiroPieLegendStat {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ro-colors-text-primary, #1a1a2e);
}

.askAiroPieLegendLabel {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ro-colors-text-secondary, #4a5568);
  word-break: break-word;
}

@media screen and (max-width: 767px) {
  .askAiroPieLayout {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .askAiroPieLayout .askAiroChartCanvasWrapper {
    width: 100%;
    min-width: 0;
    max-width: 260px;
    margin: 0 auto;
  }

  .askAiroPieLegend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
