@charset "UTF-8";
body.ask-page {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ask-main {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#ask-app {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#ask-thread-wrapper {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

#ask-thread {
  height: 100%;
  overflow-y: auto;
  padding: 1.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.ask-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  color: #6c757d;
}
.ask-empty-state h2 {
  font-family: "Maven Pro", sans-serif;
  font-weight: 700;
  color: #2D343A;
  margin: 0.75rem 0;
  font-size: 1.6rem;
}
.ask-empty-state p {
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 1.25rem;
  line-height: 1.65;
}

.ask-empty-icon {
  font-size: 2.75rem;
  color: #2e85d1;
  opacity: 0.65;
}

.ask-example-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  margin-bottom: 0.6rem;
}

.ask-example-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.ask-example-btn {
  background: none;
  border: 1px solid rgba(46, 133, 209, 0.35);
  border-radius: 2rem;
  padding: 0.4rem 1.1rem;
  color: #2e85d1;
  font-size: 0.87rem;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.ask-example-btn:hover {
  background-color: rgba(46, 133, 209, 0.08);
  border-color: #2e85d1;
}

.ask-msg-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.ask-msg-wrapper.ask-msg-user {
  align-items: flex-end;
}
.ask-msg-wrapper.ask-msg-assistant, .ask-msg-wrapper.ask-msg-error {
  align-items: flex-start;
}

.ask-bubble {
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
}
.ask-msg-user .ask-bubble {
  background-color: #2e85d1;
  color: #fff;
  border-radius: 1rem 1rem 0.25rem 1rem;
  max-width: 85%;
  white-space: pre-wrap;
  word-break: break-word;
}
.ask-msg-assistant .ask-bubble {
  background-color: #fff;
  border: 1px solid #ededed;
  border-radius: 0.25rem 1rem 1rem 1rem;
  width: 100%;
}
.ask-msg-assistant .ask-bubble p {
  margin-bottom: 0.75rem;
}
.ask-msg-assistant .ask-bubble p:last-child {
  margin-bottom: 0;
}
.ask-msg-assistant .ask-bubble ul, .ask-msg-assistant .ask-bubble ol {
  margin-bottom: 0.75rem;
  padding-left: 1.4rem;
}
.ask-msg-assistant .ask-bubble li {
  margin-bottom: 0.2rem;
}
.ask-msg-assistant .ask-bubble h1, .ask-msg-assistant .ask-bubble h2, .ask-msg-assistant .ask-bubble h3, .ask-msg-assistant .ask-bubble h4 {
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}
.ask-msg-assistant .ask-bubble code {
  background: #f9fcff;
  border: 1px solid #ededed;
  border-radius: 0.2rem;
  padding: 0.1em 0.35em;
  font-size: 0.87em;
}
.ask-msg-assistant .ask-bubble pre {
  background: #2D343A;
  color: #abb2bf;
  border-radius: 0.4rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 0.75rem;
}
.ask-msg-assistant .ask-bubble pre code {
  background: none;
  border: none;
  padding: 0;
}
.ask-msg-assistant .ask-bubble a {
  color: #2e85d1;
}
.ask-msg-assistant .ask-bubble strong {
  font-weight: 600;
}
.ask-msg-assistant .ask-bubble blockquote {
  border-left: 3px solid rgba(46, 133, 209, 0.4);
  padding-left: 0.9rem;
  color: #6c757d;
  font-style: italic;
  margin: 0.75rem 0;
}
.ask-bubble.ask-bubble-error {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  color: #856404;
  border-radius: 0.5rem;
}

.ask-loading .ask-bubble {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background-color: #fff;
  border: 1px solid #ededed;
  border-radius: 0.25rem 1rem 1rem 1rem;
}

.ask-dot {
  width: 7px;
  height: 7px;
  background-color: #adb5bd;
  border-radius: 50%;
  animation: ask-bounce 1.3s ease-in-out infinite;
}
.ask-dot:nth-child(2) {
  animation-delay: 0.18s;
}
.ask-dot:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes ask-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  30% {
    transform: translateY(-7px);
    opacity: 1;
  }
}
.ask-sources {
  margin-top: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: #f9fcff;
  border: 1px solid #ededed;
  border-radius: 0.5rem;
  width: 100%;
}

.ask-sources-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  font-family: "Maven Pro", sans-serif;
  margin-bottom: 0.35rem;
}

.ask-sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ask-sources ul li {
  margin-bottom: 0.2rem;
}
.ask-sources ul li a {
  color: #2e85d1;
  font-size: 0.87rem;
  text-decoration: none;
}
.ask-sources ul li a::before {
  content: "↗ ";
  opacity: 0.55;
}
.ask-sources ul li a:hover {
  text-decoration: underline;
}

#ask-input-bar {
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #ededed;
  padding: 0.75rem 0 1rem;
}

.ask-textarea {
  resize: none;
  overflow-y: auto;
  max-height: 200px;
  line-height: 1.5;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  border-color: #ededed;
  border-radius: 0.5rem;
}
.ask-textarea:focus {
  border-color: #2e85d1;
  box-shadow: 0 0 0 3px rgba(46, 133, 209, 0.15);
}

.ask-send-btn {
  height: 42px;
  padding: 0 1.1rem;
  align-self: flex-end;
}

.ask-disclaimer {
  font-size: 0.77rem;
  color: #6c757d;
}

/*# sourceMappingURL=ask.css.map */