@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/source-sans-3-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #56636a;
  --line: #dce1e2;
  --teal: #006873;
  font: 16px/1.4 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid #07838b; outline-offset: 3px; border-radius: 3px; }
.ui-icon { flex: none; vertical-align: middle; }
.skip-link { position: absolute; top: -80px; z-index: 1; background: white; padding: 8px; }
.skip-link:focus { top: 0; }
.appbar { height: 64px; padding: 0 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 20px; background: white; }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 150px; height: auto; }
.appbar-product { font-weight: 600; font-size: 16px; border-left: 1px solid var(--line); padding-left: 20px; color: #404b52; }
.access-indicator { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 13px; color: #47565c; }
.workspace { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 231px minmax(0, 1fr); }
.sidebar { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); background: #f7f9f9; padding: 22px 12px 16px; }
.scope, .instance { display: flex; min-width: 0; align-items: center; gap: 10px; }
.scope { padding: 0 7px 21px; border-bottom: 1px solid var(--line); }
.scope-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid #d4e4e3; border-radius: 8px; color: #135e63; background: #e7f1ef; }
.scope div, .instance span { display: flex; flex-direction: column; min-width: 0; }
.scope strong { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.scope small, .instance small { font-size: 12px; line-height: 1.3; color: var(--muted); }
nav { display: grid; gap: 4px; margin-top: 18px; }
nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; min-height: 38px; border-radius: 5px; color: #425058; font-size: 15px; }
nav a:hover { background: #eaf0ef; text-decoration: none; }
nav a[aria-current="page"] { background: #deeeeb; color: #075959; font-weight: 650; box-shadow: inset 3px 0 #16817f; }
.instance { padding: 18px 7px 0; border-top: 1px solid var(--line); margin-top: auto; color: var(--muted); }
.instance strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
main { min-width: 0; }
.content-wrap { width: 100%; max-width: 1460px; margin: 0 auto; padding: 30px clamp(24px, 3.6vw, 66px) 52px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #55636b; font-size: 13px; }
.breadcrumb a { color: #536168; }
.breadcrumb span[aria-hidden] { color: #a1aaaf; }
.page-title { margin: 22px 0 26px; }
h1, h2 { color: var(--ink); }
h1 { margin: 0; font-weight: 650; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.13; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.015em; }
.page-title p { margin: 8px 0 0; color: var(--muted); }
.summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 26px; }
.summary-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 17px 20px 18px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; }
.summary-card:hover { text-decoration: none; border-color: #6e9796; }
.summary-label { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.card-icon { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; background: #fff2cf; color: #855803; }
.summary-card:nth-child(2) .card-icon { background: #e2f2ee; color: #23685f; }
.summary-card:nth-child(3) .card-icon { background: #efecfa; color: #685797; }
.summary-value { font-size: 38px; line-height: 1.12; letter-spacing: -.04em; font-weight: 600; margin-top: 10px; }
.summary-note { font-size: 13px; color: var(--muted); margin-top: 3px; }
.panel { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: white; margin-bottom: 20px; }
.panel-head { padding: 17px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.panel-note { padding: 0 20px 16px; color: var(--muted); }
.text-link { font-size: 14px; font-weight: 600; }
.text-link span { margin-left: 4px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { background: #f6f8f8; font-weight: 600; font-size: 13px; color: #56636a; padding: 9px 20px; border-block: 1px solid var(--line); white-space: nowrap; }
td { font-size: 15px; padding: 12px 20px; border-bottom: 1px solid #e9eded; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfb; }
.cell-title, .cell-note { display: block; }
.cell-title { font-weight: 600; }
.cell-note { font-size: 13px; color: var(--muted); }
.identity { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.avatar { display: grid; place-items: center; height: 26px; width: 26px; border-radius: 50%; font-size: 11px; font-weight: 650; background: #e8efee; color: #345958; }
.avatar[data-tone="1"] { background: #eee9f7; color: #675288; }
.avatar[data-tone="2"] { background: #faecdb; color: #745326; }
.badge { display: inline-flex; align-items: center; border: 1px solid #d6dedf; border-radius: 5px; color: #46555d; padding: 1px 7px; font-size: 13px; }
time { color: #59656b; font-size: 14px; white-space: nowrap; }
code { font: .85em ui-monospace,monospace; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
dt { color: var(--muted); } dd { margin: 0; }
.content-block { padding: 18px 20px; } .content-block h2 { margin-bottom: 12px; }
.content-block p, .content-block li { margin: 7px 0; } .content-block ul { padding-left: 18px; }
.record-search { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }
.record-search label { display: grid; gap: 3px; color: var(--muted); font-size: 14px; }
.record-search input, .record-search select, .record-search button {
  min-height: 36px; max-width: 100%; border: 1px solid #bdc9ca; border-radius: 5px;
  padding: 6px 10px; background: white; color: var(--ink); font: inherit;
}
.record-search button { border-color: #006873; background: #006873; color: white; font-weight: 600; cursor: pointer; }
.record-search :focus-visible { outline: 3px solid #07838b; outline-offset: 2px; }
@media (max-width: 850px) {
  .workspace { grid-template-columns: 194px minmax(0,1fr); }
  .content-wrap { padding: 24px 20px 36px; }
  .summary-grid { gap: 8px; } .summary-card { padding: 13px 12px; }
  td, th { padding-inline: 13px; }
}
@media (max-width: 680px) {
  .appbar { height: 54px; padding: 0 15px; gap: 10px; }
  .brand img { width: 124px; } .appbar-product { font-size: 14px; padding-left: 10px; }
  .access-indicator { font-size: 12px; }
  .workspace { display: block; min-height: calc(100vh - 54px); }
  .sidebar { padding: 9px 14px 7px; border: 0; border-bottom: 1px solid var(--line); }
  .scope { border: 0; padding: 0; gap: 7px; } .scope-icon { width: 24px; height: 24px; border-radius: 5px; } .scope-icon svg { width: 16px; }
  .scope div { flex-direction: row; align-items: baseline; gap: 7px; } .scope strong { font-size: 14px; }
  nav { display: flex; flex-wrap: wrap; gap: 1px 3px; margin: 7px 0 0; }
  nav a { font-size: 13px; min-height: 30px; gap: 4px; padding: 4px 6px; } nav .ui-icon { width: 14px; }
  nav a[aria-current="page"] { box-shadow: none; }
  .instance { display: none; }
  .content-wrap { padding: 18px 15px 28px; }
  .page-title { margin: 14px 0 19px; } .page-title p { font-size: 14px; }
  .summary-grid { gap: 6px; margin-bottom: 16px; }
  .summary-card { padding: 10px 8px; border-radius: 6px; }
  .summary-label { gap: 0; font-size: 12px; } .card-icon { display: none; }
  .summary-value { font-size: 28px; } .summary-note { font-size: 11px; }
  .panel-head { padding: 12px; } h2 { font-size: 17px; } .text-link { font-size: 12px; }
  td, th { padding: 8px; } td { font-size: 13px; } .cell-note, time { font-size: 12px; }
  .identity { white-space: normal; } .identity .avatar { display: none; } time { white-space: normal; }
}
@media (max-width: 370px) { .appbar-product { display: none; } }

.lib-ui {
  --ink: #222034; --muted: #605d72; --teal: #5f3d94; --line: #ddd9e7;
  min-height: 100vh; color: var(--ink); background: #f8f7fb;
}
.lib-head { color: #f7f4ff; background: #272438; padding: 0 max(5vw, calc((100vw - 1130px)/2)); }
.lib-navline { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #504d62; }
.lib-head a { color: inherit; }
.lib-brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 650; font-size: 1.18rem; }
.lib-host, .lib-region, .lib-shelf-bar > a { font: .85rem ui-monospace, monospace; }
.lib-host { color: #ddd8eb !important; overflow-wrap: anywhere; text-align: right; }
.lib-head nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 22px; margin: 0; }
.lib-head nav a { padding: 11px 0; border-radius: 0; border-bottom: 3px solid transparent; color: #ded8ea; }
.lib-head nav a:hover, .lib-head nav a[aria-current="page"] { color: white; border-bottom-color: #c2a7fa; background: transparent; box-shadow: none; }
.lib-ui :focus-visible { outline-color: #865bd3; }
.lib-head :focus-visible { outline-color: #e7c9ff; outline-offset: -3px; }
.lib-main { margin: 0 auto; width: min(90%, 1130px); padding: clamp(32px, 5vw, 78px) 0 64px; }
.lib-title { margin-bottom: 28px; }
.lib-title h1 { margin: 6px 0 0; font-size: clamp(2.25rem, 4.8vw, 3.75rem); letter-spacing: -.055em; line-height: 1.04; overflow-wrap: anywhere; }
.lib-title p { margin: .65rem 0 0; color: var(--muted); }
.lib-region { color: var(--muted); }
.lib-shelf-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0 14px; }
.lib-shelf-bar h2 { font-size: 1.07rem; }
.lib-shelf-bar > a { text-decoration: underline; text-underline-offset: 3px; }
.lib-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(200px,100%),1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.lib-card, .lib-specimen { --tile: #e0d4f4; --mark: #654b89; --edge: #c8b5e1; }
.lib-card:nth-child(3n + 2) { --tile: #d4e7e0; --mark: #3f7466; --edge: #b4cfc3; }
.lib-card:nth-child(3n) { --tile: #f4dacd; --mark: #a95d40; --edge: #dfc1b1; }
.lib-card { display: flex; flex-direction: column; align-self: start; min-width: 0; }
.lib-card-link { display: grid; grid-template-columns: 1fr; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 10px 10px 0 0; overflow: hidden; }
.lib-card-link:hover { text-decoration: none; box-shadow: 0 3px 12px #27213615; border-color: var(--mark); }
.lib-card-link:hover .lib-card-name { text-decoration: underline; }
.lib-swatch { display: flex; align-items: flex-end; padding: 23px; min-height: 136px; background-color: var(--tile); border-bottom: 1px solid var(--edge); }
.lib-marks { display: grid; grid-template-columns: repeat(12, 5px); grid-auto-rows: 5px; gap: 4px; align-content: end; }
.lib-marks i { width: 5px; height: 5px; border-radius: 50%; background: var(--mark); }
.lib-card-name { margin: 17px 18px 4px; overflow-wrap: anywhere; font-size: 1.28rem; letter-spacing: -.025em; font-weight: 650; }
.lib-count { color: var(--muted); font-size: .94rem; }
.lib-card .lib-count { margin: 0 18px 20px; }
.lib-count strong { color: var(--ink); font-weight: 650; }
.lib-specimen { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0,2fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: white; }
.lib-specimen .lib-swatch { border: none; align-items: center; justify-content: center; }
.lib-inspect { padding: clamp(20px,4vw,40px); }
.lib-inspect .lib-count strong { font-size: 2.4rem; letter-spacing: -.05em; line-height: 1; }
.lib-inspect dl { grid-template-columns: max-content 1fr; margin: 22px 0; }
.lib-ui .resource-links { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 15px; }
.lib-ui .resource-links a, .archive-ui .resource-links a { text-decoration: underline; text-underline-offset: 3px; }
.lib-ui .panel { border-radius: 8px; }
.lib-ui th { background: #efedf5; color: #4e4b61; }
.lib-ui .record-search button { background: #563880; border-color: #563880; }
.lib-ui[data-display="1"] .lib-cards { display: flex; flex-direction: column; gap: 8px; }
.lib-ui[data-display="1"] .lib-card-link { grid-template-columns: 142px minmax(0, 1fr) auto; align-items: center; }
.lib-ui[data-display="1"] .lib-card .lib-swatch { min-height: 84px; height: 100%; padding: 10px 16px; align-items: center; border: 0; border-right: 1px solid var(--edge); }
.lib-ui[data-display="1"] .lib-card-name, .lib-ui[data-display="1"] .lib-card .lib-count { margin: 12px 18px; }
.lib-ui[data-display="2"] .lib-card-link { display: flex; flex-direction: column; border-top: 3px solid var(--mark); }
.lib-ui[data-display="2"] .lib-card .lib-swatch { min-height: 104px; order: 1; margin-top: auto; border-top: 1px solid var(--edge); border-bottom: 0; padding: 16px; }

.archive-ui {
  --ink: #242b29; --muted: #536058; --teal: #245343; --line: #c4cabe;
  --paper: #f7f7ef; --serif: Georgia, 'Times New Roman', serif;
  color: var(--ink); background: var(--paper); min-height: 100vh; border-top: 5px solid #314b3e;
}
.archive-mast { display: flex; gap: 15px; align-items: center; justify-content: space-between; width: min(90%,1120px); margin: 0 auto; min-height: 69px; border-bottom: 1px solid #929d91; }
.archive-brand { display: inline-flex; align-items: center; gap: 10px; font: bold 1.12rem var(--serif); color: #233d31; }
.archive-host { font: .81rem ui-monospace, monospace; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.archive-frame { width: min(90%,1120px); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(145px,19%); gap: clamp(26px, 7vw, 100px); padding: clamp(28px,5vw,74px) 0 70px; }
.archive-main { grid-column: 1; grid-row: 1; }
.archive-contents { grid-column: 2; grid-row: 1; align-self: start; border-top: 3px double #797f73; }
.archive-contents-title { padding: 12px 0 6px; font: italic 1.05rem var(--serif); color: var(--muted); }
.archive-contents nav { display: grid; margin: 0; gap: 0; }
.archive-contents nav a { min-height: auto; padding: 9px 4px; font-size: .97rem; color: var(--teal); border-bottom: 1px solid var(--line); border-radius: 0; }
.archive-contents nav a:hover, .archive-contents nav a[aria-current="page"] { background: #e8ece1; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.archive-location { color: var(--muted); margin-top: 24px; font-size: .89rem; }
.archive-location strong { display: block; font: .85rem ui-monospace, monospace; margin-top: 4px; }
.archive-running { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 3px double #797f73; padding: 11px 0; color: var(--muted); font-size: .93rem; }
.archive-running span { font-style: italic; }
.archive-head { margin-bottom: clamp(26px, 4vw, 48px); }
.archive-head h1 { margin-top: 11px; font: normal clamp(2.45rem,5vw,4.1rem)/1.05 var(--serif); letter-spacing: -.052em; overflow-wrap: anywhere; }
.archive-head p { margin: 10px 0 0; color: var(--muted); }
.archive-register > header, .archive-register > footer { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.archive-register > header { border-bottom: 2px solid #68796a; padding-bottom: 8px; color: var(--muted); }
.archive-ui h2 { font: 1.37rem var(--serif); letter-spacing: -.02em; }
.archive-register > header span, .archive-register > footer { font-size: .9rem; }
.archive-register ul { margin: 0; padding: 0; list-style: none; }
.archive-register > ul > li { border-bottom: 1px solid var(--line); }
.archive-register > ul > li > a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 5px 5px; color: var(--ink); }
.archive-register > ul > li > a:hover { background: #eeefe4; }
.archive-entry { min-width: 0; }
.archive-entry strong { display: block; font: 1.43rem var(--serif); overflow-wrap: anywhere; }
.archive-quantity { flex-shrink: 0; font: 1.36rem var(--serif); }
.archive-quantity small { font: .9rem 'Source Sans 3', sans-serif; color: var(--muted); }
.archive-register > footer { color: var(--muted); padding-top: 13px; }
.archive-register > footer a { text-decoration: underline; }
.archive-ui[data-edition="2"] .archive-register > ul > li { border-bottom-style: dotted; }
.archive-slip, .archive-ui .panel { padding: 17px 0; border: 0; border-top: 2px solid #7f8b7e; border-radius: 0; background: transparent; }
.archive-slip dl { margin: 17px 0; grid-template-columns: minmax(85px, 25%) minmax(0,1fr); }
.archive-ui .resource-links { display: grid; gap: 8px; border-top: 1px dotted #8c9789; padding-top: 13px; }
.archive-ui .panel-head, .archive-ui .content-block { padding-inline: 2px; }
.archive-ui .panel-head { padding-top: 0; }
.archive-ui th { background: #e9eddf; }
.archive-ui td { border-bottom-color: var(--line); }
.archive-ui tbody tr:hover { background: #eef0e5; }
.archive-ui .record-search button { background: #365443; border-color: #365443; border-radius: 0; }
.archive-ui .record-search input { background: #fffef8; border-radius: 0; }
.archive-ui .record-search :focus-visible, .archive-ui :focus-visible { outline-color: #396f55; }

.collection-inspection summary { cursor: pointer; padding: 7px 5px; color: var(--teal); font-size: .95rem; }
.collection-inspection summary:hover { text-decoration: underline; }
.collection-inspection :focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.inspection-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lib-card .collection-inspection { background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; }
.lib-card .collection-inspection summary { padding: 10px 16px; }
.inspection-body { margin: 0 5px 12px; padding: 12px 14px; overflow-wrap: anywhere; }
.lib-card .inspection-body { margin: 0; border-top: 1px solid var(--line); }
.archive-register .inspection-body { background: #edeee4; border-left: 2px solid #697a69; }
.inspection-body dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 5px 12px; margin: 6px 0; }
.inspection-body dt { color: var(--muted); font-size: .88rem; }
.inspection-body dd { margin: 0; }
.inspection-body code { font-size: .81rem; }
.inspection-links, .inspection-tags { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: baseline; }
.inspection-links { margin-top: 12px; }
.inspection-links a, .inspection-file > a { text-decoration: underline; text-underline-offset: 3px; }
.inspection-tags { list-style: none; margin: 10px 0 0; padding: 0; }
.inspection-tags li { color: var(--teal); border: 1px solid var(--line); padding: 1px 7px; border-radius: 4px; }

@media (max-width: 730px) {
  .archive-frame { display: flex; flex-direction: column; gap: 20px; padding-top: 14px; }
  .archive-contents { width: 100%; border: 0; }
  .archive-contents-title, .archive-location { display: none; }
  .archive-contents nav { display: flex; flex-wrap: wrap; gap: 0 12px; }
  .archive-contents nav a { border: 0; padding: 5px 2px; }
  .archive-head { margin-bottom: 25px; }
}
@media (max-width: 500px) {
  .lib-navline, .archive-mast { min-height: 56px; }
  .lib-host, .archive-host { max-width: 42%; font-size: .78rem; }
  .lib-head nav { gap: 0 14px; } .lib-head nav a { font-size: .88rem; padding: 8px 0; }
  .lib-cards { grid-template-columns: 1fr; gap: 12px; }
  .lib-swatch { min-height: 80px; padding: 13px 18px; }
  .lib-ui[data-display="1"] .lib-card-link { grid-template-columns: 72px minmax(0,1fr); }
  .lib-ui[data-display="1"] .lib-card .lib-swatch { grid-row: span 2; padding: 8px; }
  .lib-ui[data-display="1"] .lib-card .lib-marks { grid-template-columns: repeat(12,3px); grid-auto-rows: 3px; gap: 1px; }
  .lib-ui[data-display="1"] .lib-card .lib-marks i { width: 3px; height: 3px; }
  .lib-ui[data-display="1"] .lib-card-name { margin: 12px 12px 0; } .lib-ui[data-display="1"] .lib-card .lib-count { margin: 0 12px 12px; }
  .lib-specimen { grid-template-columns: 1fr; } .lib-specimen .lib-swatch { justify-content: flex-start; }
  .archive-quantity { text-align: right; } .archive-quantity small { display: block; }
}
