/* One reading room: collection, section, search, then documents. */
html body .archive-workspace .archive-breadcrumb{margin:-4px 0 18px;padding:0;border:0;background:none;font:.75rem/1.5 var(--library-text);color:#687056}
.archive-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;list-style:none;margin:0;padding:0}
.archive-breadcrumb li{display:flex;align-items:center;gap:10px;min-width:0}
.archive-breadcrumb li+li:before{content:"/";color:#9c936e}
.archive-breadcrumb a{display:inline-flex;align-items:center;min-height:36px;color:#3d6245;text-underline-offset:3px}
html body .archive-workspace .archive-breadcrumb :is(a,span){font:inherit}
.archive-breadcrumb [aria-current]{color:#706b52}
html body .archive-workspace .explorer-pagination{gap:10px 16px}
.explorer-pagination ol{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
html body .archive-workspace .explorer-pagination ol a,.explorer-pagination ol [aria-current]{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;border-radius:5px;font:.875rem/1.5 var(--library-text)}
html body .archive-workspace .explorer-pagination [aria-current]{background:#28523a;color:#fff1cd;border:1px solid #28523a}
.explorer-pagination .page-gap{font-size:.875rem;color:#767052}
html body .archive-workspace .explorer-pagination .page-total{width:100%;text-align:center;font:.75rem/1.5 var(--library-text);color:#6a7158}
@media(max-width:540px){.archive-breadcrumb a{min-height:44px}.explorer-pagination ol{order:-1;width:100%;gap:5px}html body .archive-workspace .explorer-pagination{gap:10px}.explorer-pagination .page-direction{flex:1}.explorer-pagination .page-total{order:2}}
html body .archive-workspace .explorer-reading-nav{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding:14px 18px;margin:0 0 24px;border:1px solid #b3af86;border-left:3px solid #466b46;border-radius:5px;background:#f0f1df;box-shadow:inset 0 1px #fffaf0}
.explorer-reading-nav>div{min-width:0}
html body .archive-workspace .explorer-reading-nav a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font:700 .875rem/1.5 var(--library-text);color:#285239;text-decoration:none;border:0;box-shadow:none;background:none;padding:5px 0}
.explorer-reading-nav a:hover{text-decoration:underline!important;text-underline-offset:4px}
.explorer-reading-nav svg{flex-shrink:0}
html body .archive-workspace .explorer-reading-nav p{margin:0;padding:0 0 3px 28px;font:.75rem/1.6 var(--library-text);color:#637050;overflow-wrap:anywhere}
html body .archive-workspace .explorer-reading-nav .explorer-permanent{flex-shrink:0;font-weight:400;font-size:.8125rem;color:#5a643e}
.archive-workspace :is(.source-entry,.ch-preview,.ee-entry,.catalogue-version){scroll-margin-top:24px}
.archive-workspace :is(.source-entry,.ch-preview,.ee-entry,.catalogue-version):target{outline:2px solid #658755;outline-offset:4px}
@media(max-width:540px){html body .archive-workspace .explorer-reading-nav{align-items:stretch;flex-direction:column;gap:4px;padding:10px 14px}html body .archive-workspace .explorer-reading-nav .explorer-permanent{align-self:flex-start;margin-left:28px}.explorer-reading-nav>div{width:100%}}
html body .archive-workspace .archive-explorer{margin:0 0 24px;font-family:var(--library-text);position:relative;z-index:5}
.archive-explorer .explorer-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.archive-explorer .explorer-heading>span{font:.6875rem/1.5 var(--library-text);color:#66674d;text-transform:uppercase;letter-spacing:.13em}
.archive-explorer .explorer-games{position:relative;background:none;border:0;box-shadow:none;padding:0;margin:0;max-width:100%}
.archive-explorer .explorer-games>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 14px;border:1px solid #b5a77c;border-radius:5px;background:#fffcf0;color:#294b37;cursor:pointer;list-style:none;font:.875rem/1.5 var(--library-text)}
.archive-explorer .explorer-games>summary::-webkit-details-marker{display:none}
.archive-explorer .explorer-games>summary>span:first-child{color:#737158;font-size:.75rem}
.archive-explorer .explorer-games>summary strong{font-weight:700}
.archive-explorer .explorer-games[open]>summary{border-color:#3e684b;background:#edf0db}
.archive-explorer .explorer-games nav{position:absolute;right:0;top:calc(100% + 8px);z-index:10;width:min(570px,calc(100vw - 72px));display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#fffdf2;border:1px solid #a89b70;border-radius:7px;box-shadow:0 12px 28px #203d3426;padding:10px;max-height:60vh;overflow:auto}
.archive-explorer .explorer-games nav>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;min-height:48px;text-decoration:none;color:#35533a;border:1px solid transparent;border-radius:4px;font:.875rem/1.45 var(--library-text)}
.archive-explorer .explorer-games nav>a>span{font-size:.8125rem;color:#7b7956}
.archive-explorer .explorer-games nav>a:hover{background:#eef0dd}
.archive-explorer .explorer-games nav>a[aria-current]{border-color:#8aa078;background:#e4ecd4;color:#264c37}
.archive-explorer .explorer-tabs{display:flex;gap:5px;padding:5px;background:#e9e4cb;border:1px solid #b7a77a;border-radius:7px;box-shadow:inset 0 1px #fff9e5}
.archive-explorer .explorer-tabs>a{display:flex;flex:1;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:68px;padding:12px 14px;border:1px solid transparent;border-radius:4px;text-decoration:none;color:#4e5c40;font:700 .9375rem/1.4 var(--library-text);overflow-wrap:normal}
.archive-explorer .explorer-tabs>a svg{flex-shrink:0;color:#78825b}
.archive-explorer .explorer-tabs>a small{display:block;font:400 .6875rem/1.5 var(--library-text);color:#6b7056;margin-top:4px}
.archive-explorer .explorer-tabs>a:hover{background:#f9f7e8}
.archive-explorer .explorer-tabs>a[aria-current=page]{background:#234b38;color:#fff2cd;border-color:#234b38;box-shadow:inset 0 1px #96ad7255,0 2px 4px #223c2520}
.archive-explorer .explorer-tabs>a[aria-current=page] :is(svg,small){color:#ddd8a8}
html body .archive-workspace .catalogue-introduction{padding:0 0 22px;margin:0 0 22px;border:0}
html body .archive-workspace .catalogue-introduction h1{font:400 clamp(1.9rem,2.5vw,2.7rem)/1.2 Georgia,serif;letter-spacing:-.025em;margin:6px 0 12px;color:#214d3a}
html body .archive-workspace .catalogue-introduction p{max-width:90ch;font-size:.9375rem;line-height:1.7}
html body .archive-workspace .catalogue-introduction .library-game-label{font-size:.75rem;color:#786437;margin:0;letter-spacing:.045em}
html body .archive-workspace .explorer-search{margin:0;padding:20px 22px 0;border:1px solid #b7a77a;border-radius:7px;background:#fffdf3;box-shadow:0 2px 0 #dfd6b84d}
html body .archive-workspace .explorer-search .archive-search-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(180px,.8fr) auto;gap:16px;align-items:end}
html body .archive-workspace .explorer-search label{font:700 .8125rem/1.5 var(--library-text);color:#40573c;gap:7px;min-width:0;display:flex;flex-direction:column}
html body .archive-workspace .explorer-search :is(input,select){font:400 1rem/1.4 var(--library-text);color:#294b38;min-height:48px;padding:11px 12px;border:1px solid #b4b18d;border-radius:4px;background:#fffef9;width:100%;max-width:100%;min-width:0;box-shadow:inset 0 1px 3px #555b4010}
html body .archive-workspace .explorer-search button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;padding:11px 22px;border:1px solid #234b38;border-radius:4px;background:#234b38;box-shadow:inset 0 1px #90ab7440;color:#fff0c8;font:700 .875rem/1.5 var(--library-text);cursor:pointer}
html body .archive-workspace .explorer-search button:hover{background:#346345}
.explorer-search .explorer-search-bottom{position:relative;margin-top:15px;border-top:1px solid #dfd7bb}
.explorer-search #explorer-search-help{margin:0;padding:15px 140px 15px 0;color:#707056;font:.75rem/1.5 var(--library-text);min-height:48px}
.explorer-search .explorer-refine{border:0;background:none;border-radius:0;margin:0;padding:0;box-shadow:none}
.explorer-search .explorer-refine>summary{position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:48px;padding:12px 0;color:#39583d;font:.8125rem/1.5 var(--library-text);list-style:none;cursor:pointer}
.explorer-search .explorer-refine>summary::-webkit-details-marker{display:none}
.explorer-search .explorer-refine[open]>summary>span{transform:rotate(45deg)}
.explorer-search .explorer-refine-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:16px 0;border-top:1px solid #dfd7bb}
html body .archive-workspace .explorer-search .explorer-apply{font-size:.8125rem;background:#eee8cf;color:#355338;border-color:#b6ab81;min-height:44px;margin:0 0 20px;padding:10px 16px}
.archive-workspace .explorer-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0}
.archive-workspace .explorer-chips>span{font:.75rem/1.5 var(--library-text);color:#6e7056;margin-right:6px}
.archive-workspace .explorer-chips>a{display:inline-flex;align-items:center;gap:12px;min-height:40px;max-width:100%;padding:8px 12px;border:1px solid #aabb95;border-radius:5px;background:#eaf0dc;color:#33543a;text-decoration:none;font:.8125rem/1.5 var(--library-text);overflow-wrap:anywhere}
.archive-workspace .explorer-chips>a>b{font:400 1.15rem/1 var(--library-text);flex-shrink:0;margin-left:auto}
.archive-workspace .explorer-chips>a:hover{background:#dae7c6;border-color:#6f925f}
html body .archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar,.ee-result-line){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:20px 0 16px;padding:0 0 16px;border-bottom:1px solid #c3b489;color:#5c674e;font:.875rem/1.6 var(--library-text);scroll-margin-top:20px}
html body .archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar,.ee-result-line)>p{font:.875rem/1.6 var(--library-text);margin:0}
html body .archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar,.ee-result-line)>a{display:inline-flex;align-items:center;min-height:40px;font-size:.8125rem;color:#486343}
html body .archive-workspace :is(.source-empty,.ch-empty,.ee-empty,.catalogue-empty){padding:26px;border:1px dashed #b4a276;border-radius:6px;background:#faf6e6;color:#56614a;margin:20px 0;line-height:1.7}
html body .archive-workspace :is(.source-empty,.ch-empty,.ee-empty,.catalogue-empty) h2{font:400 1.35rem/1.4 Georgia,serif;color:#294f3a;margin:0 0 10px}
html body .archive-workspace .source-register>.archive-collection-intro{margin:24px 0;padding:22px;border:1px solid #b9aa7c;border-radius:6px;box-shadow:none;background:#edf0dc;grid-template-columns:1fr 200px;gap:26px}
html body .archive-workspace .archive-collection-intro h2{font:400 1.5rem/1.3 Georgia,serif;margin:6px 0 12px}
html body .archive-workspace .archive-collection-intro p{font-size:.875rem;line-height:1.7}
html body .archive-workspace .archive-collection-feature img{max-height:180px;object-fit:contain}
html body .archive-workspace .archive-collection-intro nav{display:flex;flex-wrap:wrap;gap:6px 18px}
html body .archive-workspace .archive-collection-intro nav>a{font-size:.8125rem;min-height:36px;padding:7px 0;border:0;background:none;box-shadow:none}
html body .archive-workspace .ee-inventory{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;margin:0 0 16px;padding:0;background:none;border:0;box-shadow:none;font:.8125rem/1.6 var(--library-text)}
html body .archive-workspace .ee-inventory strong{font:700 .9375rem/1.5 var(--library-text);color:#466140}
html body .archive-workspace .archive-pagination{padding-top:18px;border-top:1px solid #c3b489;gap:12px}
html body .archive-workspace .archive-pagination a{border:1px solid #b4a576;border-radius:5px;background:#fffdf0;min-height:44px;color:#35543b}
@media(max-width:1100px){.archive-explorer .explorer-tabs>a{gap:8px;padding:11px 8px;font-size:.8125rem}.archive-explorer .explorer-tabs>a small{font-size:.625rem}.archive-explorer .explorer-tabs>a svg{width:19px;height:19px}.explorer-search .explorer-refine-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 html body .archive-workspace .archive-explorer{margin-bottom:22px}
 .archive-explorer .explorer-heading{margin-bottom:12px;gap:10px}
 .archive-explorer .explorer-heading>span{display:none}
 .archive-explorer .explorer-games{width:100%}
 .archive-explorer .explorer-games>summary{justify-content:flex-start;min-height:44px;padding:9px 12px;font-size:.8125rem}
 .archive-explorer .explorer-games>summary>span:last-child{margin-left:auto}
 .archive-explorer .explorer-games nav{width:100%;grid-template-columns:1fr;max-height:55vh;gap:2px;padding:8px}
 .archive-explorer .explorer-games nav>a{font-size:.875rem;min-height:44px;padding:9px 12px}
 .archive-explorer .explorer-tabs{display:flex;padding:4px;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#8fa076 #e9e4cb}
 .archive-explorer .explorer-tabs>a{flex:0 0 auto;justify-content:flex-start;gap:9px;min-height:44px;padding:10px 12px;font-size:.8125rem;white-space:nowrap}
 .archive-explorer .explorer-tabs>a small{display:none}
 .archive-explorer .explorer-tabs>a svg{width:17px;height:17px}
 html body .archive-workspace .catalogue-introduction{padding:0;margin-bottom:22px}
 html body .archive-workspace .catalogue-introduction h1{font-size:1.75rem;line-height:1.2;margin-top:8px}
 html body .archive-workspace .catalogue-introduction p{font-size:.875rem;line-height:1.7}
 html body .archive-workspace .explorer-search{padding:16px 14px 0}
 html body .archive-workspace .explorer-search .archive-search-row{grid-template-columns:1fr;gap:14px}
 html body .archive-workspace .explorer-search button{width:100%}
 .explorer-search #explorer-search-help{padding:13px 0 4px;min-height:0;font-size:.6875rem}
 .explorer-search .explorer-refine>summary{position:static;justify-content:space-between;min-height:44px;padding:12px 0;font-size:.8125rem}
 .explorer-search .explorer-refine-fields{grid-template-columns:1fr;gap:16px;padding:16px 0}
 html body .archive-workspace .explorer-search .explorer-apply{margin-bottom:16px}
 .archive-workspace .explorer-chips>span{width:100%;margin:0}
 .archive-workspace .explorer-chips>a{min-height:44px;font-size:.75rem}
 html body .archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar,.ee-result-line)>p{font-size:.8125rem}
 html body .archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar,.ee-result-line)>a{min-height:44px}
 html body .archive-workspace .source-register>.archive-collection-intro{display:grid;grid-template-columns:1fr;padding:18px;gap:18px}
 html body .archive-workspace .archive-collection-intro h2{font-size:1.35rem}
 html body .archive-workspace .archive-collection-feature img{max-height:200px}
 html body .archive-workspace :is(.source-empty,.ch-empty,.ee-empty,.catalogue-empty){padding:20px}
}
@media(prefers-reduced-motion:no-preference){.archive-explorer a,.explorer-chips a{transition:background-color .15s ease,border-color .15s ease}.explorer-search :is(input,select){transition:border-color .15s ease}}
