:root { color-scheme: light; --navy: #1d2769; --ink: #17213d; --muted: #526078; --accent: #2548a0; --line: #d4dced; --paper: #ffffff; --tint: #f0f3fb; }
* { box-sizing: border-box; }
body { margin: 0; background: #e9edf5; color: var(--ink); font: 16px/1.5 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #14266d; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #426bd6; outline-offset: 4px; }
#header, #main, #footer { max-width: 1120px; margin: auto; padding-inline: 44px; }
#header { padding-top: 25px; background: var(--navy); border-top: 4px solid #426bd6; }
#main { background: var(--paper); box-shadow: 0 12px 28px #243e4010; }
.identity { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.name { color: var(--ink); font: bold 30px/1.3 Georgia, serif; text-decoration: none; }
.identity p { color: var(--muted); font-size: 14px; margin: 0; }
nav { display: flex; flex-wrap: wrap; gap: 4px 27px; border-bottom: 1px solid var(--line); margin-top: 16px; }
nav a { color: var(--muted); text-decoration: none; padding: 8px 0 10px; font-size: 15px; border-bottom: 3px solid transparent; }
nav a[aria-current] { color: var(--navy); border-color: var(--accent); font-weight: 600; }
#main { min-height: 65vh; padding-top: 25px; padding-bottom: 38px; }
article { max-width: 100%; overflow-wrap: anywhere; }
h1,h2,h3,h4 { line-height: 1.25; color: var(--ink); scroll-margin-top: 24px; }
h1 { font: 38px/1.15 Georgia, serif; letter-spacing: -.025em; margin: 0 0 20px; max-width: 800px; }
h2 { font: 25px/1.3 Georgia, serif; margin: 25px 0 10px; border-top: 1px solid var(--line); padding-top: 12px; }
h3 { font-size: 19px; margin: 19px 0 8px; }
h4,h5,h6 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 11px; }
ul,ol { padding-left: 23px; margin-block: 8px 12px; }
li { margin: 3px 0; }
img { max-width: 100%; height: auto; }
.portrait { float: right; width: 166px; height: 166px; object-fit: cover; border-radius: 50%; margin: 3px 0 18px 30px; }
body[data-page="home"] h1 { max-width: 670px; font-size: 43px; }
body[data-page="home"] article > p:first-of-type { font-size: 18px; line-height: 1.5; }
.table-scroll { overflow-x: auto; width: 100%; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th,td { text-align: left; vertical-align: top; padding: 8px 11px; border-bottom: 1px solid var(--line); min-width: 85px; }
th { background: #e8eefb; font-weight: 600; }
tr:nth-child(even) td { background: #f5f7fc; }
blockquote { margin-left: 0; padding: 8px 22px; border-left: 3px solid var(--accent); color: var(--muted); }
pre { padding: 20px; background: #f1f5f7; overflow-x: auto; font-size: 14px; }
code { font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
#footer { background: #e3e9f7; display: flex; flex-wrap: wrap; gap: 12px 25px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
#footer span { margin-right: auto; }
.skip { position: absolute; top: -100px; left: 16px; padding: 10px; background: white; }
.skip:focus { top: 8px; }
.notice { padding: 16px; border-left: 3px solid var(--accent); background: #edf3f6; font-size: 15px; }
button { font: inherit; color: var(--accent); cursor: pointer; }
/* Strong Markdown separator: --- * --- (three or more hyphens on each side). */
.section-break { clear: both; border-top: 3px solid var(--accent); margin: 24px 0 14px; }
.section-break + h2 { border-top: 0; padding-top: 0; margin-top: 0; }
article > h1 + h2 { margin-top: 0; }
li > p { margin-bottom: 5px; }
.section-nav { margin: 0 0 22px; gap: 4px 20px; background: var(--tint); padding: 5px 14px 0; border-radius: 4px; }
.section-nav a { padding: 6px 0 9px; font-size: 14px; }
.section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.content-section { min-width: 0; border-top: 3px solid var(--accent); padding: 12px 16px 14px; background: var(--tint); border-radius: 3px; box-shadow: 0 2px 4px #243e4008; }
.content-section > h2 { border: 0; padding: 0; margin: 0 0 10px; font-size: 23px; }
.content-section > :last-child { margin-bottom: 0; }
body[data-page="activity-reviewing"] .content-section:last-child { grid-column: 1 / -1; }
body[data-page^="activity"] td:first-child { white-space: nowrap; }
.year-nav { display: flex; align-items: center; gap: 6px; padding: 10px 12px; margin: 16px 0 22px; border: 1px solid var(--line); background: var(--tint); border-radius: 4px; }
.year-nav span { font-size: 13px; color: var(--muted); margin-right: 6px; }
.year-nav a { padding: 3px 9px; font-size: 14px; border: 1px solid #bccae6; border-radius: 3px; background: var(--paper); }
.year-nav a:hover { background: #e3e9f7; }
body[data-page="activity-talks"] h2 { padding: 8px 12px; background: #e8eefb; border-top: 0; border-left: 3px solid var(--accent); color: var(--navy); }
body[data-page="activity-talks"] table { table-layout: fixed; }
body[data-page="activity-talks"] th:first-child { width: 90px; }
body[data-page="activity-talks"] th:nth-child(2) { width: 52%; }
@media (max-width: 650px) {
  body[data-page="activity-talks"] table { min-width: 540px; }
  .section-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-nav { gap: 0 16px; }
  #header,#main,#footer { padding-inline: 22px; }
  #header { padding-top: 26px; }
  .identity { display: block; } .identity p { margin-top: 8px; }
  nav { gap: 0 20px; margin-top: 18px; } nav a { padding-block: 9px; }
  #main { padding-top: 20px; }
  h1,body[data-page="home"] h1 { font-size: 32px; }
  .portrait { width: 94px; height: 94px; margin: 4px 0 16px 20px; }
  body[data-page="home"] article > p:first-of-type { font-size: 18px; }
}
@media print { body,#header,#main,#footer { background: white; box-shadow: none; } nav,.skip,#footer,#status { display: none; } #main { padding: 20px 0; } .table-scroll { overflow: visible; } }
/* A quiet, deterministic network sketch in the shared header. */
#header { position: relative; isolation: isolate; overflow: hidden; }
.header-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; color: #c6d6ff; opacity: .38; }
.header-network path { stroke: currentColor; stroke-width: .8; fill: none; }
.header-network circle { fill: currentColor; }
.publication-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; background: var(--tint); border-top: 3px solid var(--accent); padding: 16px 20px; margin: 22px 0 18px; }
.publication-summary strong { display: block; font: 28px/1.2 Georgia, serif; color: var(--navy); }
.publication-summary span { font-size: 13px; color: var(--muted); }
.publication-summary > a { margin-left: auto; font-size: 14px; }
.publication-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.publication-filters label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; }
.publication-search { flex: 1 1 230px; }
.publication-filters input[type="search"], .publication-filters select { font: 15px/1.4 system-ui,sans-serif; background: white; color: var(--ink); border: 1px solid #b1bedb; border-radius: 3px; padding: 9px 10px; min-width: 0; max-width: 100%; }
.publication-filters .publication-fulltext { flex-direction: row; align-items: center; padding-bottom: 11px; font-weight: 400; }
.publication-filters input[type="checkbox"] { accent-color: var(--navy); }
.publication-filters :focus-visible { outline: 3px solid #426bd6; outline-offset: 2px; }
.publication-source { color: var(--muted); font-size: 12px; margin: 12px 0 6px; }
.publication-count { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.publication-year { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 16px; margin-top: 20px; }
.publication-year > h2 { border: 0; padding: 0; margin: 0; color: var(--navy); font-size: 25px; }
.publication-year > ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid #a8bce6; }
.publication-item { padding: 12px 0 13px; margin: 0; border-bottom: 1px solid var(--line); }
.publication-item h3 { margin: 0 0 5px; font-size: 17px; line-height: 1.35; font-weight: 600; }
.publication-item h3 a { color: var(--ink); text-decoration: none; }
.publication-item h3 a:hover { color: var(--accent); text-decoration: underline; }
.publication-authors { font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.publication-venue { font-size: 13px; margin-bottom: 6px; }
.publication-type { display: inline-block; border-radius: 3px; padding: 1px 6px; background: #e8eefb; color: var(--navy); font-size: 11px; margin-right: 5px; }
.publication-links { display: flex; gap: 16px; font-size: 12px; }
.publication-more { display: block; margin: 22px auto 0; background: var(--tint); border: 1px solid #b1bedb; padding: 9px 18px; border-radius: 3px; }
.publication-more[hidden] { display: none; }
@media(max-width:650px) {
  .header-network { opacity: .24; }
  .publication-summary { gap: 14px 22px; padding: 14px; }
  .publication-summary strong { font-size: 24px; }
  .publication-summary > a { margin-left: 0; }
  .publication-year { grid-template-columns: 1fr; gap: 7px; }
  .publication-filters select { width: 100%; }
  .publication-filters label:has(select) { flex: 1 1 120px; }
  .publication-search { flex-basis: 100%; }
}
@media print { .header-network,.publication-filters,.publication-more { display: none; } }
.bibliography-overview { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 22px; align-items: start; margin-top: 20px; }
.bibliography-group { min-width: 0; background: var(--tint); border-top: 3px solid var(--accent); padding: 14px; border-radius: 3px; }
.bibliography-group h2 { border: 0; margin: 0 0 6px; padding: 0; font-size: 23px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bibliography-group h2 span { font: 14px system-ui,sans-serif; color: var(--muted); }
.bibliography-hint { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.bibliography-entry { border-top: 1px solid var(--line); }
.bibliography-entry summary { display: grid; grid-template-columns: minmax(0,1fr) 25px; gap: 5px 10px; padding: 10px 0; cursor: pointer; font-size: 14px; }
.bibliography-entry summary:hover .bibliography-name { color: var(--accent); text-decoration: underline; }
.bibliography-entry summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bibliography-name::before { content: '+ '; color: var(--accent); }
.bibliography-entry[open] .bibliography-name::before { content: '− '; }
.bibliography-total { text-align: right; font-weight: 600; color: var(--navy); }
.bibliography-entry meter { grid-column: 1 / -1; width: 100%; height: 5px; border: 0; background: #dae3f5; border-radius: 2px; }
.bibliography-entry meter::-webkit-meter-bar { background: #dae3f5; border: 0; }
.bibliography-entry meter::-webkit-meter-optimum-value { background: #4168bf; }
.bibliography-entry meter::-moz-meter-bar { background: #4168bf; }
.bibliography-entry ul { font-size: 12px; line-height: 1.5; padding-left: 16px; }
.bibliography-entry li { margin-bottom: 7px; }
.bibliography-entry li span { color: var(--muted); }
.bibliography-group > button { background: var(--paper); border: 1px solid #b1bedb; border-radius: 3px; font-size: 13px; padding: 6px 12px; margin-top: 10px; }
.bibliography-empty { color: var(--muted); font-size: 14px; }
@media(max-width:850px) { .bibliography-overview { grid-template-columns: 1fr; } }

.venue-year { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

/* Strong header contrast, restrained blue accents elsewhere. */
#header .name { color: white; }
#header nav { border-bottom: 0; }
#header nav a { color: #e2e9ff; padding-inline: 8px; }
#header nav a:hover { color: white; background: #ffffff14; }
#header nav a[aria-current] { color: white; border-color: #82adff; background: #ffffff18; }
#header a:focus-visible { outline-color: #b8d0ff; }
#header .header-network { opacity: .55; }
h1,h2,h3 { color: var(--navy); }
.section-nav a:hover { background: transparent; color: var(--navy); border-bottom-color: #8097cc; }
.year-nav a:hover { background: #dce6fb; color: var(--navy); }
.section-nav a[aria-current] { border-color: var(--navy); }
.parent-link { display: inline-block; font-size: 14px; margin: 0 0 16px; text-decoration: none; }
.parent-link:hover { text-decoration: underline; }
.page-contents { margin: 0 0 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--tint); padding: 10px 14px; }
.page-contents summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--navy); }
.page-contents summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.page-contents nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 20px; margin: 10px 0 0; border: 0; }
.page-contents nav a { border: 0; padding: 4px 0; font-size: 14px; color: var(--accent); }
.page-contents nav a:hover { text-decoration: underline; }
.skip { z-index: 10; }
@media(max-width:650px) { #header nav { gap: 0 8px; } .page-contents nav { grid-template-columns: 1fr; } }
@media print { #header .name { color: var(--ink); } .page-contents,.parent-link { display: none; } }

/* Disclosure navigation: main labels remain ordinary links. */
#header { overflow: visible; z-index: 2; }
.header-network { clip-path: inset(0); }
.main-nav { position: relative; gap: 4px 16px; }
.nav-item { display: flex; align-items: stretch; position: relative; }
.nav-toggle { border: 0; border-bottom: 3px solid transparent; background: transparent; color: #e2e9ff; padding: 0 7px; min-width: 28px; display: flex; align-items: center; justify-content: center; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: #ffffff20; color: white; }
.nav-toggle:focus-visible { outline-color: #b8d0ff; }
.nav-chevron { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.nav-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: 100%; left: 0; width: 280px; max-width: calc(100vw - 44px); max-height: 60vh; overflow-y: auto; background: white; border: 1px solid var(--line); border-top: 3px solid #426bd6; box-shadow: 0 8px 20px #17213d26; padding: 8px; z-index: 5; }
.nav-dropdown[hidden] { display: none; }
.nav-dropdown-wide { width: 500px; }
.nav-dropdown ul { list-style: none; padding: 0; margin: 0; }
.nav-dropdown-wide ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.nav-dropdown li { margin: 0; }
#header .nav-dropdown a { display: block; color: var(--navy); border: 0; padding: 9px 11px; font-size: 14px; line-height: 1.35; }
#header .nav-dropdown a:hover, #header .nav-dropdown a[aria-current] { color: var(--navy); background: #e8eefb; }
#header .nav-dropdown a:focus-visible { outline-color: #426bd6; outline-offset: -2px; }
.nav-item:nth-last-child(-n+2) .nav-dropdown { left: auto; right: 0; }
@media(max-width:850px) {
  #header .main-nav { gap: 0 7px; }
  .nav-item { position: static; }
  .nav-dropdown, .nav-item:nth-last-child(-n+2) .nav-dropdown { left: 0; right: 0; width: 100%; max-width: none; max-height: 55vh; }
}
@media(max-width:500px) { .nav-dropdown-wide ul { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { .nav-chevron { transition: none; } }

/* Solid tab underlines avoid text-sized hover blocks, including in Safari. */
.section-nav a { display: block; -webkit-tap-highlight-color: transparent; }
html { background: #e9edf5; }

/* Home: readable editorial column and a compact profile panel. */
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 38px; align-items: start; }
.home-copy { min-width: 0; padding-top: 5px; }
body[data-page="home"] .home-copy h1 { font-size: clamp(32px, 3.4vw, 42px); max-width: 650px; margin-bottom: 18px; text-wrap: balance; }
.home-copy > h1 + p { font-size: 19px; line-height: 1.5; color: var(--muted); margin-bottom: 17px; }
.home-copy h2 { font: 600 18px/1.35 system-ui, sans-serif; margin-top: 25px; padding-top: 13px; }
.home-copy ul { list-style: none; padding: 0; }
.home-copy li { margin: 0 0 10px; padding-left: 14px; border-left: 2px solid #b4c4e8; }
.home-sidebar { padding: 24px; background: var(--tint); border-top: 3px solid var(--navy); border-radius: 0 0 4px 4px; font-size: 14px; line-height: 1.5; min-width: 0; }
.home-sidebar .portrait { display: block; float: none; width: 140px; height: 140px; margin: 0 0 17px; border-radius: 5px; }
.home-sidebar > p:first-of-type strong { font: 600 22px/1.5 Georgia, serif; color: var(--navy); }
.home-sidebar h2 { font: 600 17px/1.4 system-ui, sans-serif; margin: 21px 0 10px; padding-top: 14px; }
.home-sidebar h3 { font: 600 14px/1.4 system-ui, sans-serif; margin: 20px 0 10px; }
.home-sidebar p { margin-bottom: 12px; }
.home-sidebar p:last-child { margin-bottom: 0; }
@media (max-width: 850px) {
  .home-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; }
  .home-sidebar { padding: 19px; }
}
@media (max-width: 650px) {
  .home-layout { grid-template-columns: 1fr; gap: 24px; }
  .home-sidebar .portrait { float: right; width: 86px; height: 86px; margin: 0 0 14px 16px; }
  .home-sidebar h2 { clear: both; }
  .home-copy > h1 + p { font-size: 18px; }
}
