/* V67: regular table edge padding + well-aligned row numbers.
   Kept in its own late stylesheet so the older compact-ui !important rules
   cannot inadvertently pull the first column back to the table boundary. */

/* Public pages: headings and values in the first / last table columns
   have an even inset from the rounded wrapper. The table remains scrollable. */
body.public-site:not(.page-index) :is(.table-wrap,.luxury-desktop-table) table tr > :first-child:not([colspan]) {
  padding-inline-start: 21px !important;
}
body.public-site:not(.page-index) :is(.table-wrap,.luxury-desktop-table) table tr > :last-child:not([colspan]) {
  padding-inline-end: 21px !important;
}

/* School list: treat the index as a true number column, not a text label.
   Matching styles for th/td keep the column heading aligned with its rows. */
body.public-site.page-schools .school-directory-table tr > :first-child:not([colspan]) {
  width: 102px !important;
  min-width: 90px !important;
  padding-inline: 18px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums;
}

/* Committee's athlete list also begins with a numbered index. The admin
   print report already has a centered .num column, so it is left unchanged. */
body.committee-body .committee-numbered-table tr > :first-child:not([colspan]) {
  width: 72px !important;
  min-width: 66px !important;
  padding-inline: 18px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  body.public-site:not(.page-index) :is(.table-wrap,.luxury-desktop-table) table tr > :first-child:not([colspan]) {
    padding-inline-start: 16px !important;
  }
  body.public-site:not(.page-index) :is(.table-wrap,.luxury-desktop-table) table tr > :last-child:not([colspan]) {
    padding-inline-end: 16px !important;
  }
  body.public-site.page-schools .school-directory-table tr > :first-child:not([colspan]),
  body.committee-body .committee-numbered-table tr > :first-child:not([colspan]) {
    padding-inline: 15px !important;
  }
}
