table {
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  font-family: var(--font-family-interface);
  font-size: var(--font-size-body-small);
  margin-top: 0;
  margin-bottom: 72px;
  max-width: 100%;
  table-layout: auto;
  text-align: left;
  width: 100%;
}

h1 + table,h2 + table,h3 + table,h4 + table,h5 + table,
table:not(:first-child) {
  margin-top: 24px;
}

thead th {
  vertical-align: bottom;
}
thead th, thead td {
  border-bottom: 1px solid var(--table-color-border);
}

th,
td {
  min-width: 160px;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-text-heading);
  font-weight: var(--font-weight-bold);
}

caption + thead tr:first-child th,
caption + thead tr:first-child td,
colgroup + thead tr:first-child th,
colgroup + thead tr:first-child td,
thead:first-child tr:first-child th,
thead:first-child tr:first-child td {
  border-top: 0;
}

caption {
  text-align: left;
}

tbody + tbody {
  border-top: 2px solid var(--color-border);
}

tr.odd {
  background-color: var(--table-color-background-row-odd);
}

tr.even {
  background-color: var(--table-color-background-row-even);
}

.paragraph.table {
  margin-bottom: 32px;
  margin-top: 32px;
}

.paragraph .tablefield-wrapper {
  overflow-y: auto;
  padding-bottom: 16px;
}