﻿/* ============================================================================
   /glossary/{slug}: one term (sub page system v1.1, 9 Oct 2026). A page to READ: no instrument.
   Three short chapters whose head is only their numbered label (an h2 drawn as sub.css .chn),
   so on a desktop the label holds still on the left and the words read on the right, in one calm
   column of about 65 characters; then the source papers and the related terms as link rows.
   Tokens only (no hex outside tos-site.css).
   ============================================================================ */

/* the eyebrow is the way back to the glossary: a real link, 44px tall */
.sp.gt-page .gt-up { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.sp.gt-page .gt-up:hover, .sp.gt-page .gt-up:focus-visible { border-bottom-color: var(--lp-accent); }
.sp.gt-page .sp-head .hd-a .eyebrow { margin-bottom: -8px; }

/* the dated-record line under the title: "Term" and the series, side by side */
.sp.gt-page .stamp { flex-wrap: wrap; row-gap: 4px; margin-top: 28px; }
.sp.gt-page .stamp .gt-k { color: var(--lp-ink); font-weight: 600; }

/* a chapter here is a paragraph or two: less air than a chapter of the long pages */
.sp.gt-page .gt-ch { padding-block: 44px 40px; }
.sp.gt-page .gt-ch .chn { margin-bottom: 0; }
.sp.gt-page .gt-ch .ch-b { margin-top: 16px; }
.sp.gt-page .gt-ch .body > p { max-width: 36em; }

/* the source papers: a record label, then link rows */
.sp.gt-page .gt-src-k { color: var(--lp-muted); margin-bottom: 10px; }
.sp.gt-page .gt-src .lk-t { font-size: 16px; }

/* related terms: the opening of each definition, two lines at most */
.sp.gt-page .gt-rel .lk-x { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

@media (min-width: 760px) {
  .sp.gt-page .links a { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (min-width: 1180px) {
  .sp.gt-page .gt-ch { padding-block: 72px; }
  .sp.gt-page .gt-ch .ch-b { margin-top: 0; }
  .sp.gt-page .gt-ch .ch-b > .body:first-child { padding-top: 0; }
  .sp.gt-page .gt-ch .chn { padding-top: 6px; }
}
