/* Rich-text tables share the article width; scrolling belongs to each table. */
.v4-body .v4-prose .v4-table-scroll {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0;
  margin:24px auto; overflow-x:auto; overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
}
.v4-body .v4-prose table {
  display:table; width:100%; max-width:none; margin:24px auto;
  border-collapse:collapse; table-layout:auto; line-height:1.75;
  text-align:center; overflow:visible; word-break:normal; overflow-wrap:break-word;
}
.v4-body .v4-prose .v4-table-scroll>table {
  margin:0 auto; min-width:calc(var(--v4-table-columns,1) * 4.5em);
}
.v4-body .v4-prose :is(th,td) {
  box-sizing:border-box; min-width:0; padding:12px 16px;
  border:1px solid #ddd; vertical-align:middle;
}
.v4-body .v4-prose th { background:#faf8f6; font-weight:700; }
.v4-body .v4-prose :is(th,td)>p { margin:.35em 0; }
.v4-body .v4-prose :is(th,td)>:first-child { margin-top:0; }
.v4-body .v4-prose :is(th,td)>:last-child { margin-bottom:0; }
.v4-body .v4-table-scroll:focus-visible { outline:2px solid var(--red); outline-offset:3px; }
@media(max-width:760px) {
  .v4-body .v4-prose .v4-table-scroll { margin:20px auto; }
  .v4-body .v4-prose :is(th,td) { padding:10px 8px; }
}
