@keyframes mcp-chat-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mcp-chat-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes mcp-chat-hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mcp-chat-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.chat-mock {
  width: 100%;
  border-radius: 16px;
  background: #FFFFFF;
  color: #1F2937;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(15, 10, 46, 0.12), 0 4px 12px rgba(15, 10, 46, 0.04);
}
.chat-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #E5E5E5;
  background: #FAFAFA;
}
.chat-mock__dots {
  display: flex;
  gap: 6px;
}
.chat-mock__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D5D7DA;
}
.chat-mock__title {
  font-size: 12px;
  font-weight: 500;
  color: #666666;
}
.chat-mock__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  font-size: 13px;
  line-height: 1.5;
}
.chat-mock__body > *:nth-child(1) {
  --chat-delay: 0.2s;
}
.chat-mock__body > *:nth-child(2) {
  --chat-delay: 1.1s;
}
.chat-mock__body > *:nth-child(3) {
  --chat-delay: 2s;
}
.chat-mock__body > *:nth-child(4) {
  --chat-delay: 2.9s;
}
.chat-mock__body > *:nth-child(5) {
  --chat-delay: 3.8s;
}
.chat-mock__body > *:nth-child(6) {
  --chat-delay: 4.7s;
}
.chat-mock__body > *:nth-child(7) {
  --chat-delay: 5.6s;
}
.chat-mock__body > *:nth-child(8) {
  --chat-delay: 6.5s;
}
.chat-mock__msg {
  max-width: 85%;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
}
.chat-mock__msg--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #8259E8;
  color: #FFFFFF;
}
.chat-mock__msg--ai {
  align-self: stretch;
  max-width: none;
  border: 1px solid #E5E5E5;
  border-bottom-left-radius: 4px;
  background: #FAFAFA;
}
.chat-mock__lead {
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.chat-mock__tool {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: 12px;
  color: #666666;
}
.chat-mock__tool code {
  padding: 0;
  background: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #1F2937;
}
.chat-mock__status {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
}
.chat-mock__status > * {
  grid-area: 1/1;
}
.chat-mock__spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid #D5C8F7;
  border-top-color: #8259E8;
  border-radius: 50%;
  opacity: 0;
}
.chat-mock__done {
  font-size: 13px;
  line-height: 1;
  color: #16A34A;
}

.chat-result {
  padding: 0.85rem 1rem;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  background: #FFFFFF;
}
.chat-result__name {
  font-size: 15px;
  font-weight: 500;
}
.chat-result__meta {
  margin-bottom: 0.6rem;
  font-size: 12.5px;
  color: #666666;
}
.chat-result__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.chat-result__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-top: 1px solid #F5F5F5;
}
.chat-result__rows li span:first-child {
  color: #666666;
}
.chat-result__rows li span:last-child {
  text-align: right;
}
.chat-result__rows .mock-flag .bi {
  margin-right: 0.2rem;
}
.chat-result__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}
.chat-result__stats span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #FAFAFA;
}
.chat-result__stats small {
  font-size: 11px;
  color: #666666;
}
.chat-result__stats b {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.chat-result--file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-result__icon {
  font-size: 22px;
  color: #8259E8;
}
.chat-result__file {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-result__file b {
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-result__file small {
  font-size: 12px;
  color: #666666;
}
.chat-result--file .mock-flag {
  margin-left: auto;
}
.chat-result--file .mock-flag .bi {
  margin-right: 0.2rem;
}

.chat-mock.is-visible .chat-mock__body > *,
.inspector-view.is-active .chat-mock__body > * {
  animation: mcp-chat-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--chat-delay);
}

.chat-mock.is-visible .chat-mock__spinner,
.inspector-view.is-active .chat-mock__spinner {
  animation: mcp-chat-spin 0.7s linear infinite, mcp-chat-hide 0.2s linear calc(var(--chat-delay) + 0.9s) both;
}

.chat-mock.is-visible .chat-mock__done,
.inspector-view.is-active .chat-mock__done {
  animation: mcp-chat-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--chat-delay) + 0.9s) both;
}

@media (max-width: 575px) {
  .chat-mock__msg {
    max-width: 92%;
  }
  .chat-result--file .mock-flag {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-mock.is-visible .chat-mock__body > *,
  .inspector-view.is-active .chat-mock__body > *,
  .chat-mock.is-visible .chat-mock__spinner,
  .inspector-view.is-active .chat-mock__spinner,
  .chat-mock.is-visible .chat-mock__done,
  .inspector-view.is-active .chat-mock__done {
    animation: none;
  }
}

/*# sourceMappingURL=mcp-chat.css.map */
