/* Keep the archived skin; style only the new glossary controls and static fixes. */
body { margin-bottom: 0 !important; }
.term-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.term-tabs a { padding: 7px 12px; border: 1px solid #b7c9ae; background: #f4f8f0; text-decoration: none; }
.term-tabs a[aria-current="page"] { background: #e0edcd; color: #294815; font-weight: bold; border-color: #739758; }
.term-search { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0; }
.term-search label { width: 100%; }
.term-search input { box-sizing: border-box; width: 300px; max-width: 100%; padding: 5px; font: inherit; }
.term-search button { padding: 5px 10px; cursor: pointer; font: inherit; }
.term-pagination { margin: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.term-pagination details { width: 100%; }
.term-page-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.term-page-links a { padding: 3px 7px; border: 1px solid #ccd8c4; }
.term-page-links a[aria-current="page"] { background: #e0edcd; font-weight: bold; }
.term-scroll { overflow-x: auto; max-width: 100%; }
.term-table { width: 100%; table-layout: fixed; }
.term-table th:first-child { width: 9%; }
.term-table th:nth-child(2), .term-table th:nth-child(3) { width: 24%; }
.term-table td { white-space: normal !important; overflow-wrap: anywhere; vertical-align: top; }
.term-table td:first-child { white-space: normal; }
.term-table details { margin: 4px 0; }
.term-table summary, .term-pagination summary { cursor: pointer; }
.term-table code, .term-table pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; }
.term-table tr:target { outline: 2px solid #879d60; background: #fffbdc; }
.term-evidence { border-bottom: 1px dotted #c8d1c0; padding-bottom: 3px; }
.index-categories { columns: 3; }
[hidden] { display: none !important; }
