#talkingspace-app {
  font-family: Arial, Helvetica, sans-serif;
  max-width: 960px;
  margin: 0 auto;
  color: #1f2937;
}
.talkingspace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.ts-card, .ts-panel {
  border: 1px solid #d7dde7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
  padding: 18px;
}
.ts-card h3, .ts-panel h2, .ts-panel h3 {
  margin-top: 0;
}
.ts-btn, .ts-link-btn {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.ts-btn.alt, .ts-link-btn.alt {
  background: #334155;
}
.ts-btn.light {
  background: #e5e7eb;
  color: #111827;
}
.ts-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.ts-row {
  margin-bottom: 16px;
}
.ts-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.ts-input, .ts-textarea, .ts-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-sizing: border-box;
}
.ts-textarea {
  min-height: 110px;
}
.ts-meta {
  font-size: 14px;
  color: #475569;
}
.ts-stepper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ts-step {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  font-size: 13px;
}
.ts-step.active {
  background: #0f766e;
  color: #fff;
}
.ts-chat-log {
  border: 1px solid #d7dde7;
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px;
  min-height: 280px;
  max-height: 460px;
  overflow-y: auto;
  margin-bottom: 12px;
}
.ts-msg {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 85%;
}
.ts-msg.user {
  background: #d1fae5;
  margin-left: auto;
}
.ts-msg.assistant {
  background: #fff;
  border: 1px solid #d7dde7;
}
.ts-flex {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ts-status, .ts-banner {
  font-size: 14px;
  padding: 10px 12px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 10px;
  margin-bottom: 12px;
}
.ts-banner {
  background: #f0fdf4;
  border-color: #86efac;
}
.ts-danger {
  background: #fef2f2;
  border-color: #fecaca;
}
.ts-list, .ts-ordered-list {
  margin: 0;
  padding-left: 20px;
}
.ts-inline-note {
  font-size: 13px;
  color: #64748b;
}
.ts-review-item {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.ts-review-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
@media (max-width: 640px) {
  .ts-flex {
    flex-direction: column;
  }
  .ts-btn, .ts-link-btn {
    width: 100%;
    text-align: center;
  }
}
