.message-body hr {
  border: 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
  margin: 0.9rem 0;
}

.message-body .markdown-table-scroll {
  max-width: 100%;
  margin: 0.9rem 0;
  overflow-x: auto;
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: 0.9rem;
  background: color-mix(in oklab, #fff 82%, transparent);
}

.message-body table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.45;
}

.message-body th,
.message-body td {
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  vertical-align: top;
}

.message-body thead th {
  background: color-mix(in oklab, var(--ink) 6%, #fff);
  font-weight: 700;
}

.message-body tbody tr:last-child td {
  border-bottom: 0;
}

.message-body tbody tr:nth-child(even) {
  background: color-mix(in oklab, var(--ink) 3%, #fff);
}

.message.user .message-body .markdown-table-scroll {
  background: #ffffff1f;
  border-color: #ffffff2e;
}

.message.user .message-body th,
.message.user .message-body td {
  border-bottom-color: #ffffff24;
}

.message.user .message-body thead th {
  background: #ffffff14;
}

.message.user .message-body tbody tr:nth-child(even) {
  background: #ffffff0d;
}

.message.user .message-body hr {
  border-top-color: #ffffff38;
}
