.assistant .bubble {
  white-space: normal;
}

.assistant .bubble > :first-child {
  margin-top: 0;
}

.assistant .bubble > :last-child {
  margin-bottom: 0;
}

.assistant .bubble h1,
.assistant .bubble h2,
.assistant .bubble h3,
.assistant .bubble h4 {
  color: var(--ink);
  line-height: 1.35;
  margin: 1.25em 0 .55em;
}

.assistant .bubble h1 { font-size: 21px; }
.assistant .bubble h2 {
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  padding-bottom: 6px;
}
.assistant .bubble h3 { font-size: 16px; }
.assistant .bubble h4 { font-size: 14px; }
.assistant .bubble p { margin: .65em 0; }

.assistant .bubble ol {
  list-style: decimal;
  margin: .65em 0;
  padding-left: 1.65em;
}

.assistant .bubble ul {
  list-style: disc;
  margin: .65em 0;
  padding-left: 1.45em;
}

.assistant .bubble ul ul {
  border-left: 2px solid var(--line);
  list-style: circle;
  margin: .35em 0 .45em .25em;
  padding-left: 1em;
}

.assistant .bubble li { margin: .38em 0; }
.assistant .bubble li::marker {
  color: var(--teal);
  font-weight: 700;
}
.assistant .bubble li > p { margin: .25em 0; }

.assistant .bubble blockquote {
  background: var(--teal-soft);
  border-left: 3px solid var(--teal);
  color: #36534f;
  margin: .85em 0;
  padding: 8px 12px;
}

.assistant .bubble hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.15em 0;
}

.assistant .bubble code {
  background: #eef2f1;
  border-radius: 4px;
  font-family: Consolas, "Courier New", monospace;
  font-size: .9em;
  padding: 2px 5px;
}

.assistant .bubble pre {
  background: #142b35;
  border-radius: 6px;
  color: #eef8f6;
  line-height: 1.55;
  margin: .85em 0;
  overflow: auto;
  padding: 12px;
}

.assistant .bubble pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.assistant .bubble a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.assistant .bubble table {
  border: 1px solid var(--line);
  border-radius: 5px;
  display: block;
  margin: .85em 0;
  min-width: 0;
  overflow-x: auto;
}

.assistant .bubble th,
.assistant .bubble td {
  border-right: 1px solid var(--line);
  font-size: 13px;
  padding: 8px 10px;
}

.assistant .bubble th:last-child,
.assistant .bubble td:last-child {
  border-right: 0;
}

.assistant .bubble strong {
  color: #102f39;
  font-weight: 700;
}
