/* Scenario article typography */
.scenario-body h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.scenario-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.scenario-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 2rem 0 0.75rem;
}
.scenario-body p {
  color: #374151;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}
.scenario-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.scenario-body ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.scenario-body li {
  color: #374151;
  line-height: 1.85;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}
.scenario-body strong { color: #111827; }
.scenario-body em { color: #6b7280; font-style: italic; }

/* Links */
.scenario-body a {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #6ee7b7;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.scenario-body a:hover {
  color: #047857;
  text-decoration-color: #059669;
}

/* Blockquotes — key takeaways */
.scenario-body blockquote {
  border-left: 3px solid #10b981;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #f0fdf4;
  border-radius: 0 0.75rem 0.75rem 0;
}
.scenario-body blockquote p {
  color: #166534;
  margin-bottom: 0.5rem;
}
.scenario-body blockquote ul {
  margin-bottom: 0;
}
.scenario-body blockquote li {
  color: #166534;
  font-size: 0.9375rem;
}

/* Tables */
.scenario-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid #f3f4f6;
}
.scenario-body th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #111827;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.scenario-body td {
  padding: 0.75rem 1rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
.scenario-body tr:last-child td { border-bottom: none; }

/* Dividers */
.scenario-body hr {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 3rem 0;
}

/* Embedded Arth chat */
.arth-chat-embed {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin: 2rem 0;
}
.chat-bubble {
  margin-bottom: 1.25rem;
}
.chat-bubble:last-child {
  margin-bottom: 0;
}
.chat-bubble-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}
.chat-bubble-user .chat-bubble-label {
  color: #6b7280;
}
.chat-bubble-arth .chat-bubble-label {
  color: #059669;
}
.chat-bubble-user .chat-bubble-content {
  background: #111827;
  color: #f9fafb;
  border-radius: 1rem 1rem 0.25rem 1rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.chat-bubble-user .chat-bubble-content p {
  color: #f9fafb;
  margin-bottom: 0;
}
.chat-bubble-arth .chat-bubble-content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem 1rem 1rem 0.25rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.chat-bubble-arth .chat-bubble-content p {
  color: #374151;
  margin-bottom: 0.75rem;
}
.chat-bubble-arth .chat-bubble-content p:last-child {
  margin-bottom: 0;
}
.chat-bubble-arth .chat-bubble-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}
.chat-bubble-arth .chat-bubble-content ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}
.chat-bubble-arth .chat-bubble-content li {
  color: #374151;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.chat-bubble-arth .chat-bubble-content strong {
  color: #111827;
}
.chat-bubble-arth .chat-bubble-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.75rem 0;
  font-size: 0.8125rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.chat-bubble-arth .chat-bubble-content th {
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.chat-bubble-arth .chat-bubble-content td {
  padding: 0.5rem 0.75rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
