/* Reference pages (About; the 404 page uses the same head): layout on top of site.css (.ui-page-head, .ui-section,
 * .ui-prose, .ui-table, .ui-dl). No token is redefined and no shared component is restyled. */
.ab-head .ui-lede { max-width: 36em; }
.ab-toc { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--rule); font: 500 var(--t-ui)/1.6 var(--sans); }
.ab-toc a { color: var(--ink-2); text-decoration: none; }
.ab-toc a:hover { color: var(--ink); text-decoration: underline; }
.ab-sec > h2 { margin-bottom: 14px; }
.ab-p { max-width: 46em; margin: 0 0 16px; font: 400 var(--t-m)/1.55 var(--sans); color: var(--ink-2); }
.ab-small { max-width: 46em; margin: 14px 0 0; font: 400 var(--t-s)/1.5 var(--sans); color: var(--ink-3); }
.ab-h3 { margin: 30px 0 8px; font: 600 19px/1.3 var(--serif); }
.ab-h3:first-of-type { margin-top: 6px; }
.ab-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; max-width: 1100px; }
.ab-col h3 { margin-top: 0; padding-top: 10px; border-top: 1px solid var(--ink); }
.ab-col ul { padding-left: 20px; margin: 0; }
.ab-prose { max-width: var(--read); }
.ab-prose h3:first-child { margin-top: 0; }
.ab-dl { max-width: 1000px; grid-template-columns: minmax(190px, max-content) minmax(0, 1fr); row-gap: 14px; column-gap: 28px; }
.ab-dl dt { color: var(--ink); }
.ab-dl dd { color: var(--ink-2); }
.ab-dl .src { white-space: normal; }
.ab-cav { display: block; margin-top: 3px; font-size: var(--t-s); color: var(--ink-3); }
.ab-scroll { overflow-x: auto; }
.ab-table { min-width: 720px; }
.ab-table td { line-height: 1.45; }
.ab-name { font-weight: 600; }
.ab-nw { white-space: nowrap; }
.ab-list { max-width: 46em; margin: 0; padding-left: 20px; font: 400 var(--t-m)/1.55 var(--sans); color: var(--ink-2); }
.ab-list li { margin-bottom: 8px; }
.ab .ui-notice { margin-top: 26px; }

/* the 404 page */
.nf { flex: 1 0 auto; }
.nf .ui-page-head { padding-bottom: 12px; }
.nf-links { list-style: none; max-width: 640px; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.nf-links li { border-bottom: 1px solid var(--rule); }
.nf-links a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); }
.nf-links a:hover .nf-t { color: var(--ink); text-decoration: underline; }
.nf-t { display: block; font: 600 var(--t-m)/1.3 var(--sans); }
.nf-s { display: block; font: 400 var(--t-s)/1.45 var(--sans); color: var(--ink-3); }
.nf-search .ui-btn { margin-left: 8px; }
.nf-search { margin: 18px 0 0; font: 400 var(--t-ui)/1.5 var(--sans); color: var(--ink-2); }

@media (max-width: 720px) {
  .ab-two { grid-template-columns: minmax(0, 1fr); }
  .ab-dl { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .ab-dl dd { margin-bottom: 12px; }
  .ab-toc { gap: 2px 16px; }
  /* reference tables become one block per row on a phone */
  .ab-table { min-width: 0; }
  .ab-table thead { display: none; }
  .ab-table tr, .ab-table td { display: block; }
  .ab-table tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .ab-table td { padding: 2px 0; border: 0; }
  .ab-nw { white-space: normal; }
}
@media print {
  .ab-toc { display: none; }
  .ab-table { min-width: 0; }
}
