/* Library Architecture Review (3 Dec 2026; local prototype). The few components the revised sections add: Disciplines & Fields pages,
   research areas and projects, curated collections, the People and Organizations directories. Built from the Library's own tokens
   (reference.css: --ref-ink, --ref-soft, --ref-faint, --ref-accent, --ref-rule, --ref-panel, --ref-serif, --ref-sans), its card and chip
   conventions and its one hover trim: a component with its own hover border suppresses the host's hover outline (as reference.css does). */

.ref-surface .emb-ic { fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ref-surface .lib-arealist .emb-ic, .ref-surface .fx-fcard .emb-ic, .ref-surface .fx-card-k .emb-ic, .ref-surface .cc-k .emb-ic, .ref-surface .rsx-kind .emb-ic,
.ref-surface .fx-legend .emb-ic { width:20px; height:20px; flex:none; color:var(--ref-accent); }
.ref-surface .rsx-kind .emb-ic, .ref-surface .cc-k .emb-ic, .ref-surface .fx-card-k .emb-ic { width:15px; height:15px; margin-right:6px; vertical-align:-3px; }

/* headers and sections */
.ref-surface .fx-place { margin:6px 0 0; color:var(--ref-soft); font:400 15px/1.45 var(--ref-sans); }
.ref-surface .fx-place a { color:var(--ref-ink); }
.ref-surface .rsp-status { margin-left:10px; padding:1px 7px; border:1px solid var(--ref-rule); border-radius:3px; color:var(--ref-faint); font:700 9.5px/1.6 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .fx-sec, .ref-surface .ra-sec { margin:26px 0 0; }
.ref-surface .fx-sec > h3, .ref-surface .ra-sec > h2, .ref-surface .cc-sec > h2, .ref-surface .ra-works-h, .ref-surface .fx-ov-side > h3 { margin:0 0 8px; color:var(--ref-accent); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .fx-sec > h3 small, .ref-surface .cc-sec > h2 small { margin-left:8px; color:var(--ref-faint); font-weight:400; letter-spacing:0; }
.ref-surface .ra-works-h { margin-top:34px; }
.ref-surface .ra-sub { margin:0 0 12px; color:var(--ref-soft); font:400 14px/1.5 var(--ref-sans); }
.ref-surface .ra-scope { max-width:760px; }
.ref-surface .fx-none, .ref-surface .fx-checked, .ref-surface .cc-note, .ref-surface .fx-foot { color:var(--ref-faint); font:400 13px/1.5 var(--ref-sans); }
.ref-surface .fx-foot { margin:26px 0 0; }

/* the field page: tabs (research-profile.css), overview columns, at a glance */
.ref-surface .fx-tabs { margin-top:18px; }
.ref-surface .fx-ov { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:0 44px; align-items:start; }
.ref-surface .fx-about p { margin:0 0 12px; max-width:720px; color:var(--ref-ink); font:400 18px/1.6 var(--ref-serif); }
.ref-surface .fx-about .fx-draft { color:var(--ref-faint); font:italic 400 13.5px/1.5 var(--ref-sans); }
.ref-surface .fx-ov-side { margin-top:4px; padding:16px 18px; border:1px solid var(--ref-rule); border-radius:6px; background:var(--ref-panel); }
.ref-surface .fx-glance { margin:0; }
.ref-surface .fx-recent { margin:0; padding:0; list-style:none; }
@media (max-width:900px) { .ref-surface .fx-ov { grid-template-columns:minmax(0,1fr); } .ref-surface .fx-ov-side { margin-top:22px; } }
.ref-surface .fx-listhead { margin:0 0 10px; padding:0; border:0; }
.ref-surface .fx-panel .col-cat { margin-top:6px; }

/* cards: fields, people, projects, collections */
.ref-surface .fx-fcards, .ref-surface .fx-people, .ref-surface .ra-projects, .ref-surface .cc-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(290px, 1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.ref-surface .fx-fcard, .ref-surface .fx-person, .ref-surface .fx-card, .ref-surface .cc-card, .ref-surface .rax-card { display:flex; gap:12px; height:100%; box-sizing:border-box; padding:12px 14px; border:1px solid var(--ref-rule); border-radius:6px; background:var(--ref-panel); color:var(--ref-ink); text-decoration:none; }
.ref-surface .fx-fcard:hover, .ref-surface .fx-person:hover, .ref-surface .fx-card:hover, .ref-surface .cc-card:hover, .ref-surface .rax-card:hover { border-color:var(--dx-trim); }
html .ref-surface .fx-fcard:hover:not(:focus-visible), html .ref-surface .fx-person:hover:not(:focus-visible), html .ref-surface .fx-card:hover:not(:focus-visible),
html .ref-surface .cc-card:hover:not(:focus-visible), html .ref-surface .rax-card:hover:not(:focus-visible) { outline:none !important; }
.ref-surface .fx-fcard b, .ref-surface .fx-card b, .ref-surface .cc-card b { display:block; font:400 17px/1.3 var(--ref-serif); }
.ref-surface .fx-fcard em { display:block; margin-top:2px; color:var(--ref-faint); font:400 12.5px/1.45 var(--ref-sans); font-style:normal; }
.ref-surface .fx-card, .ref-surface .cc-card { flex-direction:column; gap:4px; }
.ref-surface .fx-card-k, .ref-surface .cc-k { color:var(--ref-accent); font:700 10px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .fx-card-d, .ref-surface .cc-n { color:var(--ref-faint); font:400 12.5px/1.45 var(--ref-sans); }
.ref-surface .cc-card p { margin:0; color:var(--ref-soft); font:400 14px/1.5 var(--ref-sans); }
.ref-surface .fx-person { align-items:flex-start; position:relative; }
.ref-surface .fx-pt { display:flex; flex-direction:column; gap:1px; min-width:0; padding-right:4px; }
.ref-surface .fx-pt b { font:400 18px/1.25 var(--ref-serif); }
.ref-surface .fx-pt span { color:var(--ref-soft); font:400 13px/1.4 var(--ref-sans); }
.ref-surface .fx-pt em { color:var(--ref-ink); font:700 12.5px/1.4 var(--ref-sans); font-style:normal; }
.ref-surface .fx-pt i { margin-top:3px; color:var(--ref-faint); font:400 12px/1.4 var(--ref-sans); font-style:normal; }
.ref-surface .fx-badge { display:inline-block; margin-left:8px; padding:0 6px; border:1px solid var(--ref-accent); border-radius:3px; color:var(--ref-accent); font:700 9.5px/1.7 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; vertical-align:2px; white-space:nowrap; }
.ref-surface .fx-person .fx-badge { align-self:flex-start; margin:6px 0 0; }

/* chips (fields, people, organizations) */
.ref-surface .dirx-chips { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.ref-surface .dirx-chips a { display:inline-flex; gap:8px; align-items:baseline; padding:4px 10px; border:1px solid var(--ref-rule); border-radius:3px; color:var(--ref-ink); font:400 14px/1.4 var(--ref-sans); text-decoration:none; }
.ref-surface .dirx-chips a:hover { border-color:var(--dx-trim); }
html .ref-surface .dirx-chips a:hover:not(:focus-visible) { outline:none !important; }
.ref-surface .dirx-chips small { color:var(--ref-faint); font-size:12px; }

/* the Disciplines & Fields legend */
.ref-surface .fx-legend ul { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:10px 22px; margin:0 0 26px; padding:0; list-style:none; }
.ref-surface .fx-legend li { display:grid; grid-template-columns:auto 1fr; gap:2px 10px; align-items:center; }
.ref-surface .fx-legend b { font:700 13px/1.3 var(--ref-sans); }
.ref-surface .fx-legend span { grid-column:2; color:var(--ref-soft); font:400 13px/1.45 var(--ref-sans); }
.ref-surface .rix + .rix { margin-top:26px; }
.ref-surface .rix-head .emb-ic { width:22px; height:22px; color:var(--ref-accent); }

/* resources */
.ref-surface .fx-res { margin:0; padding:0; list-style:none; }
.ref-surface .fx-res li { display:flex; flex-wrap:wrap; gap:2px 12px; align-items:baseline; padding:8px 0; border-top:1px solid var(--ref-rule); }
.ref-surface .fx-res li > a:first-child { font:400 16.5px/1.35 var(--ref-serif); }
.ref-surface .fx-res span { color:var(--ref-faint); font:400 13px/1.45 var(--ref-sans); }
.ref-surface .fx-res .fx-res-rec { margin-left:auto; font:400 12.5px/1.45 var(--ref-sans); }
.ref-surface .fx-links { margin:0; padding:0; list-style:none; }
.ref-surface .fx-links li { padding:6px 0; font:400 15px/1.45 var(--ref-sans); }

/* external works: provenance */
.ref-surface .cc-list { margin:0; padding:0; list-style:none; }
.ref-surface .fx-ext h3 { margin:2px 0; font:400 19px/1.3 var(--ref-serif); }
.ref-surface .cat-type-ext { color:var(--ref-soft); }
.ref-surface .fx-prov { display:flex; flex-wrap:wrap; gap:2px 10px; align-items:baseline; margin:6px 0 0; font:400 12.5px/1.5 var(--ref-sans); }
.ref-surface .fx-prov-k { color:var(--ref-faint); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:10px; }
.ref-surface .fx-prov-k:not(:first-child) { margin-left:8px; }
.ref-surface .fx-role { color:var(--ref-faint); }

/* research areas and projects */
.ref-surface .rax-list { margin:0; padding:0; list-style:none; }
.ref-surface .rax-area { padding:0 0 16px; margin:0 0 16px; border-bottom:1px solid var(--ref-rule); }
.ref-surface .rax-area:last-child { border-bottom:0; margin-bottom:0; }
.ref-surface .rax-card { align-items:flex-start; gap:14px; border:0; padding:6px 0; background:none; }
.ref-surface .rax-no { color:var(--ref-faint); font:700 12px/2 var(--ref-sans); font-variant-numeric:tabular-nums; }
.ref-surface .rax-card .area-emblem { flex:none; }
.ref-surface .rax-t { display:flex; flex-direction:column; gap:3px; }
.ref-surface .rax-t b { font:400 23px/1.2 var(--ref-serif); }
.ref-surface .rax-scope { color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); max-width:760px; }
.ref-surface .rax-meta { color:var(--ref-faint); font:400 12.5px/1.45 var(--ref-sans); }
.ref-surface .rax-draws { display:flex; flex-wrap:wrap; gap:4px 12px; align-items:baseline; margin:6px 0 0 86px; font:400 13.5px/1.5 var(--ref-sans); }
.ref-surface .rax-draws span { color:var(--ref-accent); font:700 10px/1.5 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .rax-draws em { color:var(--ref-faint); font-style:normal; }
@media (max-width:700px) { .ref-surface .rax-draws { margin-left:0; } }
.ref-surface .ra-fields { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:12px 26px; }
.ref-surface .ra-fgroup ul { margin:0; padding:0; list-style:none; }
.ref-surface .ra-fgroup li { display:flex; justify-content:space-between; gap:10px; padding:4px 0; border-top:1px solid var(--ref-rule); font:400 15px/1.4 var(--ref-sans); }
.ref-surface .ra-fgroup small { color:var(--ref-faint); }
.ref-surface .ra-fk { margin:0 0 4px; font:700 12px/1.4 var(--ref-sans); }
.ref-surface .rsx-cluster + .rsx-cluster { margin-top:22px; }
.ref-surface .rsx-cluster .fx-people { margin-top:12px; }
.ref-surface .rpj-facts { margin-top:12px; }
.ref-surface .cc-proj { margin:10px 0 0; color:var(--ref-soft); font:400 14px/1.5 var(--ref-sans); }
.ref-surface .cc-sec { margin:28px 0 0; }
.ref-surface .cc-browse .lib-tile-sub { max-width:780px; }

/* the People and Organizations directories */
.ref-surface .pd-q { width:100%; box-sizing:border-box; }
.ref-surface .pd-list { max-height:none; }
.ref-surface .pd-fieldlist { max-height:420px; overflow:auto; }
.ref-surface .pd-list-rows { margin:0; padding:0; list-style:none; }
.ref-surface .pd-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 14px; align-items:start; padding:12px 0; border-top:1px solid var(--ref-rule); }
.ref-surface .pd-page[data-kind="organization"] .pd-row { grid-template-columns:minmax(0,1fr) auto; }
.ref-surface .pd-row[hidden] { display:none; }
.ref-surface .pd-ic { display:flex; align-items:center; justify-content:center; width:34px; height:42px; border:1px solid var(--ref-rule); border-radius:4px; color:var(--ref-faint); }
.ref-surface .pd-ic .emb-ic { width:20px; height:20px; }
.ref-surface .pd-ic-p { border-color:var(--ref-accent); color:var(--ref-accent); }
.ref-surface .pd-main h3 { margin:0; font:400 18.5px/1.3 var(--ref-serif); }
.ref-surface .pd-main h3 a { color:var(--ref-ink); text-decoration:none; }
.ref-surface .pd-main p { margin:2px 0 0; }
.ref-surface .pd-desc { color:var(--ref-soft); font:400 13.5px/1.45 var(--ref-sans); }
.ref-surface .pd-aff { color:var(--ref-ink); font:700 13px/1.45 var(--ref-sans); }
.ref-surface .pd-int, .ref-surface .pd-fields { display:flex; flex-wrap:wrap; gap:2px 10px; color:var(--ref-soft); font:400 13px/1.5 var(--ref-sans); }
.ref-surface .pd-int span, .ref-surface .pd-fields span { color:var(--ref-faint); font:700 10px/1.9 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.ref-surface .pd-roles { display:flex; flex-direction:column; align-items:flex-end; gap:1px; margin:0; color:var(--ref-faint); font:400 12.5px/1.45 var(--ref-sans); text-align:right; white-space:nowrap; }
.ref-surface .pd-rec { margin-top:3px; font-size:12.5px; }
.ref-surface .pd-empty { color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); }
@media (max-width:700px) { .ref-surface .pd-row { grid-template-columns:auto minmax(0,1fr); } .ref-surface .pd-roles { grid-column:2; align-items:flex-start; text-align:left; white-space:normal; flex-direction:row; flex-wrap:wrap; gap:2px 10px; } .ref-surface .pd-page[data-kind="organization"] .pd-roles { grid-column:1; } }
.ref-surface .pd-f[aria-pressed="true"] span { color:var(--ref-accent); }
.ref-surface .fx-moved p { max-width:720px; }

/* People refinement (3 Dec 2026): researchers, scholars and thinkers on a field's People tab and in the People directory, apart from the
   people who appear in the publications */
.ref-surface .fx-psum { margin:0 0 4px; color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); }
.ref-surface .fx-psum b { color:var(--ref-ink); }
.ref-surface .fx-plist { margin:0; padding:0; list-style:none; columns:2 360px; column-gap:36px; }
.ref-surface .fx-prow { break-inside:avoid; padding:9px 0 10px; border-top:1px solid var(--ref-rule); }
.ref-surface .fx-ph { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; }
.ref-surface .fx-pn { color:var(--ref-ink); font:400 17.5px/1.3 var(--ref-serif); text-decoration:none; }
.ref-surface .fx-yrs { color:var(--ref-faint); font:400 12.5px/1.4 var(--ref-sans); font-variant-numeric:tabular-nums; }
.ref-surface .fx-pd { margin:1px 0 2px; color:var(--ref-soft); font:400 13px/1.45 var(--ref-sans); }
.ref-surface .fx-prow .pd-fields { margin:2px 0 0; }
.ref-surface .pd-fields em { color:var(--ref-ink); font-style:normal; }
.ref-surface .pd-fields em + em::before { content:'· '; color:var(--ref-faint); }
.ref-surface .pd-appears, .ref-surface .pd-appears a { color:var(--ref-faint); }
.ref-surface .fx-inpub { padding:0 5px; border:1px solid var(--ref-rule); border-radius:3px; color:var(--ref-faint); font:700 9px/1.7 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.ref-surface .fx-badge-q { border-color:var(--ref-rule); color:var(--ref-soft); }
.ref-surface .fx-bib { margin-top:34px; padding-top:18px; border-top:1px solid var(--ref-rule); }
.ref-surface .fx-role-g { margin:14px 0 0; }
.ref-surface .fx-role-g h4 { margin:0 0 6px; color:var(--ref-ink); font:700 12.5px/1.4 var(--ref-sans); }
.ref-surface .fx-role-g h4 small, .ref-surface .fx-sec > h3 small { margin-left:8px; color:var(--ref-faint); font-weight:400; letter-spacing:0; }
.ref-surface .fx-chip-t { display:inline-flex; gap:8px; align-items:baseline; padding:4px 10px; border:1px solid var(--ref-rule); border-radius:3px; color:var(--ref-ink); font:400 14px/1.4 var(--ref-sans); }
.ref-surface .dirx-chips li { display:inline-flex; align-items:baseline; gap:6px; }
.ref-surface .pd-note { margin:0 0 10px; color:var(--ref-faint); font:400 13px/1.5 var(--ref-sans); }

/* Research Discovery & Directory Design (3 Dec 2026): one discovery list for the directories and the People tabs, after research
   discovery systems (one column of results, a position line, field-of-research tags, facets with live counts). Supersedes the rows above. */
.ref-surface .pd-disc .pd-row { grid-template-columns:auto minmax(0,1fr); gap:0 16px; padding:16px 0 15px; }
.ref-surface .pd-disc .pd-org { grid-template-columns:minmax(0,1fr); }
.ref-surface .pd-disc .pd-ic { width:40px; height:48px; margin-top:2px; }
.ref-surface .pd-disc .pd-main h3 { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; margin:0; font:400 19px/1.3 var(--ref-serif); }
.ref-surface .pd-disc .pd-main h3 .fx-badge { margin-left:0; }
.ref-surface .pd-pos { margin:3px 0 0 !important; color:var(--ref-soft); font:400 14px/1.45 var(--ref-sans); }
.ref-surface .pd-tags { display:flex; flex-wrap:wrap; gap:6px; margin:9px 0 0; padding:0; list-style:none; }
.ref-surface .pd-tags a, .ref-surface .pd-tags-more { display:inline-block; padding:2px 9px; border:1px solid var(--ref-rule); border-radius:12px; color:var(--ref-ink); font:400 12.5px/1.5 var(--ref-sans); text-decoration:none; }
.ref-surface .pd-tags a:hover { border-color:var(--dx-trim); }
html .ref-surface .pd-tags a:hover:not(:focus-visible) { outline:none !important; }
.ref-surface .pd-tags-more { color:var(--ref-faint); }
.ref-surface .pd-tags-bib a { color:var(--ref-soft); }
.ref-surface .pd-bib { margin:8px 0 0 !important; color:var(--ref-faint); font:400 12.5px/1.5 var(--ref-sans); }
.ref-surface .pd-bib span { margin-right:8px; color:var(--ref-faint); font:700 9.5px/1.5 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.ref-surface .pd-facets .pd-zero { display:none; }
.ref-surface .pd-fgroup { margin:22px 0 6px; padding-top:14px; border-top:1px solid var(--ref-rule); color:var(--ref-accent); font:700 10px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .pd-more { margin:6px 0 0; padding:0; border:0; background:none; color:var(--ref-soft); font:400 13px/1.5 var(--ref-sans); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.ref-surface .pd-scope { display:inline-flex; margin:4px 0 12px; border:1px solid var(--ref-rule); border-radius:4px; overflow:hidden; }
.ref-surface .pd-scope .pd-f { display:inline-flex; gap:8px; align-items:baseline; padding:7px 14px; border:0; background:none; color:var(--ref-soft); font:700 11.5px/1.3 var(--ref-sans); letter-spacing:.06em; cursor:pointer; }
.ref-surface .pd-scope .pd-f + .pd-f { border-left:1px solid var(--ref-rule); }
.ref-surface .pd-scope .pd-f[aria-pressed="true"] { background:var(--ref-panel); color:var(--ref-ink); box-shadow:inset 0 -2px 0 var(--ref-accent); }
.ref-surface .pd-scope small { color:var(--ref-faint); font-weight:400; }
.ref-surface .pd-about { margin:26px 0 0; padding-top:12px; border-top:1px solid var(--ref-rule); color:var(--ref-soft); font:400 13.5px/1.55 var(--ref-sans); }
.ref-surface .pd-about summary { color:var(--ref-soft); cursor:pointer; }
.ref-surface .pd-about p { max-width:760px; margin:8px 0 0; }
.ref-surface .fx-panel .pd-disc { margin-top:4px; }
@media (max-width:700px) { .ref-surface .pd-disc .pd-row { grid-template-columns:auto minmax(0,1fr); } }
html .ref-surface .rp-hero .rp-fields-k { display:inline; margin:0; color:var(--ref-faint); font:700 9.5px/1.5 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
html .ref-surface .rp-hero .rp-fields .pd-tags { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
html .ref-surface .rp-hero .rp-fields .pd-tags li { margin:0; padding:0; border:0; }
html .ref-surface .rp-hero .rp-fields .pd-tags li::before { content:none; }
html .ref-surface .rp-hero .rp-fields .pd-tags a { display:inline-block; padding:2px 9px; border:1px solid var(--ref-rule); border-radius:12px; color:var(--ref-ink); font:400 12.5px/1.5 var(--ref-sans); text-decoration:none; }
/* terminology review (3 Dec 2026): a person's relationship to the field, on a field page */
.ref-surface .pd-rel { margin:3px 0 0 !important; color:var(--ref-soft); font:400 13px/1.45 var(--ref-sans); }
.ref-surface .pd-rel span { margin-right:8px; color:var(--ref-accent); font:700 9.5px/1.5 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.ref-surface .pd-about b { color:var(--ref-ink); font-weight:700; }

/* About (3 Dec 2026): the orientation tab of a discipline or field page */
.ref-surface .fx-lead p { font-size:19px; }
.ref-surface .fx-lead p:first-child { font-size:20.5px; line-height:1.55; }
.ref-surface .fx-asec { margin-top:30px; }
.ref-surface .fx-qs { margin:0; padding:0 0 0 18px; color:var(--ref-ink); font:400 17px/1.55 var(--ref-serif); max-width:720px; }
.ref-surface .fx-qs li { margin:0 0 6px; padding-left:4px; }
.ref-surface .fx-qs li::marker { color:var(--ref-accent); }
.ref-surface .fx-areas { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:0 28px; margin:0; padding:0; list-style:none; }
.ref-surface .fx-areas li { display:flex; flex-direction:column; padding:8px 0; border-top:1px solid var(--ref-rule); }
.ref-surface .fx-areas a { color:var(--ref-ink); font:400 16.5px/1.35 var(--ref-serif); text-decoration:none; }
.ref-surface .fx-areas span { color:var(--ref-faint); font:400 12.5px/1.45 var(--ref-sans); }
.ref-surface .fx-rel p { font-size:16.5px; }
.ref-surface .fx-readlist { margin:0; padding:0; list-style:none; max-width:760px; }
.ref-surface .fx-readlist li { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; padding:9px 0; border-top:1px solid var(--ref-rule); }
.ref-surface .fx-readlist li > a:first-child, .ref-surface .fx-readlist li > i:first-child { color:var(--ref-ink); font:400 17px/1.35 var(--ref-serif); }
.ref-surface .fx-readlist .fx-rk { color:var(--ref-soft); font:400 13px/1.45 var(--ref-sans); }
.ref-surface .fx-readlist li > span:not(.fx-rk) { flex-basis:100%; color:var(--ref-faint); font:400 13.5px/1.5 var(--ref-sans); }
.ref-surface .fx-readlist .fx-rsrc { font:400 12.5px/1.45 var(--ref-sans); }
.ref-surface .fx-people-a { margin-top:12px; }
.ref-surface .fx-ex-h { margin-top:22px !important; }
.ref-surface .fx-explore { margin:0; padding:0; list-style:none; }
.ref-surface .fx-explore li { display:flex; flex-direction:column; padding:8px 0; border-top:1px solid var(--ref-rule); }
.ref-surface .fx-explore a { color:var(--ref-ink); font:700 13px/1.4 var(--ref-sans); }
.ref-surface .fx-explore span { color:var(--ref-faint); font:400 12.5px/1.45 var(--ref-sans); }

/* research profiles in the discovery rows (3 Dec 2026): the opening of the profile, as a research directory shows a short bio */
.ref-surface .pd-bio { margin:6px 0 0 !important; max-width:760px; color:var(--ref-ink); font:400 15px/1.5 var(--ref-serif); } /* 3 Dec: the excerpt is cut at a sentence in the build, never clipped */
.ref-surface .pd-static { margin-top:4px; }

/* 3 Dec 2026: the Collections page, four types; a cross-listed field within a second broader collection */
.ref-surface .colx-sec .colx-grp { margin:22px 0 0; color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .colx-sec .colx-grid { padding:12px 0 8px; }
.ref-surface .colx-list > li.colx-ref > a { font-style:italic; color:var(--ref-soft); }
.ref-surface .colx-x { grid-column:1 / -1; color:var(--ref-faint); font:400 12px/1.4 var(--ref-sans); }
.ref-surface .lib-al-n { color:var(--ref-faint); font:400 13px/1 var(--ref-sans); }

/* 3 Dec 2026, Collections refined: tabs of types, a compact tree with one Publications column, principal counts on request */
.ref-surface .colx-stats { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.ref-surface .colx-tabs { margin-top:22px; }
.ref-surface .colx-panel .rp-panel-h small { margin-left:8px; color:var(--ref-faint); font:400 14px/1 var(--ref-sans); }
.ref-surface .colx-lead { max-width:62ch; margin:0 0 16px; color:var(--ref-soft); font:400 16px/1.55 var(--ref-sans); }
.ref-surface .colx-tools { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px 18px; max-width:820px; margin:0 0 10px; }
.ref-surface .colx-panel { padding-top:20px; }
.ref-surface .colx-btns { display:flex; gap:8px; }
.ref-surface .colx-btn { padding:5px 12px; border:1px solid var(--ref-rule); border-radius:4px; background:transparent; color:var(--ref-soft); font:600 12.5px/1.4 var(--ref-sans); cursor:pointer; }
.ref-surface .colx-btn:hover { border-color:var(--dx-trim); color:var(--ref-ink); }
.ref-surface .colx-tree { max-width:820px; }
.ref-surface .colx-cols, .ref-surface .colx-row { display:grid; grid-template-columns:minmax(0, 1fr) auto auto; align-items:baseline; gap:0 14px; }
.ref-surface .colx-cols { padding:0 0 6px 22px; border-bottom:1px solid var(--ref-rule); color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .colx-cols > span:last-child, .ref-surface .colx-c { min-width:5.5em; text-align:right; font-variant-numeric:tabular-nums; }
.ref-surface .colx-c { color:var(--ref-ink); font:400 14.5px/1.4 var(--ref-sans); }
.ref-surface .colx-tree .colx-grp { margin:18px 0 2px; color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .colx-t { margin:0; padding:0; list-style:none; }
.ref-surface .colx-t .colx-t { margin-left:22px; border-left:1px solid var(--ref-rule); padding-left:6px; }
.ref-surface .colx-t > li { border-top:1px solid var(--ref-rule); }
.ref-surface .colx-t .colx-t > li { border-top:0; }
.ref-surface .colx-row { padding:7px 0; }
.ref-surface .colx-leaf > .colx-row, .ref-surface .colx-xl > .colx-row { padding-left:22px; }
.ref-surface .colx-t summary { list-style:none; cursor:pointer; position:relative; padding-left:22px; }
.ref-surface .colx-t summary::-webkit-details-marker { display:none; }
.ref-surface .colx-t summary::before { content:""; position:absolute; left:4px; top:15px; width:6px; height:6px; border-right:1.5px solid var(--ref-faint); border-bottom:1.5px solid var(--ref-faint); transform:rotate(-45deg); transition:transform .15s; }
.ref-surface .colx-t details[open] > summary::before { transform:rotate(45deg); top:13px; }
.ref-surface .colx-t summary:hover::before { border-color:var(--ref-accent); }
.ref-surface .colx-row a { color:var(--ref-ink); font:400 17px/1.35 var(--ref-serif); text-decoration:none; }
.ref-surface .colx-t0 > li > details > summary .colx-row a, .ref-surface .colx-t0 > .colx-leaf > .colx-row a { font-size:19px; }
.ref-surface .colx-t .colx-t .colx-t .colx-row a { font-size:15.5px; }
.ref-surface .colx-row a:hover { color:var(--nw-gold); text-decoration:underline; text-decoration-color:var(--nw-coral); text-underline-offset:4px; }
.ref-surface .colx-xl .colx-row { grid-template-columns:auto minmax(0, 1fr) auto auto; }
.ref-surface .colx-xl .colx-row a { color:var(--ref-soft); font-style:italic; }
.ref-surface .colx-xl .colx-c { color:var(--ref-faint); }
.ref-surface .colx-from { color:var(--ref-faint); font:400 12.5px/1.4 var(--ref-sans); }
.ref-surface .colx-flat > li { padding:4px 0 8px; }
.ref-surface .colx-scope { margin:0 0 0 22px; max-width:62ch; color:var(--ref-faint); font:400 13.5px/1.5 var(--ref-sans); }
.ref-surface .colx-method { max-width:820px; margin:26px 0 0; padding:12px 16px; border:1px solid var(--ref-rule); border-radius:6px; color:var(--ref-soft); font:400 14.5px/1.6 var(--ref-sans); }
.ref-surface .colx-method summary { cursor:pointer; color:var(--ref-ink); font:600 14px/1.4 var(--ref-sans); }
.ref-surface .colx-method p { max-width:70ch; margin:10px 0 0; }
/* a collection page: the collections within it, as one compact list in columns */
.ref-surface .col-subs h2 { display:flex; justify-content:space-between; max-width:820px; }
.ref-surface .col-in-h { font-weight:700; }
.ref-surface .col-in { max-width:820px; margin:0; padding:0; list-style:none; columns:2 300px; column-gap:36px; }
.ref-surface .col-in > li { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:0 12px; align-items:baseline; break-inside:avoid; padding:5px 0; border-top:1px solid var(--ref-rule); }
.ref-surface .col-in a { color:var(--ref-ink); font:400 16px/1.35 var(--ref-serif); text-decoration:none; }
.ref-surface .col-in a:hover { color:var(--nw-gold); text-decoration:underline; }
.ref-surface .col-in-n { color:var(--ref-soft); font:400 13.5px/1.4 var(--ref-sans); font-variant-numeric:tabular-nums; }
.ref-surface .col-in-x a { color:var(--ref-soft); font-style:italic; }
.ref-surface .col-in-from { grid-column:1; color:var(--ref-faint); font:400 12px/1.4 var(--ref-sans); }
@media (max-width:640px) { .ref-surface .colx-stats { grid-template-columns:repeat(3, minmax(0, 1fr)); } .ref-surface .colx-t .colx-t { margin-left:10px; } }

/* 3 Dec 2026: a research area sharing its field's collection */
.ref-surface .colx-shared .colx-row { grid-template-columns:auto minmax(0, 1fr) auto; }
.ref-surface .col-shared { color:var(--ref-soft); }

/* ===================================================================================================================================
   3 Dec 2026 (Erik: "a coherent visual component system"): the Library's discovery components (build-library.mjs DX).
   Accents by kind of thing: gold, disciplines, fields and people; sage, research areas and organizations; coral, curated collections and
   subjects; lavender, publications and series. States, after the site's hover convention (hover.css): on hover an item takes one orange
   trim (its own border turns orange) and a gold title; links inside it take gold text and no second box; nothing moves. Keyboard focus
   keeps a ring of its own. The hero is always dark (reference.css), so what sits in it uses fixed light-on-dark colours.
   =================================================================================================================================== */
/* 3 Dec 2026 (Erik: "review the entire colour system"): one semantic palette for the Library and its graph (library-graph.js uses the same
   values). Seven muted, warm-leaning hues that sit with the sepia of the photographic heroes; each names a kind of thing, never decoration.
   --c is the hue on the always-dark hero; --cl its theme-aware form on page surfaces (deeper in the light theme, for contrast). */
.ref-surface { --dx-gold:#d6b46c; --dx-amber:#d49a68; --dx-sage:#8dbd9e; --dx-slate:#97a8d2; --dx-coral:#dd8f7f; --dx-heather:#b7a5d4; --dx-steel:#86afc9;
  --dx-trim:var(--nw-coral, #f08d6d); --dx-gold-text:var(--nw-gold, #e2bd70); }
#main:has(#nw-lamp:checked) .ref-surface { --dx-gold-l:#8a6417; --dx-amber-l:#9a5726; --dx-sage-l:#2f7a55; --dx-slate-l:#3f58a0; --dx-coral-l:#a9483a; --dx-heather-l:#6550a0; --dx-steel-l:#2a6d93; }
.ref-surface .dx-c-gold { --c:var(--dx-gold); --cl:var(--dx-gold-l, var(--dx-gold)); }       /* disciplines and fields */
.ref-surface .dx-c-amber { --c:var(--dx-amber); --cl:var(--dx-amber-l, var(--dx-amber)); }   /* research areas */
.ref-surface .dx-c-sage { --c:var(--dx-sage); --cl:var(--dx-sage-l, var(--dx-sage)); }       /* people */
.ref-surface .dx-c-slate { --c:var(--dx-slate); --cl:var(--dx-slate-l, var(--dx-slate)); }   /* organizations */
.ref-surface .dx-c-coral { --c:var(--dx-coral); --cl:var(--dx-coral-l, var(--dx-coral)); }   /* subjects and terms */
.ref-surface .dx-c-heather { --c:var(--dx-heather); --cl:var(--dx-heather-l, var(--dx-heather)); } /* curated collections */
.ref-surface .dx-c-steel { --c:var(--dx-steel); --cl:var(--dx-steel-l, var(--dx-steel)); }   /* publications and series */
/* a publication's type keeps the publication's own type colour (news.css .nw-is-*), on the hero and on page surfaces */
.ref-surface .dx-c-t-essay { --c:#e2bd70; --cl:var(--nw-gold, #e2bd70); }
.ref-surface .dx-c-t-review { --c:#f08d6d; --cl:var(--nw-coral, #f08d6d); }
.ref-surface .dx-c-t-update { --c:#8fc7bb; --cl:var(--nw-teal, #8fc7bb); }
.ref-surface .dx-c-t-episode { --c:#d1d8a3; --cl:var(--nw-lime, #d1d8a3); }
.ref-surface .dx-c-t-analysis { --c:#aab2a8; --cl:var(--nw-soft, #aab2a8); }
.ref-surface .dx-c-t-paper { --c:#f4efe6; --cl:var(--nw-cream, #f4efe6); }
#main:has(#nw-lamp:checked) .ref-surface .dx-c-t-update { --cl:#2f7a6c; } #main:has(#nw-lamp:checked) .ref-surface .dx-c-t-episode { --cl:#5f6b1f; }
#main:has(#nw-lamp:checked) .ref-surface .dx-c-t-analysis { --cl:#4d574d; } #main:has(#nw-lamp:checked) .ref-surface .dx-c-t-paper { --cl:#26302b; }
/* no second box: links and disclosures inside a component are trimmed by the component */
html .ref-surface :is(.dx-entries, .dx-cards, .dx-profiles, .dx-band-h, .dx-pubs, .dx-typefigs) :is(a, summary):hover:not(:focus-visible) { outline:none !important; }
html .ref-surface :is(.dx-entries, .dx-cards, .dx-profiles, .dx-tots, .dx-band-h, .dx-pubs, .dx-typefigs) :is(a, summary):focus-visible { outline:2px solid var(--ref-focus) !important; outline-offset:2px; border-radius:4px; }

/* -- the hero and its totals board */
.ref-surface .dx-hero { padding:44px 40px 34px; }
.ref-surface .dx-hero-top { display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, 1fr); gap:24px 48px; align-items:end; }
.ref-surface .dx-hero-solo { grid-template-columns:minmax(0, 780px); }
.ref-surface .dx-hero-head .lib-intro { margin-bottom:0; }
.ref-surface .dx-tots { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px 0; margin:0; padding:0; list-style:none; }
.ref-surface .dx-tots a { display:block; padding:4px 0 4px 16px; border-left:1px solid rgba(236,232,221,.2); color:#dcd7cc; text-decoration:none; }
.ref-surface .dx-tots b { display:block; color:#ece8dd; font:400 34px/1.05 var(--ref-serif); font-variant-numeric:tabular-nums; white-space:nowrap; }
.ref-surface .dx-tots .dx-tot-main b { color:#dcb766; font-size:46px; }
.ref-surface .dx-tots span { display:block; margin-top:4px; font:600 12.5px/1.35 var(--ref-sans); letter-spacing:.03em; }
.ref-surface .dx-tots a:hover b { color:#e2bd70; }
.ref-surface .dx-tots a:hover span { color:#ece8dd; }

/* -- entry cards: links, tabs or gateways, in the hero */
.ref-surface .dx-entries { margin:30px 0 0; }
.ref-surface .dx-entries-k { margin:0 0 12px; color:#dcb766; font:700 11px/1 var(--ref-sans); letter-spacing:.18em; text-transform:uppercase; }
.ref-surface .dx-entry-list { --cols:4; display:grid; grid-template-columns:repeat(var(--cols), minmax(0, 1fr)); gap:12px; margin:0; padding:0; list-style:none; white-space:normal; }
.ref-surface .dx-entry-list.dx-n3 { --cols:3; } .ref-surface .dx-entry-list.dx-n6 { --cols:3; } .ref-surface .dx-entry-list.dx-n5 { --cols:5; } .ref-surface .dx-entry-list.dx-n2 { --cols:2; }
.ref-surface .dx-entry-list > li { display:flex; min-width:0; margin:0; }
.ref-surface .dx-entry, .ref-surface .rp-faculty .dx-tabs a.rp-tab.dx-entry, .ref-surface .rp-faculty .dx-tabs .rp-tablist li:first-child a.rp-tab.dx-entry {
  display:flex; flex-direction:column; align-items:flex-start; gap:4px; width:100%; box-sizing:border-box; margin:0; padding:16px 18px;
  border:1px solid rgba(236,232,221,.16); border-top:3px solid var(--c); border-radius:6px; background:rgba(8,12,13,.74);
  color:#dcd7cc; font:400 14px/1.4 var(--ref-sans); letter-spacing:0; text-transform:none; text-align:left; text-decoration:none; white-space:normal; transition:border-color .15s, background-color .15s; }
.ref-surface a.dx-entry:hover, .ref-surface .rp-faculty .dx-tabs a.rp-tab.dx-entry:not([aria-selected="true"]):hover { border-color:var(--dx-trim); border-top-color:var(--c); background:rgba(14,20,22,.9); color:#dcd7cc; }
.ref-surface a.dx-entry:hover .dx-entry-t, .ref-surface .dx-gate-main:hover .dx-entry-t { color:var(--dx-gold-text); }
.ref-surface .rp-faculty .dx-tabs a.rp-tab.dx-entry[aria-selected="true"] { position:relative; margin-bottom:0; padding-bottom:16px; border-color:var(--c); background:rgba(22,30,31,.96); color:#dcd7cc; }
.ref-surface .rp-faculty .dx-tabs a.rp-tab.dx-entry[aria-selected="true"]::after { content:""; position:absolute; left:50%; bottom:-8px; width:12px; height:12px; margin-left:-6px; background:rgba(22,30,31,.96); border-right:1px solid var(--c); border-bottom:1px solid var(--c); transform:rotate(45deg); }
.ref-surface .rp-faculty .dx-tabs .rp-tablist { flex-wrap:wrap; align-items:stretch; border:0; }
.ref-surface .dx-entry-ic .emb-ic { width:26px; height:26px; fill:none; stroke:var(--c); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ref-surface .dx-entry-n { margin-top:4px; color:#ece8dd; font:400 36px/1 var(--ref-serif); font-variant-numeric:tabular-nums; }
.ref-surface .dx-entry-t { color:#ece8dd; font:400 18px/1.25 var(--ref-serif); transition:color .15s; }
.ref-surface .dx-entry-d { color:var(--c); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .dx-entry-p { margin-top:4px; color:#bdb8ad; font:400 12.5px/1.45 var(--ref-sans); }
/* a gateway: the directory, its leading ways in, every way in behind a disclosure */
.ref-surface .dx-gate { padding:18px 20px 16px; }
.ref-surface a.dx-gate-main { display:grid; grid-template-columns:auto minmax(0, 1fr); gap:0 14px; align-items:center; width:100%; color:#dcd7cc; text-decoration:none; }
.ref-surface .dx-gate-main .dx-entry-ic { grid-row:span 2; }
.ref-surface .dx-gate-main .dx-entry-ic .emb-ic { width:34px; height:34px; }
.ref-surface .dx-gate-main .dx-entry-n { margin:0; font-size:40px; }
.ref-surface .dx-gate-main .dx-entry-t { font-size:21px; }
.ref-surface .dx-gate-main .dx-entry-d { grid-column:1 / -1; margin-top:8px; }
.ref-surface .dx-ways { width:100%; margin:12px 0 0; padding:0; list-style:none; }
.ref-surface .dx-ways li { border-top:1px solid rgba(236,232,221,.12); }
.ref-surface .dx-ways a, .ref-surface .dx-chips a { display:flex; justify-content:space-between; gap:12px; padding:6px 0; color:#dcd7cc; font:400 14px/1.4 var(--ref-sans); text-decoration:none; }
.ref-surface :is(.dx-ways, .dx-chips) a:hover { color:var(--dx-gold-text); }
.ref-surface :is(.dx-ways, .dx-chips) small { color:#918d85; font-variant-numeric:tabular-nums; }
.ref-surface .dx-gate-all { width:100%; border-top:1px solid rgba(236,232,221,.12); }
.ref-surface .dx-gate-all summary { padding:7px 0; color:var(--c); font:600 13px/1.4 var(--ref-sans); cursor:pointer; list-style-position:inside; }
.ref-surface .dx-gate-all summary:hover { color:var(--dx-gold-text); }
.ref-surface .dx-chips { margin:0 0 6px; padding:0 0 0 14px; list-style:none; columns:2 140px; column-gap:16px; }
.ref-surface .dx-chips li { break-inside:avoid; }
.ref-surface .dx-chips a { padding:3px 0; font-size:13px; }
.ref-surface .dx-gate > a.dx-gate-go { margin-top:auto; padding-top:12px; color:var(--c); font:700 12px/1.4 var(--ref-sans); letter-spacing:.06em; text-decoration:none; }
.ref-surface .dx-gate > a.dx-gate-go:hover { color:var(--dx-gold-text); }

/* -- light cards (collections, research areas): equal heights, the accent on the top edge */
.ref-surface .dx-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(270px, 1fr)); gap:14px; max-width:1100px; margin:0; padding:0; list-style:none; }
.ref-surface .dx-cards > li { display:flex; min-width:0; }
.ref-surface a.dx-card { display:flex; flex-direction:column; gap:7px; width:100%; padding:18px 20px; border:1px solid var(--ref-rule); border-top:3px solid var(--c); border-radius:6px; background:var(--ref-panel); color:var(--ref-soft); text-decoration:none; transition:border-color .15s; }
.ref-surface a.dx-card:hover { border-color:var(--dx-trim); border-top-color:var(--c); }
.ref-surface a.dx-card-shared { border-top-style:dashed; }
.ref-surface .dx-card-ic .emb-ic { width:28px; height:28px; fill:none; stroke:var(--cl); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ref-surface .dx-card-k { color:var(--cl); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .dx-card-t { color:var(--ref-ink); font:400 20px/1.25 var(--ref-serif); transition:color .15s; }
.ref-surface a.dx-card:hover .dx-card-t { color:var(--ref-link-hover); }
.ref-surface .dx-card-s { flex:1; font:400 13.5px/1.5 var(--ref-sans); }
.ref-surface .dx-card-f { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; padding-top:10px; border-top:1px solid var(--ref-rule); font:400 13.5px/1.4 var(--ref-sans); }
.ref-surface .dx-card-f b { color:var(--ref-ink); font:400 20px/1 var(--ref-serif); }
.ref-surface .dx-card-f em { flex-basis:100%; color:var(--ref-faint); font-size:12.5px; }

/* -- the research-profile widget: compact, so it scales to many profiles (Symplectic-style: who, where, what they work on) */
.ref-surface .dx-profiles { display:grid; grid-template-columns:repeat(auto-fill, minmax(290px, 1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.ref-surface .dx-profile { display:flex; flex-direction:column; gap:10px; min-width:0; padding:14px 16px; border:1px solid var(--ref-rule); border-radius:6px; background:var(--ref-panel); transition:border-color .15s; }

.ref-surface a.dx-profile-main { display:grid; grid-template-columns:auto minmax(0, 1fr); gap:0 12px; align-items:start; color:var(--ref-soft); text-decoration:none; }
.ref-surface .dx-profile-txt { display:flex; flex-direction:column; gap:2px; min-width:0; }
.ref-surface .dx-profile-k { color:var(--ref-accent); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .dx-profile-name { color:var(--ref-ink); font:400 19px/1.25 var(--ref-serif); transition:color .15s; }
.ref-surface a.dx-profile-main:hover .dx-profile-name { color:var(--ref-link-hover); }
.ref-surface .dx-profile-yrs { color:var(--ref-faint); font:400 13px/1 var(--ref-sans); }
.ref-surface .dx-profile-pos { color:var(--ref-soft); font:400 13.5px/1.45 var(--ref-sans); }
.ref-surface .dx-profile-fields { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0 0 0 46px; list-style:none; }
.ref-surface .dx-profile-fields a { display:inline-block; padding:2px 9px; border:1px solid var(--ref-rule-2); border-radius:999px; color:var(--ref-soft); font:400 12px/1.5 var(--ref-sans); text-decoration:none; }
.ref-surface .dx-profile-fields a:hover { border-color:var(--dx-trim); color:var(--ref-link-hover); }
/* -- a featured band below the hero */
.ref-surface .dx-band { margin:34px 0 0; }
.ref-surface .dx-band-h { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:10px 24px; margin:0 0 16px; }
.ref-surface .dx-band-h > div { max-width:720px; }
.ref-surface .dx-band-k { margin:0 0 6px; color:var(--ref-accent); font:700 11px/1 var(--ref-sans); letter-spacing:.18em; text-transform:uppercase; }
.ref-surface .dx-band-h h2 { margin:0 0 6px; font:400 28px/1.2 var(--ref-serif); }
.ref-surface .dx-band-h p:not(.dx-band-k) { margin:0; color:var(--ref-soft); font:400 15px/1.55 var(--ref-sans); }

/* -- the Collections tree: emblems on the top rows, a bar of each collection's share of the Library's publications */
.ref-surface .colx-page .fx-panels { margin-top:10px; }
.ref-surface .colx-row a .emb-ic { width:20px; height:20px; margin:0 10px -3px 0; fill:none; stroke:var(--ref-accent); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ref-surface .colx-c { display:inline-flex; align-items:center; justify-content:flex-end; gap:10px; min-width:9em; }
.ref-surface .colx-spark { width:64px; height:6px; }
.ref-surface .colx-spark rect { fill:var(--ref-accent); }
.ref-surface .colx-spark rect.colx-spark-bg { fill:var(--ref-rule); }
.ref-surface .colx-xl .colx-spark rect:not(.colx-spark-bg) { fill:var(--ref-faint); }

@media (max-width:1000px) {
  .ref-surface .dx-hero-top { grid-template-columns:1fr; }
  .ref-surface .dx-entry-list, .ref-surface .dx-entry-list.dx-n4, .ref-surface .dx-entry-list.dx-n6, .ref-surface .dx-entry-list.dx-n5 { --cols:2; }
  .ref-surface .dx-entry-list.dx-n3 { --cols:1; } }
@media (max-width:560px) {
  .ref-surface .dx-hero { padding:30px 20px 24px; }
  .ref-surface .dx-entry-list.dx-n4, .ref-surface .dx-entry-list.dx-n6 { gap:8px; }
  .ref-surface .dx-entry, .ref-surface .rp-faculty .dx-tabs a.rp-tab.dx-entry { padding:12px; }
  .ref-surface .dx-entry-p { display:none; }
  .ref-surface .dx-tots b { font-size:28px; } .ref-surface .dx-tots .dx-tot-main b { font-size:36px; }
  .ref-surface .dx-profile-fields { padding-left:0; }
  .ref-surface .colx-spark { width:36px; } .ref-surface .colx-c { min-width:6em; } }

/* ---- 3 Dec 2026 (Erik: "pages as complete visual compositions") ---------------------------------------------------------------------- */
/* one rhythm below every hero: 28px to the first section (the Collections tabs keep their pointer close to the panel) */
.ref-surface .dx-hero + :not(.fx-panels) { margin-top:28px !important; padding-top:0 !important; }
.ref-surface .dx-band { margin-top:36px; }
.ref-surface .dx-hero + .dx-band { margin-top:28px !important; }
/* section headings share one scale: serif 26px titles, sans meta */
.ref-surface .lib-tile header h2, .ref-surface .dx-band-h h2 { font:400 26px/1.2 var(--ref-serif); letter-spacing:-.005em; }
/* the Library home's publication types, in the publication's type colours (a coloured rule, the number in ink) */
.ref-surface .dx-typefigs a { border-left:2px solid var(--cl) !important; }
.ref-surface .dx-typefigs a:hover b { color:var(--ref-link-hover); }
/* the research-area list: the area's amber on its emblem ring; one trim on hover, as elsewhere */
.ref-surface .rax-area .area-emblem { border-color:var(--dx-amber-l, var(--dx-amber)); }
.ref-surface .rax-area .area-emblem .emb-ic { stroke:var(--dx-amber-l, var(--dx-amber)); }
.ref-surface a.rax-card:hover b { color:var(--ref-link-hover); }

/* small screens: the totals board flows to as many columns as fit (a span of years needs its own width) */
@media (max-width:560px) { .ref-surface .dx-tots { grid-template-columns:repeat(auto-fit, minmax(118px, 1fr)); } .ref-surface .dx-tots a { padding-left:12px; } }

/* ---- 3 Dec 2026 (Erik: "layout, proportion, alignment"): one composition below the heroes ----------------------------------------------
   Outer surfaces (hero, section panels, Library tiles) share a 10px contour and a 32px inset, so the hero's words, a panel's heading and its
   content start on the same lines; cards inside them keep 6px. A discovery section is one panel: its heading, a sentence and its links in a
   narrow column beside the content (dx-split), so lists, trees and cards fill the width without holes. */
.ref-surface .lib-hero, .ref-surface .lib-tile, .ref-surface .dx-panel { border-radius:10px; }
.ref-surface .dx-hero { padding:44px 32px 34px; }
.ref-surface .lib-tile { padding-left:32px; padding-right:32px; }
.ref-surface .dx-panel { padding:28px 32px 30px; border:1px solid var(--ref-rule); background:var(--ref-panel); }
.ref-surface .dx-split { display:grid; grid-template-columns:minmax(190px, 250px) minmax(0, 1fr); gap:28px 44px; align-items:start; }
.ref-surface .dx-split-aside { position:sticky; top:18px; }
.ref-surface .dx-split-aside h2 { margin:0 0 8px; font:400 24px/1.2 var(--ref-serif); }
.ref-surface .dx-split-aside .dx-band-k { margin:0 0 8px; }
.ref-surface .dx-band-p, .ref-surface .dx-split-aside .colx-lead { margin:0; max-width:none; color:var(--ref-soft); font:400 14.5px/1.55 var(--ref-sans); }
.ref-surface .dx-band-links { display:flex; flex-direction:column; gap:6px; margin:16px 0 0; padding:0; list-style:none; }
.ref-surface .dx-band-links a { color:var(--ref-accent); font:600 13.5px/1.4 var(--ref-sans); text-decoration:none; }
.ref-surface .dx-band-links a:hover { color:var(--ref-link-hover); }
html .ref-surface :is(.dx-band-links, .dx-shared) a:focus-visible { outline:2px solid var(--ref-focus) !important; outline-offset:2px; border-radius:4px; }
.ref-surface .dx-band { margin-top:28px; }
.ref-surface .dx-split-aside .colx-tools { flex-direction:column; align-items:flex-start; margin:18px 0 0; }
.ref-surface .dx-split-aside .colx-method { margin:18px 0 0; padding:12px 14px; font-size:13.5px; }
.ref-surface .dx-split-main .colx-tree, .ref-surface .dx-split-main .colx-tools { max-width:none; }
.ref-surface .colx-panel.dx-panel { padding-top:28px; }
.ref-surface .colx-page .fx-panels { margin-top:12px; }
/* cards fill their column: as many as fit, no hole in the last row, the edges on the column's edges */
.ref-surface .dx-cards { grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); max-width:none; }
.ref-surface .dx-split-main .dx-profiles { grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); }
/* the two research areas sharing a field's collection: a quiet list under the cards */
.ref-surface .dx-shared { margin:22px 0 0; }
.ref-surface .dx-shared h3 { margin:0 0 6px; color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .dx-shared ul { margin:0; padding:0; list-style:none; }
.ref-surface .dx-shared a { display:grid; grid-template-columns:auto auto minmax(0, 1fr); align-items:center; gap:0 12px; padding:9px 0; border-top:1px solid var(--ref-rule); color:var(--ref-soft); text-decoration:none; }
.ref-surface .dx-shared-ic .emb-ic { width:20px; height:20px; fill:none; stroke:var(--dx-amber-l, var(--dx-amber)); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.ref-surface .dx-shared-t { color:var(--ref-ink); font:400 17px/1.3 var(--ref-serif); }
.ref-surface .dx-shared-n { color:var(--ref-faint); font:400 13px/1.4 var(--ref-sans); }
.ref-surface .dx-shared a:hover .dx-shared-t { color:var(--ref-link-hover); }

@media (max-width:900px) { .ref-surface .dx-split { grid-template-columns:1fr; } .ref-surface .dx-split-aside { position:static; } .ref-surface .dx-split-aside .colx-tools { flex-direction:row; } }
@media (max-width:560px) { .ref-surface .dx-panel { padding:22px 18px 24px; } .ref-surface .dx-hero { padding-left:20px; padding-right:20px; } .ref-surface .lib-tile { padding-left:18px; padding-right:18px; } }
/* research profiles inside a section panel: one row each (who and where on the left, disciplines and fields on the right), as the publication
   list, so a long list of profiles stays compact; the card grid stays for the field and area pages */
.ref-surface .dx-split-main .dx-profiles { grid-template-columns:1fr; gap:0; }
.ref-surface .dx-split-main .dx-profile { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, .9fr); align-items:center; gap:8px 24px; padding:12px 0; border:0; border-top:1px solid var(--ref-rule); border-radius:0; background:none; }
.ref-surface .dx-split-main .dx-profile:first-child { padding-top:0; border-top:0; }
.ref-surface .dx-split-main .dx-profile:last-child { padding-bottom:0; }
.ref-surface .dx-split-main .dx-profile:has(a.dx-profile-main:hover) { border-color:var(--ref-rule); }
.ref-surface .dx-split-main .dx-profile + .dx-profile:has(a.dx-profile-main:hover) { border-top-color:var(--ref-rule); }
.ref-surface .dx-split-main .dx-profile-fields { justify-content:flex-end; padding-left:0; }
@media (max-width:700px) { .ref-surface .dx-split-main .dx-profile { grid-template-columns:1fr; } .ref-surface .dx-split-main .dx-profile-fields { justify-content:flex-start; padding-left:46px; } }

/* 3 Dec 2026: a section panel straight after a hero keeps its own top padding (the hero rhythm rule only sets the gap) */
.ref-surface .dx-hero + .dx-panel { padding-top:28px !important; }
/* ---- Latest publications as a catalogue table (Erik's choice, 3 Dec): a one-line heading with its links; headed columns that scan down */
.ref-surface .dx-latest-h { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 24px; margin:0 0 14px; }
.ref-surface .dx-latest-h h2 { margin:0; font:400 24px/1.2 var(--ref-serif); }
.ref-surface .dx-latest-links { display:flex; flex-wrap:wrap; gap:6px 20px; margin:0; padding:0; list-style:none; }
.ref-surface .dx-latest-links a { color:var(--ref-accent); font:600 13.5px/1.4 var(--ref-sans); text-decoration:none; }
.ref-surface .dx-latest-links a:hover { color:var(--ref-link-hover); }
html .ref-surface :is(.dx-latest-links, .dx-pubtable) a:focus-visible { outline:2px solid var(--ref-focus) !important; outline-offset:2px; border-radius:4px; }
.ref-surface .dx-pubtable { width:100%; border-collapse:collapse; font:400 13px/1.4 var(--ref-sans); }
.ref-surface .dx-pubtable th { padding:0 16px 8px 0; border-bottom:1px solid var(--ref-rule-2); color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.14em; text-align:left; text-transform:uppercase; }
.ref-surface .dx-pubtable td { padding:10px 16px 10px 0; border-bottom:1px solid var(--ref-rule); color:var(--ref-faint); vertical-align:baseline; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ref-surface .dx-pubtable td:nth-child(3) { width:100%; white-space:normal; }
.ref-surface .dx-pubtable tbody tr:last-child td { border-bottom:0; padding-bottom:0; }
.ref-surface .dx-pubtable b { color:var(--cl); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .dx-pubtable a { color:var(--ref-ink); font:400 16px/1.35 var(--ref-serif); text-decoration:none; transition:color .15s; }
.ref-surface .dx-pubtable a:hover { color:var(--ref-link-hover); }
.ref-surface .dx-pubtable tbody tr:has(a:hover) td { color:var(--ref-soft); }
.ref-surface .dx-pubtable .dx-pubtable-r { padding-right:0; text-align:right; }
@media (max-width:560px) { .ref-surface .dx-pubtable thead, .ref-surface .dx-pubtable td:nth-child(2), .ref-surface .dx-pubtable td:nth-child(4) { display:none; } .ref-surface .dx-pubtable td:first-child { width:84px; padding-right:12px; } }

/* 3 Dec 2026: a closed tab panel (hidden="until-found", so that find-in-page still opens it) keeps no border or padding, so no empty strips
   show beneath the open one (Collections; any section panel used as a tab panel) */
.ref-surface .rp-panel.dx-panel[hidden] { margin:0; padding:0 !important; border:0; }

/* ---- the Disciplines & Fields landing (Erik's choice, 3 Dec: domain cards in tones of gold) ----------------------------------------- */
.ref-surface .dfx { margin-top:28px; }
html .ref-surface .dfx a.dfx-icard:hover:not(:focus-visible) { outline:none !important; } /* the interdisciplinary cards trim on their border; every other link of the landing takes the orange trim */
html .ref-surface .dfx :is(a, summary):focus-visible { outline:2px solid var(--ref-focus) !important; outline-offset:2px; border-radius:3px; }
.ref-surface .dfx a { color:var(--ref-ink); text-decoration:none; }
.ref-surface .dfx a:hover { color:var(--ref-link-hover); }
.ref-surface .dfx .emb-ic { fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
/* the key: one line; its definitions behind a disclosure */
.ref-surface .dfx-keybar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 24px; margin:0 0 18px; }
.ref-surface .dfx-key { display:flex; flex-wrap:wrap; gap:6px 20px; margin:0; padding:0; list-style:none; color:var(--ref-soft); font:600 13px/1.4 var(--ref-sans); }
.ref-surface .dfx-key li { display:inline-flex; align-items:center; gap:7px; }
.ref-surface .dfx-key .emb-ic, .ref-surface .dfx-keydefs dt .emb-ic { width:17px; height:17px; stroke:var(--ref-accent); }
.ref-surface .dfx-keydefs summary { color:var(--ref-accent); font:600 13px/1.4 var(--ref-sans); cursor:pointer; }
.ref-surface .dfx-keydefs[open] { flex-basis:100%; }
.ref-surface .dfx-keydefs dl { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:10px 22px; margin:12px 0 0; }
.ref-surface .dfx-keydefs dt { display:flex; align-items:center; gap:8px; font:700 13px/1.3 var(--ref-sans); }
.ref-surface .dfx-keydefs dd { margin:4px 0 0; color:var(--ref-soft); font:400 13px/1.45 var(--ref-sans); }
/* the domains: four tones of the gold of disciplines and fields (deeper in the light theme) */
.ref-surface .dfx-d-humanities { --t:#d6b46c; } .ref-surface .dfx-d-social-sciences { --t:#d39c6b; } .ref-surface .dfx-d-health-sciences { --t:#b9b26e; } .ref-surface .dfx-d-information-sciences { --t:#c4a58b; }
#main:has(#nw-lamp:checked) .ref-surface .dfx-d-humanities { --t:#8a6417; } #main:has(#nw-lamp:checked) .ref-surface .dfx-d-social-sciences { --t:#94592a; }
#main:has(#nw-lamp:checked) .ref-surface .dfx-d-health-sciences { --t:#666021; } #main:has(#nw-lamp:checked) .ref-surface .dfx-d-information-sciences { --t:#7a5840; }
.ref-surface .dfx-doms { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; }
.ref-surface .dfx-dom { display:flex; flex-direction:column; padding:18px 20px 16px; border:1px solid var(--ref-rule); border-top:3px solid var(--t); border-radius:6px; background:var(--ref-panel); }
.ref-surface .dfx-dom header { display:grid; grid-template-columns:auto minmax(0, 1fr); gap:0 12px; align-items:center; margin:0 0 10px; padding:0 0 10px; border-bottom:1px solid var(--ref-rule); }
.ref-surface .dfx-ic { grid-row:span 2; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:color-mix(in srgb, var(--t) 14%, transparent); }
.ref-surface .dfx-ic .emb-ic { width:22px; height:22px; stroke:var(--t); }
.ref-surface .dfx-dom h3 { margin:0; font:400 21px/1.2 var(--ref-serif); }
.ref-surface .dfx-dom header p { margin:2px 0 0; color:var(--ref-faint); font:400 12.5px/1.4 var(--ref-sans); }
.ref-surface .dfx-dom ul { margin:0; padding:0; list-style:none; }
.ref-surface .dfx-dom li { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:5px 0; }
.ref-surface .dfx-dom li a { font:400 15.5px/1.3 var(--ref-serif); }
.ref-surface .dfx-dom li small { max-width:58%; color:color-mix(in srgb, var(--t) 70%, var(--ref-faint)); font:400 12px/1.3 var(--ref-sans); text-align:right; }
.ref-surface .dfx-xl > a { font-style:italic; color:var(--ref-soft) !important; }
.ref-surface .dfx-xl > a:hover { color:var(--ref-link-hover) !important; }
/* the interdisciplinary fields */
.ref-surface .dfx-grp { margin:28px 0 10px; color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .dfx-inter { display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.ref-surface a.dfx-icard { display:grid; grid-template-columns:auto minmax(0, 1fr); gap:2px 10px; align-items:center; height:100%; box-sizing:border-box; padding:12px 14px; border:1px solid var(--ref-rule); border-radius:6px; background:var(--ref-panel); transition:border-color .15s; }
.ref-surface a.dfx-icard:hover { border-color:var(--dx-trim); }
.ref-surface a.dfx-icard .emb-ic { grid-row:span 2; width:22px; height:22px; stroke:var(--dx-gold-l, var(--dx-gold)); }
.ref-surface .dfx-icard-t { font:400 16px/1.25 var(--ref-serif); }
.ref-surface .dfx-icard-m { color:var(--ref-faint); font:400 12px/1.35 var(--ref-sans); }
@media (max-width:1000px) { .ref-surface .dfx-doms { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:560px) { .ref-surface .dfx-doms { grid-template-columns:1fr; } }

/* ---- the Library home (Erik's choice, 3 Dec: "the front door") */
.ref-surface .dx-c-slate { --c:var(--dx-slate); --cl:var(--dx-slate-l, var(--dx-slate)); }
.ref-surface .lib-home .hx-latest { margin-top:28px; }
/* ---- 3 Dec 2026 (Erik: "prefer this tagging"): one tag for every classification, the pill (.pd-tags), also in the research-profile widget;
   a touch brighter border. The fields of the publications that name an organization are labelled ("In publications on") and dashed, so they
   never read as its own; its own documented fields, when recorded, take the plain pill. */
.ref-surface .pd-tags a, .ref-surface .pd-tags-more, .ref-surface .dx-profile-fields a { border-color:var(--ref-rule-2); }
.ref-surface .dx-profile-fields a { padding:2px 9px; border-radius:12px; color:var(--ref-ink); font:400 12.5px/1.5 var(--ref-sans); }
.ref-surface .dx-profile-fields a:hover, .ref-surface .pd-tags a:hover { border-color:var(--dx-trim); color:var(--ref-link-hover); }
.ref-surface .pd-appears { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:9px 0 0; }
.ref-surface .pd-appears-k { color:var(--ref-faint); font:700 10px/1.6 var(--ref-sans); letter-spacing:.13em; text-transform:uppercase; }
.ref-surface .pd-appears .pd-tags { margin:0; }
.ref-surface .pd-tags-bib a { border-style:dashed; color:var(--ref-soft); }
/* ---- entity icons (Erik, 3 Dec: "like these icons for orgs, little people icons for directory; brighter"; then "apply this icon convention
   consistently wherever people, research profiles and organizations appear"): a disc in the entity's colour, sage for a person, slate for an
   organization; a gold ring marks a developed research profile. Directory rows, the research-profile widget, the profile page header.
   Then (Erik, 3 Dec: "the populated research profiles should be in complete gold icons ... and so should verified orgs too eventually"):
   a research profile, and a verified organization (.pd-ic-v), is the whole disc in gold; no second ring. */
.ref-surface .pd-ic:is(.pd-ic-person, .pd-ic-org) { --e:var(--dx-sage-l, var(--dx-sage)); display:flex; align-items:center; justify-content:center; width:38px; height:38px; box-sizing:border-box; border:1px solid color-mix(in srgb, var(--e) 50%, transparent); border-radius:50%; background:color-mix(in srgb, var(--e) 22%, transparent); color:var(--e); }
.ref-surface .pd-ic:is(.pd-ic-person, .pd-ic-org) svg { width:19px; height:19px; fill:none; stroke:var(--e); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.ref-surface .pd-ic.pd-ic-org { --e:var(--dx-slate-l, var(--dx-slate)); }
.ref-surface .pd-ic:is(.pd-ic-person, .pd-ic-org):is(.pd-ic-p, .pd-ic-v) { --e:var(--dx-gold-l, var(--dx-gold)); border-color:color-mix(in srgb, var(--e) 65%, transparent); }
.ref-surface .pd-disc .pd-row .pd-ic { width:40px; height:40px; margin-top:2px; }
/* the widget keeps its layout: the disc takes the width of the old frame (34px + 12px gap = the 46px the fields line is indented by) */
.ref-surface .dx-profile .pd-ic:is(.pd-ic-person, .pd-ic-org) { width:34px; height:34px; margin-top:2px; }
.ref-surface .dx-profile .pd-ic:is(.pd-ic-person, .pd-ic-org) svg { width:17px; height:17px; }
/* the research-profile page header (both layouts): the same disc at portrait size */
.ref-surface .rp-hero .rp-id .rp-portrait.pd-ic-person, .ref-surface .rp-hero .rp-id .rp-portrait.pd-ic-person.area-emblem { --e:var(--dx-gold-l, var(--dx-gold)); display:grid; place-items:center; flex:none; width:104px; height:104px; aspect-ratio:auto; box-sizing:border-box; border:1.5px solid color-mix(in srgb, var(--e) 65%, transparent); border-radius:50%; background:color-mix(in srgb, var(--e) 22%, transparent); box-shadow:none; color:var(--e); }
.ref-surface .rp-hero .rp-id .rp-portrait.pd-ic-person svg { width:48px; height:48px; fill:none; stroke:var(--e); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:600px) {
  .ref-surface .rp-hero .rp-id .rp-portrait.pd-ic-person, .ref-surface .rp-hero .rp-id .rp-portrait.pd-ic-person.area-emblem { width:72px; height:72px; }
  .ref-surface .rp-hero .rp-id .rp-portrait.pd-ic-person svg { width:34px; height:34px; }
}
.ref-surface .pd-page[data-kind="organization"] .pd-row { grid-template-columns:auto minmax(0,1fr) auto; }
.ref-surface .pd-disc .pd-org { grid-template-columns:auto minmax(0,1fr); }
/* ---- Collections tree (Erik, 3 Dec: "some double trim going on"): one trim per row. The expandable rows trim on their summary; the
   link inside never trims as well; rows without children take the same trim on the row. */
.ref-surface .colx-row a:hover:not(:focus-visible) { outline:none !important; }
.ref-surface :is(.colx-leaf, .colx-xl) > .colx-row:has(a:hover) { outline:1px solid var(--nw-coral, #f08d6d); outline-offset:2px; border-radius:3px; }
.ref-surface :is(.colx-leaf, .colx-xl) > .colx-row:has(a:hover) a { color:var(--nw-gold, #e2bd70); }
/* ---- the orange trim everywhere (Erik, 3 Dec: "orange trim should apply when I hover, double check library to make sure it applies
   everywhere"). Found by docs/qa/library-architecture-2026-12-03/tools/hover-audit.js: links and controls that turned gold on hover but drew no
   trim. One trim each: a control that trims on its own border keeps it; the rest take the general trim (1px orange, 2px off). Current
   states (the open tab, the pressed filter) stay gold without a trim, as before. */
html .ref-surface :is(.pd-more, .pd-scope .pd-f:not([aria-pressed="true"])):hover:not(:focus-visible),
html .ref-surface a.rp-tab:not([aria-selected="true"]):not(.rp-faculty a):hover:not(:focus-visible) { outline:1px solid var(--nw-coral, #f08d6d) !important; outline-offset:2px; border-radius:3px; }
html .ref-surface .rp-hero .rp-fields .pd-tags a:hover { border-color:var(--dx-trim); color:var(--ref-link-hover); }
html .ref-surface .rp-hero .rp-fields .pd-tags a:hover:not(:focus-visible) { outline:none !important; }
/* the research-profile widget in the split band (Library home, Directories) has no card border to trim: its link (icon, name, position)
   takes the orange trim instead */
html .ref-surface .dx-profile a.dx-profile-main:hover:not(:focus-visible) { outline:1px solid var(--nw-coral, #f08d6d) !important; outline-offset:4px; border-radius:3px; }
/* ---- one hover, one shape (Erik, 3 Dec: "orange hover is not consistant"). The rule, everywhere in the Library:
   - a card that is one link trims its border (entry cards, collection cards, the interdisciplinary cards);
   - a row whose one link is its subject (a name with its count, year or source) trims the whole row, never only the link's text;
   - a card's heading link trims its heading block; a card holding several links never trims as a whole;
   - a link standing alone ("All organizations →", a link in a sentence) trims itself; a pill trims its own border.
   tools/hover-audit.js checks the rule (shapeAudit). */
html .ref-surface :is(.dfx-dom li, .fx-readlist li, .fx-res li, .ra-fgroup li, .rp-linklist li, .rp-keyworks li, .rp-items li) > a:hover:not(:focus-visible) { outline:none !important; }
html .ref-surface :is(.dfx-dom li, .fx-readlist li, .fx-res li, .ra-fgroup li, .rp-linklist li, .rp-keyworks li, .rp-items li):has(> a:hover) { outline:1px solid var(--nw-coral, #f08d6d); outline-offset:2px; border-radius:3px; }
html .ref-surface :is(.dfx-dom li, .fx-readlist li, .fx-res li, .ra-fgroup li, .rp-linklist li, .rp-keyworks li, .rp-items li):has(> a:hover) > a { color:var(--nw-gold, #e2bd70); }
/* the gateway: its rows are links the width of the row; its heading, disclosure and closing link trim themselves */
html .ref-surface .dx-gate :is(.dx-ways a, .dx-chips a, .dx-gate-all > summary, a.dx-gate-go):hover:not(:focus-visible) { outline:1px solid var(--nw-coral, #f08d6d) !important; outline-offset:2px; border-radius:3px; }
html .ref-surface .dx-gate a.dx-gate-main:hover:not(:focus-visible) { outline:1px solid var(--nw-coral, #f08d6d) !important; outline-offset:4px; border-radius:3px; }
/* the domain card's heading on Disciplines & Fields trims as a block, like the gateway's */
html .ref-surface .dfx-dom > header :is(h2, h3) a:hover:not(:focus-visible) { outline:none !important; }
html .ref-surface .dfx-dom > header:has(:is(h2, h3) a:hover) { outline:1px solid var(--nw-coral, #f08d6d); outline-offset:4px; border-radius:3px; }
/* the Latest publications table: the row trims, not the title alone */
html .ref-surface .dx-pubtable a:hover:not(:focus-visible) { outline:none !important; }
html .ref-surface .dx-pubtable tbody tr:has(a:hover) { outline:1px solid var(--nw-coral, #f08d6d); outline-offset:-1px; }
html .ref-surface .dx-pubtable tbody tr:has(a:hover) a { color:var(--nw-gold, #e2bd70); }
