/* tables.css — wrap in .table-wrap for horizontal scroll on mobile (12 §5).
   ✓ / – cells: <span class="yes" aria-label="Yes">✓</span>, <span class="no" aria-label="No">–</span>. */

.table-wrap {
  overflow-x: auto;
  border: var(--border-w) solid var(--border);
  border-radius: var(--r-md);
}

.table {
  width: 100%;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}

.table th, .table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  vertical-align: top;
  border-bottom: var(--border-w) solid var(--border-strong);
}

.table thead th {
  position: sticky;
  top: 0;
  background: var(--surface);
  color: var(--text-strong);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.table tbody tr:nth-child(even) { background: var(--bg-subtle); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { color: var(--text-strong); font-weight: var(--fw-medium); }

.table--center td:not(:first-child), .table--center th:not(:first-child) { text-align: center; }

.table .yes { color: var(--success); font-weight: var(--fw-bold); }
.table .no { color: var(--text-subtle); }

.table__highlight { background: var(--primary-tint) !important; }
