/* Article tables. Light grid, horizontal rules only. Loaded after the SPA bundle. */
/* body is a column flex. Without min-width:0 the post grows with the table and the last column is clipped. */
.post:has(table),
.md-body:has(table),
.max-w-\[70ch\]:has(table) {
  min-width: 0;
  width: 100%;
  max-width: min(100%, 960px);
}

.body .table-scroll,
.md-body .table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.15em 0 1.45em;
  -webkit-overflow-scrolling: touch;
}

.body table,
.md-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.15em 0;
  font-size: 0.92rem;
  line-height: 1.55;
  table-layout: fixed;
  background: #f3f4f6;
  color: #1c1917;
}

.body .table-scroll table,
.md-body .table-scroll table {
  margin: 0;
}

.body th,
.body td,
.md-body th,
.md-body td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-bottom: 1px solid #d5d8de;
  background: transparent;
  color: #1c1917;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.body th,
.md-body th {
  font-weight: 700;
  background: #e7e9ee;
  border-bottom-color: #c5cad3;
}

.body th strong,
.body td strong,
.md-body th strong,
.md-body td strong {
  color: #1c1917;
}

.body th a,
.body td a,
.md-body th a,
.md-body td a {
  color: #0f5c4c;
}



@media (max-width: 720px) {
  .body table,
  .md-body table {
    font-size: 0.82rem;
  }
  .body th,
  .body td,
  .md-body th,
  .md-body td {
    padding: 0.45rem 0.4rem;
  }
}
