/***=!! New design variables !!=***/
.ai-chat-trigger[data-v-41a097dc] {
  flex-shrink: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  width: 110px;
  justify-content: center;
  padding: 0 14px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.ai-chat-trigger i[data-v-41a097dc] {
  font-size: 0.875rem;
}
.ai-chat-trigger[data-v-41a097dc]:hover {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.35);
}
.ai-chat-trigger--active[data-v-41a097dc] {
  color: var(--extole-content-muted, #777777);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}
.ai-chat-trigger--active[data-v-41a097dc]:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}/***=!! New design variables !!=***/
.ai-chat-pane[data-v-0c99edc8] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.ai-chat-pane__card[data-v-0c99edc8] {
  background: var(--extole-surface, #ffffff);
  border: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.ai-chat-pane__header[data-v-0c99edc8] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  background: var(--extole-surface, #ffffff);
}
.ai-chat-pane__header-icon[data-v-0c99edc8] {
  width: 20px;
  height: 20px;
  color: #7c3aed;
  flex-shrink: 0;
}
.ai-chat-pane__title[data-v-0c99edc8] {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--extole-content, #3b445e);
  flex: 1;
}
.ai-chat-pane__badge[data-v-0c99edc8] {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.02em;
}
.ai-chat-pane__messages[data-v-0c99edc8] {
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  min-height: 0;
  flex: 1;
}
.ai-chat-message[data-v-0c99edc8] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 88%;
}
.ai-chat-message__body[data-v-0c99edc8] {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--extole-content, #333333);
}
.ai-chat-message__body[data-v-0c99edc8] p {
  margin: 0 0 8px;
}
.ai-chat-message__body[data-v-0c99edc8] p:last-child {
  margin-bottom: 0;
}
.ai-chat-message__body[data-v-0c99edc8] h1,
.ai-chat-message__body[data-v-0c99edc8] h2,
.ai-chat-message__body[data-v-0c99edc8] h3,
.ai-chat-message__body[data-v-0c99edc8] h4,
.ai-chat-message__body[data-v-0c99edc8] h5,
.ai-chat-message__body[data-v-0c99edc8] h6 {
  margin: 12px 0 6px;
  font-weight: 600;
  color: var(--extole-content, #3b445e);
  line-height: 1.3;
}
.ai-chat-message__body[data-v-0c99edc8] h1:first-child,
.ai-chat-message__body[data-v-0c99edc8] h2:first-child,
.ai-chat-message__body[data-v-0c99edc8] h3:first-child,
.ai-chat-message__body[data-v-0c99edc8] h4:first-child,
.ai-chat-message__body[data-v-0c99edc8] h5:first-child,
.ai-chat-message__body[data-v-0c99edc8] h6:first-child {
  margin-top: 0;
}
.ai-chat-message__body[data-v-0c99edc8] h1 {
  font-size: 1.125rem;
}
.ai-chat-message__body[data-v-0c99edc8] h2 {
  font-size: 1rem;
}
.ai-chat-message__body[data-v-0c99edc8] h3 {
  font-size: 0.9375rem;
}
.ai-chat-message__body[data-v-0c99edc8] h4,
.ai-chat-message__body[data-v-0c99edc8] h5,
.ai-chat-message__body[data-v-0c99edc8] h6 {
  font-size: 0.875rem;
}
.ai-chat-message__body[data-v-0c99edc8] strong {
  font-weight: 500;
}
.ai-chat-message__body[data-v-0c99edc8] em {
  font-style: italic;
}
.ai-chat-message__body[data-v-0c99edc8] code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.8125rem;
  background: var(--extole-surface-sunken, #f7f7f7);
  padding: 1px 4px;
  border-radius: 3px;
}
.ai-chat-message__body[data-v-0c99edc8] pre {
  margin: 8px 0;
  padding: 10px 12px;
  background: #3b445e;
  color: #ffffff;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.ai-chat-message__body[data-v-0c99edc8] pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}
.ai-chat-message__body[data-v-0c99edc8] ul,
.ai-chat-message__body[data-v-0c99edc8] ol {
  padding-left: 18px;
  margin: 6px 0;
}
.ai-chat-message__body[data-v-0c99edc8] ol {
  list-style: decimal;
}
.ai-chat-message__body[data-v-0c99edc8] li {
  margin-bottom: 4px;
}
.ai-chat-message__body[data-v-0c99edc8] blockquote {
  margin: 8px 0;
  padding: 6px 12px;
  border-left: 3px solid var(--extole-border, #cccccc);
  color: var(--extole-content-muted, #999999);
  font-style: italic;
}
.ai-chat-message__body[data-v-0c99edc8] a {
  color: #7c3aed;
  text-decoration: underline;
}
.ai-chat-message__body[data-v-0c99edc8] hr {
  border: none;
  border-top: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  margin: 10px 0;
}
.ai-chat-message__body[data-v-0c99edc8] table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 0.8125rem;
}
.ai-chat-message__body[data-v-0c99edc8] th,
.ai-chat-message__body[data-v-0c99edc8] td {
  border: 1px solid var(--extole-border, #cccccc);
  padding: 6px 10px;
  text-align: left;
}
.ai-chat-message__body[data-v-0c99edc8] th {
  background: var(--extole-surface-sunken, #f7f7f7);
  font-weight: 600;
  color: var(--extole-content, #3b445e);
}
.ai-chat-message--user[data-v-0c99edc8] {
  align-self: flex-end;
  align-items: flex-end;
}
.ai-chat-message--user .ai-chat-message__body[data-v-0c99edc8] {
  background: #7c3aed;
  color: #ffffff;
  border-bottom-right-radius: 3px;
}
.ai-chat-message--agent[data-v-0c99edc8] {
  align-self: flex-start;
  align-items: flex-start;
}
.ai-chat-message--agent .ai-chat-message__body[data-v-0c99edc8] {
  background: var(--extole-surface-sunken, #f7f7f7);
  border-bottom-left-radius: 3px;
}
.ai-chat-message--tool-call[data-v-0c99edc8] {
  align-self: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}
.ai-chat-message--tool-call .ai-chat-message__body[data-v-0c99edc8] {
  background: var(--extole-surface, #ffffff);
  border: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  border-left: 3px solid #7c3aed;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--extole-content-muted, #999999);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-call__name[data-v-0c99edc8] {
  font-weight: 600;
  color: var(--extole-content, #3b445e);
}
.tool-call__spinner[data-v-0c99edc8] {
  width: 12px;
  height: 12px;
  border: 2px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: ai-chat-spin-0c99edc8 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes ai-chat-spin-0c99edc8 {
to {
    transform: rotate(360deg);
}
}
.ai-chat-message--tool-result[data-v-0c99edc8] {
  align-self: flex-start;
  max-width: 100%;
}
.ai-chat-message--tool-result .ai-chat-message__body[data-v-0c99edc8] {
  background: var(--extole-surface, #ffffff);
  border: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  border-left: 3px solid #1e9336;
  border-radius: 3px;
  font-size: 0.8125rem;
  color: var(--extole-content-muted, #999999);
}
.ai-chat-message--thinking[data-v-0c99edc8] {
  align-self: flex-start;
  max-width: 100%;
}
.ai-chat-thinking-block[data-v-0c99edc8] {
  border: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  border-radius: 3px;
  overflow: hidden;
  font-size: 0.8125rem;
}
.ai-chat-thinking-block__toggle[data-v-0c99edc8] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--extole-surface-sunken, #f7f7f7);
  cursor: pointer;
  color: var(--extole-content-muted, #999999);
  user-select: none;
  font-size: 0.8125rem;
  border: none;
  width: 100%;
  text-align: left;
}
.ai-chat-thinking-block__toggle[data-v-0c99edc8]:hover {
  background: var(--extole-surface-muted, #efefef);
}
.ai-chat-thinking-block__content[data-v-0c99edc8] {
  padding: 10px 12px;
  color: var(--extole-content-muted, #999999);
  line-height: 1.5;
  border-top: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  background: var(--extole-surface, #ffffff);
  display: none;
}
.ai-chat-thinking-block--expanded .ai-chat-thinking-block__content[data-v-0c99edc8] {
  display: block;
}
.ai-chat-thinking-block--expanded .ai-chat-thinking-block__icon[data-v-0c99edc8] {
  transform: rotate(90deg);
}
.ai-chat-thinking-block__icon[data-v-0c99edc8] {
  transition: transform 0.2s;
}
.ai-chat-message--error .ai-chat-message__body[data-v-0c99edc8] {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  color: #cc0000;
  border-radius: 3px;
}
.ai-chat-message--system[data-v-0c99edc8] {
  align-self: center;
}
.ai-chat-message--system .ai-chat-message__body[data-v-0c99edc8] {
  background: transparent;
  color: var(--extole-content-muted, #999999);
  font-size: 0.8125rem;
  font-style: italic;
  padding: 4px 0;
  text-align: center;
}
.ai-chat-pane__input-area[data-v-0c99edc8] {
  border-top: 1px solid var(--extole-border, rgba(0, 0, 0, 0.15));
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--extole-surface, #ffffff);
}
.ai-chat-pane__input-row[data-v-0c99edc8] {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.ai-chat-pane__textarea[data-v-0c99edc8] {
  flex: 1;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--extole-content, #333333);
  background: var(--extole-surface, #ffffff);
  border: 1px solid var(--extole-border, #cccccc);
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
  resize: none;
  line-height: 1.5;
  min-height: 58px;
  max-height: 200px;
  overflow-y: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.ai-chat-pane__textarea[data-v-0c99edc8]:focus {
  outline: none;
  border-color: #999999;
  box-shadow: 0 0 5px #999999;
  background: var(--extole-surface-sunken, #f7f7f7);
}
.ai-chat-pane__textarea[data-v-0c99edc8]::placeholder {
  color: var(--extole-content-muted, #999999);
}
.ai-chat-pane__send[data-v-0c99edc8] {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  background: #7c3aed;
  border: none;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.ai-chat-pane__send[data-v-0c99edc8]:hover {
  background: #6315e9;
}
.ai-chat-pane__send[data-v-0c99edc8]:disabled {
  background: var(--extole-surface-muted, #efefef);
  color: var(--extole-content-muted, #999999);
  cursor: default;
}
.ai-chat-pane__loading[data-v-0c99edc8] {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--extole-content-muted, #999999);
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--extole-surface-sunken, #f7f7f7);
  border-radius: 8px;
  border-bottom-left-radius: 3px;
}
.ai-chat-pane__loading-dots[data-v-0c99edc8] {
  display: flex;
  gap: 2px;
}
.ai-chat-pane__loading-dots span[data-v-0c99edc8] {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #7c3aed;
  border-radius: 50%;
  animation: ai-chat-loading-dot-0c99edc8 1.2s ease-in-out infinite;
}
.ai-chat-pane__loading-dots span[data-v-0c99edc8]:nth-child(2) {
  animation-delay: 0.2s;
}
.ai-chat-pane__loading-dots span[data-v-0c99edc8]:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes ai-chat-loading-dot-0c99edc8 {
0%, 80%, 100% {
    transform: scale(0.7);
    opacity: 0.5;
}
40% {
    transform: scale(1);
    opacity: 1;
}
}