/* Tables on the billing help pages (S131, D-197): `web/templates/docs/payments.html` and
 * `docs/pro.html`, loaded through their own `{% block head %}`. Neither page has a mockup
 * (D-197's D-90 register), so the rules reuse the dashboard posts table's vocabulary
 * (`dash-posts.css`: mono uppercase muted column heads, hairline rows) on the site's type
 * scale. With UA defaults the tables centred their headers and ran their cells together;
 * `.docs-table-wrap` keeps a wide one scrolling inside itself on a 375px viewport instead
 * of widening the page. */

.docs-table-wrap {
  margin: var(--space-4) 0 var(--space-6);
  overflow-x: auto;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--size-ui-dense);
  font-variant-numeric: tabular-nums;
}

.docs-table thead th {
  font-family: var(--mono);
  font-size: var(--size-mono);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 400;
}

.docs-table th,
.docs-table td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-2) var(--space-4) var(--space-2) 0;
  border-bottom: 1px solid var(--line);
}

.docs-table tbody th {
  font-weight: 400;
}

/* The skill URL, the USDC contract address and the API URLs are long unbroken strings that
 * widened a 375px page past the viewport; they may break anywhere, and only when they must. */
.docs-page a,
.docs-page code {
  overflow-wrap: anywhere;
}
