/*
 * table, hairline rows, raised zebra, head at the label step, numbers right aligned and tabular.
 * Unforged house identity 3.0.0 Broadside, 2026-08-22. Owner: Andreas. Layer: 02 molecules.
 *
 * Composes the label atom for the caption and the head cells; the page links
 * ../../01_ATOMS/label/component.css before this sheet. The atom is inline-block, so the two table
 * parts restate their table display after it: a th that is not a table cell is not a th.
 *
 *   .u-table              the root, a scroll box: a wide table scrolls inside it, the page never does
 *   .u-table__table       the table, full width, tabular figures throughout
 *   .u-table__caption     caption, the label atom as a table caption, one space.row above the head
 *   .u-table__head        th, the label atom as a table cell, closed by a hairline in the ground's ink
 *   .u-table__cell        td: caption step, one space.row of padding, a hairline above in the ground's rule
 *   .u-table__num         a numeric cell or head: right aligned
 *   .u-table--zebra       every second body row on the raised step (identity.html, the shipped care)
 *
 * Light grounds: a data object never sits on the flood (two-grounds.md section 2, item 4).
 */
.u-table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}
.u-table__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.u-table__caption {
  display: table-caption;
  caption-side: top;
  text-align: start;
  padding-block-end: var(--u-space-row);
}
.u-table__head {
  display: table-cell;
  text-align: start;
  padding: var(--u-space-row);
  vertical-align: bottom;
  border-block-end: var(--u-line-hairline) solid var(--u-ground-ink);
}
.u-table__cell {
  padding: var(--u-space-row);
  vertical-align: top;
  font-size: var(--u-size-caption);
  line-height: var(--u-leading-caption);
  color: var(--u-ground-ink);
  border-block-start: var(--u-line-hairline) solid var(--u-ground-rule);
}
.u-table__table tbody tr:first-child .u-table__cell { border-block-start: 0; }
.u-table__table tbody tr:last-child .u-table__cell { border-block-end: var(--u-line-hairline) solid var(--u-ground-rule); }
.u-table__num { text-align: end; font-variant-numeric: tabular-nums; }
.u-table--zebra tbody tr:nth-child(even) .u-table__cell {
  background-color: var(--u-color-ground-paper-raised);
}
