.data-article .table-scroll table { min-width: 0; }
.data-article table caption { padding-bottom: .5rem; color: inherit; text-align: left; }
.data-article table th[scope="row"] { font-weight: 600; }
.data-article table thead th:not(:first-child), .data-article table td { text-align: right; }
.data-article table td { font-variant-numeric: tabular-nums; }

.data-article-chart { margin-inline: 0; }
.data-article-chart > a { display: block; text-decoration: none; }
.data-article-chart img { display: block; width: 100%; height: auto; margin: 0; }
.data-article-chart figcaption { margin-block: .5rem 0; }
.data-article-chart-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .2em;
  font-size: .875rem;
  font-weight: 600;
}

/* Keep the footer and focused controls reachable while the signup bar is visible. */
.data-article #sticky-cta { padding-bottom: env(safe-area-inset-bottom, 0px); }
.data-article #sticky-cta.translate-y-full { visibility: hidden; }
.data-article:has(#sticky-cta.translate-y-0) { padding-bottom: var(--article-signup-height, 5rem); }
html:has(.data-article #sticky-cta.translate-y-0) {
  scroll-padding-bottom: calc(var(--article-signup-height, 5rem) + 1rem);
}

.data-article-privacy:not(:empty) { margin-block: 1rem; }
.data-article-privacy .privacy-settings { position: static; min-height: 44px; }

@media (max-width: 767px) {
  body.data-article { padding-top: 0; }
  .data-article > header { position: relative; padding-top: .75rem; }
  .data-article > header + div { display: none; }
  .data-article #mobile-menu-toggle { min-width: 44px; min-height: 44px; }
  .data-article > main { padding-top: 1.5rem; }
  .data-article article h1 { font-size: clamp(1.65rem, 6vw, 2rem); line-height: 1.15; }
  .data-article article .prose { font-size: 1.0625rem; line-height: 1.65; }
  .data-article article .prose h2 { font-size: 1.4rem; line-height: 1.25; }
  .data-article .table-scroll table { table-layout: fixed; font-size: .875rem; line-height: 1.35; }
  .data-article .table-scroll th, .data-article .table-scroll td { padding: .65rem .25rem; overflow-wrap: normal; }
  .data-article .table-scroll thead th:first-child { width: 36%; }
}
