/* /records/ (templates/records/*): the home's category grids, a category's records by weight
   class, a record's history. Loaded after site.css through the layout's $styles. Mobile first;
   nothing wider than the screen (tables scroll inside .table-wrap). No inline styles anywhere
   (CSP 'self'). The meet page's and the profile's record marks are in results.css and lifters.css. */

/* ---------------------------------------------------------------- the home */
.rec-index td { white-space: nowrap; }

/* ---------------------------------------------------------------- other categories */
.rec-switch ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.rec-switch span[aria-current] { font-weight: 700; color: var(--heading); }

/* ---------------------------------------------------------------- a category's records */
.rec-table th[scope="rowgroup"] { vertical-align: top; white-space: nowrap; }
.rec-table tbody + tbody tr.class-start > * { border-top: 2px solid var(--line); }
.rec-table td.num a { font-weight: 700; }

/* ---------------------------------------------------------------- history */
.rec-history tr.current td { font-weight: 700; }
.rec-history tr.dd td { color: var(--muted); }
