.ask-panel {
  max-width: 760px;
  margin: 0 auto;
}

.ask-thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 80px;
  margin-bottom: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.ask-msg {
  padding: 12px 16px;
  border-radius: 10px;
  max-width: 85%;
  line-height: 1.5;
  white-space: pre-wrap;
}

.ask-msg--user {
  align-self: flex-end;
  background: #1f2937;
  color: #fff;
}

.ask-msg--assistant {
  align-self: flex-start;
  background: #f3f4f6;
  color: #111827;
}

.ask-msg--pending {
  opacity: 0.6;
}

.ask-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ask-link-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.ask-link-chip--cta {
  border-color: #2563eb;
  color: #2563eb;
  font-weight: 600;
}

.ask-error {
  color: #b91c1c;
  margin-bottom: 12px;
}

.ask-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ask-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.ask-honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .ask-form {
    flex-direction: column;
    align-items: stretch;
  }
}
