/* [project]/app/ai.css [app-client] (css) */
.ai-page {
  color: #1f2937;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 64px;
  font-family: system-ui, sans-serif;
}

.ai-page h1 {
  margin: 0 0 4px;
}

.ai-muted {
  color: #6b7280;
  font-size: 14px;
}

.ai-error {
  color: #b91c1c;
  font-size: 14px;
}

.ai-nav {
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
}

.ai-selector {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
  display: grid;
}

.ai-selector label {
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.ai-page select, .ai-page textarea, .ai-page input[type="text"], .ai-page input[type="number"] {
  font: inherit;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px;
}

.ai-page button {
  color: #fff;
  font: inherit;
  cursor: pointer;
  background: #2563eb;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
}

.ai-page button:disabled {
  cursor: not-allowed;
  background: #9ca3af;
}

.ai-page button.secondary {
  color: #111827;
  background: #e5e7eb;
}

.ai-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  display: flex;
}

.ai-tutor {
  grid-template-columns: 300px 1fr;
  align-items: start;
  gap: 20px;
  display: grid;
}

@media (max-width: 760px) {
  .ai-tutor {
    grid-template-columns: 1fr;
  }
}

.ai-avatar {
  background: #eef2ff;
  border-radius: 16px;
  width: 100%;
  height: 300px;
}

.ai-chat {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.ai-msg {
  white-space: pre-wrap;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.5;
}

.ai-msg.user {
  background: #dbeafe;
  align-self: flex-end;
  max-width: 85%;
}

.ai-msg.assistant {
  background: #f3f4f6;
}

.ai-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin: 10px 0;
  padding: 12px;
}

.ai-usage {
  color: #6b7280;
  font-size: 12px;
}

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