/* ZRS ranges need more room than the single-letter A–E category badges. */
.standings-results-table .result-category-badge--zrs,
.segment-results-table .result-category-badge--zrs {
  background: var(--category-bg, #5b3b9e) !important;
  color: var(--category-fg, #fff) !important;
}
.results-table-wrap.panel > .individual-results-table th:nth-child(3) { width: 10% !important; }
.standings-results-table col.standings-col-cat { width: 10%; }
.standings-results-table col.standings-col-club { width: 19%; }
/* GC uses the same leading identity columns as Individual Results. */
.standings-results-table--gc col.standings-col-src { width: 4%; }
.standings-results-table--gc col.standings-col-rider { width: 16%; }
.standings-results-table--gc :is(th,td):nth-child(-n+5) { padding-left: 4px; padding-right: 4px; }
@media (min-width: 651px) {
  .individual-results-table th:nth-child(4) { width: 4% !important; }
  .individual-results-table th:nth-child(5) { width: 16% !important; }
  .individual-results-table th:nth-child(6) { width: 12% !important; }
  .segment-results-table .result-category { width: 110px; }
}
@media (max-width: 650px) {
  .segment-results-table .result-category { width: 110px; }
}

/* One Individual Results layout for A–E and ZRS, including optional points
   columns. Narrow pen badges must not compress the rows or shift the columns. */
.results-table-wrap.panel > .individual-results-table tbody > tr:not(.race-breakdown-row) > td {
  height: calc(1.5rem + 4px);
}
@media (min-width: 651px) {
  .results-table-wrap.panel > .individual-results-table th.result-position { width: 6% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-country { width: 6% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-category { width: 10% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-source-col { width: 4% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-rider { width: 16% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-team { width: 12% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-time { width: 8% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-points { width: 6% !important; }
  .results-table-wrap.panel > .individual-results-table th.result-total { width: auto !important; }
}
