/* glossary.css: the glossary pages only. Everything else comes from site.css; tokens are used, never hex. */
.sources { padding-left: var(--s6); }
.sources li { margin-bottom: var(--s2); overflow-wrap: anywhere; }
.faq-item { margin-bottom: var(--s5); }
.faq-item h3 { margin-bottom: var(--s1); }

/* one term */
.term { margin: 0 0 var(--s6); padding: var(--s5) 0 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--topbar-h) + var(--s4)); }
.term h3 { margin: 0 0 var(--s2); font-size: 20px; }
.term p { margin: 0 0 var(--s2); }
.term .def { color: var(--text); }
.term .k, .jump .k { display: inline-block; margin-right: var(--s2); color: var(--muted); font-size: 12.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.term .also, .term .rel, .term .say, .term .see { font-size: 15.5px; color: var(--text-2); }
.term .src { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.term .src a { overflow-wrap: anywhere; }
.term:target { background: var(--amber-glow); border-radius: var(--radius); padding-left: var(--s3); padding-right: var(--s3); }

/* jump lists */
.jump { margin: var(--s5) 0; padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.jump .k { display: block; margin: 0 0 var(--s2); }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.jump li { margin: 0; }
.jump a { display: inline-block; padding: var(--s1) 0; min-height: 24px; }
.jump--letters ul { gap: var(--s1) var(--s2); }
.jump--letters a { min-width: 32px; min-height: 36px; padding: var(--s1) var(--s2); text-align: center; border: 1px solid var(--border); border-radius: var(--radius); line-height: 1.6; }

/* index list and filter */
.gloss-filter { margin: var(--s4) 0; }
.gloss-filter[hidden] { display: none; }
.gloss-filter input { width: 100%; max-width: 480px; }
.gloss-count { margin: var(--s2) 0 0; color: var(--muted); font-size: 14px; }
.letter { margin: var(--s6) 0 var(--s2); font-size: 22px; color: var(--amber); scroll-margin-top: calc(var(--topbar-h) + var(--s4)); }
.termlist { list-style: none; margin: 0; padding: 0; }
.termlist li { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--border); }
.termlist .tname { font-weight: 650; margin-right: var(--s2); }
.termlist .tone { color: var(--text-2); }
.termlist .chip { margin-left: var(--s1); text-decoration: none; }
.letter-group[hidden], .termlist li[hidden] { display: none; }
