/* [project]/src/components/ExplanationPanel.module.css [app-client] (css) */
.ExplanationPanel-module__zI-sBq__overlay {
  z-index: 100;
  background: #0006;
  justify-content: flex-end;
  display: flex;
  position: fixed;
  inset: 0;
}

.ExplanationPanel-module__zI-sBq__panel {
  background: #fff;
  flex-direction: column;
  width: min(480px, 100vw);
  height: 100%;
  display: flex;
  overflow: hidden;
  box-shadow: -4px 0 24px #0000001f;
}

.ExplanationPanel-module__zI-sBq__header {
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  display: flex;
}

.ExplanationPanel-module__zI-sBq__title {
  color: #111;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ExplanationPanel-module__zI-sBq__closeButton {
  cursor: pointer;
  color: #6b7280;
  background: none;
  border: none;
  border-radius: 4px;
  padding: .25rem .5rem;
  font-size: 1rem;
  line-height: 1;
}

.ExplanationPanel-module__zI-sBq__closeButton:hover {
  color: #111;
  background-color: #f3f4f6;
}

.ExplanationPanel-module__zI-sBq__body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
}

.ExplanationPanel-module__zI-sBq__loading, .ExplanationPanel-module__zI-sBq__empty {
  color: #6b7280;
  margin: 0;
  font-size: .9375rem;
}

.ExplanationPanel-module__zI-sBq__error {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin: 0;
  padding: .5rem .75rem;
  font-size: .9375rem;
}

.ExplanationPanel-module__zI-sBq__callList {
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.ExplanationPanel-module__zI-sBq__card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.ExplanationPanel-module__zI-sBq__cardHeader {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  justify-content: space-between;
  align-items: center;
  padding: .625rem .875rem;
  display: flex;
}

.ExplanationPanel-module__zI-sBq__toolName {
  color: #111;
  font-family: ui-monospace, monospace;
  font-size: .875rem;
  font-weight: 600;
}

.ExplanationPanel-module__zI-sBq__statusBadge {
  color: #374151;
  background: #e5e7eb;
  border-radius: 999px;
  padding: .125rem .5rem;
  font-size: .75rem;
  font-weight: 500;
}

.ExplanationPanel-module__zI-sBq__status_success {
  color: #166534;
  background: #dcfce7;
}

.ExplanationPanel-module__zI-sBq__status_error {
  color: #991b1b;
  background: #fee2e2;
}

.ExplanationPanel-module__zI-sBq__grid {
  grid-template-columns: auto 1fr;
  gap: .375rem .75rem;
  margin: 0;
  padding: .75rem .875rem;
  font-size: .875rem;
  display: grid;
}

.ExplanationPanel-module__zI-sBq__grid dt {
  color: #6b7280;
  white-space: nowrap;
  font-weight: 500;
}

.ExplanationPanel-module__zI-sBq__grid dd {
  color: #111;
  word-break: break-word;
  margin: 0;
}

.ExplanationPanel-module__zI-sBq__gridRow {
  display: contents;
}

.ExplanationPanel-module__zI-sBq__section {
  border-top: 1px solid #e5e7eb;
  padding: .625rem .875rem .75rem;
}

.ExplanationPanel-module__zI-sBq__sectionTitle {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 .375rem;
  font-size: .75rem;
  font-weight: 600;
}

/* [project]/src/components/MessageInput.module.css [app-client] (css) */
.MessageInput-module__2AINEW__form {
  align-items: flex-end;
  gap: .75rem;
  display: flex;
}

.MessageInput-module__2AINEW__textarea {
  resize: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  flex: 1;
  max-height: 8rem;
  padding: .625rem .75rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .15s;
  overflow-y: auto;
}

.MessageInput-module__2AINEW__textarea:focus {
  border-color: #2563eb;
}

.MessageInput-module__2AINEW__textarea:disabled {
  color: #9ca3af;
  background-color: #f9fafb;
}

.MessageInput-module__2AINEW__button {
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  background-color: #2563eb;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  padding: .625rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color .15s;
}

.MessageInput-module__2AINEW__button:hover:not(:disabled) {
  background-color: #1d4ed8;
}

.MessageInput-module__2AINEW__button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* [project]/src/components/ExplainButton.module.css [app-client] (css) */
.ExplainButton-module__FIYi_W__button {
  color: #2563eb;
  cursor: pointer;
  background: none;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  margin-top: .375rem;
  padding: .25rem .625rem;
  font-size: .75rem;
  transition: background-color .15s, color .15s;
  display: inline-block;
}

.ExplainButton-module__FIYi_W__button:hover {
  background-color: #eff6ff;
}

/* [project]/src/components/MessageList.module.css [app-client] (css) */
.MessageList-module__T1Q19a__list {
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.MessageList-module__T1Q19a__empty {
  color: #9ca3af;
  text-align: center;
  margin-top: 3rem;
  font-size: .9375rem;
}

.MessageList-module__T1Q19a__userItem {
  flex-direction: column;
  align-items: flex-end;
  display: flex;
}

.MessageList-module__T1Q19a__assistantItem {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.MessageList-module__T1Q19a__userBubble {
  color: #fff;
  white-space: pre-wrap;
  word-break: break-word;
  background-color: #2563eb;
  border-radius: 12px 12px 2px;
  max-width: 75%;
  padding: .625rem .875rem;
  font-size: .9375rem;
  line-height: 1.5;
}

.MessageList-module__T1Q19a__assistantBubble {
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
  background-color: #f3f4f6;
  border-radius: 12px 12px 12px 2px;
  max-width: 75%;
  padding: .625rem .875rem;
  font-size: .9375rem;
  line-height: 1.5;
}

/* [project]/src/components/ToolStatus.module.css [app-client] (css) */
.ToolStatus-module__b5rcNq__container {
  color: #6b7280;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  display: flex;
}

.ToolStatus-module__b5rcNq__spinner {
  border: 2px solid #d1d5db;
  border-top-color: #2563eb;
  border-radius: 50%;
  flex-shrink: 0;
  width: .875rem;
  height: .875rem;
  animation: .6s linear infinite ToolStatus-module__b5rcNq__spin;
  display: inline-block;
}

@keyframes ToolStatus-module__b5rcNq__spin {
  to {
    transform: rotate(360deg);
  }
}

.ToolStatus-module__b5rcNq__message {
  font-style: italic;
}

/* [project]/src/app/chat/chat.module.css [app-client] (css) */
.chat-module__r3ZgIG__layout {
  background: #fff;
  flex-direction: column;
  height: 100vh;
  display: flex;
}

.chat-module__r3ZgIG__header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: .875rem 1.5rem;
  display: flex;
}

.chat-module__r3ZgIG__headerLeft {
  align-items: center;
  gap: 1rem;
  display: flex;
}

.chat-module__r3ZgIG__title {
  color: #111;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.chat-module__r3ZgIG__nav {
  gap: .5rem;
  display: flex;
}

.chat-module__r3ZgIG__navLink {
  color: #6b7280;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 6px;
  padding: .375rem .75rem;
  font-size: .875rem;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}

.chat-module__r3ZgIG__navLink:hover {
  color: #111;
  background-color: #f3f4f6;
}

.chat-module__r3ZgIG__navLinkActive {
  color: #2563eb;
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.chat-module__r3ZgIG__logout {
  color: #6b7280;
  cursor: pointer;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: .375rem .75rem;
  font-size: .875rem;
  transition: background-color .15s;
}

.chat-module__r3ZgIG__logout:hover {
  background-color: #f9fafb;
}

.chat-module__r3ZgIG__messages {
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 1.5rem;
  display: flex;
  overflow-y: auto;
}

.chat-module__r3ZgIG__errorBanner {
  color: #dc2626;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  margin: .5rem 0 0;
  padding: .5rem .75rem;
  font-size: .875rem;
}

.chat-module__r3ZgIG__footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
  padding: 1rem 1.5rem;
}

/*# sourceMappingURL=src_0f50h5o._.css.map*/