/* Aero overrides made the user's Nexi bubble light while keeping white text. */
.assistant-shell .assistant-msg.user .assistant-bubble,
.assistant-shell .assistant-bubble-user {
  border: 1px solid rgba(228, 253, 255, .78) !important;
  background: linear-gradient(145deg, #31c6ef, #1688dd 64%, #0a66bd) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px rgba(255,255,255,.6), 0 10px 20px rgba(9, 102, 177, .22) !important;
}

.assistant-shell .assistant-msg.user .assistant-bubble :is(p, span, b, strong, li, em, small, a),
.assistant-shell .assistant-msg.user .assistant-answer-content {
  color: #ffffff !important;
  text-shadow: 0 1px rgba(0, 73, 138, .24);
}

.assistant-shell .assistant-msg.user .assistant-bubble a { text-decoration: underline; }

/* Quick prompts must remain readable even if the body route class is delayed. */
.assistant-shell .assistant-prompt-card {
  border-color: rgba(77, 192, 225, .55) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(214,249,255,.9)) !important;
  color: #103d58 !important;
}

.assistant-shell .assistant-prompt-card :is(b, span) {
  color: #103d58 !important;
  text-shadow: none !important;
}

.assistant-shell .assistant-prompt-card span { color: #39718c !important; }

[data-theme="dark"] .assistant-shell .assistant-msg.user .assistant-bubble,
body[data-theme="dark"] .assistant-shell .assistant-msg.user .assistant-bubble {
  border-color: rgba(170, 244, 255, .48) !important;
  background: linear-gradient(145deg, #137fae, #0b697f) !important;
}

[data-theme="dark"] .assistant-shell .assistant-prompt-card,
body[data-theme="dark"] .assistant-shell .assistant-prompt-card {
  border-color: rgba(118, 225, 242, .36) !important;
  background: linear-gradient(145deg, rgba(9, 75, 94, .96), rgba(14, 111, 107, .9)) !important;
}

[data-theme="dark"] .assistant-shell .assistant-prompt-card :is(b, span),
body[data-theme="dark"] .assistant-shell .assistant-prompt-card :is(b, span) { color: #eafcff !important; }

[data-theme="dark"] .assistant-shell .assistant-prompt-card span,
body[data-theme="dark"] .assistant-shell .assistant-prompt-card span { color: #b9f2f7 !important; }
