/* Integral [+] Facticity Library: the scholarly reference design system (prototype revision 16, local review, 28 Nov 2026).
   Loaded only on the Library pages, Research Guides and Wiki entries. The masthead, menu and footer stay the publication's own (dark);
   below them the reference surface, dark by default and light by choice, carries the reference work: Source Sans Pro (SIL OFL 1.1, self-hosted), restrained titles,
   numbered sections, plain functional links, formal references. Magazine pages never load this file. */

@font-face { font-family:'Source Sans Ref'; font-style:normal; font-weight:400; font-display:swap; src:url(ref-source-sans-pro-400-latin.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Source Sans Ref'; font-style:normal; font-weight:400; font-display:swap; src:url(ref-source-sans-pro-400-latin-ext.woff2) format('woff2'); unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Source Sans Ref'; font-style:italic; font-weight:400; font-display:swap; src:url(ref-source-sans-pro-400italic-latin.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Source Sans Ref'; font-style:italic; font-weight:400; font-display:swap; src:url(ref-source-sans-pro-400italic-latin-ext.woff2) format('woff2'); unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Source Sans Ref'; font-style:normal; font-weight:600 700; font-display:swap; src:url(ref-source-sans-pro-700-latin.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Source Sans Ref'; font-style:normal; font-weight:600 700; font-display:swap; src:url(ref-source-sans-pro-700-latin-ext.woff2) format('woff2'); unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- the surface and its two palettes (the site's variables, re-scoped)
   Dark is the default, as on the whole site. Light is the reader's choice, made with the site's own Appearance control and kept in the
   same stored preference (localStorage "nw.theme": "night" | "lamp") that articles already use, so a choice carries across every page. */
.ref-surface { --ref-sans:'Source Sans Ref','Source Sans Pro','Segoe UI',system-ui,-apple-system,sans-serif; }
#main .ref-surface, #main .ref-surface .nw-sheet {
  --ref-bg:#06090a; --ref-panel:#0d1315; --ref-panel-2:#111a1c; --ref-ink:#ece8dd; --ref-soft:#bdb8ad; --ref-faint:#918d85; --ref-rule:#222b2d; --ref-rule-2:#344142;
  --ref-accent:#dcb766; --ref-wiki:#b9a7e0; --ref-link:#ece8dd; --ref-link-hover:#e2bd70; /* Erik, 28 Nov: hover text is gold, trims are orange */ --ref-visited:#ece8dd; --ref-focus:#f08d6d; /* A2: parchment links, gold underline */
  --ref-btn:#e2bd70; --ref-btn-hover:#ecd08f; --ref-btn-ink:#06090a; --ref-chip-on:#ece8dd; --ref-chip-on-ink:#06090a; --ref-mark:#4d4020; --ref-mark-ink:#fff3d4;
  --ref-underline:rgba(220,183,102,.55); --ref-glow:rgba(220,183,102,.2); --ref-select:#3b4a3e; --ref-shadow:none;
  --nw-text:var(--ref-ink); --nw-cream:var(--ref-ink); --nw-soft:var(--ref-soft); --nw-faint:var(--ref-faint); --nw-gold:var(--ref-accent); --nw-coral:var(--ref-focus);
  --nw-rule:var(--ref-rule); --nw-rule-2:var(--ref-rule-2); --serif:var(--ref-sans); --sans:var(--ref-sans);
}
#main:has(#nw-lamp:checked) .ref-surface, #main:has(#nw-lamp:checked) .ref-surface .nw-sheet {
  --ref-bg:#f6f5f1; --ref-panel:#ffffff; --ref-panel-2:#fbfaf7; --ref-ink:#1d2126; --ref-soft:#454b52; --ref-faint:#646a71; --ref-rule:#dcd7cc; --ref-rule-2:#c4bdae;
  --ref-accent:#7d5f16; --ref-wiki:#5a4795; --ref-link:#1d2126; --ref-link-hover:#7d5f16; --ref-visited:#1d2126; --ref-focus:#b4531f;
  --ref-btn:#1d2126; --ref-btn-hover:#7d5f16; --ref-btn-ink:#f6f5f1; --ref-chip-on:#1d2126; --ref-chip-on-ink:#f6f5f1; --ref-mark:#f2e3b8; --ref-mark-ink:inherit;
  --ref-underline:rgba(125,95,22,.55); --ref-glow:rgba(125,95,22,.18); --ref-select:#e8dcc0; --ref-shadow:0 1px 2px rgba(0,0,0,.04);
}
.ref-surface {
  position:relative; display:block; color:var(--ref-ink); background:var(--ref-bg); box-shadow:0 0 0 100vmax var(--ref-bg); clip-path:inset(0 -100vmax);
  font-family:var(--ref-sans); padding-bottom:48px; font-kerning:normal; transition:background-color .25s, color .25s;
}
/* the magazine's Lamp sheet never applies inside the Library: here Light is the whole surface */
#main .ref-surface .nw-sheet { background:transparent !important; box-shadow:none !important; border-radius:0 !important; }
#main:has(#nw-lamp:checked) .ref-surface .nw-sheet { margin:0 !important; padding:0 !important; max-width:44rem !important; }
.ref-surface ::selection { background:var(--ref-select); }
.ref-surface a:focus-visible, .ref-surface button:focus-visible, .ref-surface summary:focus-visible, .ref-surface input:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; border-radius:1px; }
.ref-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.ref-num { margin-right:.55em; color:var(--ref-faint); font-weight:400; font-variant-numeric:tabular-nums; }

/* ---------- functional links */
.ref-surface .nw-prose a, .ref-surface .nw-info-list a, .ref-surface .rgp-explore a, .ref-surface .lib-links a, .ref-surface .lib-res a, .ref-surface .lb-line a, .ref-surface .lib-tree a, .ref-surface .lib-trail a, .ref-surface .rgp-trail a, .ref-cat .nw-terms a { color:var(--ref-link); text-decoration:underline; text-decoration-color:var(--ref-underline); text-decoration-thickness:1px; text-underline-offset:2.5px; }
.ref-surface .nw-prose a:visited, .ref-surface .nw-info-list a:visited, .ref-surface .lib-res a:visited { color:var(--ref-visited); }
.ref-surface .nw-prose a:hover, .ref-surface .nw-info-list a:hover, .ref-surface .rgp-explore a:hover, .ref-surface .lib-links a:hover, .ref-surface .lib-res a:hover, .ref-cat .nw-terms a:hover { color:var(--ref-link-hover); text-decoration-color:currentColor; }
.ref-surface .nw-ext { color:var(--ref-faint); }

/* ---------- entry and guide headers: restrained titles */
.ref-surface .nw-ahead, .ref-surface .rgp-head { padding:26px 0 16px; border-bottom:1px solid var(--ref-rule-2); }
.ref-surface .nw-ahead h1, .ref-surface .rgp-head h1 { max-width:none; margin:8px 0 0; color:var(--ref-ink); font:700 clamp(28px,2.6vw,36px)/1.15 var(--ref-sans); letter-spacing:-.005em; }
.ref-kicker { display:flex; flex-wrap:wrap; gap:4px 14px; margin:0; color:var(--ref-faint); font:600 12px/1.4 var(--ref-sans); letter-spacing:.08em; text-transform:uppercase; }
.ref-kicker a { color:var(--ref-wiki); text-decoration:none; }
.ref-kicker a:hover { text-decoration:underline; }
.ref-surface .rgp-trail ol { font:400 13.5px/1.5 var(--ref-sans); letter-spacing:0; text-transform:none; }
.ref-surface .rgp-trail a { color:var(--ref-link); }
.ref-surface .rgp-trail li + li::before { margin:0 8px; }
.ref-surface .rgp-label { margin-top:14px; font:600 12px/1.4 var(--ref-sans); letter-spacing:.08em; color:var(--ref-accent); }
.ref-surface .rgp-status { color:var(--ref-faint); letter-spacing:.04em; text-transform:none; font-weight:400; }

/* ---------- reading column: document typography */
.ref-surface .nw-layout { padding-top:26px; }
.ref-surface .nw-sheet { max-width:44rem; font-size:17px; }
.ref-surface .nw-prose { color:var(--ref-ink); font:400 1em/1.62 var(--ref-sans); }
.ref-surface .nw-prose p { margin:0 0 1em; }
.ref-surface .nw-prose h2 { margin:1.9em 0 .6em; padding-bottom:.3em; border-bottom:1px solid var(--ref-rule); color:var(--ref-ink); font:700 1.32em/1.25 var(--ref-sans); letter-spacing:0; }
.ref-surface .nw-prose h2::after { content:none !important; display:none !important; }
.ref-surface .nw-prose h3 { margin:1.5em 0 .45em; color:var(--ref-ink); font:700 1.08em/1.3 var(--ref-sans); font-style:normal; }
.ref-surface .nw-prose em, .ref-surface .nw-prose i { font-style:italic; }
.ref-surface .nw-prose ul { padding-left:1.3em; }
.ref-surface .nw-prose ul li { margin:.3em 0; }
.ref-surface .nw-prose ul li::before { content:none; }

/* references: formal bibliography */
.ref-surface .wk-refs { margin-top:2em; }
.ref-surface .wk-refs h2 { font-size:1.12em; }
.ref-surface .wk-refs, .ref-surface .wk-refs p, .ref-surface .wk-refs li { font-size:15px; line-height:1.55; }
.ref-surface .wk-refs p { margin:0 0 .55em; padding-left:2em; text-indent:-2em; }
.ref-surface .wk-related-entries p { padding-left:0; text-indent:0; }
.ref-surface .wk-end { color:var(--ref-soft); font-size:14px; }
.ref-surface .wk-end a { color:var(--ref-link); }
.ref-surface .nw-afoot { border-top:1px solid var(--ref-rule); }
.ref-surface .nw-cite summary, .ref-surface .wk-tools a { color:var(--ref-soft); font-family:var(--ref-sans); }

/* side rails: compact contextual navigation in small sans */
.ref-surface .nw-toc-head h2, .ref-surface .nw-info-head h2, .ref-surface .rgp-rail h2 { color:var(--ref-faint); font:700 11.5px/1.4 var(--ref-sans); letter-spacing:.1em; }
.ref-surface .nw-toc li a, .ref-surface .rgp-onpage li a { padding:4px 0; color:var(--ref-soft); font:400 14.5px/1.35 var(--ref-sans); }
.ref-surface .nw-toc li a span, .ref-surface .rgp-onpage li a span { color:var(--ref-faint); font:400 13px/1.55 var(--ref-sans); }
.ref-surface .nw-toc li a:hover, .ref-surface .rgp-onpage li a:hover { color:var(--ref-link); }
.ref-surface .nw-toc-head .nw-toc-top { color:var(--ref-link); font-family:var(--ref-sans); }
.ref-surface .nw-info { padding:14px 16px 6px; background:var(--ref-panel); border:1px solid var(--ref-rule); border-radius:3px; }
.ref-surface .nw-info-list dt { color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.08em; }
.ref-surface .nw-info-list dd { font:400 14.5px/1.4 var(--ref-sans); color:var(--ref-ink); }
.ref-surface .nw-info-list li > span, .ref-surface .rgp-explore dd li a + span { color:var(--ref-faint); font:400 12.5px/1.4 var(--ref-sans); }
.ref-surface .nw-info-m, .ref-surface .nw-toc-m { border-color:var(--ref-rule); }
.ref-surface .nw-info-m summary, .ref-surface .nw-toc-m summary { color:var(--ref-soft); font:700 12px/1.4 var(--ref-sans); letter-spacing:.08em; }

/* ---------- Research Guide: navigational, field-oriented */
.ref-surface .rgp-mark { border-color:var(--ref-accent); }
.ref-surface .rgp-tree a { font:400 14.5px/1.35 var(--ref-sans); color:var(--ref-ink); padding:4px 0; }
.ref-surface .rgp-tree ul a { color:var(--ref-soft); font-size:14px; }
.ref-surface .rgp-tree .rgp-tree-sec > a { font-style:italic; }
.ref-surface .rgp-tree a:hover { color:var(--ref-link); }
.ref-surface .rgp-tree a[aria-current] { color:var(--ref-ink); font-weight:700; }
.ref-surface .rgp-tree a[aria-current]::before { background:var(--ref-accent); }
.ref-surface .rgp-all { color:var(--ref-link); font-family:var(--ref-sans); }
.ref-surface .rgp-onpage li a::before { content:none; }
.ref-surface .rgp-onpage li a { grid-template-columns:26px minmax(0,1fr); }
.ref-surface .rgp-lead p { color:var(--ref-ink); font-size:1.06em; line-height:1.6; }
.ref-surface .rgp-sec { margin-top:1.6em; padding-top:0; border-top:0; }
.ref-surface .rgp-sec > h2 { margin-top:.4em; }
.ref-surface .rgp-cards { gap:10px; }
.ref-surface .rgp-cards > li.rgp-card { padding:12px 14px 13px !important; background:var(--ref-panel); border:1px solid var(--ref-rule); border-left:3px solid var(--ref-wiki); }
.ref-surface .rgp-card-guide { border-left-color:var(--ref-accent) !important; }
.ref-surface .rgp-kind { color:var(--ref-wiki); font:700 11px/1.3 var(--ref-sans); letter-spacing:.08em; }
.ref-surface .rgp-card-guide .rgp-kind { color:var(--ref-accent); }
.ref-surface .rgp-card a.wk-link { color:var(--ref-link); font:700 1.02em/1.3 var(--ref-sans); text-decoration:none; }
.ref-surface .rgp-card:hover { border-color:var(--ref-rule-2); }
.ref-surface .rgp-card:hover a.wk-link { color:var(--ref-link-hover); text-decoration:underline; }
.ref-surface .rgp-preview { color:var(--ref-soft); font-size:.88em; }
.ref-surface .rgp-sources { border-top:1px solid var(--ref-rule-2); font-size:1em; }
.ref-surface .rgp-sources-k { color:var(--ref-faint); font:700 11.5px/1 var(--ref-sans) !important; letter-spacing:.1em; }
.ref-surface .rgp-info { background:var(--ref-panel); }

/* ---------- Library portal (landing page and search) */
.lib-wrap { max-width:none; margin:0; padding:0; }
.lib-band { padding:34px 0 30px; border-bottom:1px solid var(--ref-rule); }
.lib-trail { margin:0 0 10px; font:400 13.5px/1.5 var(--ref-sans); color:var(--ref-faint); }
.lib-trail a { color:var(--ref-link); }
.lib-band h1 { margin:0; color:var(--ref-ink); font:700 clamp(30px,3vw,40px)/1.1 var(--ref-sans); letter-spacing:-.01em; }
.lib-intro { max-width:46rem; margin:10px 0 0; color:var(--ref-soft); font:400 17.5px/1.55 var(--ref-sans); }
.lib-search { max-width:52rem; margin-top:22px; }
.lib-search-row { display:flex; gap:0; border:1px solid var(--ref-rule-2); border-radius:3px; background:var(--ref-panel); box-shadow:var(--ref-shadow); }
.lib-search-row:focus-within { border-color:var(--ref-link); box-shadow:0 0 0 3px var(--ref-glow); }
.lib-search input[type=search] { flex:1; min-width:0; height:50px; padding:0 16px; border:0; background:transparent; color:var(--ref-ink); font:400 18px/1 var(--ref-sans); outline:none; }
.lib-search input[type=search]:focus-visible { outline:none; }
.lib-search button { flex:none; height:50px; padding:0 24px; border:0; border-radius:0 2px 2px 0; background:var(--ref-btn); color:var(--ref-btn-ink); font:700 15.5px/1 var(--ref-sans); letter-spacing:.02em; cursor:pointer; }
.lib-search button:hover { background:var(--ref-btn-hover); }
.lib-scopes { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 0; padding:0; border:0; }
.lib-scopes label { position:relative; display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:0 13px; border:1px solid var(--ref-rule); border-radius:17px; background:var(--ref-panel); color:var(--ref-soft); font:400 14.5px/1 var(--ref-sans); cursor:pointer; }
.lib-scopes input { position:absolute; opacity:0; width:1px; height:1px; }
.lib-scopes label:has(input:checked) { border-color:var(--ref-chip-on); background:var(--ref-chip-on); color:var(--ref-chip-on-ink); }
.lib-scopes label:has(input:focus-visible) { outline:2px solid var(--ref-focus); outline-offset:2px; }
.lib-scopes small { color:inherit; opacity:.75; font:400 12.5px/1 var(--ref-sans); }
.lib-help { margin:10px 0 0; color:var(--ref-faint); font:400 13.5px/1.5 var(--ref-sans); }
.lib-section { padding:30px 0 6px; }
.lib-section h2 { margin:0 0 4px; color:var(--ref-ink); font:700 21px/1.25 var(--ref-sans); }
.lib-section > p.lib-sub { margin:0 0 16px; color:var(--ref-soft); font:400 15.5px/1.5 var(--ref-sans); }
.lib-area { padding:14px 16px 15px; border:1px solid var(--ref-rule); border-top:3px solid var(--ref-rule-2); border-radius:3px; background:var(--ref-panel); }
.lib-area-on { grid-column:span 2; grid-row:span 2; border-top-color:var(--ref-accent); }
.lib-area h3 { margin:0; font:700 16.5px/1.3 var(--ref-sans); color:var(--ref-ink); }
.lib-area-on h3 { font-size:19px; }
.lib-area h3 a { color:var(--ref-link); text-decoration:none; }
.lib-area h3 a:hover { text-decoration:underline; }
.lib-area p { margin:6px 0 0; color:var(--ref-soft); font:400 14.5px/1.5 var(--ref-sans); }
.lib-area-off { background:transparent; border-style:dashed; }
.lib-area-off h3 { color:var(--ref-faint); font-weight:400; }
.lib-area-off p { color:var(--ref-faint); font-size:13px; }
.lib-tree { margin:10px 0 0; padding:0; list-style:none; font:400 15px/1.5 var(--ref-sans); }
.lib-tree ul { margin:2px 0 4px; padding-left:16px; border-left:1px solid var(--ref-rule); list-style:none; }
.lib-tree li { margin:3px 0; }
.lib-tree a { color:var(--ref-link); }
.lib-tree .lib-sec { color:var(--ref-soft); font-style:italic; }
.lib-tree .lib-g::after { content:'Research Guide'; margin-left:8px; color:var(--ref-accent); font:700 10.5px/1 var(--ref-sans); letter-spacing:.08em; text-transform:uppercase; }
.lib-cols { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.lib-links { margin:0; padding:0; list-style:none; border-top:1px solid var(--ref-rule); }
.lib-links li { display:flex; align-items:baseline; gap:10px; padding:9px 0; border-bottom:1px solid var(--ref-rule); font:400 16px/1.35 var(--ref-sans); }
.lib-links li a { font-weight:700; text-decoration:none; }
.lib-links li a:hover { text-decoration:underline; }
.lib-links li small { margin-left:auto; color:var(--ref-faint); font:400 13.5px/1 var(--ref-sans); font-variant-numeric:tabular-nums; }
.lib-links li span { display:block; color:var(--ref-faint); font:400 13.5px/1.4 var(--ref-sans); }
.lib-links li > div { min-width:0; }
.lib-note { margin:30px 0 0; padding:14px 16px; border:1px solid var(--ref-rule); border-radius:3px; background:var(--ref-panel); color:var(--ref-soft); font:400 14px/1.55 var(--ref-sans); }
.lib-note b { color:var(--ref-ink); }

/* search results */
.lib-status { margin:18px 0 6px; color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); }
.lib-res { margin:0; padding:0; list-style:none; border-top:1px solid var(--ref-rule); }
.lib-res > li { padding:14px 0 15px; border-bottom:1px solid var(--ref-rule); }
.lib-type { display:inline-block; margin-right:8px; padding:1px 6px 2px; border:1px solid currentColor; border-radius:2px; font:700 11px/1.2 var(--ref-sans); letter-spacing:.06em; text-transform:uppercase; color:var(--ref-soft); background:none; vertical-align:2px; } /* r11: outlined in the type's own colour, readable on both surfaces */
.lib-type-pub { color:var(--ref-soft); } .lib-type-wiki { color:var(--ref-wiki); } .lib-type-guide { color:var(--ref-accent); } .lib-type-subject, .lib-type-term { color:var(--nw-teal, #8fc7bb); } .lib-type-person { color:var(--ref-focus); } .lib-type-org { color:var(--ref-faint); }
.lib-res h3 { display:inline; margin:0; font:700 18px/1.35 var(--ref-sans); }
.lib-res h3 a { text-decoration:none; } .lib-res h3 a:hover { text-decoration:underline; }
.lib-meta { margin:5px 0 0; color:var(--ref-faint); font:400 13.5px/1.45 var(--ref-sans); }
.lib-snip { margin:5px 0 0; max-width:48rem; color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); }
.lib-snip mark { background:var(--ref-mark); color:var(--ref-mark-ink); padding:0 1px; }
.lib-more { margin:18px 0 0; min-height:40px; padding:0 18px; border:1px solid var(--ref-rule-2); border-radius:3px; background:var(--ref-panel); color:var(--ref-ink); font:700 14.5px/1 var(--ref-sans); cursor:pointer; }
.lib-more:hover { border-color:var(--ref-link); color:var(--ref-link); }


/* ---------- the Library bar: on every Library page, the way back, the sections, a search box and Appearance */
.lib-bar { display:flex; flex-wrap:wrap; align-items:center; gap:6px 22px; padding:10px 0; border-bottom:1px solid var(--ref-rule); font:400 14.5px/1.3 var(--ref-sans); } /* B2: small capitals, as the sidebar headings */
.lib-bar-home { display:inline-flex; align-items:center; min-height:34px; padding-right:22px; border-right:1px solid var(--ref-rule-2); color:var(--ref-ink); font:700 12px/1 var(--ref-sans); letter-spacing:.22em; text-transform:uppercase; text-decoration:none; }

.lib-bar-home:hover { color:var(--nw-gold); } /* the magazine menu's hover colour */
.lib-bar-links { display:flex; flex-wrap:wrap; gap:4px 22px; margin:0; padding:0; list-style:none; }
.lib-bar-links a { display:inline-flex; align-items:center; min-height:34px; color:var(--ref-soft); font:700 11.5px/1 var(--ref-sans); letter-spacing:.16em; text-transform:uppercase; text-decoration:none; }
.lib-bar-links a:hover { color:var(--nw-gold); }
.lib-bar-links a[aria-current] { color:var(--ref-ink); }
.lib-bar-links a[aria-current]::before { content:''; width:5px; height:5px; margin-right:8px; border-radius:50%; background:var(--nw-coral); }
.lib-bar-tools { display:flex; align-items:center; gap:10px; margin-left:auto; }
.lib-bar-search { display:flex; align-items:center; height:34px; border:1px solid var(--ref-rule-2); border-radius:3px; background:var(--ref-panel); }
.lib-bar-search:focus-within { border-color:var(--ref-link); box-shadow:0 0 0 3px var(--ref-glow); }
.lib-bar-search input { width:clamp(140px,16vw,230px); height:32px; padding:0 10px; border:0; background:transparent; color:var(--ref-ink); font:400 14.5px/1 var(--ref-sans); outline:none; }
.lib-bar-search input::placeholder { color:var(--ref-faint); }
.lib-bar-search button { display:grid; place-items:center; width:34px; height:32px; border:0; background:none; color:var(--ref-soft); cursor:pointer; }
.lib-bar-search button:hover { color:var(--nw-gold); }
.lib-bar-search svg { width:15px; height:15px; }
/* Appearance: the site's own control (same radios, same stored choice), placed in the Library bar */
.lib-bar .nw-look { position:relative; grid-column:auto; grid-row:auto; top:auto; z-index:8; }
.lib-bar .nw-look > summary { display:grid; place-items:center; width:34px; height:34px; margin:0; color:var(--ref-soft); border:1px solid var(--ref-rule-2); border-radius:3px; cursor:pointer; list-style:none; }
.lib-bar .nw-look > summary::-webkit-details-marker { display:none; }
.lib-bar .nw-look > summary:hover, .lib-bar .nw-look[open] > summary { color:var(--nw-gold); }
.lib-bar .nw-look svg { width:16px; height:16px; }
.lib-bar .nw-look-sun { display:none; }
#main:has(#nw-lamp:checked) .lib-bar .nw-look-sun { display:block; }
#main:has(#nw-lamp:checked) .lib-bar .nw-look-moon { display:none; }
.lib-bar .nw-look-panel { position:absolute; right:0; top:calc(100% + 6px); width:236px; padding:14px; background:var(--ref-panel); border:1px solid var(--ref-rule-2); border-radius:3px; box-shadow:0 10px 30px rgba(0,0,0,.28); }
.lib-bar .nw-look-panel fieldset { margin:0; padding:0; border:0; min-width:0; }
.lib-bar .nw-look-panel fieldset + fieldset { margin-top:14px; }
.lib-bar .nw-look-panel legend { margin:0 0 8px; padding:0; color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.1em; text-transform:uppercase; }
.lib-bar .nw-look-cards { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.lib-bar .nw-look-card { position:relative; display:block; min-width:0; }
.lib-bar .nw-look-card input { position:absolute; opacity:0; width:1px; height:1px; margin:0; }
.lib-bar .nw-look-card label { display:block; cursor:pointer; }
.lib-bar .nw-look-page { position:relative; display:block; height:62px; padding:9px 9px 0; overflow:hidden; border:1px solid var(--ref-rule-2); border-radius:2px; }
.lib-bar .nw-look-page.is-light { color:#1d2126; background:#f6f5f1; }
.lib-bar .nw-look-page.is-dark { color:#ece8dd; background:#06090a; }
.lib-bar .nw-look-page b { display:block; margin-bottom:6px; font:700 16px/1 var(--ref-sans); }
.lib-bar .nw-look-page i { display:block; height:2px; margin-bottom:4px; background:currentColor; opacity:.42; }
.lib-bar .nw-look-page i:last-child { width:62%; }
.lib-bar .nw-look-name { display:block; margin-top:6px; color:var(--ref-soft); font:400 13px/1.3 var(--ref-sans); text-align:center; }
.lib-bar .nw-look-card input:checked + label .nw-look-page, #main:not(:has(#nw-lamp:checked)) .lib-bar label[for=nw-night] .nw-look-page { border-color:var(--ref-accent); box-shadow:0 0 0 1px var(--ref-accent); }
.lib-bar .nw-look-card input:checked + label .nw-look-name, #main:not(:has(#nw-lamp:checked)) .lib-bar label[for=nw-night] .nw-look-name { color:var(--ref-accent); }
.lib-bar .nw-look-card input:focus-visible + label .nw-look-page { outline:2px solid var(--ref-focus); outline-offset:2px; }
.lib-bar .nw-seg { display:flex; border:1px solid var(--ref-rule-2); border-radius:3px; overflow:hidden; }
.lib-bar .nw-seg input { position:absolute; opacity:0; width:1px; height:1px; }
.lib-bar .nw-seg label { flex:1; display:grid; place-items:center; height:34px; color:var(--ref-soft); font:700 14px/1 var(--ref-sans); cursor:pointer; background:none; }
.lib-bar .nw-seg label[for=nw-s1] { font-size:12px; } .lib-bar .nw-seg label[for=nw-s3] { font-size:17px; }
.lib-bar .nw-seg input:checked + label, #main:not(:has(#nw-s1:checked, #nw-s3:checked)) .lib-bar label[for=nw-s2] { color:var(--ref-chip-on-ink); background:var(--ref-chip-on); }
.lib-bar .nw-seg input:focus-visible + label { outline:2px solid var(--ref-focus); outline-offset:-2px; }
/* text size: the same three steps as articles, scaled for the reference type */
.ref-surface .nw-sheet { font-size:17px; }
#main:has(#nw-s1:checked) .ref-surface .nw-sheet { font-size:15.5px; }
#main:has(#nw-s3:checked) .ref-surface .nw-sheet { font-size:19.5px; }

/* ---------- directories and catalogue pages: the existing lists, alphabetical and dense, in the Library's type and colour */
.ref-cat { padding-top:0; }
.ref-cat .nw-mast { padding:22px 0 14px; border-bottom-color:var(--ref-rule-2); }
.ref-cat .nw-mast h1 { color:var(--ref-ink); font:700 clamp(24px,2.2vw,30px)/1.15 var(--ref-sans); letter-spacing:-.005em; } /* compact, as the listings' headings (at most 32px) */
.ref-cat .nw-mast .nw-period { display:none; }
.ref-cat .nw-intro { color:var(--ref-soft); font:400 16px/1.45 var(--ref-sans); }
.ref-cat .nw-terms h2 { color:var(--ref-faint); font:700 12px/1.4 var(--ref-sans); letter-spacing:.1em; border-bottom:1px solid var(--ref-rule); padding-bottom:6px; }
.ref-cat .nw-terms li { padding:3px 0; font:400 15.5px/1.35 var(--ref-sans); border-bottom:1px dotted transparent; }
.ref-cat .nw-terms li:hover { border-bottom-color:var(--ref-rule); }
.ref-cat .nw-terms small { color:var(--ref-faint); font:400 13px/1.6 var(--ref-sans); font-variant-numeric:tabular-nums; }
.ref-cat .nw-filters h2, .ref-cat .nw-index-subjects h2, .ref-cat .nw-filters-more h2 { color:var(--ref-faint); font:700 11.5px/1.4 var(--ref-sans); letter-spacing:.1em; }
.ref-cat .nw-types a, .ref-cat .nw-years a, .ref-cat .nw-index li a, .ref-cat .rg-row a, .ref-cat .rg-planned > span { font-family:var(--ref-sans); font-size:15.5px; }
.ref-cat .nw-row h4, .ref-cat .nw-row h4 a { font-family:var(--ref-sans); font-weight:700; letter-spacing:0; }
.ref-cat .nw-row h4 { font-size:19px; line-height:1.3; }
.ref-cat .nw-row-dek, .ref-cat .nw-results-count, .ref-cat .nw-pub-find { font-family:var(--ref-sans); }
.ref-cat .nw-meta { font-family:var(--ref-sans); letter-spacing:.06em; }
.ref-cat .nw-centre, .ref-cat .nw-index { border-color:var(--ref-rule); }

@media (max-width:760px) {
  .lib-bar { gap:8px 12px; }
  .lib-bar-tools { order:2; margin-left:auto; }
  .lib-bar-links { order:3; flex-basis:100%; flex-wrap:nowrap; overflow-x:auto; gap:16px; padding-bottom:2px; scrollbar-width:none; }
  .lib-bar-links::-webkit-scrollbar { display:none; }
  .lib-bar-links a { white-space:nowrap; }
  .lib-bar-search input { width:clamp(110px,34vw,170px); }
}

/* ---------- the magazine's type colours inside the Library: readable on both surfaces */
.ref-surface .nw-is-wiki { color:var(--ref-wiki); }
#main:has(#nw-lamp:checked) .ref-surface { --nw-teal:#2c6b5f; --nw-lime:#56661c; }
.ref-cat .nw-terms a { text-decoration:none; }
.ref-cat .nw-terms a:hover, .ref-cat .nw-terms a:focus-visible { text-decoration:underline; }
/* an individual record (a person, organization or term): its name as the heading, with its place in the Library */
.ref-cat .nw-mast .lib-trail { flex-basis:100%; margin:0 0 4px; }
.ref-cat .nw-mast .lib-kind { color:var(--ref-faint); font:700 12px/1.4 var(--ref-sans); letter-spacing:.08em; text-transform:uppercase; }

/* ---------- r12: Research Guides as emblem cards (Erik's choice O1: the homepage's Explore cards, in the Library), all the same size */
#main .ref-surface { --emb-bg:linear-gradient(180deg,rgba(14,38,35,.78),rgba(6,22,21,.86)); --emb-border:rgba(143,199,187,.16); --emb-off-bg:linear-gradient(180deg,rgba(14,24,25,.55),rgba(6,12,13,.7)); --emb-shadow:0 14px 34px rgba(0,0,0,.45); --emb-hover:rgba(240,141,109,.55); --ref-display:'Iowan Old Style','Palatino Linotype','Book Antiqua',Georgia,serif; }
#main:has(#nw-lamp:checked) .ref-surface { --emb-bg:#ffffff; --emb-border:var(--ref-rule); --emb-off-bg:rgba(255,255,255,.45); --emb-shadow:0 12px 28px rgba(0,0,0,.09); --emb-hover:rgba(180,83,31,.5); }
.lib-areas, .area-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:1fr; gap:14px; margin:0; padding:0; list-style:none; }
.area-cards { grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); }
.lib-areas > li, .area-cards > li { display:flex; min-width:0; }
.emb { position:relative; display:flex; flex:1; flex-direction:column; gap:10px; min-height:196px; padding:18px 20px; color:var(--ref-ink); background:var(--emb-bg); border:1px solid var(--emb-border); border-radius:3px; text-decoration:none; transition:transform .2s, border-color .2s, box-shadow .2s; }
a.emb:hover, a.emb:focus-visible { transform:translateY(-3px); border-color:var(--emb-hover); box-shadow:var(--emb-shadow); }
a.emb:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
.emb-top { display:flex; align-items:center; gap:12px; min-height:30px; }
.emb-top:empty { display:none; }
.emb-no { color:var(--ref-soft); font:700 13px/1 var(--ref-sans); letter-spacing:.08em; }
.emb-ic { width:30px; height:30px; fill:none; stroke:var(--nw-coral); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.emb h3 { margin:auto 0 0; color:var(--ref-ink); font:400 23px/1.15 var(--ref-display); }
.emb-state { color:var(--ref-accent); font:700 10.5px/1.3 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.emb-desc { margin:0; color:var(--ref-soft); font:400 14.5px/1.45 var(--ref-sans); }
.emb-foot { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.emb-meta { color:var(--ref-soft); font:400 14px/1.35 var(--ref-sans); }
.emb-enter { flex:none; color:var(--nw-coral); font:700 12px/1 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.emb-off { background:var(--emb-off-bg); border-color:var(--ref-rule); }
.emb-off .emb-ic { stroke:var(--ref-faint); } .emb-off h3 { color:var(--ref-soft); } .emb-off .emb-state { color:var(--ref-faint); }
.area-cards .emb h3 { font-size:22px; }

/* ---------- r12: a research area's landing page */
.area-band { padding:26px 0 28px; border-bottom:1px solid var(--ref-rule); }
.area-head { display:flex; align-items:center; gap:22px; margin-top:14px; }
.area-emblem { display:grid; place-items:center; flex:none; width:88px; height:88px; border-radius:50%; background:var(--emb-bg); border:1.5px solid rgba(226,189,112,.85); box-shadow:0 0 0 6px rgba(226,189,112,.12); }
.area-emblem .emb-ic { width:44px; height:44px; stroke-width:1.4; }
.area-kicker { margin:0; color:var(--ref-accent); font:700 11px/1.3 var(--ref-sans); letter-spacing:.16em; text-transform:uppercase; }
.area-band h1 { margin:6px 0 0; color:var(--ref-ink); font:400 clamp(32px,3.6vw,48px)/1.08 var(--ref-display); }
.area-lead { max-width:50rem; margin:20px 0 0; color:var(--ref-ink); font:400 18.5px/1.6 var(--ref-sans); }
.area-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin:22px 0 0; }
.ref-surface a.area-btn { display:inline-flex; align-items:center; height:44px; padding:0 22px; border-radius:3px; background:var(--ref-btn); color:var(--ref-btn-ink); font:700 15px/1 var(--ref-sans); text-decoration:none; }
.area-btn::after { content:'→'; margin-left:10px; }
.ref-surface a.area-btn:hover { background:var(--ref-btn-hover); color:var(--ref-btn-ink); }
.area-names { margin:0; max-width:60rem; font:400 16px/1.9 var(--ref-sans); }
.area-names a { color:var(--ref-link); text-decoration:underline; text-decoration-color:var(--ref-underline); text-underline-offset:2.5px; }
.area-names a:hover { color:var(--ref-link-hover); }
@media (max-width:980px) { .lib-areas { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .lib-areas { grid-template-columns:1fr; grid-auto-rows:1fr; } .emb { min-height:150px; } .area-head { gap:14px; } .area-emblem { width:64px; height:64px; } .area-emblem .emb-ic { width:32px; height:32px; } .area-lead { font-size:17px; } }

/* r12: planned areas open holding pages; every card moves and highlights alike. On a holding page, its own card is marked. */
a.emb[aria-current] { border-color:var(--ref-accent); box-shadow:inset 0 2px 0 var(--ref-accent); }
.area-emblem-off { border-color:rgba(226,189,112,.4); box-shadow:none; }
.area-emblem-off .emb-ic { stroke:var(--ref-soft); }
.ref-surface a.area-inline { color:var(--ref-link); text-decoration:underline; text-decoration-color:var(--ref-underline); text-underline-offset:2.5px; }
.ref-surface a.area-inline:hover { color:var(--ref-link-hover); }

/* ---------- responsive */
@media (max-width:980px) {
  .lib-cols { grid-template-columns:1fr; gap:6px; }
}
@media (max-width:600px) {
  .lib-band { padding:24px 0 22px; }
  .lib-search input[type=search] { height:46px; font-size:16.5px; padding:0 12px; }
  .lib-search button { height:46px; padding:0 16px; }
  .ref-surface .nw-sheet { font-size:16.5px; }
  .ref-surface .nw-info { padding:0; border:0; background:none; }
}
@media (prefers-reduced-motion:reduce) { .ref-surface * { transition:none !important; } }

/* ---------- r14: the Encyclopedia (Erik, 28 Nov). Its homepage (title, scoped search, contents A to Z with topical / biographical
   views), the Library's Encyclopedia column, the biographical panel on entries, and the People directory's entry marks. */
.enc-contents { padding-top:30px; }
.enc-kinds { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; padding:0; border:0; }
.enc-kinds label { position:relative; display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:0 14px; border:1px solid var(--ref-rule); border-radius:17px; background:var(--ref-panel); color:var(--ref-soft); font:400 14.5px/1 var(--ref-sans); cursor:pointer; transition:border-color .15s, color .15s; }
.enc-kinds label:hover { border-color:var(--ref-focus); color:var(--ref-ink); }
.enc-kinds input { position:absolute; opacity:0; width:1px; height:1px; }
.enc-kinds label:has(input:checked) { border-color:var(--ref-chip-on); background:var(--ref-chip-on); color:var(--ref-chip-on-ink); }
.enc-kinds label:has(input:focus-visible) { outline:2px solid var(--ref-focus); outline-offset:2px; }
.enc-kinds small { color:inherit; opacity:.75; font:400 12.5px/1 var(--ref-sans); font-variant-numeric:tabular-nums; }
.enc-az { display:flex; flex-wrap:wrap; gap:2px; margin:0 0 22px; padding:8px 0; border-top:1px solid var(--ref-rule); border-bottom:1px solid var(--ref-rule); font:700 15px/1 var(--ref-sans); }
.enc-az a, .enc-az span { display:inline-flex; align-items:center; justify-content:center; min-width:28px; height:30px; border-radius:2px; }
.ref-surface .enc-az a { color:var(--ref-link); text-decoration:none; }
.ref-surface .enc-az a:hover { color:var(--ref-focus); background:var(--ref-panel); }
.ref-surface .enc-az a[aria-disabled="true"], .enc-az span { color:var(--ref-rule-2); font-weight:400; pointer-events:none; }
.enc-letters { columns:2; column-gap:44px; }
.enc-letter { break-inside:avoid; margin:0 0 22px; }
.enc-letter h3 { margin:0 0 6px; padding-bottom:4px; border-bottom:1px solid var(--ref-rule); color:var(--ref-accent); font:700 20px/1.2 var(--ref-sans); }
.enc-letter ul { margin:0; padding:0; list-style:none; }
.enc-letter li { padding:9px 0 10px; border-bottom:1px solid var(--ref-rule); }
.enc-letter li:last-child { border-bottom:0; }
.ref-surface a.enc-title { color:var(--ref-link); font:700 17px/1.3 var(--ref-sans); text-decoration:none; }
.ref-surface a.enc-title:hover { color:var(--ref-focus); text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:2.5px; }
.enc-kind { margin-left:8px; color:var(--ref-faint); font:400 12.5px/1 var(--ref-sans); letter-spacing:.06em; text-transform:uppercase; }
.enc-letter li p { margin:4px 0 0; color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); }
.enc-contents:has(#enc-k-topic:checked) li[data-kind="person"], .enc-contents:has(#enc-k-person:checked) li[data-kind="topic"] { display:none; }
.enc-contents:has(#enc-k-topic:checked) .enc-letter:not(:has(li[data-kind="topic"])), .enc-contents:has(#enc-k-person:checked) .enc-letter:not(:has(li[data-kind="person"])) { display:none; }
.enc-cols { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lib-section h2 a.lib-h-link { color:inherit; text-decoration:none; }
.lib-section h2 a.lib-h-link:hover { color:var(--ref-focus); }
.enc-az-mini { margin:12px 0 0; padding:6px 0; font-size:13.5px; }
.enc-az-mini a, .enc-az-mini span { min-width:20px; height:24px; }
.lib-enc-search { margin:12px 0 0; font:400 14.5px/1.4 var(--ref-sans); }
/* the biographical panel: a quiet box at the head of Entry information */
.enc-box { margin:0 0 18px; padding:14px 14px 4px; border:1px solid var(--ref-rule-2); border-radius:3px; background:var(--ref-panel); }
.enc-box-name { margin:0; color:var(--ref-ink); font:700 17px/1.25 var(--ref-sans); }
.enc-box-desc { margin:3px 0 0; color:var(--ref-soft); font:400 14.5px/1.4 var(--ref-sans); }
.enc-box-list { margin:12px 0 0; }
.enc-box-list > div { padding:8px 0; border-top:1px solid var(--ref-rule); }
.enc-box-list dt { margin:0 0 3px; color:var(--ref-faint); font:700 11.5px/1.2 var(--ref-sans); letter-spacing:.08em; text-transform:uppercase; }
.enc-box-list dd { margin:0; color:var(--ref-ink); font:400 14.5px/1.4 var(--ref-sans); }
.enc-box-list dd > span, .enc-box-list li span { display:block; color:var(--ref-faint); font-size:13px; }
.enc-box-list ul { margin:0; padding:0; list-style:none; }
.enc-box-list li { padding:2px 0; }
.enc-box-list li span { display:inline; margin-left:6px; font-variant-numeric:tabular-nums; }
.ref-surface .enc-box a { color:var(--ref-link); text-decoration:underline; text-decoration-color:var(--ref-underline); text-underline-offset:2.5px; }
.ref-surface .enc-box a:hover { color:var(--ref-link-hover); text-decoration-color:currentColor; }
/* People directory: a person with a biographical entry; their record page links to it */
.ref-surface a.enc-mark { display:inline-block; margin:0 0 0 7px; padding:2px 6px 3px; border:1px solid var(--ref-rule-2); border-radius:2px; color:var(--ref-accent); font:700 10.5px/1 var(--ref-sans); letter-spacing:.08em; text-transform:uppercase; text-decoration:none; vertical-align:2px; }
.ref-surface a.enc-mark:hover { border-color:var(--ref-focus); color:var(--ref-focus); }
.enc-record { margin:6px 0 0; color:var(--ref-soft); font:400 15px/1.5 var(--ref-sans); flex-basis:100%; }
.ref-surface .enc-record a { color:var(--ref-link); text-decoration:underline; text-decoration-color:var(--ref-underline); text-underline-offset:2.5px; }
.ref-surface .enc-record a:hover { color:var(--ref-focus); }
@media (max-width:760px) { .enc-letters { columns:1; } .enc-cols { grid-template-columns:1fr; gap:6px; } }

/* ---------- r15: one Library navigation and one search (Erik, 28 Nov; option B from the options page, with the gold trim he asked for).
   Every Library page opens the same way: a row of section tabs (Library first) sitting on the search box, the Appearance control at the
   right. The current tab carries the same gold trim as the box, so tab and box read as one cut-out shape. A tab opens its section's page; the
   search opens in that section's scope, with "Search in" to widen it. The publication's header search is set aside in the Library (its
   script still runs underneath: the publication's own result and record pages, and the directories' list filter, use it). */
form.nw-search { display:none !important; }
.lib-head { margin:0 0 4px; }
.lib-tabs { display:flex; flex-wrap:nowrap; align-items:flex-end; gap:12px; padding:20px 0 0; border-bottom:0; }
.lib-tabrow { display:flex; align-items:flex-end; gap:2px; min-width:0; }
.lib-tabs .lib-bar-links { display:flex; flex-wrap:nowrap; gap:2px; }
.lib-tabs .lib-tab, .lib-tabs .lib-bar-links a { display:inline-flex; align-items:center; min-height:0; padding:11px 16px 10px; border:1px solid var(--ref-rule); border-bottom:0; border-radius:4px 4px 0 0; color:var(--ref-soft); font:700 11.5px/1 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; text-decoration:none; white-space:nowrap; transition:color .15s; }
.lib-tabs .lib-bar-home { padding-right:16px; border-right:1px solid var(--ref-rule); letter-spacing:.14em; font-size:11.5px; }
.lib-tabs .lib-tab:hover { color:var(--nw-gold); }
.lib-tabs .lib-tab[aria-current] { position:relative; z-index:1; margin-bottom:-1px; padding-bottom:11px; background:var(--ref-panel); border-color:var(--ref-accent); color:var(--ref-ink); }
.lib-tabs .lib-tab[aria-current]::before { content:none; display:none; }
.lib-tabs .lib-bar-tools { flex:none; margin:0 0 6px auto; }
.lib-bar .lib-bar-tools .nw-look { margin:0; } /* the article pages' stylesheet adds a margin on phones; none in the tab row */
.lib-searchband { padding:0 0 18px; border-bottom:1px solid var(--ref-rule); }
.lib-searchband .lib-search { max-width:none; margin:0; }
.lib-searchband .lib-search-row { border-color:var(--ref-accent); border-radius:0 3px 3px 3px; }
.lib-searchband .lib-search-row:focus-within { border-color:var(--ref-accent); box-shadow:0 0 0 3px var(--ref-glow); }
.lib-scope { display:flex; flex:none; }
.lib-scope select { max-width:200px; height:50px; padding:0 34px 0 14px; border:0; border-right:1px solid var(--ref-rule-2); border-radius:0; background:var(--ref-panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23918d85' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 11px; color:var(--ref-ink); font:400 15.5px/1 var(--ref-sans); appearance:none; -webkit-appearance:none; cursor:pointer; }
.lib-scope select:focus-visible { outline:2px solid var(--ref-focus); outline-offset:-2px; }
.lib-scope select option { background:var(--ref-panel); color:var(--ref-ink); }
.lib-searchband .lib-help { margin:10px 0 0; }
/* the results page: the scopes as filters of the results in hand, with their counts */
.lib-refine ul { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 18px; padding:0; list-style:none; }
.lib-refine button { display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:0 14px; border:1px solid var(--ref-rule); border-radius:17px; background:var(--ref-panel); color:var(--ref-soft); font:400 14.5px/1 var(--ref-sans); cursor:pointer; }
.lib-refine button:hover { border-color:var(--nw-coral); color:var(--ref-ink); }
.lib-refine button[aria-pressed="true"] { border-color:var(--ref-chip-on); background:var(--ref-chip-on); color:var(--ref-chip-on-ink); }
.lib-refine button small { opacity:.75; font:400 12.5px/1 var(--ref-sans); font-variant-numeric:tabular-nums; }
@media (max-width:760px) {
  .lib-tabs { gap:8px; padding-top:14px; }
  .lib-tabrow { flex:1; overflow-x:auto; scrollbar-width:none; }
  .lib-tabrow::-webkit-scrollbar { display:none; }
  .lib-tabs .lib-bar-links { order:0; flex-basis:auto; overflow:visible; padding:0; }
  .lib-tabs .lib-tab, .lib-tabs .lib-bar-links a { padding:10px 12px 9px; letter-spacing:.1em; }
  .lib-scope select { max-width:132px; height:46px; padding-right:28px; font-size:14.5px; }
  .lib-searchband .lib-search button { padding:0 14px; }
}

/* ---------- r15: the Library home (Erik, 28 Nov: L3's numbered sections, with L2's Research Guides list and L1's figures) */
.lib-cover { margin:10px 0 0; color:var(--ref-faint); font:400 13.5px/1.5 var(--ref-sans); }
.lib-cover summary { display:inline-block; cursor:pointer; list-style:none; color:var(--ref-soft); text-decoration:underline; text-decoration-color:var(--ref-underline); text-underline-offset:2.5px; }
.lib-cover summary::-webkit-details-marker { display:none; }
.lib-cover summary:hover { color:var(--nw-gold); }
.lib-cover p { margin:8px 0 0; max-width:60rem; }
.lib-intro-row { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:48px; align-items:center; margin:0; padding:38px 0 40px; border-bottom:1px solid var(--ref-rule); }
.lib-intro-row h1 { margin:0 0 10px; color:var(--ref-ink); font:700 clamp(36px,3.6vw,48px)/1 var(--ref-sans); letter-spacing:-.015em; }
.lib-intro-row .lib-intro { margin:0; max-width:34rem; font-size:19px; line-height:1.55; }
.lib-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; padding:0; list-style:none; border-left:1px solid var(--ref-rule); }
.lib-stats li { border-bottom:1px solid var(--ref-rule); }
.lib-stats li:nth-last-child(-n+3) { border-bottom:0; }
.ref-surface .lib-stats a { display:block; padding:14px 18px; color:var(--ref-soft); text-decoration:none; }
.lib-stats b { display:block; margin-bottom:4px; color:var(--ref-accent); font:700 30px/1 var(--ref-sans); font-variant-numeric:tabular-nums; transition:color .15s; }
.lib-stats span { font:400 14px/1.3 var(--ref-sans); }
.ref-surface .lib-stats a:hover b, .ref-surface .lib-stats a:hover span { color:var(--nw-gold); }
.lib-row { display:grid; grid-template-columns:270px minmax(0,1fr); gap:44px; padding:40px 0; border-bottom:1px solid var(--ref-rule); }
.lib-row-no { display:block; margin:0 0 10px; color:var(--ref-accent); font:700 13px/1 var(--ref-sans); letter-spacing:.14em; }
.lib-row-label h2 { margin:0 0 8px; color:var(--ref-ink); font:700 26px/1.15 var(--ref-sans); }
.lib-row-label h2 a.lib-h-link { color:inherit; text-decoration:none; }
.lib-row-label h2 a.lib-h-link:hover { color:var(--nw-gold); }
.lib-row-label p { margin:0; color:var(--ref-soft); font:400 15.5px/1.5 var(--ref-sans); }
.lib-row-label .lib-row-count { margin-top:12px; color:var(--ref-faint); font-size:13.5px; }
.lib-row-body .lib-links { margin:0; }
.lib-links-2 { columns:2; column-gap:40px; }
.lib-links-2 li { break-inside:avoid; }
.lib-links-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:28px; border-top:0; }
.lib-links-3 li { border-top:1px solid var(--ref-rule); }
.lib-row-body .enc-az-mini { margin-top:14px; }
/* Research Guides: the eight areas as a compact two-column list */
.lib-arealist { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.ref-surface .lib-arealist a { display:grid; grid-template-columns:auto auto 1fr; align-items:center; gap:0 14px; height:100%; padding:13px 16px; border:1px solid var(--ref-rule); border-radius:4px; background:var(--ref-panel); color:var(--ref-ink); text-decoration:none; transition:border-color .15s, transform .15s, background-color .15s; }
.ref-surface .lib-arealist a:hover { border-color:var(--nw-coral); transform:translateY(-1px); }
.ref-surface .lib-arealist a:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
.ref-surface .lib-arealist a.on { border-color:var(--ref-accent); background:var(--ref-panel-2); }
.lib-al-no { color:var(--ref-faint); font:700 12px/1 var(--ref-sans); font-variant-numeric:tabular-nums; }
.lib-arealist .emb-ic { width:26px; height:26px; stroke:var(--ref-accent); stroke-width:1.5; }
.lib-al-t b { display:block; color:var(--ref-ink); font:400 17.5px/1.25 var(--ref-display); }
.lib-al-t em { display:block; margin-top:3px; color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); font-style:normal; letter-spacing:.12em; text-transform:uppercase; }
.lib-arealist a.on .lib-al-t em { color:var(--ref-accent); }
.lib-foot { margin:30px 0 0; color:var(--ref-faint); font:400 13.5px/1.55 var(--ref-sans); }
.lib-foot b { color:var(--ref-soft); }
@media (max-width:980px) { .lib-intro-row { grid-template-columns:1fr; gap:26px; } .lib-row { grid-template-columns:1fr; gap:18px; } .lib-links-3 { grid-template-columns:1fr; } }
@media (max-width:600px) { .lib-stats { grid-template-columns:repeat(2,minmax(0,1fr)); border-left:0; } .lib-stats li:nth-last-child(-n+3) { border-bottom:1px solid var(--ref-rule); } .lib-stats li:nth-last-child(-n+2) { border-bottom:0; } .ref-surface .lib-stats a { padding:12px 4px; } .lib-arealist { grid-template-columns:1fr; } .lib-links-2 { columns:1; } .lib-row { padding:30px 0; } }
/* a stacked row: the label above, the contents full width underneath (Research Guides on the Library home; the Research Guides page) */
.lib-row-stack { grid-template-columns:1fr; gap:22px; }
.lib-row-stack .lib-row-label { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"no no" "h count" "p p"; align-items:end; column-gap:24px; }
.lib-row-stack .lib-row-no { grid-area:no; }
.lib-row-stack .lib-row-label h2 { grid-area:h; margin:0; }
.lib-row-stack .lib-row-label p { grid-area:p; max-width:48rem; margin-top:8px; }
.lib-row-stack .lib-row-label .lib-row-count { grid-area:count; margin:0; text-align:right; }
.lib-row-stack .lib-arealist { grid-template-columns:repeat(4,minmax(0,1fr)); }
.lib-intro-row .lib-trail { margin:0 0 10px; }
.lib-stats-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lib-stats-2 li:nth-last-child(-n+3) { border-bottom:1px solid var(--ref-rule); }
.lib-stats-2 li:nth-last-child(-n+2) { border-bottom:0; }
.lib-guides li > div { display:grid; gap:2px; }
.lib-guides .lib-desc { margin-top:4px; color:var(--ref-soft); font-size:15px; line-height:1.5; max-width:52rem; }
@media (max-width:1200px) { .lib-row-stack .lib-arealist { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .lib-row-stack .lib-arealist { grid-template-columns:1fr; } .lib-row-stack .lib-row-label { grid-template-columns:1fr; grid-template-areas:"no" "h" "count" "p"; } .lib-row-stack .lib-row-label .lib-row-count { text-align:left; margin-top:6px; } }
/* the Library home's hero (Erik, 28 Nov: L4 "add this"): the title, introduction and figures over the Library & Archive image from the
   publication's homepage (card 02; production's own explore-encyclopedia image). A dark band in both themes, so the type keeps its contrast. */
.lib-hero { position:relative; isolation:isolate; margin:22px 0 0; padding:46px 40px; border:0; border-radius:6px; overflow:hidden; background:#0b1214 url(explore-encyclopedia-1280.webp) center 40% / cover no-repeat; }
.lib-hero::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(6,9,10,.94) 0%, rgba(6,9,10,.82) 48%, rgba(6,9,10,.5) 100%); }
.lib-hero-kicker { margin:0 0 10px; color:#dcb766; font:700 11.5px/1 var(--ref-sans); letter-spacing:.18em; text-transform:uppercase; }
.lib-hero h1 { color:#ece8dd; font-size:clamp(40px,4.4vw,58px); }
.lib-hero .lib-intro { color:#dcd7cc; }
.lib-hero .lib-stats { border-left-color:rgba(236,232,221,.18); background:rgba(6,9,10,.55); border-radius:0 4px 4px 0; }
.lib-hero .lib-stats li { border-bottom-color:rgba(236,232,221,.14); }
.lib-hero .lib-stats b { color:#dcb766; }
.ref-surface .lib-hero .lib-stats a { color:#dcd7cc; }
.ref-surface .lib-hero .lib-stats a:hover b, .ref-surface .lib-hero .lib-stats a:hover span { color:#e2bd70; } /* Erik, 28 Nov: gold text on hover; the tile takes the orange trim */
.lib-hero + .lib-row { border-top:0; }
@media (max-width:980px) { .lib-hero { padding:34px 28px; } .lib-hero::before { background:linear-gradient(180deg, rgba(6,9,10,.9) 0%, rgba(6,9,10,.82) 100%); } .lib-hero .lib-stats { border-left:0; border-radius:4px; } }
@media (max-width:600px) { .lib-hero { padding:28px 18px; margin-top:16px; } .ref-surface .lib-hero .lib-stats a { padding:12px 10px; } }
/* Publications and Directories side by side as figure tiles (Erik, 28 Nov: L2's tiles) */
.lib-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; padding:40px 0; border-bottom:1px solid var(--ref-rule); }
.lib-tile { padding:22px 24px 24px; border:1px solid var(--ref-rule); border-radius:6px; background:var(--ref-panel); }
.lib-tile header { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"no no" "h meta"; align-items:baseline; column-gap:16px; margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid var(--ref-rule); }
.lib-tile .lib-row-no { grid-area:no; margin:0 0 8px; }
.lib-tile h2 { grid-area:h; margin:0; color:var(--ref-ink); font:700 22px/1.2 var(--ref-sans); }
.lib-tile-meta { grid-area:meta; color:var(--ref-faint); font:400 14px/1.3 var(--ref-sans); }
.lib-figs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.ref-surface .lib-figs a { display:block; height:100%; padding:14px 16px; border:1px solid var(--ref-rule); border-radius:4px; color:var(--ref-ink); text-decoration:none; transition:border-color .15s, transform .15s; }
.ref-surface .lib-figs a:hover { border-color:var(--nw-coral); transform:translateY(-1px); }
.ref-surface .lib-figs a:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
.lib-figs b { display:block; margin-bottom:4px; color:var(--ref-accent); font:700 28px/1.1 var(--ref-sans); font-variant-numeric:tabular-nums; }
.lib-figs span { display:block; color:var(--ref-ink); font:700 16px/1.35 var(--ref-sans); }
.lib-figs em { display:block; margin-top:6px; color:var(--ref-faint); font:400 13.5px/1.45 var(--ref-sans); font-style:normal; }
.lib-tile-more { margin:16px 0 0; font:400 15px/1.4 var(--ref-sans); }
@media (max-width:1100px) { .lib-pair { grid-template-columns:1fr; } }
@media (max-width:600px) { .lib-figs { grid-template-columns:repeat(2,minmax(0,1fr)); } .lib-tile { padding:18px 16px; } .lib-pair { padding:30px 0; } }
/* 01 and 02 as full-width panels, one under the other (Erik, 28 Nov), in the style of the 03/04 panels */
.lib-stack { display:grid; gap:22px; padding:40px 0 0; }
.lib-stack + .lib-pair { padding-top:22px; }
.lib-tile h2 a.lib-h-link { color:inherit; text-decoration:none; }
.lib-tile h2 a.lib-h-link:hover { color:var(--nw-gold); }
.lib-tile-sub { margin:-4px 0 16px; color:var(--ref-soft); font:400 15.5px/1.5 var(--ref-sans); }
.lib-tile-full .lib-arealist { grid-template-columns:repeat(4,minmax(0,1fr)); }
.lib-enc-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:36px; align-items:start; }
.lib-enc-kinds { display:flex; gap:28px; margin:0 0 10px; }
.ref-surface .lib-enc-kinds a { color:var(--ref-soft); text-decoration:none; }
.lib-enc-kinds b { display:block; color:var(--ref-accent); font:700 32px/1.1 var(--ref-sans); font-variant-numeric:tabular-nums; }
.lib-enc-kinds span { font:400 15px/1.3 var(--ref-sans); }
.ref-surface .lib-enc-kinds a:hover b, .ref-surface .lib-enc-kinds a:hover span { color:var(--nw-gold); }
.lib-enc-grid .enc-az-mini { margin:8px 0 0; }
.lib-enc-list { columns:2; column-gap:32px; margin:0; padding:0; list-style:none; }
.lib-enc-list li { display:flex; align-items:baseline; gap:8px; padding:9px 0; border-bottom:1px solid var(--ref-rule); break-inside:avoid; }
.ref-surface .lib-enc-list a { color:var(--ref-link); font:700 16px/1.35 var(--ref-sans); text-decoration:underline; text-decoration-color:var(--ref-underline); text-underline-offset:2.5px; }
.ref-surface .lib-enc-list a:hover { color:var(--nw-gold); text-decoration-color:currentColor; }
.lib-enc-list em { margin-left:auto; color:var(--ref-faint); font:400 11.5px/1 var(--ref-sans); font-style:normal; letter-spacing:.08em; text-transform:uppercase; }
@media (max-width:1200px) { .lib-tile-full .lib-arealist { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .lib-enc-grid { grid-template-columns:1fr; gap:20px; } }
@media (max-width:600px) { .lib-tile-full .lib-arealist { grid-template-columns:1fr; } .lib-enc-list { columns:1; } .lib-stack { padding-top:30px; } }
/* the eight research areas: one list, four per row, on every page that shows them (Erik, 28 Nov: "the same on every page") */
.lib-arealist, .lib-tile-full .lib-arealist, .lib-row-stack .lib-arealist { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ref-surface .lib-arealist a[aria-current] { border-color:var(--ref-accent); box-shadow:inset 0 2px 0 var(--ref-accent); }
@media (max-width:1200px) { .lib-arealist, .lib-tile-full .lib-arealist, .lib-row-stack .lib-arealist { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .lib-arealist, .lib-tile-full .lib-arealist, .lib-row-stack .lib-arealist { grid-template-columns:1fr; } }
.lib-arealist { grid-auto-rows:1fr; } /* every area the same height, whichever titles wrap */
/* the area titles never wrap (Erik, 28 Nov). Four per row only where every title fits on one line; two per row below that; one on phones.
   The panel is the measure, so the rule is the same on every page that shows the areas. */
.lib-tile-full { container-type:inline-size; }
.lib-al-t { min-width:0; }
.lib-al-t b { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:17px; }
.ref-surface .lib-arealist a { gap:0 12px; padding:13px 14px; }
.lib-arealist, .lib-tile-full .lib-arealist, .lib-row-stack .lib-arealist { grid-template-columns:repeat(2,minmax(0,1fr)); }
@container (min-width:1400px) { .lib-arealist, .lib-tile-full .lib-arealist, .lib-row-stack .lib-arealist { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@container (max-width:700px) { .lib-arealist, .lib-tile-full .lib-arealist, .lib-row-stack .lib-arealist { grid-template-columns:1fr; } }
@container (max-width:520px) { .ref-surface .lib-arealist a { grid-template-columns:auto 1fr; gap:0 12px; padding:13px 12px; } .lib-arealist .lib-al-no { display:none; } .lib-al-t b { font-size:15.5px; } } /* phones: the titles still on one line */
@container (max-width:300px) { .lib-al-t b { font-size:14px; } .ref-surface .lib-arealist a { gap:0 10px; padding:12px 10px; } .lib-arealist .emb-ic { width:22px; height:22px; } } /* the smallest phones */
@container (max-width:250px) { .lib-al-t b { white-space:normal; } } /* 320px phones only: too narrow for any title on one line, so wrap rather than cut */

/* ---------- r15: the hero on every tab page (Erik, 28 Nov: "make the header similar across all tabs like the 'library all' one").
   Library, Research Guides, Encyclopedia, and the three directories, whose own header (title, count line) becomes the hero. */
.ref-cat .nw-mast.lib-hero { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:48px; align-items:center; margin:22px 0 0; padding:46px 40px; border:0; border-bottom:0; }
.ref-cat .nw-mast.lib-hero h1 { margin:0 0 10px; color:#ece8dd; font:700 clamp(40px,4.4vw,58px)/1 var(--ref-sans); letter-spacing:-.015em; }
.ref-cat .lib-hero .nw-intro { margin:0; max-width:34rem; color:#dcd7cc; font:400 19px/1.55 var(--ref-sans); }
.lib-hero .nw-period { display:none; }
.ref-surface .lib-hero .lib-stats a[aria-current] { box-shadow:inset 0 2px 0 #dcb766; background:rgba(220,183,102,.08); }
.lib-hero .lib-stats:has(> li:nth-child(3):last-child) li { border-bottom:0; } /* one row of three */
@media (max-width:980px) { .ref-cat .nw-mast.lib-hero { grid-template-columns:1fr; gap:26px; padding:34px 28px; } }
@media (max-width:600px) { .ref-cat .nw-mast.lib-hero { padding:28px 18px; margin-top:16px; } .lib-hero .lib-stats:has(> li:nth-child(3):last-child) { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.lib-hero, .ref-cat .nw-mast.lib-hero { min-height:270px; } /* every tab page's hero the same height */

/* ---------- r15: the Encyclopedia (Erik, 28 Nov). On the Library home, E1: its entries as cards like the research areas (at most eight),
   then the counts and the full contents. On the Encyclopedia page: a thumb index and summary cards, grouped by letter, built to scale. */
.ref-surface .lib-enc-cards a { grid-template-columns:auto 1fr; }
.lib-enc-cards .lib-al-t em { color:var(--ref-faint); }
.lib-enc-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; margin:16px 0 0; padding-top:14px; border-top:1px solid var(--ref-rule); }
.lib-enc-foot .lib-enc-kinds { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.ref-surface .lib-enc-foot .lib-enc-kinds a { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border:1px solid var(--ref-rule); border-radius:16px; color:var(--ref-soft); font:400 14.5px/1.2 var(--ref-sans); text-decoration:none; }
.ref-surface .lib-enc-foot .lib-enc-kinds a:hover { border-color:var(--nw-coral); color:var(--ref-ink); }
.lib-enc-foot .lib-enc-kinds b { display:inline; color:var(--ref-accent); font:700 14.5px/1 var(--ref-sans); }
/* the Encyclopedia page */
.enc-contents { container-type:inline-size; }
.enc-bar { position:sticky; top:0; z-index:6; display:grid; gap:12px; margin:0 0 8px; padding:12px 0 14px; background:var(--ref-bg); border-bottom:1px solid var(--ref-rule); }
.enc-bar .enc-kinds { margin:0; }
.enc-az.enc-thumb { display:grid; grid-template-columns:repeat(26,minmax(0,1fr)); gap:5px; margin:0; padding:0; border:0; }
.enc-thumb a, .enc-thumb span { display:grid; place-items:center; min-width:0; height:40px; border-radius:4px; font:700 17px/1 var(--ref-sans); }
.ref-surface .enc-thumb a { color:var(--ref-ink); border:1px solid var(--ref-accent); background:var(--ref-panel-2); text-decoration:none; transition:border-color .15s, color .15s, transform .15s; }
.ref-surface .enc-thumb a:hover { color:var(--nw-gold); border-color:var(--nw-coral); background:var(--ref-panel-2); transform:translateY(-1px); }
.ref-surface .enc-thumb a[aria-disabled="true"], .enc-thumb span { color:var(--ref-rule-2); border:1px solid var(--ref-rule); background:transparent; font-weight:400; transform:none; }
.enc-letters { columns:auto; }
.enc-letter { margin:0; padding:26px 0 0; scroll-margin-top:130px; }
.enc-letter h3 { display:flex; align-items:baseline; gap:14px; margin:0 0 14px; padding:0 0 8px; border-bottom:1px solid var(--ref-rule); color:var(--ref-accent); font:400 34px/1 var(--ref-display); }
.enc-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:0; padding:0; list-style:none; }
.enc-cards li, .enc-letter .enc-cards li { padding:0; border:0; }
.ref-surface a.enc-card { display:flex; flex-direction:column; height:100%; padding:18px 20px; border:1px solid var(--ref-rule); border-radius:4px; background:var(--ref-panel); color:var(--ref-ink); text-decoration:none; transition:border-color .15s, transform .15s; }
.ref-surface a.enc-card:hover { border-color:var(--nw-coral); transform:translateY(-1px); }
.ref-surface a.enc-card:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
.enc-card-top { display:flex; align-items:center; gap:10px; margin:0 0 12px; }
.enc-card .emb-ic { width:24px; height:24px; stroke:var(--ref-accent); stroke-width:1.5; }
.enc-card-top em { color:var(--ref-faint); font:700 10.5px/1 var(--ref-sans); font-style:normal; letter-spacing:.12em; text-transform:uppercase; }
.enc-card .enc-title { color:var(--ref-ink); font:400 22px/1.25 var(--ref-display); }
.enc-card p { margin:8px 0 14px; color:var(--ref-soft); font:400 15px/1.55 var(--ref-sans); }
.enc-read { margin-top:auto; color:var(--ref-accent); font:700 11.5px/1 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface a.enc-card:hover .enc-read { color:var(--nw-gold); }
@container (max-width:1000px) { .enc-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } .enc-az.enc-thumb { grid-template-columns:repeat(13,minmax(0,1fr)); } }
@container (max-width:600px) { .enc-cards { grid-template-columns:1fr; } .enc-thumb a, .enc-thumb span { height:34px; font-size:15px; } .enc-letter h3 { font-size:28px; } }
/* each letter in its own column beside its cards; the letter stays in view while its entries scroll */
.enc-letter { display:grid; grid-template-columns:76px minmax(0,1fr); gap:0 24px; align-items:start; padding:22px 0; border-bottom:1px solid var(--ref-rule); }
.enc-letter h3 { position:sticky; top:140px; margin:0; padding:0; border:0; font-size:46px; }
@container (max-width:600px) { .enc-letter { grid-template-columns:1fr; gap:10px; } .enc-letter h3 { position:static; font-size:30px; } }

/* ---------- r16 (Erik, 28 Nov: "Research Guides — Visual Architecture and Organization"): three layouts and three kinds of card.
   Research Guides homepage: the hero (no figures), then the eight emblem cards. A research area: its emblem header, its overview manuscript
   organized by its own sections, its guides as Research Guide cards. A Research Guide: a formal document with one link back to its area. */
.lib-hero-plain { grid-template-columns:1fr; }
.lib-hero-plain .lib-intro { max-width:46rem; }
.rg-home { padding:30px 0 8px; }
.rg-home .lib-areas { margin:0; }
/* the research area page */
.rga-head { padding:22px 0 30px; border-bottom:1px solid var(--ref-rule); }
.rga-head .rgp-trail { margin:0 0 6px; }
.ref-surface .rga-head h1 { max-width:none; margin:6px 0 0; color:var(--ref-ink); font:400 clamp(32px,3.6vw,48px)/1.08 var(--ref-display); letter-spacing:0; }
.ref-surface .rga-lead p { max-width:50rem; color:var(--ref-ink); font-size:18.5px; line-height:1.6; }
.rga-layout .rgp-sec > h2 { margin-top:2.2em; }
/* three kinds of card: research areas (the emblem cards), Research Guides, Encyclopedia entries */
.ref-surface .rgp-cards { grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
.ref-surface .rgp-cards > li.rgp-card { gap:0; padding:18px 20px 18px !important; border:1px solid var(--ref-rule); border-radius:4px; background:var(--ref-panel); transition:border-color .15s, transform .15s; }
.ref-surface .rgp-cards > li.rgp-card:hover { border-color:var(--nw-coral); transform:translateY(-1px); }
.ref-surface .rgp-kind { display:flex; align-items:center; gap:10px; margin:0 0 12px; color:var(--ref-faint); font:700 10.5px/1.2 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; }
.ref-surface .rgp-kind .emb-ic { width:24px; height:24px; stroke:var(--ref-accent); stroke-width:1.5; }
.ref-surface .rgp-card a.wk-link { color:var(--ref-ink); font:400 22px/1.25 var(--ref-display); text-decoration:none; }
.ref-surface .rgp-card:hover a.wk-link { color:var(--ref-ink); }
.ref-surface .rgp-preview { margin:8px 0 14px; color:var(--ref-soft); font:400 15px/1.55 var(--ref-sans); }
.ref-surface .rgp-go { margin-top:auto; color:var(--ref-accent); font:700 11.5px/1 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface .rgp-card:hover .rgp-go { color:var(--nw-gold); }
/* a Research Guide card: the gold edge and the guide label, larger */
.ref-surface .rgp-cards-guides { grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); }
.ref-surface .rgp-cards > li.rgp-card-guide { border-left:3px solid var(--ref-accent) !important; background:var(--ref-panel-2); padding:22px 24px 20px !important; }
.ref-surface .rgp-card-guide .rgp-kind { color:var(--ref-accent); }
.ref-surface .rgp-card-guide .rgp-kind .emb-ic { width:28px; height:28px; }
.ref-surface .rgp-card-guide a.wk-link { font-size:26px; }
/* an Encyclopedia card, as on the Encyclopedia page */
.ref-surface .rgp-cards > li.rgp-card-entry { border-left:1px solid var(--ref-rule) !important; }
/* a Research Guide: its research area in the rail, the guide label with its book */
.rgp-part { margin:0 0 28px; }
.rgp-part h2 { margin:0 0 10px; color:var(--ref-faint); font:700 11px/1.3 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.ref-surface a.rgp-part-area { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--ref-rule); border-radius:4px; color:var(--ref-ink); font:400 16px/1.25 var(--ref-display); text-decoration:none; transition:border-color .15s; }
.ref-surface a.rgp-part-area:hover { border-color:var(--nw-coral); }
.rgp-part-area .emb-ic { width:24px; height:24px; stroke:var(--ref-accent); stroke-width:1.5; }
.ref-surface a.rgp-part-sec { display:block; margin:8px 0 0 12px; padding-left:12px; border-left:1px solid var(--ref-rule-2); color:var(--ref-soft); font:400 14.5px/1.35 var(--ref-sans); text-decoration:none; }
.ref-surface a.rgp-part-sec:hover { color:var(--nw-gold); }
.ref-surface .rgp-label .rgp-mark { width:auto; height:auto; border:0; transform:none; display:inline-flex; }
.rgp-mark .emb-ic { width:20px; height:20px; stroke:var(--ref-accent); stroke-width:1.5; }
/* the research area page has no Explore panel: its rail and its text take the width (the article grid's third column is not used) */
@media (min-width:1180px) { .nw-ai .rga-layout { grid-template-columns:clamp(170px,14.5vw,256px) minmax(0,1fr); } .rga-layout .nw-sheet { max-width:60rem; } }

/* ---- r17 (Erik, 28 Nov): the Research Guides homepage as a hierarchical subject index: the eight areas as headings, the developed
   area's overview, subfields and guides nested beneath, each level opening and closing; hairline rules, no cards */
.rgx { margin:6px 0 0; }
.rgx-bar { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:0 4px 11px; border-bottom:1px solid var(--ref-rule-2); }
.rgx-bar h2 { margin:0; color:var(--ref-faint); font:700 11px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.rgx-tools button { margin:0 0 0 18px; padding:2px 0; border:0; background:none; color:var(--ref-soft); font:400 13.5px/1.4 var(--ref-sans); cursor:pointer; }
.rgx-tools button:hover { color:var(--nw-gold); }
.rgx-tools button:focus-visible, .rgx summary:focus-visible, .rgx a:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
.rgx-list, .rgx-tree, .rgx-guides { margin:0; padding:0; list-style:none; }
.rgx-area { border-bottom:1px solid var(--ref-rule); }
.rgx summary { list-style:none; cursor:pointer; }
.rgx summary::-webkit-details-marker { display:none; }
.rgx-head { display:grid; grid-template-columns:16px 26px 26px minmax(0,1fr) auto; align-items:center; gap:0 14px; padding:17px 6px; }
.rgx-chev, .rgx-chev-sp { display:block; width:16px; height:16px; }
.rgx-chev { position:relative; }
.rgx-chev::before { content:""; position:absolute; left:4px; top:3px; width:7px; height:7px; border-right:1.5px solid var(--ref-soft); border-bottom:1.5px solid var(--ref-soft); transform:rotate(-45deg); transition:transform .15s, top .15s; }
details[open] > summary > .rgx-chev::before { top:2px; transform:rotate(45deg); }
.rgx-no { color:var(--ref-faint); font:700 12px/1 var(--ref-sans); font-variant-numeric:tabular-nums; }
.rgx .emb-ic { width:24px; height:24px; fill:none; stroke:var(--ref-accent); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.rgx-t { color:var(--ref-ink); font:400 24px/1.25 var(--ref-display); text-decoration:none; }
.rgx-planned .rgx-t { color:var(--ref-soft); }
.rgx-planned .emb-ic { stroke:var(--ref-faint); }
.rgx-state { color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.rgx-on .rgx-head .rgx-state { color:var(--ref-accent); }
.rgx summary.rgx-head:hover .rgx-t, .rgx a.rgx-t:hover { color:var(--nw-gold); }
.rgx summary:hover > .rgx-chev::before { border-color:var(--nw-gold); }
/* the branches: a hairline descends from the emblem; each item joins it */
.rgx-tree { margin:0 0 24px 89px; border-left:1px solid var(--ref-rule-2); }
.rgx-tree > li, .rgx-guides > li { position:relative; }
.rgx-tree > li { padding:11px 0 11px 26px; }
.rgx-tree > li::before, .rgx-guides > li::before { content:""; position:absolute; left:0; top:24px; width:16px; border-top:1px solid var(--ref-rule-2); }
.rgx-fhead { display:flex; align-items:baseline; gap:4px 12px; flex-wrap:wrap; margin-left:-6px; }
.rgx-fhead .rgx-chev, .rgx-fhead .rgx-chev-sp { align-self:center; }
.rgx-field-t { color:var(--ref-ink); font:italic 400 20px/1.3 var(--ref-display); text-decoration:none; }
a.rgx-field-t:hover, .rgx summary.rgx-fhead:hover .rgx-field-t { color:var(--nw-gold); }
.rgx-count { color:var(--ref-faint); font:400 13px/1.4 var(--ref-sans); }
.rgx-guides { margin:10px 0 0 2px; border-left:1px solid var(--ref-rule); }
.rgx-guides > li { padding:9px 0 9px 26px; }
.rgx-guides > li::before { border-color:var(--ref-rule); }
a.rgx-guide { display:inline-grid; grid-template-columns:22px auto; align-items:center; gap:0 11px; color:inherit; text-decoration:none; }
.rgx-guide .emb-ic { width:22px; height:22px; }
.rgx-gt b { display:block; color:var(--ref-ink); font:400 20px/1.25 var(--ref-display); }
.rgx-gt em { display:block; margin-top:3px; color:var(--ref-accent); font:700 10px/1.4 var(--ref-sans); font-style:normal; letter-spacing:.12em; text-transform:uppercase; }
a.rgx-guide:hover b { color:var(--nw-gold); }
.rgx-desc { max-width:64ch; margin:5px 0 0 33px; color:var(--ref-soft); font:400 14.5px/1.55 var(--ref-sans); }
.rgx-ov .rgx-gt b { font-style:normal; }
@media (max-width:700px) {
  .rgx-head { grid-template-columns:14px 22px 22px minmax(0,1fr); gap:4px 10px; padding:15px 2px; }
  .rgx-head .rgx-state { grid-column:4; grid-row:2; }
  .rgx-t { font-size:21px; }
  .rgx-tree { margin-left:40px; }
  .rgx-tree > li { padding-left:20px; }
  .rgx-tree > li::before, .rgx-guides > li::before { width:12px; }
  .rgx-guides > li { padding-left:20px; }
  .rgx-desc { margin-left:0; }
  .rgx-bar { flex-wrap:wrap; } .rgx-tools { white-space:nowrap; } .rgx-tools button { margin:0 0 0 14px; }
  .rgx-field-t, .rgx-gt b { font-size:18.5px; }
}

/* ---- r18 (Erik, 28 Nov): research areas as collections. Index-like: hairline rules, subject lists, publication rows; cards only where the
   Library already uses them (Research Guides, Encyclopedia entries) */
.rgx-has-coll { position:relative; }
.rgx-has-coll > details > summary.rgx-head, .rgx-has-coll > .rgx-head { padding-right:128px; }
a.rgx-coll { position:absolute; right:6px; top:19px; padding:3px 0 3px 10px; color:var(--ref-ink); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.12em; text-transform:uppercase; text-decoration:none; border-left:1px solid var(--ref-rule-2); }
a.rgx-coll::after { content:" →"; color:var(--ref-accent); }
a.rgx-coll:hover { color:var(--nw-gold); }
.rgx-coll-only .rgx-t { color:var(--ref-ink); }
.rgx-coll-only .emb-ic { stroke:var(--ref-accent) !important; }
.col-head .col-lede { max-width:62rem; margin:14px 0 0; color:var(--ref-soft); font:400 17px/1.6 var(--ref-sans); }
.col-nav { display:flex; flex-wrap:wrap; gap:6px 22px; margin:18px 0 0; padding:12px 0 0; border-top:1px solid var(--ref-rule); }
.col-nav a { color:var(--ref-soft); font:400 14.5px/1.4 var(--ref-sans); text-decoration:none; }
.col-nav a b { color:var(--ref-ink); font-weight:700; margin-left:3px; }
.col-nav a:hover, .col-nav a:hover b { color:var(--nw-gold); }
.col-page .rga-layout .nw-sheet { max-width:none; }
.col-prose { font-family:var(--ref-sans); }
.col-sec { margin:0 0 44px; }
.col-sec > h2 { margin:0 0 6px; color:var(--ref-ink); font:400 28px/1.2 var(--ref-display); }
.col-sub { margin:0 0 18px; max-width:62ch; color:var(--ref-faint); font:400 14px/1.55 var(--ref-sans); }
.col-grp { margin:0 0 18px; }
.col-grp-h { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 16px; margin:0 0 9px; color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.13em; text-transform:uppercase; }
.col-concepts { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
a.col-c { display:inline-flex; align-items:baseline; gap:8px; padding:5px 10px 6px; border:1px solid var(--ref-rule-2); border-radius:3px; color:var(--ref-ink); font:400 14.5px/1.3 var(--ref-sans); text-decoration:none; }
a.col-c-subject { border-left:2px solid var(--ref-accent); }
a.col-c-term .col-cl { font-style:italic; }
.col-cn { color:var(--ref-faint); font:700 11.5px/1 var(--ref-sans); font-variant-numeric:tabular-nums; }
a.col-c:hover { border-color:var(--nw-coral); }
a.col-c[aria-pressed="true"] { background:var(--ref-accent); border-color:var(--ref-accent); color:var(--ref-bg); }
a.col-c[aria-pressed="true"] .col-cn { color:var(--ref-bg); }
.col-browse { display:grid; grid-template-columns:minmax(250px, 340px) minmax(0,1fr); gap:0 34px; align-items:start; }
.col-filter { position:sticky; top:16px; padding:0 30px 0 0; border-right:1px solid var(--ref-rule); }
.col-filter .col-concepts { flex-direction:column; gap:5px; }
.col-filter a.col-c { display:flex; justify-content:space-between; }
.col-status { margin:0 0 6px; color:var(--ref-soft); font:400 14px/1.5 var(--ref-sans); }
.col-status b { color:var(--ref-ink); }
.col-status button { margin-left:10px; padding:0; border:0; background:none; color:var(--ref-accent); font:inherit; cursor:pointer; text-decoration:underline; }
.col-pubs { margin:0; padding:0; list-style:none; }
.col-pub { padding:11px 0 12px; border-bottom:1px solid var(--ref-rule); }
.col-pub[hidden] { display:none; }
.col-pub > a { color:var(--ref-ink); font:400 19px/1.3 var(--ref-display); text-decoration:none; }
.col-pub > a:hover { color:var(--nw-gold); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.col-pm { display:block; margin-top:4px; color:var(--ref-faint); font:400 13px/1.45 var(--ref-sans); }
.col-ty { color:var(--ref-accent); font-weight:700; font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; }
.col-on { color:var(--ref-soft); }
.col-agents { columns:3 15rem; column-gap:34px; margin:0; padding:0; list-style:none; }
.col-agents li { display:flex; justify-content:space-between; gap:10px; break-inside:avoid; padding:5px 0; border-bottom:1px solid var(--ref-rule); }
.col-agents a { color:var(--ref-ink); font:400 15px/1.35 var(--ref-sans); text-decoration:none; }
.col-agents a:hover { color:var(--nw-gold); text-decoration:underline; }
.col-agents small { color:var(--ref-faint); font:700 11.5px/1.35 var(--ref-sans); font-variant-numeric:tabular-nums; }
.col-more { margin:12px 0 0; }
.col-more summary { color:var(--ref-accent); font:400 14px/1.4 var(--ref-sans); cursor:pointer; }
.col-more[open] summary { margin-bottom:8px; }
.col-gnote { color:var(--ref-faint); font:400 13px/1.45 var(--ref-sans); }
.col-note { margin-top:8px; }
/* inside the overview manuscript's sections (National & International Studies) */
.col-in { margin:26px 0 6px; padding:18px 0 4px; border-top:1px solid var(--ref-rule-2); font-family:var(--ref-sans); }
.col-in-k { margin:0 0 14px; color:var(--ref-accent); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.14em; text-transform:uppercase; }
.col-in .col-pubs { margin-top:8px; }
.col-in .col-pub > a { font-size:18px; }
a.col-glink { display:inline-flex; align-items:center; gap:6px; color:var(--ref-ink); font:400 13.5px/1.3 var(--ref-sans); letter-spacing:0; text-transform:none; text-decoration:none; }
a.col-glink .emb-ic { width:16px; height:16px; fill:none; stroke:var(--ref-accent); stroke-width:1.6; }
a.col-glink:hover { color:var(--nw-gold); }
.nw-prose .col-in ul, .nw-prose .col-in ol { margin-left:0; padding-left:0; }
.nw-prose .col-in li::marker { content:none; }
@media (max-width:900px) {
  .col-browse { grid-template-columns:1fr; }
  .col-filter { position:static; padding:0 0 18px; margin:0 0 6px; border-right:0; border-bottom:1px solid var(--ref-rule); }
  .col-filter .col-concepts { flex-direction:row; }
}
@media (max-width:700px) { a.rgx-coll { position:static; display:inline-block; margin:0 0 14px 60px; } .rgx-has-coll > details > summary.rgx-head, .rgx-has-coll > .rgx-head { padding-right:2px; } }
.col-showall { margin:14px 0 0; padding:7px 14px; border:1px solid var(--ref-rule-2); border-radius:3px; background:none; color:var(--ref-ink); font:400 14px/1.3 var(--ref-sans); cursor:pointer; }
.col-showall:hover { border-color:var(--nw-coral); color:var(--nw-gold); }
.col-showall[hidden] { display:none; }
/* r18: the collection blocks inside the overview manuscript keep the collection's own type (the manuscript's prose rules are stronger) */
.ref-surface .nw-prose .col-in a { text-decoration:none; }
.ref-surface .nw-prose .col-in .col-grp-h { margin:0 0 9px; padding:0; border:0; color:var(--ref-faint); font:700 10.5px/1.4 var(--ref-sans); letter-spacing:.13em; text-transform:uppercase; }
.ref-surface .nw-prose .col-in a.col-c { color:var(--ref-ink); font:400 14.5px/1.3 var(--ref-sans); }
.ref-surface .nw-prose .col-in .col-concepts li, .ref-surface .nw-prose .col-in .col-pubs li { margin:0; }
.ref-surface .nw-prose .col-in .col-pub > a { color:var(--ref-ink); font:400 18.5px/1.3 var(--ref-display); }
.ref-surface .nw-prose .col-in .col-pub > a:hover { color:var(--nw-gold); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.ref-surface .nw-prose .col-in .col-pm { font-size:13px; }
.ref-surface .nw-prose .col-in a.col-glink { color:var(--ref-ink); font:400 13.5px/1.3 var(--ref-sans); }
.ref-surface .nw-prose .col-sec .col-agents a { text-decoration:none; color:var(--ref-ink); }
.ref-surface .nw-prose .col-sec .col-agents li { margin:0; }
.ref-surface .nw-prose .col-sec .col-agents, .ref-surface .nw-prose .col-sec .rgp-cards { margin-left:0; padding-left:0; }
/* Erik, 28 Nov: every area is a collection, so no card carries the gold trim at rest; all of them edge in orange on hover, like the other sections */
.ref-surface .lib-arealist a.on { border-color:var(--ref-rule); background:var(--ref-panel); }
.ref-surface .lib-arealist a.on:hover, .ref-surface .lib-arealist a:hover { border-color:var(--nw-coral); }
/* Erik, 28 Nov ("the same on all the pages"): every research-area row in the index edges in orange on hover, as the area cards do elsewhere */
.rgx-head { border:1px solid transparent; border-radius:4px; transition:border-color .15s; }
.rgx-area > details > summary.rgx-head:hover, .rgx-area > .rgx-head:hover, .rgx-area:has(> a.rgx-coll:hover) > details > summary.rgx-head, .rgx-area:has(> a.rgx-coll:hover) > .rgx-head { border-color:var(--nw-coral); }
.rgx-coll-only > .rgx-head { cursor:pointer; }
.rgx-coll-only > .rgx-head:hover .rgx-t { color:var(--nw-gold); }
/* Erik, 28 Nov ("subjects/term, people, & orgs too"): the directories' rows and the hero's figure tiles edge in orange on hover, like the area rows and cards */
.ref-surface.ref-cat .nw-terms li { border-radius:3px; }
.ref-surface.ref-cat .nw-terms li:hover { outline:1px solid var(--nw-coral); outline-offset:3px; }
.ref-surface.ref-cat .nw-terms li:hover a, .ref-surface.ref-cat .nw-terms li:hover small { color:var(--nw-gold); text-decoration:none; }
.ref-surface .lib-hero .lib-stats a { transition:box-shadow .15s; }
.ref-surface .lib-hero .lib-stats a:hover { box-shadow:inset 0 0 0 1px var(--nw-coral); }
.ref-surface .lib-hero .lib-stats a[aria-current]:hover { box-shadow:inset 0 2px 0 #dcb766, inset 0 0 0 1px var(--nw-coral); }

/* Erik, 28 Nov ("orange trim, yellow/gold writing every where now"): titles inside trimmed cards, rows and tiles turn gold; tabs take the orange trim */
.ref-surface .lib-arealist a:hover .lib-al-t b, .ref-surface .rgp-card:hover a.wk-link, .ref-surface .rgp-cards > li.rgp-card:hover a.wk-link, .ref-surface a.enc-card:hover .enc-title, .ref-surface a.col-c:hover, .rgx summary.rgx-head:hover .rgx-t { color:var(--nw-gold); }
.lib-tabs .lib-tab:not([aria-current]):hover { border-color:var(--nw-coral); color:var(--nw-gold); }

/* Erik, 28 Nov ("the subcategories too"): in the index, each guide (title and description) and each subfield heading takes the orange trim
   and gold text on hover; a click anywhere on a guide opens it */
.rgx-item { border-radius:4px; transition:outline-color .15s; outline:1px solid transparent; outline-offset:7px; cursor:pointer; }
.rgx-item:hover { outline-color:var(--nw-coral); }
.rgx-item:hover .rgx-gt b { color:var(--nw-gold); }
.rgx-fhead { border-radius:4px; outline:1px solid transparent; outline-offset:5px; transition:outline-color .15s; }
.rgx-fhead:hover, .rgx-leaf .rgx-fhead:has(a:hover) { outline-color:var(--nw-coral); }
.rgx-fhead:hover .rgx-field-t { color:var(--nw-gold); }
.rgx summary.rgx-fhead:hover > .rgx-chev::before { border-color:var(--nw-gold); }
