.source-sidebar,.source-content{min-width:0}
.source-menu{margin:0 0 18px}
.source-menu h2,.source-categories>h2{font-size:12px;color:var(--muted);font-weight:600;margin:0 10px 8px}
.source-menu ul{display:grid;gap:3px;list-style:none;padding:0;margin:0}
.source-menu li{display:flex}
.source-menu a{width:100%;min-height:48px;display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:6px;color:var(--navy);text-decoration:none;line-height:1.45}
.source-phrase{display:inline-block;white-space:nowrap}
.source-menu a .icon{flex:none}
.source-menu a[aria-current=page]{background:var(--surface-low);font-weight:600}
.source-menu a:hover{background:var(--surface-high,#e7eff4)}
.source-menu a:focus-visible,.source-table a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.source-categories{border-top:1px solid var(--line);padding-top:14px}
.source-content h1{font-size:clamp(21px,2.2vw,28px);margin:4px 0 12px;line-height:1.4}
.source-content h2,.source-results h2{font-size:18px;margin:20px 0 10px}
.source-count{font-size:13px;color:var(--muted)}
.source-table{width:100%;border-collapse:collapse;color:var(--navy);text-align:left;font-size:14px}
.source-table th,.source-table td{border:0;border-bottom:1px solid var(--line);padding:11px 8px;text-align:left}
.source-table thead th{font-size:12px;color:var(--muted);font-weight:500}
.source-table tbody th{width:44%;font-weight:600}
.source-access-note{display:block;color:var(--muted);font-size:13px;font-weight:400}
.source-table a{color:inherit;text-decoration:none}
.source-table a:hover{text-decoration:underline}
.source-results{margin:0 0 20px;overflow-wrap:anywhere}
.source-facts{display:grid;grid-template-columns:auto 1fr;gap:8px 18px}
.source-facts dt{color:var(--muted)}.source-facts dd{margin:0}
.source-files{display:flex;flex-wrap:wrap;gap:18px}
.source-files-fallback{flex-direction:column;align-items:flex-start}
.source-files a{display:inline-flex;align-items:center;gap:4px}
.source-edition-note{margin:6px 0 0;font-size:14px}
.source-edition-history{margin-top:18px}
.source-edition-history summary{width:fit-content;cursor:pointer}
.source-edition-history ul{margin:6px 0;padding-inline-start:1.5em}
.publisher-notice{border-top:1px solid var(--line);padding:12px 0}
.publisher-notice-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;color:var(--muted);font-size:13px}
.publisher-notice-meta a{color:inherit}
.source-content .publisher-notice h2{margin:4px 0;font-size:16px}
.publisher-notice ul{list-style:none;padding:0;margin:2px 0 0}
.publisher-notice li a{display:inline-block;padding:3px 0;text-underline-offset:2px}
.publisher-coverage details{margin-top:4px}
.publisher-coverage summary{cursor:pointer;width:fit-content}
.publisher-coverage details p,.publisher-coverage details ul{margin:4px 0}
.publisher-coverage details ul{padding-inline-start:1.3em}
.publisher-coverage details a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:700px){
 .home.sources-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .sources-layout .source-sidebar{display:contents}
 .source-menu{order:-1;margin:0;border-bottom:1px solid var(--line);padding-bottom:12px}
 .source-menu h2{margin-left:0}
 .source-menu ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .source-menu a{padding:6px;gap:6px;font-size:13px}
 .source-categories{order:2}
 .source-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .source-table,.source-table tbody,.source-table tr,.source-table td,.source-table tbody th{display:block;width:100%}
 .source-table tr{border-bottom:1px solid var(--line);padding:9px 0}
 .source-table td,.source-table tbody th{border:0;padding:0}
 .source-table td{color:var(--muted);font-size:13px}
}
.compact-count{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 5px;min-height:40px}
.compact-count .source-count{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.catalog-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.compact-select{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:38px;max-width:100%;padding:5px 11px;border:1px solid #a5b7c1;border-radius:6px;background:transparent;color:var(--navy);font-size:14px;cursor:pointer}
.compact-select:after{content:'';flex:none;width:6px;height:6px;margin-top:-3px;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.control-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-select select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font:inherit}
.compact-select:hover,.sort-heading:hover{background:#e6f0f4}
.compact-select:focus-within,.sort-heading:focus-visible{outline:2px solid #12556f;outline-offset:2px}
.compact-table .sort-heading{display:inline-flex;align-items:center;gap:4px;border:0;padding:0 3px;margin:0 -3px;min-height:26px;color:inherit;font:inherit;border-radius:3px;background:transparent;cursor:pointer}
.sort-heading span{font-family:system-ui,sans-serif}
.compact-table thead th[aria-sort] .compact-table .sort-heading{color:#114862;font-weight:600}
.mobile-sort{display:none}
@media(max-width:700px){.compact-table thead{display:none}
.mobile-sort{display:inline-flex}
.compact-select{min-height:44px;font-size:13px;padding:5px 9px}
.catalog-actions{max-width:calc(100% - 44px);gap:6px}
.catalog-actions .compact-select:first-child{min-width:0}
.mobile-sort{flex-shrink:0}
.compact-count{margin:6px 0 2px}}
/* Purpose filtering belongs to the column on wide screens and to the list controls on compact screens. */
.purpose-heading,.purpose-heading form,.purpose-filter{display:inline-flex;align-items:center}
.purpose-heading{gap:5px}
.purpose-filter{position:relative;box-sizing:border-box;min-width:32px;min-height:32px;justify-content:center;gap:5px;padding:3px 6px;border-radius:4px;color:var(--navy);cursor:pointer}
.filter-lines{display:inline-block;flex:0 0 18px;width:18px;height:15px;background:linear-gradient(currentColor,currentColor) center 1px/18px 2px,linear-gradient(currentColor,currentColor) center 6px/12px 2px,linear-gradient(currentColor,currentColor) center 11px/6px 2px;background-repeat:no-repeat}
.purpose-filter select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.purpose-filter:hover{background:var(--hover)}
.purpose-filter:focus-within{outline:2px solid var(--primary);outline-offset:2px}
.purpose-filter.active{background:var(--selected);color:var(--on-selected)}
.filter-value{font-size:13px;max-width:14em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(min-width:701px){.catalog-actions{display:none}.purpose-heading form{margin:0}}
@media(max-width:700px){.purpose-filter{min-width:44px;min-height:44px;max-width:100%}.filter-value{max-width:9em}.catalog-actions{min-width:0}.purpose-filter select{font-size:16px}}
