/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --surface: #ffffff;
  --text: #1c2230;
  --text-2: #3f4757;
  --muted: #6a7282;
  --line: #dfe2e8;
  --line-strong: #c9ced8;
  --navy: #13294b;          /* UNC navy */
  --navy-text: #ffffff;
  --accent: #1d4f91;        /* links */
  --accent-strong: #13294b;
  --accent-soft: #eaf1f9;
  --carolina: #4b9cd3;      /* UNC Carolina blue, used sparingly */
  --gold: #8a5a00;
  --gold-soft: #fbf3e0;
  --green: #2d6a3e;
  --green-soft: #e8f3eb;
  --radius: 6px;
  --wrap: 1080px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f131a;
    --bg-alt: #141a23;
    --surface: #161c26;
    --text: #e6e9ef;
    --text-2: #bcc3cf;
    --muted: #8b93a3;
    --line: #262e3b;
    --line-strong: #364152;
    --navy: #0b1730;
    --accent: #8cc3ec;
    --accent-strong: #c4e1f7;
    --accent-soft: #182a40;
    --gold: #e5bd62;
    --gold-soft: #2c2413;
    --green: #92cfa2;
    --green-soft: #16281c;
  }
}
:root[data-theme="dark"] {
  --bg: #0f131a;
  --bg-alt: #141a23;
  --surface: #161c26;
  --text: #e6e9ef;
  --text-2: #bcc3cf;
  --muted: #8b93a3;
  --line: #262e3b;
  --line-strong: #364152;
  --navy: #0b1730;
  --accent: #8cc3ec;
  --accent-strong: #c4e1f7;
  --accent-soft: #182a40;
  --gold: #e5bd62;
  --gold-soft: #2c2413;
  --green: #92cfa2;
  --green-soft: #16281c;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0 0 .8em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--carolina); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 16px; height: 16px; flex: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--carolina);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.unc-logo { display: flex; align-items: center; padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .25); }
.unc-logo img { height: 36px; width: auto; }
.brand { font: 600 1.12rem/1 var(--serif); color: var(--navy-text); letter-spacing: .005em; }
.brand:hover { text-decoration: none; color: #fff; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  padding: 6px 11px; border-radius: 4px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.header-actions { display: flex; gap: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; background: transparent;
  color: rgba(255, 255, 255, .85); cursor: pointer;
}
.icon-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.menu-btn { display: none; }

/* ---------------------------------------------------------------- home intro */
.intro { padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: start; }
.avatar {
  width: 100%; max-width: 220px; aspect-ratio: 1; height: auto; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.avatar-initials {
  display: grid; place-items: center; background: var(--navy);
  color: #fff; font: 600 3.6rem/1 var(--serif);
}
.side-links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.side-link {
  display: flex; align-items: center; gap: 9px; padding: 4px 0;
  color: var(--text-2); font-size: .92rem; overflow-wrap: anywhere;
}
.side-link:hover { color: var(--accent); }
.side-link .icon, .side-link .mono { color: var(--muted); }
.intro-main h1 { font: 600 2.1rem/1.15 var(--serif); color: var(--navy); letter-spacing: -.01em; }
:root[data-theme="dark"] .intro-main h1 { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .intro-main h1 { color: var(--accent-strong); } }
.intro-role { margin: 6px 0 18px; font-size: 1.06rem; font-weight: 600; color: var(--text); }
.intro-role span { font-weight: 400; color: var(--muted); font-size: .98rem; }
.prose { font-size: 1rem; color: var(--text-2); max-width: 46em; }
.intro-facts { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.label { font: 700 .76rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }

/* ---------------------------------------------------------------- chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 7px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--surface); color: var(--text-2); font-size: .88rem; font-weight: 600;
}
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.chip-strong { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-strong:hover { color: #fff; opacity: .9; }
.mono {
  display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 3px;
  border-radius: 3px; border: 1px solid currentColor; color: var(--muted);
  font: 700 .62rem/1 var(--sans); letter-spacing: 0;
}
.chip .mono { color: var(--accent); }
.tag {
  display: inline-block; padding: 1px 7px; border-radius: 3px;
  background: var(--bg-alt); color: var(--text-2); font-size: .76rem; font-weight: 600;
  border: 1px solid var(--line);
}
.tag-award { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.tag-status { background: var(--green-soft); color: var(--green); border-color: transparent; }
.tag-grant { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.tag-paper { background: var(--green-soft); color: var(--green); border-color: transparent; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.pill-list li { padding: 2px 9px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .88rem; color: var(--text-2); }
.edu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.edu li { display: grid; font-size: .94rem; line-height: 1.4; }
.edu span { color: var(--muted); font-size: .9rem; }
.stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); max-width: 46em; }
.stat { flex: 1 1 140px; padding: 10px 16px; border-right: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.stat:last-child { border-right: 0; }
.stat-n { font: 600 1.35rem/1 var(--serif); color: var(--navy); }
:root[data-theme="dark"] .stat-n { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat-n { color: var(--accent-strong); } }
.stat-l { color: var(--muted); font-size: .86rem; line-height: 1.25; }

/* ---------------------------------------------------------------- sections */
.section { padding: 36px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font: 600 1.3rem/1.2 var(--serif); color: var(--text); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.section-head .section-title { border-bottom: 0; margin-bottom: 0; }
.more { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.more .icon { width: 14px; height: 14px; }
.page-head { padding: 32px 0 0; }
.page-head h1 { font: 600 1.9rem/1.15 var(--serif); color: var(--navy); letter-spacing: -.01em; }
:root[data-theme="dark"] .page-head h1 { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-head h1 { color: var(--accent-strong); } }
.lede { font-size: 1.02rem; color: var(--text-2); max-width: 50em; margin: 8px 0 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }

/* ---------------------------------------------------------------- news */
.news, .press-list, .honors { list-style: none; margin: 0; padding: 0; }
.news-item, .press {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px;
  padding: 9px 0; border-bottom: 1px dotted var(--line-strong);
}
.news-item:last-child, .press:last-child { border-bottom: 0; }
.news-item time, .press time { color: var(--muted); font-size: .88rem; font-weight: 600; padding-top: 1px; font-variant-numeric: tabular-nums; }
.news-item > div { display: flex; gap: 8px; align-items: baseline; }
.news-item .tag { flex: none; min-width: 58px; text-align: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; padding: 0 5px; }
.news-item p { margin: 0; font-size: .97rem; }
.press h3 { font-size: .98rem; font-weight: 600; margin-bottom: 1px; }
.press h3 a { color: var(--text); }
.press h3 a:hover { color: var(--accent); }
.press .card-meta { margin: 0; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.cards-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: var(--radius); padding: 14px 16px;
}
:root[data-theme="dark"] .card { border-top-color: var(--carolina); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card { border-top-color: var(--carolina); } }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card h3 { font: 600 1.1rem/1.25 var(--serif); }
.role { font-size: .76rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.card-sub { color: var(--text-2); font-size: .9rem; line-height: 1.4; margin: 4px 0 2px; }
.card-meta { color: var(--muted); font-size: .85rem; margin: 2px 0 8px; }
.card-meta a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); }
.card-summary { color: var(--text-2); font-size: .93rem; line-height: 1.5; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card-links { display: flex; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 3px; font-size: .88rem; font-weight: 600; }
.text-link .icon { width: 12px; height: 12px; }

/* ---------------------------------------------------------------- publications */
.pubs { list-style: none; margin: 0; padding: 0; }
.pub { padding: 10px 0; border-bottom: 1px dotted var(--line-strong); }
.pub:last-child { border-bottom: 0; }
.pub-title { font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 2px; }
.pub-title a { color: var(--text); }
.pub-title a:hover { color: var(--accent); }
.pub-authors { color: var(--text-2); font-size: .92rem; line-height: 1.4; margin: 0 0 1px; }
.pub-authors .me { color: var(--text); font-weight: 700; }
.pub-line { margin: 0; font-size: .9rem; line-height: 1.6; }
.pub-venue { color: var(--muted); font-style: italic; margin-right: 4px; }
.pub-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: 1px; }
.pub-link {
  font-size: .76rem; font-weight: 700; padding: 0 7px; line-height: 1.6;
  border: 1px solid var(--accent); border-radius: 3px; text-transform: uppercase; letter-spacing: .03em;
}
.pub-link:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

.pubs-page { padding-top: 18px; }
.pubs-page .chips { margin-bottom: 14px; }
.pub-tools {
  position: sticky; top: 63px; z-index: 10;
  display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: center; gap: 8px 16px;
  padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line);
}
.search {
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--muted);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: .95rem; padding: 7px 0; outline: none; }
.pub-count { margin: 0; color: var(--muted); font-size: .86rem; justify-self: end; grid-column: 2; grid-row: 1; }
.filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.filter {
  font: 600 .82rem/1 var(--sans); padding: 5px 9px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2);
}
.filter:hover { color: var(--text); border-color: var(--text-2); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pub-layout { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; margin-top: 4px; }
.year-jump { position: sticky; top: 170px; align-self: start; display: grid; gap: 0; max-height: calc(100vh - 190px); overflow-y: auto; padding-top: 14px; }
.year-jump a { color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; padding: 1px 0; }
.year-jump a:hover { color: var(--accent); }
.year-jump a[hidden] { display: none; }
.year-head { font: 600 1.15rem/1 var(--serif); color: var(--navy); padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .year-head { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .year-head { color: var(--accent-strong); } }
.empty { padding: 32px 0; color: var(--muted); }

/* ---------------------------------------------------------------- awards */
.honor { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dotted var(--line-strong); }
.honor:last-child { border-bottom: 0; }
.honor-year { font: 600 1.05rem/1.4 var(--serif); color: var(--gold); }
.honor h3 { font-size: 1rem; font-weight: 700; }
.honor .card-meta { margin: 0 0 4px; }
.honor-paper { font-style: italic; color: var(--text-2); margin-bottom: 2px; font-size: .95rem; }
.honor .small { margin: 0; }
.grants { display: grid; gap: 0; margin-top: 4px; border-top: 1px solid var(--line); }
.grant {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px;
  padding: 12px 0; border-bottom: 1px dotted var(--line-strong);
}
.grant-side { display: grid; align-content: start; gap: 2px; }
.agency { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 1px 6px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); }
.agency-doe { background: var(--green-soft); color: var(--green); }
.amount { font: 600 1.05rem/1.3 var(--serif); color: var(--text); margin-top: 4px; }
.period { color: var(--muted); font-size: .84rem; }
.grant h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; }
.grant .card-meta { margin: 3px 0 2px; }
.collab { margin: 0; color: var(--text-2); font-size: .88rem; }

/* ---------------------------------------------------------------- contact */
.contact { margin: 0; display: grid; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.contact-row > .icon {
  width: 36px; height: 36px; padding: 9px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent);
}
.contact dt { font-size: .76rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact dd { margin: 0; font-size: 1rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 18px 0; font-size: .86rem; }
.footer-inner { display: flex; align-items: center; gap: 20px; }
.footer-inner p { margin: 0; }
.renci-logo { flex: none; display: flex; padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, .2); }
.renci-logo img { height: 40px; width: auto; }
.footer-text { display: flex; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; flex: 1; }
.site-footer .muted { color: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .pub-layout { grid-template-columns: 1fr; }
  .year-jump { display: none; }
  .intro-facts { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .menu-btn { display: inline-grid; }
  .unc-logo { padding-right: 12px; }
  .unc-logo img { height: 30px; }
  .brand { font-size: 1rem; }
  .renci-logo { padding-right: 14px; }
  .renci-logo img { height: 34px; }
  .header-actions { margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 63px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 6px 12px 12px;
    background: var(--navy); border-bottom: 3px solid var(--carolina);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 8px; }
  .intro { padding: 24px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .intro-side { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .side-links { margin: 0; }
  .side-link { padding: 2px 0; font-size: .88rem; }
  .intro-main h1 { font-size: 1.75rem; }
  .section { padding: 28px 0; }
  .news-item, .press { grid-template-columns: 1fr; gap: 2px; }
  .grant { grid-template-columns: 1fr; gap: 6px; }
  .grant-side { grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; }
  .amount { margin: 0; }
  .honor { grid-template-columns: 1fr; gap: 2px; }
  .section-head { flex-wrap: wrap; }
  .pub-tools { grid-template-columns: 1fr; }
  .pub-count { justify-self: start; grid-column: auto; grid-row: auto; }
  .stat { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .pub-tools, .year-jump, .site-footer { display: none; }
  .section.alt { background: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #fff; border: 1px solid var(--navy);
  font: 600 .95rem/1 var(--sans); padding: 9px 16px; border-radius: 4px;
}
.btn:hover { text-decoration: none; background: var(--accent); border-color: var(--accent); color: #fff; }
.btn .icon { width: 15px; height: 15px; }
.btn-small { font-size: .86rem; padding: 6px 11px; margin-bottom: 8px; }
:root[data-theme="dark"] .btn { background: var(--accent); border-color: var(--accent); color: #0f131a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { background: var(--accent); border-color: var(--accent); color: #0f131a; } }
.cta { margin: 18px 0 0; }
.subhead { font: 700 .76rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 2px; }

/* ---------------------------------------------------------------- clamped project summaries */
/* Clamped by default in CSS (works even if the script is cached or blocked);
   the script adds a More/Less button only when the text is actually longer. */
.clamp p {
  margin: 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden; max-height: 9em; /* 6 lines x 1.5 */
}
.clamp.is-open p { display: block; -webkit-line-clamp: unset; line-clamp: none; max-height: none; overflow: visible; }
.more-toggle {
  background: none; border: 0; padding: 2px 0 0; margin: 0 0 6px; cursor: pointer;
  color: var(--accent); font: 600 .86rem/1.4 var(--sans);
}
.more-toggle:hover { text-decoration: underline; }
.card-summary { margin-bottom: 8px; }

/* ---------------------------------------------------------------- service & activities */
.service-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--text-2); }
.service-list strong { color: var(--text); }
.acts { list-style: none; margin: 0; padding: 0; }
.act { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dotted var(--line-strong); }
.act:last-child { border-bottom: 0; }
.act-years { color: var(--muted); font-size: .86rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.act-note { margin: 2px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.section-title.gap { margin-top: 28px; }
.table-wrap { overflow-x: auto; }
.pc-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); border: 1px solid var(--line); }
.pc-table th, .pc-table td { text-align: left; padding: 7px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pc-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-alt); }
.pc-table tbody th { font-weight: 700; white-space: nowrap; color: var(--navy); }
:root[data-theme="dark"] .pc-table tbody th { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-table tbody th { color: var(--accent-strong); } }
.pc-table td { color: var(--text-2); }
.pc-table .yrs { white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; }
.pc-table .tag { margin-left: 4px; }
.rev-list { list-style: none; margin: 0 0 12px; padding: 0; columns: 2; column-gap: 40px; }
.rev-list li { break-inside: avoid; padding: 4px 0; font-size: .93rem; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--line); }
@media (max-width: 760px) {
  .rev-list { columns: 1; }
  .pc-table .yrs { white-space: normal; }
  .act { flex-direction: column; gap: 2px; }
}
