/* web-20261115-r3: Library format/deadline filters, pages, scope labels */
#history .mx-lib-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 12px; }
#history .mx-lib-tool { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
#history .mx-lib-tool select { min-height: 40px; padding: 0 10px; border: 1px solid var(--line, #d6deea); border-radius: 10px; background: var(--mx-card, #fff); color: inherit; font: inherit; }
#history .mx-lib-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line, #d6deea); border-radius: 999px; background: var(--mx-card, #fff); cursor: pointer; font-size: .9rem; }
#history .mx-lib-chip:has(input:checked) { border-color: var(--mx-select, #2f6fdb); background: var(--mx-select-soft, #eaf3fe); }
#history .mx-lib-chip[hidden] { display: none; }
#history .mx-lib-chip input { width: 16px; height: 16px; margin: 0; }
#history .mx-lib-pager { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
#history .mx-lib-pager[hidden] { display: none; }
#history .mx-lib-pager button { min-height: 40px; padding: 0 16px; border-radius: 10px; }
#history .mx-lib-pager-text { font-size: .9rem; color: var(--mx-muted, #5b6475); }
#history .history-item[hidden], #history.mx-lib .history-item.mx-lib-card[hidden], #history .shared-library .history-item[hidden] { display: none !important; }
#history .library-scope.mx-scope-all-first { display: flex; }
#history .library-scope.mx-scope-all-first > button:first-child { order: 2; }
@media (max-width: 560px) { #history .mx-lib-tools { gap: 8px; } #history .mx-lib-tool { flex: 1 1 100%; } #history .mx-lib-tool select { flex: 1 1 auto; } }
