:root {
  color-scheme: light;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  --paper: #eef2ef;
  --surface: #ffffff;
  --ink: #101715;
  --muted: #5c6964;
  --line: #c7d1cc;
  --line-strong: #8f9d96;
  --green: #18745a;
  --green-dark: #0b5640;
  --teal: #2d7d84;
  --blue: #315b83;
  --amber: #b87420;
  --coral: #ae4d45;
  --soft-green: #dce9e2;
  --soft-blue: #dfe8ee;
  --soft-amber: #f2e7d4;
  --code: #0d1412;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgb(45 125 132 / 30%);
  outline-offset: 3px;
}

.page-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgb(238 242 239 / 95%);
  border-bottom: 1px solid rgb(16 23 21 / 18%);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--green-dark);
  font-size: 21px;
  font-weight: 900;
}

.brand strong {
  font-size: 13px;
  font-weight: 750;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.research-hero {
  position: relative;
  height: 64svh;
  min-height: 520px;
  max-height: 670px;
  overflow: hidden;
  color: #fff;
  background: #050807;
  border-bottom: 1px solid #000;
}

.research-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.66) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 18%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  padding: 44px 0 72px;
}

.hero-inner .eyebrow {
  color: #9de0c5;
}

.research-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 62px;
  line-height: 1.04;
}

.hero-lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: #e5ece8;
  font-size: 19px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 36px;
}

.hero-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.primary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.image-credit {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 14px;
  color: rgb(255 255 255 / 72%);
  font-size: 10px;
}

.status-band {
  color: #dfe8e3;
  background: var(--ink);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-grid > div {
  display: flex;
  min-height: 108px;
  align-items: baseline;
  gap: 10px;
  padding: 28px 24px;
  border-left: 1px solid rgb(255 255 255 / 15%);
}

.status-grid > div:last-child {
  border-right: 1px solid rgb(255 255 255 / 15%);
}

.status-grid strong {
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.status-grid span {
  color: #9fb0a8;
  font-size: 12px;
}

.research-board,
.notes-preview,
.tools-section,
.dataset-section,
.literature-workspace,
.notes-workspace {
  padding-top: 86px;
  padding-bottom: 104px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 32px;
}

.section-heading h2,
.boundary-inner h2,
.audit-layout h2,
.template-download h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.18;
}

.section-heading > p,
.section-heading > a {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-heading > a {
  color: var(--green-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.roadmap-list {
  border-top: 1px solid var(--ink);
}

.roadmap-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.roadmap-top {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 50px;
  gap: 12px;
  align-items: center;
}

.roadmap-top > span {
  color: var(--blue);
  font-size: 12px;
}

.roadmap-top > div {
  display: grid;
}

.roadmap-top strong {
  font-size: 17px;
}

.roadmap-top small,
.roadmap-list article > small {
  color: var(--muted);
  font-size: 11px;
}

.roadmap-list article > small {
  grid-column: 1 / -1;
}

.roadmap-top b {
  color: var(--green-dark);
  font-size: 13px;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: var(--line);
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.roadmap-list article > p {
  margin: 0;
  color: #35423d;
  font-size: 14px;
}

.evidence-band {
  padding: 86px 0 104px;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.paper-list {
  border-top: 1px solid var(--ink);
}

.paper-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 112px;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.paper-row[hidden],
.note-row[hidden] {
  display: none;
}

.paper-index {
  color: var(--blue);
  font-size: 12px;
}

.paper-labels,
.note-tags,
.dataset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.paper-labels span,
.note-tags span,
.dataset-tags span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 750;
}

.paper-labels span:first-child {
  color: var(--amber);
}

.paper-main h3 {
  max-width: 900px;
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.34;
}

.paper-main h3 a {
  text-decoration: none;
}

.paper-main h3 a:hover {
  color: var(--blue);
}

.citation {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.paper-main > p:last-child {
  max-width: 850px;
  margin: 13px 0 0;
  color: #46524d;
  font-size: 14px;
}

.paper-actions {
  display: grid;
  justify-items: end;
  gap: 11px;
}

.paper-actions button,
.export-button,
.protocol-progress button,
.research-note aside button {
  min-height: 36px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.paper-actions button.saved {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.paper-actions a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.compact-paper-list .paper-row:nth-child(n + 5) {
  display: none;
}

.note-list {
  border-top: 1px solid var(--ink);
}

.note-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 58px;
  gap: 26px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.note-row > div:first-child {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

.note-row h3 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.3;
}

.note-row h3 a {
  text-decoration: none;
}

.note-row p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.note-open {
  justify-self: end;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.boundary-band {
  padding: 84px 0 90px;
  background: var(--soft-amber);
  border-top: 1px solid #d5b98e;
  border-bottom: 1px solid #d5b98e;
}

.boundary-inner h2 {
  max-width: 850px;
}

.boundary-inner > p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: #5d5140;
}

.page-header {
  padding-top: 92px;
  padding-bottom: 58px;
}

.page-header h1,
.not-found h1 {
  max-width: 920px;
  margin: 0;
  font-size: 54px;
  line-height: 1.08;
}

.page-header > p:last-child,
.protocol-header > div > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.literature-workspace,
.notes-workspace {
  padding-top: 8px;
}

.literature-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 160px 170px;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.search-field,
.select-field {
  display: grid;
  gap: 7px;
}

.search-field span,
.select-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.export-button {
  min-height: 44px;
}

.topic-segments {
  display: flex;
  overflow-x: auto;
  gap: 3px;
  border-bottom: 1px solid var(--line-strong);
  scrollbar-width: thin;
}

.topic-segments button {
  min-width: max-content;
  padding: 10px 13px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 13px;
}

.topic-segments button.active {
  color: var(--ink);
  border-bottom-color: var(--teal);
  font-weight: 850;
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.result-bar strong {
  font-size: 15px;
}

.result-bar span {
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  padding: 32px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.notes-search {
  max-width: 520px;
}

.scan-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  margin-bottom: 30px;
  background: #050706;
  border: 1px solid var(--ink);
}

.scan-feature img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.scan-feature figcaption {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 12px;
  padding: 34px;
  color: #e8efeb;
  background: var(--ink);
}

.scan-feature figcaption strong {
  font-size: 22px;
}

.scan-feature figcaption span {
  color: #aab8b1;
  font-size: 13px;
}

.scan-feature figcaption a {
  color: #9ed7c2;
  font-size: 11px;
}

.dataset-section {
  padding-top: 70px;
}

.dataset-table {
  border-top: 1px solid var(--ink);
}

.dataset-head,
.dataset-table article {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr 0.85fr;
  gap: 24px;
}

.dataset-head {
  padding: 11px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dataset-table article {
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.dataset-table article strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.dataset-table article p {
  margin: 0;
  color: #46534d;
  font-size: 13px;
}

.dataset-table article small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.dataset-table article a {
  color: var(--blue);
  font-weight: 800;
}

.audit-band {
  padding: 84px 0;
  background: var(--soft-blue);
  border-top: 1px solid #afc2cc;
  border-bottom: 1px solid #afc2cc;
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 7vw;
}

.audit-layout ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  counter-reset: audit;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.audit-layout li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  padding: 17px 0;
  border-bottom: 1px solid #b7c8d0;
  counter-increment: audit;
}

.audit-layout li::before {
  color: var(--blue);
  content: "0" counter(audit);
  font-size: 11px;
}

.audit-layout li strong,
.audit-layout li span {
  grid-column: 2;
}

.audit-layout li span {
  color: #526069;
  font-size: 12px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tool-grid article {
  min-height: 240px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.tool-grid article > span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.tool-grid h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.tool-grid p {
  min-height: 84px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-grid a {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.protocol-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 60px;
  align-items: end;
}

.protocol-progress {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
}

.protocol-progress strong {
  font-size: 22px;
}

.protocol-progress progress {
  width: 100%;
  height: 8px;
  accent-color: var(--green);
}

.protocol-progress button {
  width: fit-content;
}

.protocol-section {
  padding: 78px 0 84px;
  border-top: 1px solid var(--line-strong);
}

.protocol-data {
  background: var(--surface);
}

.protocol-run {
  background: var(--soft-green);
}

.protocol-report {
  background: var(--soft-amber);
  border-bottom: 1px solid #d5b98e;
}

.protocol-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: 8vw;
}

.protocol-intro > span {
  color: var(--blue);
  font-size: 12px;
}

.protocol-intro .eyebrow {
  margin-top: 32px;
}

.protocol-intro h2 {
  margin: 0;
  font-size: 34px;
}

.protocol-intro > p:last-child {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--muted);
}

.checklist {
  border-top: 1px solid var(--ink);
}

.checklist label {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgb(16 23 21 / 18%);
  cursor: pointer;
}

.checklist input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.checklist label > span {
  display: grid;
  gap: 4px;
}

.checklist strong {
  font-size: 15px;
}

.checklist small {
  color: var(--muted);
  font-size: 12px;
}

.template-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 76px;
  padding-bottom: 92px;
}

.template-download p:last-child {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
}

.template-download > a {
  min-width: max-content;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.about-scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  gap: 7vw;
  padding-bottom: 104px;
}

.about-scope h2 {
  margin: 0 0 10px;
  font-size: 25px;
}

.about-scope h2:not(:first-child) {
  margin-top: 40px;
}

.about-scope p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-scope figure {
  height: fit-content;
  margin: 0;
  border: 1px solid var(--line-strong);
}

.about-scope figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-scope figcaption {
  padding: 14px;
  color: var(--muted);
  background: var(--surface);
  font-size: 11px;
}

.sources-band {
  padding: 82px 0 94px;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
}

.source-list {
  border-top: 1px solid var(--ink);
}

.source-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 200px 150px;
  gap: 22px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.source-list span,
.source-list a {
  color: var(--muted);
  font-size: 12px;
}

.source-list a {
  color: var(--blue);
  text-align: right;
}

.note-header {
  padding-top: 92px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line-strong);
}

.note-header h1 {
  max-width: 920px;
  margin: 0;
  font-size: 48px;
  line-height: 1.14;
}

.note-header > p:nth-of-type(2) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.note-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 780px);
  gap: 70px;
  padding-top: 72px;
  padding-bottom: 100px;
}

.research-note aside {
  position: sticky;
  top: 94px;
  display: grid;
  height: fit-content;
  gap: 7px;
  padding: 17px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.research-note aside > span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.research-note aside p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.research-note aside button {
  width: fit-content;
  margin-top: 10px;
}

.note-content {
  min-width: 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 18px;
  line-height: 1.95;
}

.note-content > :first-child {
  margin-top: 0;
}

.note-content h2,
.note-content h3 {
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.3;
}

.note-content h2 {
  margin: 52px 0 17px;
  font-size: 29px;
}

.note-content h3 {
  margin: 34px 0 12px;
  font-size: 21px;
}

.note-content p,
.note-content ul,
.note-content ol,
.note-content table {
  margin-top: 0;
  margin-bottom: 23px;
}

.note-content a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.note-content code {
  padding: 2px 5px;
  color: var(--green-dark);
  background: var(--soft-green);
  border-radius: 3px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
}

.note-content pre {
  max-width: 100%;
  margin: 28px 0;
  padding: 19px;
  overflow-x: auto;
  color: #edf3f0;
  background: var(--code);
  border-left: 4px solid var(--teal);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.65;
}

.note-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.note-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
}

.note-content th,
.note-content td {
  padding: 9px 10px;
  text-align: left;
  border: 1px solid var(--line);
}

.note-content th {
  background: var(--soft-blue);
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #91a39b;
}

.token.punctuation {
  color: #d5dfda;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #e79a8f;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
  color: #8fd0b3;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
  color: #94b8e5;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #e4bd7b;
}

.not-found {
  min-height: 70vh;
  padding-top: 118px;
  padding-bottom: 118px;
}

.not-found > p:nth-of-type(2) {
  margin: 18px 0 30px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 44px max(24px, calc((100vw - 1180px) / 2));
  color: #dfe8e3;
  background: var(--ink);
}

.site-footer strong {
  font-size: 16px;
}

.site-footer p {
  max-width: 560px;
  margin: 6px 0 0;
  color: #9fb0a8;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #b8c7c0;
  font-size: 11px;
}

.lab-profile,
.admission-grid,
.application-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 7vw;
  padding-top: 88px;
  padding-bottom: 104px;
}

.lab-profile-main h2,
.admission-grid h2,
.application-section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.18;
}

.lab-profile-main > p:not(.eyebrow),
.application-copy > p {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.profile-links a,
.application-copy a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.career-line {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.career-line li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.career-line span,
.career-line strong {
  font-size: 12px;
}

.career-line span {
  color: var(--blue);
}

.lab-directions,
.project-band,
.admission-process {
  padding: 86px 0 104px;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.direction-grid article {
  min-height: 250px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.direction-grid article:first-child {
  border-left: 1px solid var(--line);
}

.direction-grid article > span,
.admission-columns article > span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 850;
}

.direction-grid h3 {
  margin: 36px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.direction-grid p,
.condition-list p,
.project-list-public p,
.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.lab-evidence,
.lab-platform,
.publication-workspace {
  padding-top: 86px;
  padding-bottom: 104px;
}

.publication-table {
  border-top: 1px solid var(--ink);
}

.publication-table article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.publication-table article[hidden] {
  display: none;
}

.publication-table article > div:first-child {
  display: grid;
  gap: 5px;
}

.publication-table article > div:first-child span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.publication-table article > div:first-child small {
  color: var(--muted);
  font-size: 11px;
}

.publication-table h2,
.publication-table h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.38;
}

.publication-table h2 a,
.publication-table h3 a {
  text-decoration: none;
}

.publication-table h2 a:hover,
.publication-table h3 a:hover {
  color: var(--blue);
}

.publication-meta {
  display: grid;
  justify-items: start;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.publication-meta b {
  color: var(--green-dark);
}

.publication-meta a {
  color: var(--blue);
  font-weight: 800;
}

.project-band {
  background: var(--soft-blue);
}

.project-list-public {
  border-top: 1px solid var(--ink);
}

.project-list-public article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1.2fr) minmax(210px, 0.65fr) minmax(220px, 0.7fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #b7c8d0;
}

.project-list-public article > span {
  color: var(--blue);
  font-size: 11px;
}

.project-list-public h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.project-list-public article > div:nth-child(3) {
  display: grid;
  gap: 5px;
}

.project-list-public strong,
.project-list-public small {
  font-size: 11px;
}

.project-list-public small {
  color: var(--muted);
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.condition-list article {
  display: grid;
  grid-template-columns: 42px 150px minmax(0, 1fr);
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.condition-list article:nth-child(odd) {
  padding-right: 28px;
}

.condition-list article:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.condition-list span {
  color: var(--blue);
  font-size: 11px;
}

.condition-list h3 {
  margin: 0;
  font-size: 16px;
}

.join-band {
  padding: 74px 0;
  color: #eef6f2;
  background: var(--green-dark);
}

.join-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.join-band .eyebrow {
  color: #9de0c5;
}

.join-band h2 {
  max-width: 820px;
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
}

.join-band p:last-child {
  margin: 16px 0 0;
  color: #b9cec4;
}

.publication-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 180px 220px;
  gap: 18px;
  align-items: end;
}

.join-header h1 {
  max-width: 1040px;
}

.admission-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}

.admission-columns article {
  padding: 18px 18px 8px 0;
  border-bottom: 1px solid var(--line);
}

.admission-columns p {
  margin: 10px 0 0;
  font-size: 13px;
}

.candidate-profile ol,
.process-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.candidate-profile li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.candidate-profile li span,
.process-list > li > span {
  color: var(--blue);
  font-size: 11px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  min-height: 180px;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.process-list h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.application-copy h2 {
  margin-bottom: 24px;
}

.application-form {
  display: grid;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.application-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-actions button {
  min-height: 42px;
  padding: 8px 14px;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.form-actions button:disabled {
  color: var(--muted);
  background: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
}

.form-actions span {
  color: var(--muted);
  font-size: 11px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .roadmap-list article {
    grid-template-columns: minmax(0, 1fr) 1fr;
  }

  .roadmap-list article > small {
    grid-column: 1 / -1;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dataset-head,
  .dataset-table article {
    grid-template-columns: 1fr 1fr;
  }

  .dataset-head span:nth-child(n + 3) {
    display: none;
  }

  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-table article {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .publication-meta {
    grid-column: 2;
  }

  .project-list-public article {
    grid-template-columns: 36px minmax(0, 1fr) 230px;
  }

  .project-list-public article > p {
    grid-column: 2 / -1;
  }

  .condition-list {
    grid-template-columns: 1fr;
  }

  .condition-list article:nth-child(odd),
  .condition-list article:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 16px;
    padding: 0 16px;
  }

  .brand strong {
    display: none;
  }

  .site-header nav {
    min-width: 0;
    overflow-x: auto;
    gap: 15px;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    min-width: max-content;
    font-size: 12px;
  }

  .page-wrap {
    width: min(100% - 30px, 1180px);
  }

  .research-hero {
    min-height: 550px;
    height: 68svh;
  }

  .research-hero > img {
    object-position: center;
  }

  .research-hero h1 {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .image-credit {
    right: 15px;
    max-width: 230px;
    text-align: right;
  }

  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-grid > div,
  .status-grid > div:last-child {
    min-height: 88px;
    padding: 21px 16px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading h2,
  .boundary-inner h2,
  .audit-layout h2,
  .template-download h2 {
    font-size: 30px;
  }

  .roadmap-list article {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .paper-row,
  .note-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .paper-index {
    display: none;
  }

  .paper-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .note-open {
    justify-self: start;
  }

  .page-header {
    padding-top: 68px;
    padding-bottom: 44px;
  }

  .page-header h1,
  .not-found h1 {
    font-size: 40px;
  }

  .literature-tools {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .scan-feature,
  .audit-layout,
  .protocol-layout,
  .about-scope,
  .note-layout,
  .protocol-header,
  .lab-profile,
  .admission-grid,
  .application-section {
    grid-template-columns: 1fr;
  }

  .lab-profile,
  .admission-grid,
  .application-section {
    gap: 44px;
  }

  .publication-tools {
    grid-template-columns: 1fr 1fr;
  }

  .publication-tools .search-field {
    grid-column: 1 / -1;
  }

  .project-list-public article,
  .publication-table article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-list-public article > p,
  .publication-meta {
    grid-column: auto;
  }

  .project-list-public article > span {
    display: none;
  }

  .condition-list article {
    grid-template-columns: 36px 120px minmax(0, 1fr);
  }

  .join-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .admission-columns,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li + li {
    padding-left: 0;
    border-left: 0;
  }

  .scan-feature img {
    min-height: 320px;
  }

  .dataset-head {
    display: none;
  }

  .dataset-table article {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .audit-layout ol {
    grid-template-columns: 1fr;
  }

  .protocol-layout,
  .about-scope,
  .note-layout {
    gap: 40px;
  }

  .research-note aside {
    position: static;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
  }

  .research-note aside button {
    grid-column: 1 / -1;
  }

  .note-header h1 {
    font-size: 38px;
  }

  .note-content {
    font-size: 17px;
  }

  .source-list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .source-list a {
    text-align: left;
  }

  .template-download,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 18px;
  }

  .site-header nav {
    gap: 12px;
  }

  .research-hero h1 {
    font-size: 39px;
  }

  .hero-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .status-grid strong {
    font-size: 27px;
  }

  .research-board,
  .notes-preview,
  .tools-section,
  .dataset-section,
  .literature-workspace,
  .notes-workspace,
  .evidence-band {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .literature-tools {
    grid-template-columns: 1fr;
  }

  .direction-grid,
  .publication-tools,
  .form-row {
    grid-template-columns: 1fr;
  }

  .publication-tools .search-field {
    grid-column: auto;
  }

  .condition-list article {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .condition-list p {
    grid-column: 2;
  }

  .join-band h2,
  .lab-profile-main h2,
  .admission-grid h2,
  .application-section h2 {
    font-size: 29px;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-field {
    grid-column: auto;
  }

  .paper-main h3,
  .note-row h3 {
    font-size: 20px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid article {
    min-height: 0;
  }

  .tool-grid p {
    min-height: 0;
    margin-bottom: 24px;
  }

  .scan-feature figcaption {
    padding: 23px;
  }

  .protocol-section {
    padding: 62px 0 68px;
  }

  .protocol-intro h2 {
    font-size: 29px;
  }

  .note-header h1 {
    font-size: 34px;
  }

  .note-content table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
