.or-legal {
  width: 100%;
  min-width: 0;
  color: var(--or-plugin-text, inherit);
}

.or-legal > :first-child {
  margin-top: 0;
}

.or-legal h2,
.or-legal h3,
.or-legal h4,
.or-legal h5,
.or-legal h6 {
  scroll-margin-top: 7rem;
}

.or-legal p,
.or-legal li,
.or-legal td,
.or-legal th {
  overflow-wrap: anywhere;
}

.or-legal ul,
.or-legal ol {
  padding-left: 1.35rem;
}

.or-legal li + li {
  margin-top: 0.35rem;
}

.or-legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-block: 1.5rem;
  border: 1px solid var(--or-plugin-line, currentColor);
  border-radius: var(--or-plugin-radius, 0.375rem);
}

.or-legal-table-wrap table {
  width: 100%;
  min-width: 44rem;
  margin: 0;
  border-collapse: collapse;
}

.or-legal-table-wrap th,
.or-legal-table-wrap td {
  padding: 0.8rem 0.9rem;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--or-plugin-line, currentColor);
}

.or-legal-table-wrap th {
  color: var(--or-plugin-accent, inherit);
  background: var(--or-plugin-surface-2, transparent);
}

.or-legal-table-wrap tr:last-child td {
  border-bottom: 0;
}

.or-legal code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--or-plugin-line, currentColor);
  border-radius: 0.25rem;
  background: var(--or-plugin-surface, transparent);
  color: var(--or-plugin-primary, inherit);
}

@media (max-width: 48rem) {
  .or-legal-table-wrap table {
    min-width: 38rem;
  }
}

