/* Reading rooms: one section bar, one search area, bounded documents. */
html body main.archive-workspace{--archive-border:#b9ac86;--archive-paper:#fffdf5;--archive-soft:#eee8d4;--archive-ink:#253e2e;padding-top:24px;color:var(--archive-ink)}
.archive-workspace .archive-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 28px;padding:4px;border:1px solid #a99a6d;border-radius:7px;background:#e7e0c8}
.archive-workspace .archive-sections a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;color:#3d4d34;font:600 1rem/1.4 var(--rb-text,'Trebuchet MS',sans-serif);text-align:center;text-decoration:none;border:1px solid transparent;border-radius:4px}
.archive-workspace .archive-sections a[aria-current]{background:#31513a;border-color:#294831;color:#fff3ce;box-shadow:0 2px 4px #25392318}.archive-workspace .archive-sections a:hover:not([aria-current]){background:#f8f3e3}
html body .archive-workspace .catalogue-introduction{padding:0;margin:0 0 24px;min-height:0;border:0;display:block;background:none}
.archive-workspace .catalogue-introduction h1{font:400 clamp(1.8rem,3vw,2.5rem)/1.18 Georgia,serif;margin:0 0 12px;letter-spacing:-.025em}
.archive-workspace .catalogue-introduction p{max-width:82ch;margin:0;font-size:1rem;line-height:1.7;color:#58634d}
.archive-workspace :is(.archive-search,.source-entry,.ch-preview,.ch-entry-single){box-sizing:border-box;border:1px solid var(--archive-border);border-radius:6px;background:var(--archive-paper);box-shadow:0 3px 8px #31432a08;overflow-wrap:anywhere}
.archive-workspace .archive-search{display:block;padding:20px;margin:0 0 20px}
.archive-workspace .archive-search-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,1fr) auto;gap:16px;align-items:end}
.archive-workspace .archive-search label{display:flex;flex-direction:column;min-width:0;gap:7px;font:600 .875rem/1.5 var(--rb-text,'Trebuchet MS',sans-serif);color:#48573f}
.archive-workspace .archive-search :is(input,select){box-sizing:border-box;min-width:0;width:100%;height:auto;min-height:46px;padding:10px 12px;border:1px solid #a9a184;border-radius:4px;background:#fffef9;box-shadow:none;color:#263e2e;font:400 1rem/1.4 var(--rb-text,'Trebuchet MS',sans-serif)}
.archive-workspace .archive-search button{min-height:46px;padding:10px 22px;border:1px solid #294831;border-radius:4px;color:#fff5d9;background:#31513a;font:600 1rem/1.4 var(--rb-text,'Trebuchet MS',sans-serif);cursor:pointer}
.archive-workspace .archive-search button:hover{background:#203f2a}
html body .archive-workspace details.archive-refine{display:block;background:none;border:0;border-top:1px solid #d8cfb7;border-radius:0;margin:16px 0 0;padding:0;box-shadow:none}
.archive-workspace .archive-refine>summary{display:list-item;padding:12px 0 0;min-height:36px;color:#4b5e41;font-size:.875rem;background:none;cursor:pointer}
.archive-workspace .archive-refine>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:16px}
.archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin:18px 0;color:#5f654f;font-size:.9375rem}
.archive-workspace :is(.archive-result-line,.bank-toolbar,.ch-toolbar) p{margin:0;font-size:.9375rem}
.archive-workspace :is(.archive-help,.catalogue-documents){border:1px solid #c4b796;border-radius:5px;background:#f4efdf;margin:14px 0;box-shadow:none}
.archive-workspace :is(.archive-help,.catalogue-documents)>summary{padding:14px 18px;min-height:48px;font-size:.9375rem;color:#41553b;background:none;cursor:pointer}
.archive-workspace .archive-help>div{padding:4px 20px 20px;max-width:100%;font-size:1rem;line-height:1.75}
.archive-workspace .archive-help p{max-width:84ch}.archive-workspace .archive-help .archive-ledger-intro{margin:0;padding:10px 0;border:0;box-shadow:none}
html body .archive-workspace .catalogue-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:22px;align-items:start}
html body .archive-workspace details.catalogue-version{margin:0;border:1px solid #b9ac86;border-left:4px solid #778252;border-radius:5px;background:#fffdf5;box-shadow:0 2px 5px #35452308;overflow:hidden}
html body .archive-workspace .catalogue-version>summary{padding:20px;gap:20px;background:#f6f1e2;grid-template-columns:minmax(120px,.7fr) minmax(160px,1fr) minmax(180px,.9fr);border:0;cursor:pointer}
html body .archive-workspace .catalogue-version[open]>summary{border-bottom:1px solid #c4b796;background:#eae4cd}
html body .archive-workspace .version-columns{padding:24px;gap:28px}.archive-workspace .version-columns>section{min-width:0}
.archive-workspace .version-columns p,.archive-workspace .version-columns li{font-size:1rem;line-height:1.75}
.archive-workspace a{overflow-wrap:anywhere;text-underline-offset:4px}.archive-workspace :is(a,summary,input,select,button):focus-visible{outline:3px solid #607944;outline-offset:3px}
html body .archive-workspace :is(.source-results,.source-results.source-gallery,.ch-list){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;margin:20px 0 28px}
html body .archive-workspace :is(.source-results.source-single,.ch-list.ch-single){grid-template-columns:minmax(0,1fr);max-width:980px;margin-inline:auto}
html body .archive-workspace .source-entry{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:0;margin:0;border:1px solid var(--archive-border);border-radius:6px;background:var(--archive-paper);box-shadow:0 3px 8px #31432a08;overflow:hidden}
html body .archive-workspace :is(.source-visual,.ch-preview-image){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:220px;min-height:0;margin:0;padding:18px;border:0;border-bottom:1px solid #cec3a6;border-radius:0;background:#e8e4cf;box-shadow:none}
html body .archive-workspace :is(.source-visual,.ch-preview-image) img{display:block;width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;box-shadow:none;border:0;border-radius:0}
html body .archive-workspace .source-entry-symbol .source-visual img{width:auto;height:auto;max-width:100%;max-height:100%}
.archive-workspace :is(.source-entry-copy,.ch-preview-copy){padding:24px;min-width:0}
.archive-workspace :is(.source-entry-copy,.ch-preview-copy) :is(h2,h3){font:400 1.45rem/1.35 Georgia,serif;letter-spacing:-.01em;margin:8px 0 14px;color:#294632}
.archive-workspace :is(.source-entry-copy,.ch-preview-copy) :is(h2,h3) a{color:inherit;text-decoration:none}.archive-workspace :is(.source-entry-copy,.ch-preview-copy) :is(h2,h3) a:hover{text-decoration:underline}
.archive-workspace :is(.source-entry-copy,.ch-preview-copy)>p{font-size:1rem;line-height:1.75;margin:0 0 14px}
.archive-workspace :is(.archive-card-meta,.source-entry-copy .source-kind,.source-entry-copy .source-dating){font-size:.875rem;line-height:1.6;color:#61664d}
.archive-workspace .archive-card-action{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;border-top:1px solid #ded5be;padding-top:16px;margin-top:20px!important;margin-bottom:0!important}
.archive-workspace .archive-card-action a{display:inline-flex;align-items:center;min-height:38px;color:#365536;font-size:.9375rem;font-weight:600}.archive-workspace .archive-card-action span{font-size:.875rem;color:#68664f}
.archive-workspace .ch-preview{overflow:hidden}
html body .archive-workspace .ch-entry{background:var(--archive-paper);border:1px solid var(--archive-border);border-radius:6px;margin:0;box-shadow:0 3px 8px #31432a08}
html body .archive-workspace .ch-entry>summary{padding:22px;background:#eee8d6;border:0;border-bottom:1px solid #c8bb99;border-radius:5px 5px 0 0}
html body .archive-workspace .ch-body{max-width:80ch;margin:0 auto;padding:28px;box-sizing:content-box}
.archive-workspace .ch-body>p{font-size:1rem;line-height:1.85}.archive-workspace .ch-body>.ch-image{width:min(100%,520px);margin:24px auto}
html body .archive-workspace :is(.source-record,.ch-evidence,.ch-method,.archive-document,.historical-complement,.archive-legacy-note,.version-source-register){border:1px solid #c8bb99;border-radius:4px;background:#f7f2e4;box-shadow:none;margin:18px 0}
html body .archive-workspace :is(.source-record,.ch-evidence,.ch-method,.historical-complement,.archive-legacy-note,.version-source-register)>summary{padding:14px 16px;min-height:46px;font-size:.9375rem;line-height:1.6;background:none;cursor:pointer}
.archive-workspace :is(.source-record,.ch-evidence,.ch-method)>:not(summary){margin:0;padding:10px 20px 20px;box-sizing:border-box}
.archive-workspace .source-record dl>div{display:block;padding:12px 0;border-bottom:1px solid #ded6c0}.archive-workspace .source-record dt{margin-bottom:5px;font-size:.875rem;font-weight:600}.archive-workspace .source-record dd{margin:0;font-size:.9375rem;line-height:1.75}
.archive-workspace :is(.source-record,.ch-evidence) code{font-size:.8125rem;overflow-wrap:anywhere;white-space:normal}
.archive-workspace .source-single .source-visual{height:auto;min-height:180px;max-height:none;padding:28px}.archive-workspace .source-single .source-visual img{max-height:500px}
.archive-workspace .source-single .source-entry-copy{padding:28px;max-width:88ch;width:100%;margin:auto;box-sizing:border-box}
.archive-workspace .source-actions{display:flex;flex-wrap:wrap;gap:12px 24px;padding:16px 0;border-block:1px solid #d9cdb0;margin:20px 0}.archive-workspace .source-actions a{min-height:40px;display:inline-flex;align-items:center;font-size:.9375rem}
.archive-workspace .archive-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin:28px 0;font-size:.9375rem}.archive-workspace .archive-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border:1px solid #b1a27d;background:#f7f2e1;border-radius:4px;text-decoration:none}.archive-workspace .archive-pagination span{color:#666a54}
.archive-workspace .archive-scope{border-left:3px solid #a1a87d;padding-left:16px;margin:16px 0;font-size:.9375rem;color:#5e654c}
.archive-workspace .archive-help .archive-notebook{margin:0;border:0;box-shadow:none;padding:16px 0;background:none}.archive-workspace .archive-notebook-links{display:none}
html body .archive-workspace .fresco-event>article{border:1px solid var(--archive-border);border-radius:6px;background:#fffdf5;padding:24px;box-shadow:0 3px 8px #31432a08;gap:24px}
.archive-workspace .fresco-series-row{border:1px solid var(--archive-border);background:#fbf7eb;border-radius:5px;padding:24px;margin:18px 0}.archive-workspace .fresco-actions{border-top:1px solid #ded4b9;padding-top:14px}
@media(max-width:900px){html body .archive-workspace .fresco-event>article{grid-template-columns:minmax(0,1fr)}.archive-workspace .fresco-image{max-width:100%}.archive-workspace .fresco-series-row{display:block}.archive-workspace .fresco-specimens{margin-top:20px}}
@media(max-width:760px){html body .archive-workspace :is(.source-results,.source-results.source-gallery,.ch-list){grid-template-columns:minmax(0,1fr);gap:18px}.archive-workspace :is(.source-entry-copy,.ch-preview-copy){padding:18px}.archive-workspace :is(.source-entry-copy,.ch-preview-copy) :is(h2,h3){font-size:1.35rem}html body .archive-workspace .ch-body{padding:18px}html body .archive-workspace .ch-entry>summary{grid-template-columns:minmax(0,1fr) 20px;gap:10px;padding:18px}.archive-workspace .ch-entry .ch-date{grid-column:1/-1}.archive-workspace .source-single .source-entry-copy{padding:18px}.archive-workspace .source-single .source-visual{padding:18px}.archive-workspace :is(.source-record,.ch-evidence,.ch-method)>:not(summary){padding-inline:14px}html body .archive-workspace .fresco-event>article{padding:18px}.archive-workspace .fresco-series-row{padding:18px}.archive-workspace .ch-roster>div,.archive-workspace .ch-incident li,.archive-workspace .ch-evidence dl>div{display:block}.archive-workspace .ch-incident strong{display:block}.archive-workspace .archive-pagination{gap:8px;font-size:.875rem}}
@media(max-width:760px){html body main.archive-workspace{padding-top:18px}.archive-workspace .archive-sections{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}.archive-workspace .archive-sections a{padding:10px 8px;font-size:.875rem;min-height:46px}.archive-workspace .archive-search{padding:16px}.archive-workspace .archive-search-row{grid-template-columns:minmax(0,1fr)}.archive-workspace .archive-refine>div{grid-template-columns:minmax(0,1fr)}html body .archive-workspace .catalogue-version>summary{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px}.archive-workspace .catalogue-version>summary small{text-align:left;align-items:start}html body .archive-workspace .version-columns{padding:16px;grid-template-columns:minmax(0,1fr)}.archive-workspace .archive-help>div{padding:0 16px 16px}}
