/* Shared semantic tables; typography and color inherit from the native theme. */
/* The wrapper is marked as a core table block; the theme's max-width for tables applies.
   When the article itself runs edge to edge, keep a 20px gutter from the screen edge. */
body.seo-agent-publisher-owned .seo-ark-article .seo-ark-table-scroll {
  box-sizing: border-box;
  width: 100%;
  padding-inline: max(0px, calc(20px - (100vw - 100%) / 2));
  margin-block: 1.5em;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body.seo-agent-publisher-owned .seo-ark-article table {
  display: table;
  width: 100%;
  max-width: 100%;
  margin-block: 1.5em;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: inherit;
  font-size: inherit;
}

body.seo-agent-publisher-owned .seo-ark-article .seo-ark-table-scroll > table {
  width: 100%;
  min-width: 36rem;
  max-width: none;
  margin-block: 0;
}

body.seo-agent-publisher-owned .seo-ark-article :where(th, td) {
  padding: 0.75em;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  text-align: start;
  vertical-align: top;
  overflow-wrap: break-word;
}

body.seo-agent-publisher-owned .seo-ark-article caption {
  margin-block-end: 0.75em;
  font: inherit;
  font-weight: 600;
  text-align: start;
}

/* Header words stay whole on phones; the wrapper scrolls instead. */
body.seo-agent-publisher-owned .seo-ark-article th {
  background-color: color-mix(in srgb, currentColor 5%, transparent);
  font-weight: 700;
  overflow-wrap: normal;
}

body.seo-agent-publisher-owned .seo-ark-article :where(th, td) > :first-child {
  margin-block-start: 0;
}

body.seo-agent-publisher-owned .seo-ark-article :where(th, td) > :last-child {
  margin-block-end: 0;
}
