

:root {
  --ink: #202124;
  --muted: #555b61;
  --faint: #777d82;
  --line: #cfd3d6;
  --line-soft: #e6e8e9;
  --accent: #2f6f73;
  --paper: #ffffff;
  --wash: #f7f8f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
ol,
dl,
dd {
  margin-top: 0;
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 96px;
  margin-inline: auto;
  grid-template-rows: 38px 58px;
  gap: 0;
}

.site-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-name {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-identity > span {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navigation-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: stretch;
  border-top: 1px solid var(--line-soft);
}

.navigation-row > strong {
  display: flex;
  align-items: center;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.result-tabs {
  align-self: stretch;
  justify-content: flex-end;
  gap: 0;
}

.result-tabs a {
  position: relative;
  display: grid;
  min-width: 126px;
  padding: 11px 12px 9px;
  align-content: center;
  color: var(--muted);
  line-height: 1.25;
  text-align: center;
}

.result-tabs a span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.result-tabs a small {
  margin-top: 3px;
  color: var(--faint);
  font-size: 10px;
}

.result-tabs a::after {
  position: absolute;
  right: 13px;
  bottom: -1px;
  left: 13px;
  height: 2px;
  background: transparent;
  content: "";
}

.result-tabs a[aria-current="location"]::after {
  background: var(--accent);
}

.result-tabs a[aria-current="location"] span,
.result-tabs a[aria-current="location"] small {
  color: var(--accent);
}

.result-tabs a,
.analysis-index a,
footer a {
  transition: color 150ms ease;
}

.result-tabs a:hover,
.result-tabs a:focus-visible,
.analysis-index a:hover,
.analysis-index a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--accent);
}

.document-head {
  padding-block: 76px 56px;
}

.title-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
}

.title-stack > * {
  margin: 0;
}

.document-label,
.section-label,
.figure-number {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  font-size: clamp(32px, 4.1vw, 44px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.subtitle {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.abstract {
  display: grid;
  grid-template-columns: 104px minmax(0, 760px);
  gap: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.abstract h2 {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.abstract p {
  margin-bottom: 0;
  color: #34383b;
  line-height: 1.85;
}

.dataset-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 42px 0 0;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dataset-line strong {
  margin-right: 20px;
  color: var(--ink);
}

.dataset-line span {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.definition-note {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.dataset-explorer {
  margin-top: 42px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.dataset-explorer-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 12px;
}

.dataset-explorer-heading h2,
.dataset-explorer-heading p {
  margin: 0;
}

.dataset-explorer-heading h2 {
  font-size: 14px;
  font-weight: 700;
}

.dataset-explorer-heading p {
  color: var(--faint);
  font-size: 12px;
}

.dataset-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dataset-tabs button {
  position: relative;
  display: flex;
  min-height: 72px;
  padding: 13px 18px 14px;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: inherit;
  cursor: pointer;
}

.dataset-tabs button:last-child {
  border-right: 0;
}

.dataset-tabs button::after {
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 3px;
  background: transparent;
  content: "";
}

.dataset-tabs button strong {
  color: var(--ink);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.dataset-tabs button span {
  font-size: 12px;
}

.dataset-tabs button:hover,
.dataset-tabs button:focus-visible,
.dataset-tabs button[aria-selected="true"] {
  color: var(--accent);
}

.dataset-tabs button[aria-selected="true"]::after {
  background: var(--accent);
}

.dataset-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 52px;
  min-height: 248px;
  padding: 28px 0 30px;
}

.dataset-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.dataset-panel-copy h3 {
  max-width: 680px;
  margin-bottom: 9px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.dataset-panel-copy > p:not(.dataset-answer-label) {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.dataset-answer-label,
.interactive-readout-label {
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dataset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.dataset-links a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.dataset-flow {
  display: flex;
  align-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 0 0 28px;
  border-left: 1px solid var(--line);
}

.dataset-flow > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.dataset-flow b {
  color: var(--line);
  font-size: 17px;
}

.cluster-composition {
  display: flex;
  width: 100%;
  height: 18px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cluster-composition a {
  min-width: 5px;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.9);
}

.ruled-section {
  padding-block: 70px;
  border-top: 1px solid var(--ink);
}

.narrow-copy {
  max-width: 780px;
}

.section-intro {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}

.section-intro > * {
  margin: 0;
}

.section-intro h2,
.figure-title-block h2 {
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.018em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-intro > p:last-child,
.figure-title-block > p:not(.figure-number):not(.result-sentence) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.analysis-index {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.analysis-index li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 22px;
  align-items: start;
  padding-block: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.analysis-number {
  padding-top: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.analysis-index h3 {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.analysis-index p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.analysis-index a {
  justify-self: end;
  padding-top: 3px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.scope-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.figure-section {
  scroll-margin-top: 116px;
  padding-block: 84px 20px;
  border-top: 2px solid var(--ink);
}

.figure-title-block {
  display: grid;
  gap: 16px;
  max-width: 800px;
  margin-bottom: 54px;
}

.figure-title-block > * {
  margin: 0;
}

.result-sentence {
  margin-top: 8px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: #303638;
  font-size: 14px;
  line-height: 1.75;
}

.panel-grid {
  display: grid;
  gap: 52px;
  align-items: stretch;
}

.panel-grid + .panel-grid,
.panel-grid + .panel,
.figure-section > .panel + .panel,
.figure-section > .panel + .panel-grid {
  margin-top: 54px;
}

.panel-grid-balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-grid-tall {
  grid-template-columns: 0.9fr 1.1fr;
}

.panel-grid-structure {
  grid-template-columns: 1fr;
}

.panel {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  margin-bottom: 0;
}

.panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  min-height: 56px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--line);
}

.panel-id {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.panel-heading h3 {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.panel-kind {
  padding-bottom: 1px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.panel-media {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 18px 8px 8px;
  overflow: hidden;
  background: var(--paper);
}

.panel-media--square {
  height: clamp(390px, 38vw, 470px);
}

.panel-media--portrait {
  height: clamp(570px, 52vw, 660px);
}

.panel-media--structure {
  height: clamp(600px, 58vw, 680px);
}

.panel-media--wide {
  height: clamp(250px, 28vw, 320px);
}

.panel-media--landscape {
  aspect-ratio: 16 / 9;
}

.panel-media--explorer {
  height: clamp(820px, 75vw, 900px);
  padding-inline: 0;
}

.panel-media--protein-umap {
  height: clamp(690px, 66vw, 760px);
  padding-inline: 0;
}

.panel-media--pathway {
  height: clamp(1060px, 98vw, 1160px);
  padding-inline: 0;
}

.panel {
  scroll-margin-top: 116px;
}

.panel--interactive .panel-media {
  background: #fbfcfb;
}

.interactive-umap,
.cluster-marker-explorer,
.protein-umap-explorer,
.protein-explorer,
.pathway-explorer {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--paper);
}

.interactive-umap {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.protein-explorer,
.pathway-explorer,
.protein-umap-explorer {
  display: flex;
  flex-direction: column;
}

.interactive-figure-toolbar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 10px 9px;
  border-bottom: 1px solid var(--line-soft);
}

.interactive-figure-toolbar output {
  color: var(--faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.figure-mode-tabs,
.protein-filter,
.pathway-set-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.figure-mode-tabs button,
.protein-filter button,
.pathway-set-tabs button,
.cluster-toggles button {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.figure-mode-tabs button[aria-selected="true"],
.protein-filter button[aria-pressed="true"],
.pathway-set-tabs button[aria-selected="true"],
.cluster-toggles button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
}

.figure-mode-tabs button:focus-visible,
.protein-filter button:focus-visible,
.pathway-set-tabs button:focus-visible,
.cluster-toggles button:focus-visible,
.protein-suggestions button:focus-visible,
.protein-search input:focus-visible,
.pathway-controls select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cluster-toggles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px 6px;
}

.cluster-toggles button {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  border-color: var(--line-soft);
  font-size: 10px;
}

.cluster-toggles button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cluster-toggles button[aria-pressed="false"] {
  opacity: 0.55;
}

.cluster-toggles button i,
.pathway-set-tabs button i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.cluster-toggles button small,
.pathway-set-tabs button small {
  color: var(--faint);
  font-size: 9px;
  font-weight: 400;
}

.cluster-toggles .show-all-clusters {
  border-color: transparent;
  color: var(--accent);
}

.umap-plot-wrap,
.protein-plot-wrap,
.pathway-plot-wrap,
.umap-original-view,
.explorer-original-view {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.umap-original-view,
.explorer-original-view {
  grid-row: 2 / -1;
  width: 100%;
  height: 100%;
}

.umap-plot,
.protein-effect-plot,
.pathway-plot {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}

.interactive-umap .umap-plot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
}

.interactive-umap .umap-plot-wrap {
  position: relative;
  min-height: clamp(330px, 32vw, 440px);
  margin-top: 18px;
}

.umap-gridline,
.protein-gridline,
.pathway-gridline {
  stroke: #e5e8e8;
  stroke-width: 1;
}

.umap-axis,
.pathway-axis {
  stroke: #313536;
  stroke-width: 1.2;
}

.umap-tick,
.protein-tick,
.pathway-tick {
  fill: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.umap-axis-label,
.protein-axis-label,
.pathway-axis-label {
  fill: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.umap-cluster-label {
  fill: #1a1a1a;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.umap-point,
.protein-point,
.pathway-row circle {
  cursor: crosshair;
  transition: r 100ms ease, fill-opacity 100ms ease;
}

.umap-point:hover,
.protein-point:hover,
.pathway-row circle:hover,
.pathway-row circle:focus-visible {
  fill-opacity: 1;
  outline: none;
}

.umap-point-readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  min-height: 52px;
  margin: 0;
  padding: 7px 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  line-height: 1.4;
}

.umap-point-readout strong {
  color: var(--ink);
}

.umap-point-readout span {
  color: var(--muted);
}

.umap-point-readout small {
  grid-column: 1 / -1;
  color: var(--faint);
  font-size: 9px;
}

.interactive-load-note {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

.protein-explorer-controls,
.pathway-controls {
  display: flex;
  min-height: 58px;
  padding: 9px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.protein-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(240px, 390px);
  align-items: center;
  gap: 9px;
  z-index: 4;
}

.protein-search label,
.pathway-controls > label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.protein-search input,
.pathway-controls select {
  height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
}

.protein-suggestions {
  position: absolute;
  top: 39px;
  right: 0;
  width: min(390px, 70vw);
  border: 1px solid var(--line);
  background: var(--paper);
}

.protein-suggestions button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.protein-suggestions button:hover {
  background: var(--wash);
}

.protein-suggestions button span {
  color: var(--faint);
  font-size: 10px;
}

.protein-zero-line {
  stroke: #777d82;
  stroke-width: 1.4;
}

.protein-readout,
.pathway-readout {
  display: grid;
  gap: 22px;
  min-height: 118px;
  padding: 14px 10px 4px;
  border-top: 1px solid var(--line);
}

.protein-readout {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
}

.protein-readout h4,
.pathway-readout h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.protein-readout p,
.pathway-readout p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.protein-readout dl,
.pathway-readout dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
}

.protein-readout dl div,
.pathway-readout dl div {
  min-width: 0;
}

.protein-readout dt,
.pathway-readout dt {
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.protein-readout dd,
.pathway-readout dd {
  margin: 1px 0 0;
  color: var(--ink);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.protein-readout-note {
  align-self: center;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.pathway-set-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: var(--line-soft);
}

.pathway-controls > label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pathway-controls select {
  min-width: 88px;
}

.pathway-term {
  fill: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.pathway-readout {
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 0.9fr) minmax(260px, 1.3fr);
}

.pathway-readout dl {
  grid-template-columns: 1fr;
}

.contributing-proteins {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.contributing-proteins strong {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contributing-proteins p {
  overflow-wrap: anywhere;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.pathway-interpretation-note {
  margin: 0;
  padding: 6px 10px 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.45;
}

.comparison-scope-note {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #f5f7f6;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.comparison-scope-note strong {
  color: var(--ink);
}

.protein-contrast-summary {
  display: grid;
  grid-template-columns: 170px 170px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 10px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background: #f5f7f6;
}

.protein-contrast-summary > div {
  display: grid;
  gap: 1px;
}

.protein-contrast-summary small,
.protein-contrast-summary span {
  color: var(--faint);
  font-size: 11px;
}

.protein-contrast-summary strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.protein-contrast-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Data-backed interaction layer */

.inline-interaction-note {
  margin: 0;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 10px;
  line-height: 1.45;
}

.umap-plot-wrap,
.protein-plot-wrap,
.pathway-plot-wrap,
.protein-umap-plot-wrap {
  position: relative;
}

.protein-explorer .protein-plot-wrap {
  flex: 1 1 430px;
}

.pathway-explorer .pathway-plot-wrap {
  flex: 1 1 390px;
}

.plot-tooltip {
  position: absolute;
  z-index: 8;
  display: grid;
  width: max-content;
  max-width: min(300px, 72vw);
  padding: 9px 11px;
  transform: translate(12px, calc(-100% - 10px));
  border: 1px solid #6f7778;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
  pointer-events: none;
}

.plot-tooltip strong {
  font-size: 12px;
}

.plot-tooltip span,
.plot-tooltip small {
  color: var(--muted);
}

.selected-protein-label line {
  stroke: var(--ink);
  stroke-width: 1;
}

.selected-protein-label text {
  fill: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.protein-pathway-memberships {
  align-self: center;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.protein-pathway-memberships strong,
.pathway-member-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.protein-readout:has(.protein-pathway-memberships) {
  grid-template-columns: minmax(190px, 0.65fr) minmax(360px, 1.35fr) minmax(190px, 0.8fr);
}

.cluster-protein-strip {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  min-height: 78px;
  padding: 9px 10px 3px;
  border-top: 1px solid var(--line);
}

.cluster-protein-strip p,
.cluster-protein-strip strong,
.cluster-protein-strip span {
  margin: 0;
}

.cluster-protein-strip > div:first-child > strong {
  margin-right: 8px;
  font-size: 16px;
}

.cluster-protein-strip > div:first-child > span {
  color: var(--faint);
  font-size: 9px;
}

.cluster-protein-strip > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.cluster-protein-strip button,
.cluster-mini-tabs button,
.locate-protein,
.show-more-proteins,
.show-all-members {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}

.cluster-protein-strip button {
  display: grid;
  padding: 6px;
  place-items: center;
}

.cluster-protein-strip button strong {
  font-size: 11px;
}

.cluster-protein-strip button small {
  color: var(--faint);
  font-size: 9px;
}

.cluster-protein-strip button:hover,
.cluster-protein-strip button:focus-visible,
.locate-protein:hover,
.locate-protein:focus-visible,
.show-more-proteins:hover,
.show-more-proteins:focus-visible,
.show-all-members:hover,
.show-all-members:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.protein-set-browser {
  scroll-margin-top: 116px;
}

.protein-set-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.protein-set-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(26px, 3vw, 30px);
  line-height: 1.35;
}

.protein-set-heading > div > p:last-child {
  margin: 0;
  color: var(--muted);
}

.interaction-key {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--faint);
  font-size: 10px;
}

.interaction-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.protein-set-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.protein-set-tabs button {
  position: relative;
  display: grid;
  min-height: 78px;
  padding: 11px 13px;
  align-content: center;
  gap: 3px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.protein-set-tabs button:last-child {
  border-right: 0;
}

.protein-set-tabs button::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  background: transparent;
  content: "";
}

.protein-set-tabs button span {
  font-size: 11px;
  font-weight: 700;
}

.protein-set-tabs button strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.protein-set-tabs button[aria-selected="true"]::after {
  background: var(--accent);
}

.protein-set-tabs button[aria-selected="true"] span,
.protein-set-tabs button[aria-selected="true"] strong {
  color: var(--accent);
}

.protein-set-context {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 0.7fr);
  gap: 22px;
  align-items: center;
  min-height: 94px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.protein-set-context p,
.protein-set-context strong {
  margin: 0;
}

.protein-set-context p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.protein-set-origin-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.protein-set-origin-grid article {
  min-height: 112px;
  padding: 15px 15px 15px 0;
  border-right: 1px solid var(--line-soft);
}

.protein-set-origin-grid article + article {
  padding-left: 15px;
}

.protein-set-origin-grid article:last-child {
  border-right: 0;
}

.protein-set-origin-grid strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
}

.protein-set-origin-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.protein-set-overlap {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.protein-set-overlap-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.protein-set-overlap-head strong {
  color: var(--ink);
  font-size: 12px;
}

.protein-set-overlap-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.protein-set-overlap-head button {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.overlap-row-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
}

.overlap-row-wrap button {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 46px;
  min-height: 42px;
  padding: 8px 10px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.overlap-row-wrap button:nth-child(even) {
  border-right: 0;
}

.overlap-row-wrap button:hover,
.overlap-row-wrap button:focus-visible,
.overlap-row-wrap button[aria-pressed="true"] {
  background: #f1f5f4;
  outline: none;
}

.overlap-row-wrap button > span:not(.overlap-combo) {
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overlap-row-wrap button strong {
  color: var(--ink);
  font-size: 15px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.overlap-combo {
  display: inline-grid;
  grid-template-columns: repeat(5, 10px);
  gap: 5px;
  align-items: end;
}

.overlap-combo i {
  display: block;
  width: 10px;
  height: 22px;
  border: 1px solid var(--line);
  background: #f7f8f8;
}

.overlap-combo i[data-active="true"] {
  border-color: var(--accent);
  background: var(--accent);
}

.cluster-mini-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cluster-mini-tabs button {
  display: inline-flex;
  min-height: 32px;
  padding: 5px 8px;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
}

.cluster-mini-tabs button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--accent);
}

.cluster-mini-tabs small {
  color: var(--faint);
  font-size: 8px;
  font-weight: 400;
}

.protein-set-search {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.protein-set-search input,
.pathway-search input {
  width: 100%;
  height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
}

.protein-set-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  min-height: 440px;
  border-bottom: 1px solid var(--ink);
}

.protein-member-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 24px 18px 0;
  border-right: 1px solid var(--line);
}

.protein-member-list-head,
.pathway-member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 10px;
}

.protein-member-list-head strong,
.pathway-member-head strong {
  color: var(--ink);
  font-size: 12px;
}

.protein-member-scroll {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  max-height: 336px;
  overflow-y: auto;
  border-top: 1px solid var(--line-soft);
}

.protein-member-scroll button {
  display: grid;
  min-width: 0;
  min-height: 72px;
  padding: 9px 11px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.protein-member-scroll button:nth-child(even) {
  border-right: 0;
}

.protein-member-scroll button:hover,
.protein-member-scroll button:focus-visible,
.protein-member-scroll button.is-selected {
  background: #f1f5f4;
  outline: none;
}

.protein-member-scroll button strong {
  font-size: 12px;
}

.protein-member-scroll button span,
.protein-member-scroll button small {
  overflow: hidden;
  color: var(--faint);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.show-more-proteins,
.show-all-members {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
}

.empty-result {
  color: var(--faint);
  font-size: 12px;
}

.protein-set-readout {
  padding: 20px 0 18px 28px;
}

.protein-set-readout h3,
.protein-set-readout p {
  margin: 0;
}

.protein-set-readout h3 {
  font-size: 22px;
}

.protein-set-readout > p:not(.interactive-readout-label):not(.protein-accession) {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.protein-readout-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.protein-readout-section strong {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.protein-readout-section p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.protein-accession {
  color: var(--faint);
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.protein-set-readout dl,
.pathway-protein-readout dl {
  display: grid;
  gap: 8px;
  margin: 17px 0;
}

.protein-set-readout dl.protein-readable-stats {
  gap: 10px;
  margin: 15px 0 13px;
}

.protein-set-readout dt,
.pathway-protein-readout dt {
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.protein-set-readout dd,
.pathway-protein-readout dd {
  margin: 1px 0 0;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.model-note {
  margin: 0 0 16px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.locate-protein {
  padding: 7px 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.cluster-marker-explorer {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
}

.marker-controls {
  display: flex;
  min-height: 48px;
  padding: 7px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.marker-controls label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.marker-controls select {
  height: 32px;
  margin-left: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 10px;
}

.marker-heatmap {
  display: flex;
  min-height: 0;
  padding: 8px 10px 0;
  flex-direction: column;
}

.marker-heatmap-head,
.marker-heatmap-row {
  display: grid;
  grid-template-columns: minmax(125px, 1.6fr) repeat(6, minmax(40px, 1fr));
  align-items: stretch;
}

.marker-heatmap-head {
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.marker-heatmap-head span {
  padding: 5px 3px;
}

.marker-heatmap-head span:first-child {
  text-align: left;
}

.marker-heatmap-rows {
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.marker-heatmap-row {
  width: 100%;
  min-height: 33px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}

.marker-heatmap-row:hover,
.marker-heatmap-row:focus-visible,
.marker-heatmap-row.is-selected {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.marker-gene {
  display: flex;
  padding: 5px 7px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
  text-align: left;
}

.marker-gene strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
}

.marker-gene small {
  color: var(--faint);
  font-size: 8px;
}

.heat-cell {
  display: grid;
  margin: 1px;
  place-items: center;
}

.heat-cell i {
  color: rgba(25, 28, 29, 0.72);
  font-size: 8px;
  font-style: normal;
}

.heat-legend {
  display: flex;
  min-height: 30px;
  padding: 5px 10px;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  color: var(--faint);
  font-size: 8px;
}

.heat-legend i {
  width: 17px;
  height: 8px;
}

.heat-legend b {
  margin-left: 5px;
  color: var(--muted);
  font-weight: 400;
}

.marker-readout {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(250px, 1.2fr) auto;
  gap: 18px;
  min-height: 104px;
  padding: 11px 10px 3px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.marker-readout h4,
.marker-readout p {
  margin: 0;
}

.marker-readout h4 {
  font-size: 15px;
}

.marker-readout > div > p:last-child {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.marker-readout dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 0;
}

.marker-readout dt,
.marker-readout dd {
  font-size: 9px;
}

.marker-readout dt {
  color: var(--faint);
  font-weight: 700;
}

.marker-readout dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.protein-umap-explorer {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--paper);
}

.protein-umap-controls {
  display: flex;
  min-height: 50px;
  padding: 8px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.protein-umap-controls > div {
  display: flex;
  gap: 4px;
}

.protein-umap-controls button {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.protein-umap-controls button[aria-selected="true"],
.protein-umap-controls button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
}

.protein-umap-plot-wrap {
  display: grid;
  min-height: 0;
  flex: 1 1 430px;
  place-items: center;
  overflow: hidden;
}

.protein-umap-plot {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}

.single-protein-cell {
  cursor: crosshair;
}

.protein-umap-readout {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(360px, 1.2fr) auto;
  gap: 22px;
  min-height: 122px;
  padding: 13px 10px 4px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.protein-umap-readout h4,
.protein-umap-readout p {
  margin: 0;
}

.protein-umap-readout h4 {
  font-size: 18px;
}

.protein-umap-readout p {
  color: var(--muted);
  font-size: 10px;
}

.protein-umap-readout dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 0;
}

.protein-umap-readout dt,
.protein-umap-readout dd {
  font-size: 9px;
}

.protein-umap-readout dt {
  color: var(--faint);
  font-weight: 700;
}

.protein-umap-readout dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.pathway-controls {
  flex-wrap: wrap;
  gap: 10px 16px;
}

.pathway-search {
  display: grid !important;
  grid-template-columns: auto minmax(180px, 260px);
}

.pathway-row {
  cursor: pointer;
}

.pathway-row:focus-visible {
  outline: none;
}

.pathway-row:hover .pathway-term,
.pathway-row:focus-visible .pathway-term,
.pathway-row.is-selected .pathway-term {
  fill: var(--accent);
  font-weight: 700;
}

.pathway-member-summary {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.pathway-member-browser {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  min-height: 250px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}

.pathway-member-list {
  min-width: 0;
  padding: 13px 18px 11px 10px;
  border-right: 1px solid var(--line);
}

.pathway-member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 180px;
  overflow-y: auto;
  border-top: 1px solid var(--line-soft);
}

.pathway-member-grid button {
  display: grid;
  min-width: 0;
  min-height: 48px;
  padding: 6px 8px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.pathway-member-grid button:nth-child(3n) {
  border-right: 0;
}

.pathway-member-grid button:hover,
.pathway-member-grid button:focus-visible,
.pathway-member-grid button.is-selected {
  background: #f1f5f4;
  outline: none;
}

.pathway-member-grid strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
}

.pathway-member-grid span {
  overflow: hidden;
  color: var(--faint);
  font-size: 8px;
  text-overflow: ellipsis;
}

.pathway-protein-readout {
  padding: 14px 10px 10px 20px;
}

.pathway-protein-readout h4,
.pathway-protein-readout p {
  margin: 0;
}

.pathway-protein-readout h4 {
  font-size: 16px;
}

.pathway-protein-readout > p:not(.interactive-readout-label):not(.protein-accession) {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.figure-open {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: inherit;
  font: inherit;
  cursor: zoom-in;
}

.figure-open img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.figure-open-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.025em;
}

.figure-open:hover .figure-open-hint,
.figure-open:focus-visible .figure-open-hint {
  border-color: var(--accent);
  color: var(--accent);
}

.figure-open:focus-visible,
.viewer-stage:focus-visible,
.viewer-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.figure-viewer {
  width: min(96vw, 1520px);
  height: min(94dvh, 1000px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #8c9397;
  border-radius: 0;
  background: #f4f5f4;
  color: var(--ink);
}

.figure-viewer::backdrop {
  background: rgba(16, 18, 19, 0.84);
}

.viewer-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.viewer-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.viewer-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.viewer-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.viewer-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.viewer-controls button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.viewer-controls button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.viewer-controls output {
  width: 54px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.viewer-stage {
  display: grid;
  min-height: 0;
  padding: 18px;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.viewer-stage.is-zoomed {
  cursor: grab;
}

.viewer-stage.is-zoomed:active {
  cursor: grabbing;
}

.viewer-image {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: calc(94dvh - 150px);
  object-fit: contain;
  transform-origin: center;
  will-change: transform;
}

.viewer-image.is-high-contrast {
  filter: contrast(1.2) saturate(1.04);
}

.viewer-help {
  margin: 0;
  padding: 8px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.panel figcaption {
  margin-top: 10px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.6;
}

.figure-caption {
  margin: 58px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.figure-caption strong {
  color: var(--ink);
}

.figure-caption sup {
  line-height: 0;
}

.methods {
  margin-top: 86px;
}

.methods-list {
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.methods-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.methods-list dt {
  font-size: 14px;
  font-weight: 700;
}

.methods-list dd {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
  color: var(--faint);
  font-size: 12px;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 0;
    grid-template-rows: 38px 58px;
  }

  .result-tabs {
    max-width: calc(100vw - 140px);
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .result-tabs a {
    min-width: 84px;
    padding-inline: 10px;
  }

  .panel-grid {
    gap: 36px;
  }

  .analysis-index li {
    grid-template-columns: minmax(0, 1fr) 168px;
  }

  .protein-set-context {
    grid-template-columns: minmax(260px, 1fr) minmax(250px, 0.8fr);
  }

  .protein-set-context .cluster-mini-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .protein-readout:has(.protein-pathway-memberships) {
    grid-template-columns: minmax(180px, 0.65fr) minmax(320px, 1.35fr);
  }

  .protein-pathway-memberships {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .header-inner {
    width: min(100% - 36px, 1120px);
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    display: grid;
    grid-template-rows: 38px 52px;
    padding: 0;
  }

  .site-name {
    display: block;
    margin-bottom: 0;
  }

  .site-identity > span,
  .navigation-row > strong {
    display: none;
  }

  .navigation-row {
    display: block;
  }

  .result-tabs {
    width: 100%;
    max-width: none;
    gap: 0;
    border-top: 1px solid var(--line-soft);
  }

  .result-tabs a {
    min-width: 88px;
    padding-block: 8px 6px;
  }

  .document-head {
    padding-block: 54px 42px;
  }

  h1 {
    font-size: clamp(29px, 8vw, 32px);
    line-height: 1.3;
  }

  .subtitle {
    margin: 0;
    font-size: 17px;
  }

  .abstract {
    display: block;
  }

  .abstract h2 {
    margin-bottom: 12px;
  }

  .dataset-explorer-heading {
    display: block;
  }

  .dataset-explorer-heading p {
    margin-top: 3px;
  }

  .dataset-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dataset-tabs button:nth-child(2) {
    border-right: 0;
  }

  .dataset-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .dataset-tabs button {
    min-height: 64px;
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .dataset-tabs button strong {
    font-size: 22px;
  }

  .dataset-panel {
    display: block;
    min-height: 0;
    padding-block: 24px;
  }

  .dataset-flow {
    margin-top: 20px;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .dataset-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .dataset-line strong,
  .dataset-line span {
    margin-right: 0;
    padding: 0;
    border-left: 0;
  }

  .ruled-section {
    padding-block: 54px;
  }

  .analysis-index li {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .analysis-index a {
    grid-column: 1;
    justify-self: start;
    padding-top: 4px;
  }

  .figure-section {
    scroll-margin-top: 104px;
    padding-block: 64px 12px;
  }

  .figure-title-block {
    margin-bottom: 42px;
  }

  .panel-grid-balanced,
  .panel-grid-tall,
  .panel-grid-structure {
    grid-template-columns: 1fr;
  }

  .panel-grid + .panel-grid,
  .panel-grid + .panel,
  .figure-section > .panel + .panel,
  .figure-section > .panel + .panel-grid {
    margin-top: 42px;
  }

  .panel-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
  }

  .panel-media--square,
  .panel-media--structure {
    height: min(88vw, 420px);
  }

  .panel--interactive .panel-media--structure {
    height: 760px;
  }

  .panel-media--portrait {
    height: min(128vw, 560px);
  }

  .panel-media--wide {
    height: min(48vw, 230px);
  }

  .panel-media--landscape {
    aspect-ratio: 16 / 9;
  }

  .panel-media--explorer {
    height: 1040px;
  }

  .panel-media--protein-umap {
    height: 860px;
  }

  .panel-media--pathway {
    height: 1380px;
  }

  .interactive-figure-toolbar,
  .protein-explorer-controls,
  .pathway-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .interactive-figure-toolbar output {
    padding-left: 2px;
  }

  .cluster-toggles {
    gap: 3px;
  }

  .cluster-toggles button {
    padding-inline: 6px;
  }

  .umap-point-readout {
    display: block;
  }

  .umap-point-readout strong,
  .umap-point-readout span,
  .umap-point-readout small {
    display: block;
    margin-bottom: 2px;
  }

  .protein-search {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .protein-search input {
    width: 100%;
  }

  .protein-suggestions {
    top: 62px;
    width: 100%;
  }

  .protein-filter,
  .pathway-set-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .protein-filter button,
  .pathway-set-tabs button {
    flex: 0 0 auto;
  }

  .protein-plot-wrap,
  .pathway-plot-wrap {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
  }

  .protein-effect-plot,
  .pathway-plot {
    width: 790px;
    max-width: none;
  }

  .protein-readout,
  .pathway-readout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .protein-readout:has(.protein-pathway-memberships),
  .protein-umap-readout,
  .marker-readout {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .protein-readout dl {
    grid-template-columns: 1fr;
  }

  .protein-readout-note,
  .contributing-proteins,
  .protein-pathway-memberships,
  .pathway-member-summary {
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .protein-set-heading,
  .protein-set-context,
  .protein-set-body,
  .pathway-member-browser {
    grid-template-columns: 1fr;
  }

  .protein-set-heading {
    gap: 14px;
  }

  .protein-set-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protein-set-tabs button {
    border-bottom: 1px solid var(--line-soft);
  }

  .protein-set-origin-grid,
  .overlap-row-wrap {
    grid-template-columns: 1fr;
  }

  .protein-set-origin-grid article,
  .protein-set-origin-grid article + article {
    min-height: 0;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .protein-set-origin-grid article:last-child {
    border-bottom: 0;
  }

  .protein-set-overlap-head {
    display: block;
  }

  .protein-set-overlap-head button {
    margin-top: 10px;
  }

  .overlap-row-wrap button,
  .overlap-row-wrap button:nth-child(even) {
    border-right: 0;
  }

  .protein-set-context .cluster-mini-tabs {
    grid-column: auto;
    grid-row: auto;
  }

  .protein-member-list {
    padding-right: 0;
    border-right: 0;
  }

  .protein-set-readout {
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .protein-umap-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .protein-umap-plot-wrap {
    min-height: 440px;
  }

  .pathway-member-list {
    padding-right: 10px;
    border-right: 0;
  }

  .pathway-protein-readout {
    padding-left: 10px;
    border-top: 1px solid var(--line);
  }

  .cluster-protein-strip {
    grid-template-columns: 1fr;
  }

  .marker-heatmap-head,
  .marker-heatmap-row {
    grid-template-columns: minmax(110px, 1.5fr) repeat(6, minmax(38px, 1fr));
  }

  .figure-viewer {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }

  .viewer-header {
    display: block;
    padding: 10px 14px;
  }

  .viewer-header h2 {
    margin-bottom: 8px;
  }

  .viewer-controls {
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .viewer-controls button,
  .viewer-controls output {
    flex: 0 0 auto;
  }

  .viewer-image {
    max-width: 96%;
    max-height: calc(100dvh - 184px);
  }

  .viewer-help {
    padding-inline: 12px;
    font-size: 11px;
  }

  .figure-caption {
    margin-top: 44px;
  }

  .methods {
    margin-top: 62px;
  }

  .methods-list > div {
    display: block;
  }

  .methods-list dt {
    margin-bottom: 5px;
  }
}

@media (max-width: 440px) {
  .panel-heading {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .panel-kind {
    white-space: normal;
  }

  .protein-member-scroll,
  .pathway-member-grid {
    grid-template-columns: 1fr;
  }

  .protein-member-scroll button,
  .pathway-member-grid button {
    border-right: 0;
  }

  .marker-heatmap {
    overflow-x: auto;
  }

  .marker-heatmap-head,
  .marker-heatmap-row {
    width: 530px;
  }

  .figure-open-hint {
    right: 4px;
    bottom: 4px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Narrative and interaction system */

:root {
  --font-sans: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-body: 16px;
  --text-figure: 16px;
}

body,
button,
input,
select,
textarea,
svg text {
  font-family: var(--font-sans);
}

section[id],
.dataset-explorer,
.panel,
.protein-set-browser {
  scroll-margin-top: 118px;
}

h1 {
  max-width: 1000px;
  font-size: clamp(36px, 4.1vw, 50px);
  line-height: 1.18;
  text-wrap: pretty;
  overflow-wrap: normal;
  line-break: strict;
}

.title-stack {
  max-width: 940px;
  gap: 16px;
  margin-bottom: 36px;
}

.subtitle {
  max-width: 900px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero-intro {
  max-width: 830px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  color: #34383b;
}

.hero-intro p {
  margin-bottom: 12px;
  line-height: 1.85;
}

.hero-intro p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

.question-path {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.question-path-heading > * {
  margin-bottom: 0;
}

.question-path-heading h2 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.45;
}

.question-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-path li + li {
  border-top: 1px solid var(--line-soft);
}

.question-path a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding-block: 15px;
  align-items: start;
}

.question-path a span {
  padding-top: 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.question-path a strong {
  font-size: 15px;
  line-height: 1.65;
}

.question-path a:hover strong,
.question-path a:focus-visible strong {
  color: var(--accent);
}

.case-introduction {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.case-introduction > div:first-child {
  max-width: 790px;
}

.case-introduction h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.35;
}

.case-introduction > div:first-child > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.label-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.label-definitions article {
  padding: 24px 28px 26px 0;
}

.label-definitions article + article {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.label-definitions h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.label-definitions p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.label-definitions .definition-kicker {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-definitions .definition-emphasis {
  color: var(--ink);
  font-weight: 700;
}

.label-definitions ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.label-definitions li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 700;
}

.label-definitions li span {
  color: var(--faint);
  font-weight: 400;
}

.dataset-explorer {
  margin-top: 54px;
}

.dataset-panel {
  min-height: 230px;
}

.dataset-group-counts {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.dataset-group-counts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 10px 12px;
  background: var(--paper);
}

.dataset-group-counts strong,
.dataset-group-counts span,
.dataset-group-counts small {
  margin: 0;
}

.dataset-group-counts strong,
.dataset-group-counts span {
  font-size: 12px;
}

.dataset-group-counts span {
  color: var(--muted);
}

.dataset-group-counts small {
  grid-column: 1 / -1;
  color: var(--faint);
  font-size: 10px;
}

.figure-section {
  padding-block: 92px 24px;
}

.figure-title-block {
  max-width: 850px;
  margin-bottom: 48px;
}

.figure-title-block h2 {
  font-size: clamp(28px, 3.2vw, 34px);
  line-height: 1.3;
  text-wrap: pretty;
  overflow-wrap: normal;
  line-break: strict;
}

.result-sentence {
  padding: 13px 0 13px 18px;
  font-size: 15px;
}

.panel-heading {
  grid-template-columns: 1fr;
  gap: 5px;
  min-height: 70px;
  align-content: end;
  align-items: start;
}

.panel-heading h3 {
  font-size: var(--text-figure);
  text-wrap: pretty;
  overflow-wrap: normal;
  line-break: strict;
}

.panel-kind {
  padding: 0;
  color: var(--faint);
  white-space: normal;
}

.panel-media--wide {
  height: clamp(340px, 34vw, 410px);
}

.panel--interactive .panel-media {
  overflow: visible;
}

.umap-color-mode {
  padding: 8px 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.group-composition-explorer {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 14px 18px 8px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  background: var(--paper);
}

.group-composition-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 11px;
}

.group-composition-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.group-composition-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.group-composition-rows {
  display: grid;
  align-content: center;
  gap: 16px;
}

.group-composition-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.group-composition-label {
  display: grid;
}

.group-composition-label strong {
  font-size: 13px;
}

.group-composition-label span {
  color: var(--faint);
  font-size: 11px;
}

.group-composition-bar {
  display: flex;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--wash);
}

.group-composition-bar button {
  display: grid;
  min-width: 3px;
  height: 100%;
  padding: 0;
  place-items: center;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
  color: #fff;
  cursor: pointer;
}

.group-composition-bar button:hover,
.group-composition-bar button:focus-visible,
.group-composition-bar button.is-selected {
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}

.group-composition-bar button span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.group-composition-bar button small {
  font-size: 10px;
}

.group-composition-readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}

.group-composition-readout p {
  grid-column: 1 / -1;
  margin: 0;
}

.group-composition-readout strong {
  font-size: 13px;
}

.group-composition-readout span {
  color: var(--muted);
  font-size: 12px;
}

.interactive-figure-toolbar output,
.cluster-toggles button,
.cluster-toggles button small,
.inline-interaction-note,
.umap-point-readout,
.umap-point-readout small,
.cluster-protein-strip > div:first-child > span,
.cluster-protein-strip button strong,
.cluster-protein-strip button small,
.marker-controls label,
.marker-controls select,
.marker-heatmap-head,
.marker-gene strong,
.marker-gene small,
.heat-cell i,
.heat-legend,
.marker-readout > div > p:last-child,
.marker-readout dt,
.marker-readout dd,
.protein-umap-controls button,
.protein-umap-readout p,
.protein-umap-readout dt,
.protein-umap-readout dd,
.pathway-interpretation-note {
  font-size: var(--text-xs);
}

.result-tabs {
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.result-tabs a {
  min-width: 112px;
  scroll-snap-align: center;
}

@media (max-width: 760px) {
  section[id],
  .dataset-explorer,
  .panel,
  .protein-set-browser {
    scroll-margin-top: 104px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.22;
  }

  .document-head {
    padding-block: 48px 38px;
  }

  .title-stack {
    margin-bottom: 28px;
  }

  .question-path {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 42px;
  }

  .question-path a {
    padding-block: 13px;
  }

  .case-introduction {
    margin-top: 54px;
  }

  .label-definitions {
    grid-template-columns: 1fr;
  }

  .label-definitions article,
  .label-definitions article + article {
    padding: 20px 0;
  }

  .label-definitions article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .label-definitions ul {
    grid-template-columns: 1fr;
  }

  .dataset-panel {
    min-height: 0;
  }

  .dataset-group-counts {
    grid-template-columns: 1fr;
  }

  .figure-section {
    padding-block: 66px 14px;
  }

  .panel-heading {
    min-height: auto;
    padding-bottom: 11px;
  }

  .panel-media--wide {
    height: 360px;
  }

  .group-composition-explorer {
    padding-inline: 4px;
  }

  .group-composition-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .group-composition-label {
    grid-template-columns: auto 1fr;
    gap: 9px;
    align-items: baseline;
  }

  .group-composition-bar {
    height: 34px;
  }

  .group-composition-readout {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .umap-color-mode {
    overflow-x: auto;
  }

  .umap-color-mode button {
    flex: 0 0 auto;
  }

  .result-tabs a {
    min-width: 92px;
  }
}

/* Final figure rhythm and legibility */

.section-intro h2 {
  text-wrap: pretty;
  overflow-wrap: normal;
  line-break: strict;
}

.panel-media--landscape {
  height: clamp(480px, 50vw, 560px);
  aspect-ratio: auto;
}

.panel-media--explorer,
.panel-media--protein-umap,
.panel-media--pathway {
  height: auto;
  min-height: 0;
}

.protein-explorer .protein-plot-wrap,
.pathway-explorer .pathway-plot-wrap,
.protein-umap-plot-wrap {
  flex: 0 0 520px;
}

.umap-tick,
.protein-tick,
.pathway-tick,
.pathway-term,
.protein-readout dt,
.protein-readout dd,
.pathway-readout dt,
.pathway-readout dd,
.contributing-proteins strong,
.contributing-proteins p,
.protein-pathway-memberships strong,
.cluster-mini-tabs button,
.cluster-mini-tabs small,
.protein-member-scroll button span,
.protein-member-scroll button small,
.protein-accession,
.pathway-protein-readout dt,
.pathway-protein-readout dd {
  font-size: 11px;
}

.protein-member-scroll button strong,
.protein-member-list-head,
.panel-kind,
.figure-open-hint {
  font-size: 12px;
}

@media (max-width: 760px) {
  .panel-media--explorer,
  .panel-media--protein-umap,
  .panel-media--pathway {
    height: auto;
  }

  .panel--interactive .panel-media--structure {
    height: 760px;
  }

  .panel-media--landscape {
    display: block;
    height: 400px;
    padding-inline: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
  }

  .panel-media--landscape .figure-open {
    width: 700px;
    min-width: 700px;
    height: 394px;
  }

  .protein-explorer .protein-plot-wrap,
  .pathway-explorer .pathway-plot-wrap,
  .protein-umap-plot-wrap {
    flex-basis: 520px;
  }

  .protein-contrast-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protein-contrast-summary p {
    grid-column: 1 / -1;
  }
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -20px 0 54px;
  padding: 1px;
  background: var(--line);
}

.result-metrics > div {
  min-height: 118px;
  padding: 20px 22px;
  background: var(--paper);
}

.result-metrics dt,
.result-metrics dd {
  margin: 0;
}

.result-metrics dt {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.result-metrics dd {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .result-metrics {
    grid-template-columns: 1fr;
    margin-top: -8px;
    margin-bottom: 42px;
  }

  .result-metrics > div {
    min-height: 0;
    padding: 16px 18px;
  }
}

/* Reading layout and interactive cell landscape. */
:root {
  --ink: #182638;
  --muted: #4e5b68;
  --faint: #626e7a;
  --line: #c7d0d9;
  --line-soft: #e2e7ec;
  --accent: #285c91;
  --wash: #f3f6f9;
  --text-xs: 0.875rem;
  --text-figure: 1.125rem;
}

html { scroll-padding-top: 100px; }
body { line-height: 1.75; }
button, input, select { font: inherit; }
button, select, summary, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid #417bbb; outline-offset: 4px; }
.page-shell, .header-inner { width: min(1280px, calc(100% - 72px)); }
.site-header { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-name { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.site-monogram { border: 1px solid var(--ink); padding: 2px 6px; font-size: 0.875rem; letter-spacing: 0.06em; }
.result-tabs { overflow-x: auto; min-width: 0; max-width: 100%; justify-content: flex-start; scrollbar-width: thin; }
.result-tabs a { min-width: auto; flex: 0 0 auto; padding: 20px 14px; }
.result-tabs a span { font-size: 0.875rem; font-weight: 500; }
.result-tabs a[aria-current="location"] span { color: var(--accent); font-weight: 700; }
.result-tabs a::after { bottom: 0; }
.document-head { padding-block: 34px 48px; }
.opening-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.document-label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 12px; color: var(--muted); }
.opening-heading h1 { font-size: clamp(1.875rem, 3.1vw, 2.625rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.3; margin: 0; }
.opening-scope { margin: 0; flex: 0 0 auto; font-size: 0.875rem; line-height: 1.9; color: var(--muted); font-variant-numeric: tabular-nums; }
.opening-note { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 18px; }
.opening-note p { margin: 0; font-size: 0.9375rem; color: var(--muted); max-width: 800px; }
.opening-note a { flex: 0 0 auto; color: var(--accent); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 5px; }
.figure-section { padding-block: 56px 42px; scroll-margin-top: 90px; border-top: 1px solid var(--ink); }
.figure-title-block { max-width: 960px; gap: 14px; margin-bottom: 30px; }
.figure-title-block .section-label, .section-intro .section-label { color: var(--accent); font-size: 0.875rem; letter-spacing: 0.025em; font-weight: 600; }
.figure-title-block h2, .section-intro h2 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); line-height: 1.5; letter-spacing: -0.015em; text-wrap: pretty; }
.figure-title-block > p:not(.section-label) { font-size: 1rem; }
.figure-title-block .result-sentence { margin: 0; padding: 0; border: 0; color: var(--ink); }
.panel-grid { gap: 30px; }
.panel-heading { min-height: 0; padding-bottom: 13px; }
.panel-heading h3 { font-weight: 600; font-size: 1.125rem; }
.panel-media { background: #fff; }
.panel-grid + .panel-grid, .panel-grid + .panel, .figure-section > .panel + .panel, .figure-section > .panel + .panel-grid { margin-top: 36px; }
.figure-caption, .panel figcaption { font-size: 1rem; line-height: 1.8; color: var(--muted); }
.result-metrics { margin-block: 18px 36px; background: transparent; }
.result-metrics > div { padding: 18px 22px 18px 0; background: transparent; }
.result-metrics dt { font-size: 1.625rem; font-weight: 500; color: var(--ink); }
.result-metrics dd { font-size: 0.875rem; line-height: 1.65; }
.data-detail { padding-bottom: 40px; }
.data-detail details, .supporting-results { border-block: 1px solid var(--line); }
.data-detail summary, .supporting-results summary { padding: 18px 0; cursor: pointer; color: var(--accent); font-size: 1rem; font-weight: 600; }
.data-detail .dataset-explorer { margin-top: 0; border-top: 0; }
.supporting-results { margin-block: 36px; }
.supporting-results[open] { padding-bottom: 28px; }
.supporting-results .panel { margin-top: 24px; }
.supporting-results .panel + .panel { margin-top: 36px; }
.methods { padding-block: 48px; }
.methods .section-intro { max-width: 900px; }
.methods-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.methods-list dd { font-size: 1rem; }
.statistical-detail { margin-block: 16px; padding-block: 10px; border-block: 1px solid var(--line); }
.statistical-detail summary { color: var(--accent); cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.statistical-detail p { font-size: 1rem; line-height: 1.75; margin-block: 12px 4px; }
.statistical-detail dl { margin-top: 12px; }
.protein-readout > .statistical-detail { grid-column: 1 / -1; }
.supporting-results > p { font-size: 1rem; max-width: 960px; }
.pathway-set-tabs, .protein-set-tabs { flex-wrap: wrap; }
.pathway-set-tabs button, .protein-set-tabs button, .protein-explorer-controls button { white-space: normal; line-height: 1.6; }
footer { background: var(--wash); }
.footer-inner { font-size: 0.875rem; }

/* Existing controls retain their behavior with readable labels. */
.interactive-figure-toolbar { flex-wrap: wrap; gap: 10px; }
.figure-mode-tabs button, .interactive-figure-toolbar output, .cluster-toggles button,
.cluster-toggles button small, .protein-explorer-controls, .protein-search,
.protein-search input, .protein-search select, .pathway-search input,
.pathway-set-tabs button, .protein-set-tabs button, .dataset-tabs button span,
.dataset-links a, .dataset-flow > span, .dataset-group-counts strong,
.dataset-group-counts span, .protein-browser input, .protein-browser select { font-size: 0.875rem; }
.figure-mode-tabs button, .cluster-toggles button, .pathway-set-tabs button, .protein-set-tabs button { min-height: 40px; }
.inline-interaction-note, .comparison-scope-note, .pathway-interpretation-note,
.dataset-panel-copy > p:not(.dataset-answer-label), .dataset-explorer-heading p,
.protein-readout p, .pathway-readout p, .protein-set-detail p { font-size: 1rem; line-height: 1.7; }
.interactive-readout-label, .dataset-answer-label, .interaction-key { font-size: 0.8125rem; letter-spacing: 0; }

.landscape { --scene-ink: #e6edf6; --scene-muted: #b7c6d8; color: var(--scene-ink); background: #102237; border: 1px solid #102237; }
.landscape-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; border-bottom: 1px solid #34465a; }
.landscape-toolbar > div:first-child { display: flex; align-items: baseline; gap: 18px; }
.landscape-toolbar h2 { font-size: 1.125rem; font-weight: 500; margin: 0; }
.landscape-toolbar span { font-size: 0.875rem; color: var(--scene-muted); }
.landscape-view { display: flex; border: 1px solid #62758a; }
.landscape button { cursor: pointer; border-radius: 0; font-size: 0.875rem; background: transparent; color: var(--scene-ink); border: 1px solid #62758a; min-height: 40px; padding: 6px 12px; }
.landscape button:hover { background: #263e58; }
.landscape button:disabled { opacity: 0.45; cursor: default; }
.landscape .landscape-view button { border: 0; min-width: 64px; }
.landscape-view button[aria-pressed="true"] { background: #e2eaf4; color: #102237; }
.landscape-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.landscape-chart { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.landscape-viewport { height: 480px; min-width: 0; position: relative; }
.landscape-viewport svg { display: block; touch-action: none; user-select: none; cursor: grab; overflow: hidden; }
.landscape-viewport svg:active { cursor: grabbing; }
.landscape-viewport svg:focus-visible { outline: 2px solid #93bcea; outline-offset: -4px; }
.landscape-viewport svg circle { cursor: pointer; }
.landscape-chart-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 24px 18px; gap: 20px; }
.landscape-chart-foot p { margin: 0; font-size: 0.8125rem; line-height: 1.7; color: var(--scene-muted); max-width: 400px; }
.landscape-chart-foot > div { display: flex; flex: 0 0 auto; gap: 6px; }
.landscape-inspector { padding: 22px; border-left: 1px solid #34465a; background: #152a40; }
.scene-select-label { display: block; margin-bottom: 6px; color: var(--scene-muted); font-size: 0.875rem; }
.landscape select { color-scheme: dark; width: 100%; max-width: 100%; padding: 8px; min-height: 42px; border: 1px solid #62758a; border-radius: 0; background: #102237; color: var(--scene-ink); font-size: 0.875rem; }
.scene-legend { display: grid; margin-block: 14px 18px; }
.scene-legend button { display: grid; grid-template-columns: 8px 1fr auto; gap: 12px; align-items: center; border: 0; border-bottom: 1px solid #34465a; text-align: left; padding: 6px 4px; }
.scene-legend button > span:last-child { font-variant-numeric: tabular-nums; color: var(--scene-muted); }
.scene-legend button[aria-pressed="true"] { background: #2a4562; outline: 1px solid #99b4d1; outline-offset: -1px; }
.scene-swatch { width: 7px; height: 7px; display: block; border-radius: 50%; }
.scene-legend .scene-clear { display: block; color: #bed9fa; text-align: center; }
.scene-summary { border-block: 1px solid #526478; padding: 14px 0; margin-bottom: 18px; }
.scene-summary > span { font-size: 0.8125rem; color: var(--scene-muted); }
.scene-summary > strong { display: block; margin-block: 3px; font-size: 1.75rem; font-weight: 400; line-height: 1.3; }
.scene-summary small { font-size: 0.875rem; }
.scene-summary p { margin: 5px 0 0; font-size: 0.8125rem; color: var(--scene-muted); }
.scene-summary b { font-weight: 500; color: var(--scene-ink); }
.scene-readout { min-height: 100px; margin-top: 16px; font-size: 0.875rem; }
.scene-readout > strong { font-weight: 500; font-size: 1rem; }
.scene-readout p { margin: 4px 0 8px; font-size: 0.875rem; color: var(--scene-muted); }
.scene-readout dl { margin: 0; }
.scene-readout dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.scene-readout dt { color: var(--scene-muted); font-weight: 400; }
.scene-readout dd { margin: 0; font-variant-numeric: tabular-nums; }
.scene-inspection { display: grid; grid-template-columns: 110px 215px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid #34465a; }
.scene-inspection .scene-select-label { margin: 0; }
.scene-inspection .scene-readout { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; min-height: 0; margin: 0; }
.scene-inspection .scene-readout p { margin: 0; }
.scene-inspection .scene-readout dl { display: flex; flex-wrap: wrap; gap: 12px; }
.scene-inspection .scene-readout dl > div { gap: 8px; }
.scene-definition { margin: 0; padding: 15px 24px; font-size: 0.875rem; color: var(--scene-muted); border-top: 1px solid #34465a; }
.landscape-status { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.landscape-status p { color: var(--scene-muted); }

@media (min-width: 1500px) { .landscape-viewport { height: 520px; } }
@media (max-width: 1080px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; }
  .result-tabs a { padding-block: 14px; }
  .site-name { padding-bottom: 6px; }
  .landscape-body { grid-template-columns: minmax(0, 1fr) 232px; }
  .landscape-inspector { padding: 18px; }
  .landscape-chart-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 760px) {
  .page-shell, .header-inner { width: calc(100% - 32px); }
  .document-head { padding-block: 24px 36px; }
  .opening-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .opening-heading h1 { font-size: 1.875rem; }
  .opening-scope { font-size: 0.875rem; }
  .opening-scope br { display: none; }
  .opening-note { flex-direction: column; gap: 10px; }
  .landscape-body { grid-template-columns: 1fr; }
  .landscape-toolbar { padding: 14px; gap: 12px; }
  .landscape-toolbar > div:first-child { flex-direction: column; align-items: flex-start; gap: 2px; }
  .landscape-toolbar span { font-size: 0.8125rem; }
  .landscape .landscape-view button { min-width: 52px; }
  .landscape-viewport { height: 420px; }
  .landscape-chart-foot { padding: 0 16px 16px; }
  .landscape-inspector { border-left: 0; border-top: 1px solid #34465a; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 18px; }
  .scene-select-label { grid-column: 1 / -1; margin: 0; }
  .landscape select { grid-column: 1 / -1; }
  .scene-legend { margin: 0; }
  .scene-summary { align-self: start; margin: 0; padding-top: 8px; }
  .scene-readout { grid-column: 1 / -1; min-height: 0; margin-top: 0; }
  .scene-readout dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .scene-readout dl > div { flex-direction: column; gap: 0; }
  .scene-inspection { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 16px; }
  .scene-inspection .scene-readout { margin-top: 4px; }
  .scene-definition { padding: 14px 16px; }
  .figure-section { padding-block: 36px 26px; scroll-margin-top: 120px; }
  .figure-title-block { margin-bottom: 24px; }
  .panel-grid-balanced, .panel-grid-tall { grid-template-columns: 1fr; }
  .methods-list { grid-template-columns: 1fr; }
  .result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-metrics > div { padding: 12px; }
  .result-metrics dt { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Spatial data on an open, light reading surface. */
body { background: #fff; }
.site-header { background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid #e2e7ec; }
.document-head { width: min(1480px, calc(100% - 64px)); padding-block: 36px 66px; }
.opening-heading h1 { font-weight: 600; font-size: clamp(2rem, 3vw, 2.75rem); }
.landscape { --scene-ink: #263c50; --scene-muted: #5f7386; border: 1px solid #dee6ed; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 16px 48px #1b365010; }
.landscape-toolbar { border-bottom-color: #e4ebf1; padding: 18px 24px; }
.landscape-body { grid-template-columns: minmax(0, 1fr) 224px; }
.landscape-viewport { height: 590px; }
.landscape-inspector { background: #f8fafc; border-color: #e4ebf1; }
.landscape button { border-color: #d0dbe5; border-radius: 5px; }
.landscape button:hover { background: #eaf1f7; }
.landscape-view { border-color: #d4dfe9; border-radius: 6px; overflow: hidden; padding: 3px; gap: 3px; }
.landscape-view button[aria-pressed="true"] { background: #263f58; color: #fff; }
.landscape select { color-scheme: light; background: #fff; border-color: #d4dfe9; border-radius: 5px; }
.scene-legend button { border: 0; border-radius: 4px; padding: 7px 6px; }
.scene-legend button[aria-pressed="true"] { background: #e8eff6; outline: 0; }
.scene-legend button > span:last-child, .scene-legend .scene-clear { color: #5f7386; }
.scene-summary, .scene-inspection, .scene-definition { border-color: #e4ebf1; }
.scene-summary { padding-block: 16px; }
.scene-definition { background: #fafcfd; line-height: 1.8; }
.scientific-scene { min-width: 0; background: linear-gradient(160deg, #fff 20%, #f1f5f9); color: #263c50; }
.scientific-canvas { height: 550px; position: relative; outline-offset: -4px; isolation: isolate; }
.scientific-canvas canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.scientific-canvas canvas:active { cursor: grabbing; }
.scientific-canvas:focus-visible { outline: 2px solid #6486a6; }
.scene-primary { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.scene-primary .scientific-canvas { height: 100%; min-height: 0; }
.scene-axis-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.scene-axis-labels span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; line-height: 1.4; color: #647789; padding: 1px 3px; background: #f8fafbcc; }
.scene-axis-tick { font-size: 0.8125rem; }
.scene-axis-labels .scene-axis-name { font-size: 0.875rem; font-weight: 500; color: #324d66; max-width: 180px; white-space: normal; text-align: center; }
.scene-orbit-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 20px; border-top: 1px solid #e2e9f0; background: #ffffffa8; }
.scene-orbit-controls > span { font-size: 0.875rem; color: #6a7c8e; }
.scene-orbit-controls > div { display: flex; gap: 5px; }
.scene-orbit-controls button { color: #45607a; background: #fff; border: 1px solid #d7e1eb; border-radius: 5px; padding: 6px 11px; min-height: 36px; font-size: 0.875rem; cursor: pointer; }
.scene-orbit-controls button:hover { background: #edf3f8; }
.scene-orbit-controls button[aria-pressed="true"] { color: #fff; background: #344f6b; border-color: #344f6b; }
.scene-hover-label { position: absolute; z-index: 2; left: 18px; top: 18px; max-width: calc(100% - 36px); padding: 9px 12px; border: 1px solid #d7e2ec; border-radius: 5px; background: #fffffff2; box-shadow: 0 4px 18px #2c486212; font-size: 0.875rem; pointer-events: none; color: #30465d; }
.scene-runtime-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #697f94; }
.figure-section, .methods { margin-bottom: 28px; padding-block: 50px 40px; background: #fff; border: 0; border-top: 1px solid #d5dee7; box-shadow: none; }
.figure-title-block { max-width: 1040px; }
.figure-title-block .section-label { font-size: 0.875rem; color: #466b8e; }
.spatial-reading .figure-title-block, .spatial-reading .methods .section-intro { transform: translateY(12px); transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.spatial-reading .spatial-arrived .figure-title-block, .spatial-reading .spatial-arrived .section-intro { transform: translateY(0); }
.panel-grid-structure { grid-template-columns: 1fr; }
.panel-media { border: 1px solid #e0e7ee; border-radius: 9px; box-shadow: none; }
.panel-media--structure { min-height: 0; }
.panel-media:has(.scientific-scene) { overflow: hidden; aspect-ratio: auto; height: auto; }
.protein-umap-controls [hidden] { display: none !important; }
.data-detail { padding-bottom: 36px; }
.guided-observation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 18px 20px; background: #f4f8fb; border-bottom: 1px solid #e0e8f0; }
.guided-observation > span { font-size: 0.875rem; color: #54738e; margin-right: 8px; }
.guided-observation button { border: 1px solid #cbdce9; border-radius: 5px; padding: 10px 14px; min-height: 44px; color: #324f68; background: #fff; cursor: pointer; font: inherit; font-size: 0.875rem; }
.guided-observation button:hover { border-color: #6486a5; background: #eaf2f8; }
.guided-observation strong { margin-right: 8px; font-weight: 600; }
.data-scene-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 20px; align-items: center; }
.data-scene-legend > span, .data-scene-legend button { display: inline-flex; gap: 8px; align-items: center; font-size: 0.875rem; color: #40596e; }
.data-scene-legend i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; }
.data-scene-legend button { border: 1px solid #dbe4ed; border-radius: 5px; background: #fff; padding: 7px 10px; min-height: 38px; cursor: pointer; }
.data-scene-legend button[aria-pressed="true"] { background: #eaf1f7; border-color: #6485a3; }
.data-scene-legend small { font-size: 0.8125rem; color: #6b7f91; }
.pc1-explorer { width: 100%; }
.pc1-controls, .pc1-readout { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 16px 20px; }
.pc1-controls label, .pc1-readout label { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; }
.pc1-controls select, .pc1-readout select { max-width: 100%; min-height: 40px; background: #fff; border: 1px solid #d3dfe9; border-radius: 5px; padding: 7px 10px; color: #344e65; font: inherit; }
.pc1-controls > span { font-size: 0.875rem; color: #637b8f; }
.pc1-readout { border-top: 1px solid #e0e8ef; }
.pc1-readout p { font-size: 0.875rem; margin: 0; line-height: 1.9; }
.pc1-flat-plot { width: 100%; height: auto; display: block; max-height: 620px; }
.pc1-flat-plot text { font-size: 14px; fill: #5d7488; }
.pc1-flat-plot circle { cursor: pointer; }
.panel-media:has(.pc1-explorer) { height: auto; aspect-ratio: auto; overflow: hidden; }
.pathway-explorer .pathway-plot-wrap { max-height: 620px; overflow: auto; }
.pathway-explorer .pathway-plot { height: auto; max-height: none; }
@media (max-width: 900px) {
  .document-head { width: calc(100% - 32px); }
  .landscape-body { grid-template-columns: 1fr; }
  .landscape-inspector { border-left: 0; border-top: 1px solid #e2e9f0; }
  .landscape-viewport { height: 550px; }
  .scientific-canvas { height: 480px; }
}
@media (max-width: 600px) {
  .document-head { padding-block: 24px 40px; }
  .landscape-toolbar { padding-inline: 16px; }
  .landscape-viewport { height: 480px; }
  .scientific-canvas { height: 440px; }
  .scene-orbit-controls { flex-direction: column; align-items: flex-start; padding: 12px; }
  .scene-orbit-controls button { min-height: 38px; }
  .figure-section, .methods { margin-bottom: 20px; padding-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .spatial-reading .figure-title-block, .spatial-reading .methods .section-intro { transform: none; transition: none; }
}
