/* eduoliveira.com — one stylesheet for every page.
   Colours live in the variables below; high-contrast mode swaps them in one place. */
:root {
  --ink: #16202C; --muted: #55606E; --line: #E3E7EC; --axis: #9AA4B2;
  --navy: #1F4E99; --navy-dark: #0B2E66; --navy-soft: #EEF2F7; --navy-light: #8FAEDB; --navy-faint: #9DB5DD;
  --soft: #F8FAFC; --panel: #FBFCFE; --hover: #F4F6FA;
  --orange: #eb6834; --green: #1baf7a; --yellow: #eda100;
  --award-bg: #FFF4D6; --award-fg: #6B4A00; --teach-bg: #FDEDE5; --teach-fg: #B4461A;
  --input: #8A94A3;
  --hatch: repeating-linear-gradient(45deg, #8FAEDB 0 3px, #FFFFFF 3px 7px);
}
html.hc {
  --ink: #000000; --muted: #1A1F26; --line: #4A525C; --axis: #000000;
  --navy: #0B2E66; --navy-light: #4A6FA8; --navy-faint: #4A6FA8;
  --teach-fg: #7A2A08; --input: #000000;
  --hatch: repeating-linear-gradient(45deg, #4A6FA8 0 3px, #FFFFFF 3px 7px);
}
html { font-size: 17px; }
html[data-size="0"] { font-size: 15px; }
html[data-size="2"] { font-size: 19px; }
html[data-size="3"] { font-size: 21px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy-dark); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 16px; color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink); padding: 10px 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 4px; }
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="page"] { color: var(--navy); }
.a11y { display: flex; gap: 0.4rem; align-items: center; }
.a11y button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer; padding: 0 0.6rem; }
.a11y button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); margin-top: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; padding-top: 2.5rem; padding-bottom: 2.5rem; font-size: 0.88rem; color: var(--muted); }
.site-footer p { margin: 0; flex: 1 1 520px; max-width: 42rem; }
.site-footer .links { display: flex; flex-direction: column; gap: 0.3rem; }

/* page scaffolding */
main, main.wrap { padding-top: 3.5rem; padding-bottom: 3rem; }
.page-title { margin: 0 0 0.3rem; font-size: 2.4rem; letter-spacing: -0.025em; }
.lede { margin: 0 0 1.8rem; max-width: 46rem; color: var(--muted); font-size: 1.05rem; }
.section { margin-bottom: 3.5rem; }
.section > h2, .h2 { margin: 0 0 0.3rem; font-size: 1.3rem; }
.section-intro { margin: 0 0 1rem; font-size: 0.9rem; color: var(--muted); }
.readout { margin: 0 0 0.6rem; min-height: 1.6rem; font-size: 0.9rem; font-weight: 500; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }
.row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.grow3 { flex: 3 1 520px; min-width: 0; }
.grow2 { flex: 2 1 320px; min-width: 0; }
.grow1 { flex: 1 1 260px; min-width: 0; }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0; margin-bottom: 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; }
.stat-v { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat-l { font-size: 0.9rem; color: var(--muted); }
.stats-note { margin: 1rem 0 0; font-size: 0.8rem; color: var(--muted); }

/* chips, buttons, form controls */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 2rem; }
.chip { min-height: 44px; padding: 0 1rem; border-radius: 22px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { opacity: 0.75; font-weight: 400; }
.btn { min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--line); background: #fff; border-radius: 8px; font: inherit; font-size: 0.85rem; color: var(--ink); cursor: pointer; }
.btn-primary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.btn-primary:hover { color: #fff; background: var(--navy-dark); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.pill { min-height: 36px; padding: 0 0.8rem; border: 1px solid var(--navy); background: var(--navy-soft); color: var(--navy); border-radius: 18px; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
label.field { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
input[type="search"], select { width: 100%; min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--input); border-radius: 8px; font: inherit; font-size: 0.92rem; color: var(--ink); background: #fff; }
.check { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; font-size: 0.9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.filters { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; margin-bottom: 1.2rem; background: var(--soft); }
.filters .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.9rem; }

/* badges */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 0.5rem; font-size: 0.8rem; }
.badge { padding: 0.1rem 0.6rem; border-radius: 4px; border: 1px solid var(--line); }
.badge-rank { background: var(--navy-soft); color: var(--navy); font-weight: 600; border-color: transparent; }
.badge-award { background: var(--award-bg); color: var(--award-fg); font-weight: 600; border-color: transparent; }
.badge-solid { background: var(--navy); color: #fff; font-weight: 600; border-color: transparent; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list > li { border-bottom: 1px solid var(--line); }
.year-group { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.year-group > .year { flex: 0 0 4.5rem; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.year-group > ul { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.group-h { margin: 1.4rem 0 0; padding-bottom: 0.35rem; border-bottom: 2px solid var(--ink); font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; }
.group-h span:last-child { font-size: 0.72em; font-weight: 500; color: var(--muted); }
.paper { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.paper-title { font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.paper-meta { font-size: 0.9rem; color: var(--muted); }
.me { font-weight: 700; color: var(--ink); }
.links-inline a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 0.5rem; font-weight: 500; }
.empty { margin: 1.5rem 0; padding: 1.5rem; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.more { text-align: center; margin-top: 2rem; }

/* charts */
.bars { position: relative; height: 180px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--axis); }
.bars .gl { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.bars .ymax { position: absolute; right: 0; top: -1.3em; font-size: 0.72rem; color: var(--muted); }
.bar { flex: 1 1 0; height: 100%; display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 4px 4px 0 0; cursor: default; }
.bar.on { background: var(--navy-soft); }
.bar span { display: block; }
.axis-x { display: flex; gap: 4px; font-size: 0.75rem; color: var(--muted); margin-top: 0.4rem; }
.axis-x span { flex: 1 1 0; min-width: 0; overflow: hidden; text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.6rem 0 0.4rem; font-size: 0.85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.data th, table.data td { padding: 0.4rem 0.8rem; text-align: right; border-top: 1px solid var(--line); }
table.data th:first-child { text-align: left; }
table.data thead th { background: var(--soft); border-top: none; }

/* home */
.hero { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; padding: 1rem 0 3rem; }
.hero img { flex: 0 0 auto; width: 13rem; height: 13rem; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--navy-soft); border: 1px solid var(--line); }
.hero .text { flex: 999 1 520px; min-width: 0; }
.kicker { margin: 0 0 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.hero h1 { margin: 0 0 0.4rem; font-size: 2.9rem; letter-spacing: -0.025em; }
.hero .tag { margin: 0 0 1.2rem; font-size: 1.2rem; max-width: 36rem; }
.hero .roles { margin: 0 0 1.6rem; color: var(--muted); max-width: 40rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.band .wrap { padding-top: 2.5rem; padding-bottom: 1.2rem; }
.theme-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; }
.theme-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.theme-card:hover { border-color: var(--navy); color: var(--ink); }
.theme-card .n { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.theme-card .t { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.theme-card .d { font-size: 0.9rem; color: var(--muted); }
.hl { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.hl .lab { flex: 0 0 7.5rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); padding-top: 0.15rem; }
.hl .body { flex: 1 1 400px; min-width: 0; }

/* research */
.network-box { position: relative; overflow: hidden; }
.network-box svg { display: block; width: 100%; height: auto; touch-action: none; user-select: none; }
.net-year { position: absolute; left: 0.6rem; top: 0.3rem; font-size: 2rem; font-weight: 700; color: #B7C5DB; pointer-events: none; }
.tip { position: absolute; transform: translate(-50%, -120%); background: #16202C; color: #fff; padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.8rem; white-space: nowrap; pointer-events: none; }
.person { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem; border: none; background: transparent; font: inherit; font-size: 0.88rem; color: var(--ink); text-align: left; cursor: pointer; }
.person:hover, .person[aria-pressed="true"] { background: var(--navy-soft); }
.scroll-list { max-height: 330px; overflow: auto; }
.inst { display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 22px; font-size: 0.85rem; }

/* grants / awards / teaching / talks */
.timeline li button { width: 100%; min-height: 36px; display: flex; align-items: center; padding: 0; border: none; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.timeline li button:hover { background: var(--hover); }
.timeline li button[aria-pressed="true"] { background: var(--navy-soft); }
.tl-label { flex: 0 0 38%; padding: 0.25rem 0.8rem 0.25rem 0.3rem; font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-track { position: relative; flex: 1 1 auto; height: 36px; }
.tl-bar { position: absolute; top: 10px; height: 16px; border-radius: 4px; }
.tl-now { position: absolute; top: 0; bottom: 0; border-left: 1px dashed #B7C5DB; }
.role-lead { background: var(--navy); }
.role-ci { background: var(--navy-light); }
.role-coi { background: var(--hatch); border: 1px solid var(--navy-light); }
dl.meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.9rem; font-size: 0.88rem; }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; }
.hbar { margin-top: 0.3rem; height: 8px; border-radius: 4px; background: var(--navy-soft); }
.hbar span { display: block; height: 8px; border-radius: 4px; background: var(--navy); }
.icon { flex: 0 0 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.strip { display: flex; align-items: flex-end; gap: 2px; min-width: 620px; height: 104px; border-bottom: 1px solid var(--axis); }
.strip > div { flex: 1 1 0; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; padding-bottom: 6px; }
.mark { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; padding: 0; cursor: pointer; }
.subj { min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: none; background: transparent; padding: 0.2rem 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.subj .code { font-size: 0.75rem; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.subj .name { font-size: 0.86rem; line-height: 1.25; }
.sq { display: inline-block; width: 30px; height: 30px; border-radius: 6px; }
.sq-c { background: var(--navy); }
.sq-t { background: var(--navy-soft); border: 2px solid var(--navy); }
.feature { border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; background: var(--soft); }
.feature .k { margin: 0 0 0.4rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .a11y, .chips, .filters, .skip { display: none !important; } }

/* home: career journey (timeline rows) */
.era { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0 1.6rem; }
.era-rail { position: relative; padding: 0 0 2rem 1.4rem; border-left: 2px solid var(--line); }
.era.last .era-rail { border-left-color: transparent; }
.era-rail .dot { position: absolute; left: -8px; top: 0.4rem; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-light); box-shadow: 0 0 0 4px #fff; }
.era.now .era-rail .dot { background: var(--navy); }
.era-rail p { margin: 0; }
.era-when { font-size: 1.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.era-rail .muted { font-size: 0.88rem; }
.era-body { display: flex; flex-direction: column; gap: 0.8rem; padding-bottom: 2.2rem; min-width: 0; }
.era-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0.6rem 2rem; align-items: start; }
.era h3 { margin: 0 0 0.25rem; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
.era-sub { margin: 0; font-weight: 600; line-height: 1.4; color: var(--muted); }
.era-mid { display: flex; flex-direction: column; gap: 0.7rem; }
.era-text { margin: 0; font-size: 0.93rem; color: var(--muted); line-height: 1.55; }
.era-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.era-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 0.75rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 0.8rem; font-weight: 500; color: var(--ink); text-decoration: none; }
a.era-tag:hover { border-color: var(--navy); color: var(--navy); }
.era-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; align-items: start; }
.era-panels.p-full .grants { grid-column: 1 / -1; }
.era-panels.p-pair { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.era-panel { border-radius: 10px; padding: 0.75rem 1rem; }
.era-panel h4 { margin: 0 0 0.55rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.era-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.era-panel li { display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.35; font-size: 0.88rem; }
.era-panel li > span:last-child { padding-top: 0.15rem; }
.era-panel li strong { font-weight: 600; }
.era-panel .ic { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.era-panel.grants { background: var(--navy-soft); border: 1px solid #D5DFEC; }
.era-panel.grants h4, .era-panel.grants .ic { color: var(--navy); }
.era-panel.awards { background: #FFFBEF; border: 1px solid #F3E3B5; }
.era-panel.awards h4, .era-panel.awards .ic { color: var(--award-fg); }
.era-panel.teaching { background: #FDF3EE; border: 1px solid #F4D6C6; }
.era-panel.teaching h4, .era-panel.teaching .ic { color: var(--teach-fg); }
html.hc .era-panel { border-color: var(--ink); }
.era-cited { margin: 0; font-size: 0.86rem; line-height: 1.5; }
.era-cited .lbl { font-size: 0.74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-right: 0.5rem; }
@media (max-width: 760px) {
  .era { grid-template-columns: 1fr; }
  .era-rail { border-left: none; padding: 0 0 0.6rem 0; display: flex; gap: 0.8rem; align-items: baseline; }
  .era-rail .dot { display: none; }
  .era-top { grid-template-columns: 1fr; }
  .era-panels, .era-panels.p-pair { grid-template-columns: 1fr; }
  .era-body { padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
}

/* research: how themes connect */
.chord-wrap { display: flex; flex-direction: column; gap: 1.2rem; }
.chord-fig { width: 100%; max-width: 820px; margin: 0 auto; }
.chord-fig { position: relative; }
.chord-fig svg { width: 100%; height: auto; display: block; }
.chord-fig .rib, .chord-fig .arc { cursor: pointer; }
.chord-fig .rib { transition: fill-opacity 0.15s; }
@media (prefers-reduced-motion: reduce) { .chord-fig .rib { transition: none; } }
.chord-tip { position: absolute; width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 24px rgba(22, 32, 44, 0.14); padding: 0.8rem 0.95rem; pointer-events: none; font-size: 0.88rem; line-height: 1.45; z-index: 2; display: flex; flex-direction: column; gap: 0.25rem; }
.chord-tip[hidden] { display: none; }
.chord-tip strong { font-size: 1.02rem; }
.chord-panel { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; }
.chord-panel h3 { margin: 0; font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.25; }
.chord-panel .kicker { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.chord-panel .sub { margin: 0 0 0.4rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.chord-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.chord-links button { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0 0.6rem; border: 1px solid transparent; border-radius: 8px; background: transparent; font: inherit; font-size: 0.92rem; color: var(--ink); text-align: left; cursor: pointer; }
.chord-links button:hover { background: var(--navy-soft); border-color: var(--navy); }
.chord-topics { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chord-topics .chip { background: var(--navy-soft); border-color: var(--navy-soft); }
.chord-papers { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.chord-papers li span { display: block; font-size: 0.85rem; }
.chip .sw, .chord-links .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.5rem; vertical-align: 0; box-shadow: 0 0 0 2px #fff; }
.linkbtn { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.chord-links button > .muted { white-space: nowrap; }
.chord-panel .cp-head { display: flex; flex-direction: column; gap: 0.6rem; }
.cp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; align-items: start; }
@media (max-width: 760px) { .cp-cols { grid-template-columns: 1fr; } }
.cp-action { align-self: flex-start; }
.chord-papers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem 2rem; }
@media (max-width: 900px) { .chord-papers { grid-template-columns: 1fr; } }

/* research: supervision */
.sup-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem 2.5rem; }
.sup-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.sup-list .num { flex: 0 0 3.2rem; font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.sup-list li > span:last-child { font-size: 0.95rem; }
