._toggleButton_quck2_1 {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a4ecc 0%, #2f50c9 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  z-index: 90;
  transition: all 0.3s ease-in-out;
  animation: _breathe_quck2_1 3s infinite ease-in-out;
}

._toggleButton_quck2_1:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

._toggleButton_quck2_1:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes _breathe_quck2_1 {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(42, 78, 204, 0.4), 0 0 15px 5px rgba(42, 78, 204, 0.6);
  }
}
._panel_quck2_42 {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: 420px;
  max-height: min(670px, 80vh);
  height: 100%;
  z-index: 1000;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: 100% 100%;
  transition: transform 0.22s ease, opacity 0.18s ease;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}
._panel_quck2_42[data-is-open=true] {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}
@media screen and (max-width: 600px) {
  ._panel_quck2_42 {
    width: 100%;
    height: var(--vh);
    max-height: unset;
    border-radius: 0;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }
  ._panel_quck2_42[data-is-open=true] {
    transform: translateY(0);
    opacity: 1;
  }
}

._closeAgent_quck2_87 {
  display: none;
}
@media screen and (max-width: 600px) {
  ._closeAgent_quck2_87 {
    display: block;
    border: none;
    outline: none;
    background-color: transparent;
  }
}

._header_quck2_99 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 20, 30, 0.04);
  background: linear-gradient(180deg, #fff, #fbfcfd);
}
._headerRight_quck2_107 {
  display: flex;
  align-items: center;
  gap: 12px;
}

._agentName_quck2_113 {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  display: flex;
  gap: 8px;
  align-items: center;
}

._body_quck2_125 {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

._authBox_quck2_133 {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
._authBoxTitle_quck2_141 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
}
._authBoxDescription_quck2_146 {
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 8px;
}
._authBoxButton_quck2_151 {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease, transform 0.15s ease;
}
._authBoxButton_quck2_151:hover {
  background: color-mix(in srgb, var(--primary), black 10%);
}
._authBoxButton_quck2_151:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}
._authBoxButton_quck2_151:active {
  transform: scale(0.97);
  background: color-mix(in srgb, var(--primary), black 15%);
}._newChatBtn_1xyyd_1 {
  background: #fff;
  border: 1px solid rgba(10, 20, 30, 0.06);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
._newChatBtn_1xyyd_1:hover {
  color: #2a4ecc;
  border-color: rgba(42, 78, 204, 0.5);
}
._newChatBtn_1xyyd_1:active {
  transform: scale(0.95);
}._empty_4htj6_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: baseline;
  text-align: center;
  padding: 0 20px;
  padding-bottom: 0;
  color: var(--muted);
  gap: 0;
  animation: _fadeUp_4htj6_1 0.4s ease;
}

._emptyIcon_4htj6_14 {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1333333333), rgba(59, 130, 246, 0.1333333333));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 12px rgba(37, 99, 235, 0.06);
}
._emptyIcon_4htj6_14 svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
}

._empty_4htj6_1 h2 {
  font-size: 18px;
  font-weight: 600;
  color: #0b2235;
  margin-bottom: 8px;
}

._empty_4htj6_1 p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 310px;
  margin-bottom: 12px;
}._root_156sd_1 {
  max-width: 78%;
  padding: 12px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  animation: _fadeUp_156sd_1 0.26s ease;
  white-space: pre-wrap;
  cursor: pointer;
  word-break: break-word;
}
._root_156sd_1[data-variant=left] {
  align-self: flex-start;
  background: #f5f7fa;
  color: #0b2235;
  border-bottom-left-radius: 6px;
}
._root_156sd_1[data-variant=right] {
  align-self: flex-end;
  background: #2a4ecc;
  color: #fff;
  border-bottom-right-radius: 6px;
}

@keyframes _fadeUp_156sd_1 {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
._thinking_156sd_35 {
  display: flex;
  gap: 6px;
  align-items: center;
}
._thinking_156sd_35 span {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: _bounce_156sd_1 1.4s infinite;
}
._thinking_156sd_35 span:nth-child(2) {
  animation-delay: 0.2s;
}
._thinking_156sd_35 span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes _bounce_156sd_1 {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}._messages_1ut3c_1 {
  flex: 1;
  overflow: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}
._messages_1ut3c_1::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
._messages_1ut3c_1::-webkit-scrollbar-track {
  background: transparent;
}
._messages_1ut3c_1::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  transition: background-color 0.2s;
}
._messages_1ut3c_1::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

._chipsList_1ut3c_27 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  align-items: center;
  padding: 12px;
}._chip_12s30_1 {
  padding: 8px 16px;
  border-radius: 12px;
  background: #f0f0f0;
  color: black;
  border: 1px solid rgba(10, 20, 30, 0.04);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
._chip_12s30_1:hover {
  transform: scale(1.05);
}
@media screen and (max-width: 600px) {
  ._chip_12s30_1 {
    width: 100%;
  }
}._root_16u43_1 {
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-top: 1px solid rgba(10, 20, 30, 0.04);
  position: relative;
}

._input_16u43_10 {
  flex: 1;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(10, 20, 30, 0.06);
  background: #fbfdff;
  outline: none;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  resize: none;
  max-height: 150px;
  box-shadow: inset 0 1px 2px rgba(10, 20, 30, 0.02);
}

._send_16u43_25 {
  width: 44px;
  height: 44px;
  margin-left: 10px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  color: var(--primary, #2a4ecc);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  outline: none;
}
._send_16u43_25:hover {
  color: rgba(42, 78, 204, 0.9);
}
._send_16u43_25:active {
  color: rgba(42, 78, 204, 0.5);
}
._send_16u43_25:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}
._send_16u43_25 svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}._root_q0q0o_1 {
  background: #fff;
  border: 1px solid rgba(10, 20, 30, 0.06);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
._root_q0q0o_1:hover {
  color: #2a4ecc;
  border-color: rgba(42, 78, 204, 0.5);
}
._root_q0q0o_1:active {
  transform: scale(0.95);
}._root_z8ua9_1 {
  --bg: #f6f7f8;
  --card: #ffffff;
  --muted: #97a0ad;
  --primary: #2563eb;
  --accent: #b00020;
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
}

._root_z8ua9_1 * {
  box-sizing: border-box;
  line-height: 18px;
}

._root_z8ua9_1 input,
._root_z8ua9_1 textarea,
._root_z8ua9_1 select {
  font-size: 16px;
}

._root_z8ua9_1 {
  margin: 0;
  font-family: "Roboto Mono", monospace;
  background: var(--bg);
  color: #0b2235;
}

@keyframes _blink_input_opacity_to_prevent_scrolling_when_focus_z8ua9_1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
._input--focused_z8ua9_36 {
  animation: _blink_input_opacity_to_prevent_scrolling_when_focus_z8ua9_1 0.01s;
}