/* AI agent instructions (AI01): an article-style brief in one reading column. Shared tokens only; no new colours. */
.brief__body { max-width: var(--width-reading); }
.brief__body h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); }
.brief__body > .lead { max-width: none; }
.brief__updated { color: var(--color-text-secondary); font-size: var(--text-sm); }
.brief__url { font-size: var(--text-sm); color: var(--color-text-secondary); }
.brief__url a, .brief__table a { overflow-wrap: anywhere; }

/* Each H2 opens a section separated by a 1px rule; H3s group the content beneath it. */
.brief__section { margin-top: var(--space-9) !important; padding-top: var(--space-7); border-top: 1px solid var(--color-border); }
.brief__section > h3 { margin-top: var(--space-7); font-size: var(--text-h4); }
.brief__section > h3 + * { margin-top: var(--space-3); }
.brief__section > .table-wrap { margin-top: var(--space-5); }

/* Tables: the row label column stays narrow and reads as a label. */
.brief__table tbody th { font-weight: 600; width: 32%; }
.brief__table td, .brief__table th { overflow-wrap: break-word; }

/* Numbered lists: the visible number is text (so the approved "1." wording renders); the ol carries the order. */
.brief-steps { list-style: none; display: grid; gap: var(--space-4); }
.brief-steps__item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--space-2); align-items: baseline; }
.brief-steps__num { font: 700 var(--text-body)/var(--leading-body) var(--font-heading); color: var(--color-teal); }
.brief-steps__body strong { font-weight: 650; }

/* Narrow screens: tighter cells and hyphenation keep two-column tables inside the column; three-column tables keep a
   readable minimum width and scroll inside their labelled, focusable region (the .table-wrap pattern). */
@media (max-width: 40em) {
  .brief__table th, .brief__table td { padding: var(--space-3); hyphens: auto; }
  .brief__table tbody th { width: 38%; }
  .brief__table:has(thead th:nth-child(3)) { min-width: 34rem; }
  .brief__table:has(thead th:nth-child(3)) tbody th { width: 28%; }
  .brief__table .contact-email { white-space: normal; }
}
