:root {
  color-scheme: light;
  --ink: #192a2b;
  --muted: #485c5a;
  --accent: #165953;
  --rule: #d2dcd7;
  --paper: #fdfdfa;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "STIX Two Text", "Iowan Old Style", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
a { color: var(--accent); text-underline-offset: .19em; text-decoration-thickness: 1px; }
a:hover { color: #062f2c; text-decoration-thickness: 2px; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #44817d; outline-offset: 3px; }
::selection { background: #cce4da; }
.wrap { width: min(calc(100% - 3rem), 64rem); margin-inline: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h4 { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
.profile { display: grid; grid-template-columns: minmax(15rem, .85fr) minmax(0, 1.6fr); align-items: center; gap: 2rem; padding-block: clamp(1.3rem, 3.3vw, 2.6rem); border-bottom: 1px solid #a0b4ad; }
.profile h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; }
.role { color: var(--muted); font-size: 1rem; margin-top: .42rem; }
.research { margin: 0; }
.research dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.research dd { margin: 0; }
.research dt:not(:first-child) { margin-top: .55rem; }
.field { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.43; }
.keywords { display: flex; flex-wrap: wrap; gap: .06rem .9rem; list-style: none; margin: 0; padding: 0; }
.keywords a { display: inline-block; font-size: .95rem; padding-block: .09rem; }
.keywords a[aria-current=true] { font-weight: 600; }
.profile-meta { margin-top: .45rem; color: var(--muted); font-size: .92rem; }
.profile-meta span { padding: 0 .25rem; }
#publications { padding-top: 1.45rem; }
.library-head { display: flex; align-items: baseline; gap: .3rem .85rem; flex-wrap: wrap; }
.library-head h2 { font-size: clamp(2rem, 3.55vw, 2.9rem); letter-spacing: -.038em; line-height: 1.1; }
#finder-controls { margin-top: .75rem; }
#finder-form { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; }
#paper-search { width: min(100%, 35rem); min-width: 0; min-height: 2.6rem; border: 1px solid #96aba2; border-radius: 4px; background: #fff; color: var(--ink); padding: .46rem .8rem; }
#paper-search::placeholder { color: #56645f; opacity: 1; }
#clear-search { flex-shrink: 0; padding: .38rem .3rem; font-size: .9rem; color: var(--accent); cursor: pointer; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .18em; }
#result-count { color: var(--muted); font-size: .88rem; }
#no-results { padding: 1.2rem 0; }
.group { padding-top: 1.55rem; }
.group h3 { font: 600 1rem/1.4 var(--sans); color: var(--muted); padding-bottom: .36rem; border-bottom: 1px solid var(--rule); }
.record { display: grid; grid-template-columns: 3.7rem minmax(0,1fr); gap: .15rem .85rem; border-bottom: 1px solid var(--rule); padding: .95rem 0 1.05rem; }
.year { font: .91rem/1.6 "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); font-variant-numeric: tabular-nums; padding-top:.1rem; }
.record h4 { font-size: clamp(1.2rem,2vw,1.52rem); line-height: 1.19; letter-spacing: -.017em; }
.record h4 a { display: block; color: var(--ink); text-decoration: none; }
.record h4 a:hover { text-decoration: underline; }
.meta, .authors { font-size: .93rem; color: var(--muted); }
.record .meta { display:inline; color:#304641; }
.record .authors { display:inline; }
.record .separator { padding: 0 .14rem; color: var(--muted); }
.record .authors strong { font-weight: 600; }
.links, .action-row { display:flex; flex-wrap:wrap; align-items:baseline; gap: .28rem 1rem; }
.links { margin-top:.26rem; font-size:.94rem; }
.links a { display: inline-flex; align-items: center; min-height: 24px; }
.reading { font-weight:600; }
.copy-reference { color: var(--accent); cursor: pointer; min-height: 24px; background: none; padding: 0; border: 0; text-decoration: underline; text-underline-offset: .19em; }
.copy-reference:hover { color: #062f2c; text-decoration-thickness: 2px; }
.formatted-reference { overflow-wrap: anywhere; max-width: 46rem; }
.manual-copy { font: inherit; display: block; width: 100%; max-width: 48rem; margin: .5rem 0; }
.program-note { font-size: .93rem; color: var(--muted); margin-top: .2rem; }
.related-line { font-size: .9rem; margin-top: .2rem; }

.rights { color:#51605a; font-size:.81rem; line-height:1.45; margin-top:.47rem; }
footer { border-top: 1px solid var(--rule); margin-top: 2.6rem; padding: 1.1rem 0 1.5rem; color:var(--muted); font-size: .93rem; display: flex; justify-content: space-between; gap:1rem; }
.wordmark { color:var(--ink); text-decoration:none; font:600 1.2rem/1.1 var(--serif); }
.top { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--rule); }
.top nav { display:flex; gap:1rem; }
.top nav a { font-size:.95rem; }
.detail { margin-block:clamp(1.8rem,4vw,3.6rem) 3rem; }
.detail article { max-width:51rem; }
.eyebrow { color:var(--muted); font-size:.95rem; margin-bottom:.4rem; }
.hero-title { font-size:clamp(1.95rem,4.55vw,3.6rem); line-height:1.1; letter-spacing:-.04em; margin-bottom:.85rem; }
.detail .authors,.detail .meta { margin-top:.2rem; }
.abstract { font-size:1.09rem; line-height:1.58; margin:1rem 0; max-width:48rem; }
.action-row { margin:1rem 0; align-items:center; }
.btn { border-radius:3px; background:var(--accent); color:white; padding:.45rem .85rem; text-decoration:none; font-weight:600; }
.btn:hover { color:white; background:#10483e; }
.notice { font-size:.91rem; color:#41544e; background:#eef3ed; border-left:2px solid #93aea0; padding:.85rem 1rem; margin:1.1rem 0; }
.detail details { margin:1.1rem 0; }
.detail summary { cursor:pointer; color:var(--accent); }
.detail h2 { margin:1.55rem 0 .3rem; font-size:1.65rem; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; padding:1rem; background:#eff3ef; font:.88rem/1.5 ui-monospace, monospace; }
.sr-only,.skip:not(:focus) { position:absolute; width:1px; height:1px; overflow:hidden; white-space:nowrap; clip-path:inset(50%); }
.skip:focus { position:absolute; top:.6rem; left:1rem; z-index:2; background:white; padding:.5rem; }

.profile-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-top: .65rem; font-size: .94rem; }
.profile-nav a { display: inline-flex; align-items: center; min-height: 32px; }
.selected-research { padding: 1.35rem 0 1.5rem; border-bottom: 1px solid var(--rule); }
.selected-research h2 { font: 600 1rem/1.4 var(--sans); color: var(--muted); }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; list-style: none; padding: 0; margin: .85rem 0 0; }
.highlight-meta { color: var(--muted); font-size: .875rem; }
.highlights h3 { font: 400 1.4rem/1.2 var(--serif); letter-spacing: -.015em; margin: .2rem 0 .4rem; }
.highlights h3 a { color: var(--ink); text-decoration: none; }
.highlights h3 a:hover { text-decoration: underline; }
.highlight-summary { font-size: .95rem; line-height: 1.5; color: #304641; }
.library-note { color: var(--muted); font-size: .93rem; margin-top: .55rem; max-width: 48rem; }
.topic-browser { margin-top: .55rem; }
.topic-browser summary, .rights-disclosure summary { width: fit-content; cursor: pointer; color: var(--accent); min-height: 28px; }
.topic-browser summary { font-size: .94rem; }
.topic-browser .keywords { margin: .4rem 0 .2rem; max-width: 52rem; }
.rights-disclosure { margin-top: .35rem; font-size: .875rem; }
.rights-disclosure .rights { margin-top: .15rem; max-width: 52rem; }
.evidence-note { font-size: .93rem; color: var(--muted); max-width: 47rem; margin-top: .45rem; }
.related-resources { padding-left: 1.2rem; margin-top: .5rem; }
.related-resources li { margin-top: .3rem; }

@media (max-width: 640px) {
  .highlights { grid-template-columns: 1fr; gap: 1rem; margin-top: .65rem; }
  .highlights h3 { font-size: 1.28rem; margin-bottom: .25rem; }
  .highlight-summary { font-size: .94rem; }
  .selected-research { padding: 1rem 0 1.1rem; }
  .profile-nav { margin-top: .25rem; }
  .links a, .copy-reference { min-height: 32px; }
  .wrap { width: calc(100% - 2rem); }
  .profile { grid-template-columns:1fr; gap:.65rem; padding:1.2rem 0 1rem; }
  .role { margin-top:.15rem; }
  .research dt:not(:first-child) { margin-top: .3rem; }
  .keywords { column-gap: .65rem; }
  #result-count { margin-left: 0; }
  .profile-meta { margin-top:.16rem; }
  #publications { padding-top:1rem; }
  .group { padding-top:1rem; }
  .record { grid-template-columns:1fr; gap:.1rem; padding:.7rem 0 .85rem; }
  .record .authors { display:block; }
  .record .separator { display: none; }
  .year { padding:0; font-size:.84rem; }
  .rights { font-size:.8rem; }
}
@media (max-width: 360px) {
  .keywords { display: block; line-height: 1.5; }
  .keywords li, .keywords a { display: inline; }
  .keywords li:not(:last-child)::after { content: " · "; }
  .keywords a { padding: 0; }
  .profile { padding-block: .8rem; gap: .4rem; }
  #publications { padding-top: .7rem; }
}
@media print {
  #finder-controls,.skip,footer,.top nav,.copy-reference {display:none;}
  .wrap {width:100%;}
  .profile {padding:.4rem 0;}
  .record {break-inside:avoid;}
}
