/* Legacy page fixes, loaded after v2.css */
.data-table caption {
  margin-bottom: var(--space-4);
}

/* Show the scroll fade only when the table actually overflows (js/table-scroll.js) */
.table-scroll::after {
  display: none;
}

.table-scroll.is-overflowing::after {
  display: block;
}

/* Room between the intro text and the table, and inside the caption */
.body-copy + .table-scroll {
  margin-top: var(--space-6);
}

.data-table caption {
  padding: var(--space-3) var(--space-4) 0;
}

/* Room between the source note and the box under it */
.table-scroll + .fine-print {
  margin-bottom: var(--space-5);
}
