:root {
  --paper: #fbfcfb;
  --paper-soft: #f4f8f7;
  --ink: #092f29;
  --text: #18302d;
  --muted: #60716d;
  --faint: #edf2f1;
  --line: #cfddda;
  --line-strong: #9fb8b3;
  --green: #005b49;
  --green-2: #0a7a62;
  --coral: #ec635c;
  --coral-soft: #ffe8e4;
  --blue: #2b6fb3;
  --blue-soft: #e8f1fb;
  --shadow: 0 18px 70px rgba(16, 50, 45, 0.1);
  --radius: 8px;
  --serif: "Times New Roman", Times, serif;
  --sans: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(232, 241, 251, 0.45), rgba(251, 252, 251, 0) 440px),
    var(--paper);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(9, 47, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 47, 41, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

a {
  color: var(--green);
}

section[id] {
  scroll-margin-top: 92px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, auto) 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 50px;
  padding: 4px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 251, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.brand-mark::before {
  width: 22px;
  height: 30px;
  border-left: 3px solid var(--green);
  border-right: 3px solid var(--green);
  transform: rotate(28deg);
}

.brand-mark::after {
  width: 21px;
  height: 3px;
  background: var(--coral);
  box-shadow: 0 8px 0 var(--coral), 0 16px 0 var(--coral);
  transform: rotate(-28deg);
}

.brand strong,
.brand-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  padding: 8px 10px;
  border-bottom: 3px solid transparent;
  color: #152421;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.safe-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 7px 10px;
  color: #354843;
  font-size: 0.84rem;
  font-weight: 500;
}

.section-band {
  width: 100%;
  margin: 0;
  padding: 56px 24px;
  border-bottom: 1px solid var(--line);
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.section-band.in-view,
.reveal.in-view {
  opacity: 1;
  transform: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(560px, 1.2fr);
  gap: 42px;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
}

.hero-copy,
.hero-atlas {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(4.3rem, 9vw, 8.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 28px 0;
  color: #223a37;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 560px;
  margin-bottom: 28px;
  color: #c43631;
  font-weight: 800;
}

.notice span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font-size: 1.25rem;
}

.hero-actions,
.external-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.external-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), #003e33);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 91, 73, 0.2);
}

.button.secondary,
.external-actions a {
  background: #fff;
  color: var(--green);
}

.button:hover,
.external-actions a:hover {
  transform: translateY(-1px);
}

.hero-atlas {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.atlas-title h2,
.section-heading h2,
.overview-strip h2,
.panel-head h3,
.definition-panel h3,
.workflow-detail h3,
.protein-facts dd,
.glossary-section summary strong,
.contact-section h3 {
  color: var(--ink);
  font-family: var(--serif);
  letter-spacing: 0;
}

.atlas-title h2 {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

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

.atlas-grid article {
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.atlas-grid h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
}

.atlas-grid p,
.section-heading p,
.overview-strip p,
.definition-panel p,
.workflow-detail p,
.matrix-card p,
.structure-card p,
.mutation-card p,
.form-note {
  color: var(--muted);
  line-height: 1.62;
}

.mini-heatmap {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  min-height: 86px;
  margin-bottom: 16px;
}

.mini-heatmap::before {
  display: contents;
  content: "";
}

.mini-heatmap {
  background:
    linear-gradient(90deg, rgba(236, 99, 92, 0.7) 0 48%, rgba(43, 111, 179, 0.35) 48% 100%);
  background-size: 20px 20px;
  border: 1px solid var(--line);
}

.mini-bars {
  display: flex;
  gap: 5px;
  align-items: end;
  height: 86px;
  margin-bottom: 16px;
  padding: 10px;
  border-bottom: 2px solid var(--line);
}

.mini-bars i {
  display: block;
  width: 13px;
  height: var(--h);
  background: var(--green);
}

.mini-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.mini-matrix span {
  display: grid;
  place-items: center;
  min-height: 43px;
  border: 1px solid var(--line);
  background: #e5f2ef;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.mini-protein {
  position: relative;
  height: 96px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 38%, rgba(236, 99, 92, 0.9) 0 6px, transparent 7px),
    radial-gradient(circle at 45% 65%, rgba(10, 122, 98, 0.65) 0 8px, transparent 9px),
    repeating-radial-gradient(ellipse at center, transparent 0 9px, rgba(43, 111, 179, 0.23) 10px 12px);
}

.overview-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
}

.overview-strip h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stat-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.stat-rail article {
  min-height: 140px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.stat-rail span,
.stat-rail small,
.metric-label,
.micro-heading,
label span,
.panel-head span,
.workflow-detail span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-rail strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.data-layout,
.protein-layout,
.glossary-layout,
.contact-layout {
  display: grid;
  gap: 24px;
}

.data-layout {
  grid-template-columns: 280px minmax(280px, 0.7fr) minmax(360px, 1fr);
}

.choice-stack,
.category-list,
.gene-tabs,
.source-filters {
  display: grid;
  gap: 10px;
}

.choice-stack button,
.category-list button,
.source-filters button,
.gene-tabs button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.choice-stack button {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.choice-stack button span {
  color: var(--ink);
  font-weight: 900;
}

.choice-stack button small {
  color: var(--muted);
  line-height: 1.45;
}

.choice-stack button.active,
.category-list button.active,
.source-filters button.active,
.gene-tabs button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.choice-stack button.active span,
.choice-stack button.active small {
  color: #fff;
}

.definition-panel,
.chart-panel,
.workflow-detail,
.matrix-card,
.features-card,
.structure-card,
.mutation-card,
.safety-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.definition-panel dl,
.protein-facts {
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}

.definition-panel dl div,
.protein-facts div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

dd {
  margin: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.panel-head h3 {
  margin: 0;
  font-size: 1.4rem;
}

.sample-bars {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.sample-bars.trend-chart {
  display: block;
  margin-top: 20px;
}

.trend-chart svg {
  display: block;
  width: 100%;
  min-height: 270px;
}

.trend-chart .grid-lines path {
  fill: none;
  stroke: rgba(96, 113, 109, 0.22);
  stroke-dasharray: 4 5;
}

.trend-chart .area {
  stroke: none;
}

.trend-chart .tumor-area {
  fill: url("#tumorFill");
}

.trend-chart .normal-area {
  fill: url("#normalFill");
}

.trend-chart .line {
  fill: none;
  stroke-width: 2.4;
}

.trend-chart .tumor-line {
  stroke: var(--coral);
}

.trend-chart .normal-line {
  stroke: var(--blue);
}

.trend-chart text {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sample-row {
  display: grid;
  grid-template-columns: 76px 1fr 80px;
  gap: 14px;
  align-items: center;
}

.sample-row div {
  height: 30px;
  border: 1px solid var(--line);
  background: var(--faint);
}

.sample-row i {
  display: block;
  height: 100%;
}

.sample-row .tumor {
  background: linear-gradient(90deg, var(--coral), rgba(236, 99, 92, 0.38));
}

.sample-row .normal {
  background: linear-gradient(90deg, var(--blue), rgba(43, 111, 179, 0.28));
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.workflow-line::before {
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line-strong);
  content: "";
}

.workflow-line button {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.workflow-line button span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-weight: 900;
}

.workflow-line button.active span {
  background: var(--green);
  color: #fff;
}

.workflow-line strong {
  color: var(--ink);
}

.workflow-line small {
  color: var(--muted);
  line-height: 1.45;
}

.workflow-detail {
  max-width: 740px;
  margin-top: 28px;
}

.model-hero-grid,
.model-process-grid,
.model-limits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.model-hero-copy {
  margin-bottom: 0;
}

.model-hero-copy h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  font-weight: 700;
}

.model-hero-copy p,
.model-process-card p,
.compact-heading p,
.model-card-head p,
.model-card-section p,
.model-score-warning {
  color: var(--muted);
  line-height: 1.62;
}

.model-notice,
.model-process-card,
.model-card-full,
.limitation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.model-notice {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border-left: 4px solid var(--coral);
  background:
    linear-gradient(135deg, rgba(255, 232, 228, 0.74), rgba(255, 255, 255, 0.9)),
    #fff;
}

.model-notice span,
.model-card-head span,
.model-sample-grid span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-notice p {
  margin: 0;
  color: #6d2a26;
  line-height: 1.55;
}

.model-process-card {
  padding: 22px;
}

.model-process-card h2,
.compact-heading h2,
.limitation-card h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.12;
}

.model-process-card.compact h2,
.limitation-card h2 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 900;
}

.model-process-card dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.model-process-card dl div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.compact-heading {
  max-width: 860px;
  margin-bottom: 18px;
}

.section-title-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.section-title-row h2 {
  margin-right: auto;
}

.source-code-link {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green);
  text-decoration: none;
  font-size: 0.86rem;
}

.source-code-link:hover,
.source-code-link:focus-visible {
  border-color: var(--green);
  background: var(--paper-soft);
}

.model-sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.model-sample-grid article {
  min-height: 142px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.model-sample-grid strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1;
}

.model-sample-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.model-score-warning {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  color: #6d2a26;
}

.model-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.model-card-full {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.model-card-head h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
  line-height: 1.15;
}

.model-parameter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}

.model-parameter-list div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.model-parameter-list dt {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.74rem;
}

.model-parameter-list dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88rem;
}

.model-metrics-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.model-metrics-list div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.model-metrics-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.model-metrics-list strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.model-card-section {
  display: grid;
  gap: 10px;
}

.model-card-section h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 92px repeat(2, 1fr);
  border: 1px solid var(--line);
}

.matrix-grid > * {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  text-align: center;
}

.matrix-grid strong {
  background: #e3f3ef;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.model-matrix {
  grid-template-columns: 82px repeat(2, minmax(0, 1fr));
  font-size: 0.76rem;
}

.model-matrix > * {
  min-height: 44px;
  padding: 4px;
}

.model-matrix strong {
  font-size: 1.35rem;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list article {
  display: grid;
  grid-template-columns: minmax(100px, 150px) minmax(120px, 1fr) 60px;
  gap: 12px;
  align-items: center;
}

.feature-list strong {
  display: block;
  color: var(--ink);
}

.feature-list span {
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-bar {
  height: 18px;
  background: var(--faint);
}

.feature-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-2));
}

.model-feature-list article {
  grid-template-columns: minmax(84px, 0.72fr) minmax(92px, 1fr) 46px;
  font-size: 0.88rem;
}

.model-feature-list small {
  color: var(--muted);
}

.model-limits-grid {
  margin-top: 18px;
}

.limitation-card {
  padding: 18px;
}

.limitation-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.protein-layout {
  grid-template-columns: 300px minmax(320px, 1fr) minmax(320px, 1fr);
}

.gene-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.gene-tabs button,
.source-filters button,
.category-list button {
  padding: 12px 14px;
  font-weight: 900;
}

.external-actions {
  margin-top: 18px;
}

.structure-card,
.mutation-card {
  min-height: 470px;
}

.protein-visual {
  position: relative;
  min-height: 270px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 58% 45%, rgba(236, 99, 92, 0.34) 0 16px, transparent 17px),
    linear-gradient(135deg, #fff, var(--blue-soft));
}

.ribbon {
  position: absolute;
  display: block;
  border: 14px solid rgba(43, 111, 179, 0.28);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
}

.r1 {
  width: 180px;
  height: 140px;
  top: 52px;
  left: 76px;
  transform: rotate(-24deg);
}

.r2 {
  width: 150px;
  height: 110px;
  top: 118px;
  left: 170px;
  transform: rotate(38deg);
}

.r3 {
  width: 130px;
  height: 90px;
  top: 46px;
  left: 220px;
  border-color: rgba(10, 122, 98, 0.24);
  border-left-color: transparent;
  border-right-color: transparent;
}

.protein-visual b {
  position: absolute;
  top: 96px;
  right: 52px;
  padding: 7px 10px;
  border: 1px solid var(--coral);
  border-radius: var(--radius);
  background: #fff;
  color: #d53a34;
}

.mutation-track {
  position: relative;
  height: 190px;
  margin: 38px 0 28px;
  border-bottom: 16px solid #e3ebea;
}

.mutation-track::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 16px;
  background: linear-gradient(90deg, rgba(43, 111, 179, 0.15) 0 78%, rgba(10, 122, 98, 0.18) 78%);
  content: "";
}

.mutation-track span {
  position: absolute;
  bottom: -8px;
  display: block;
  width: 2px;
  height: calc(96px + var(--marker-tier, 0) * 28px);
  transform: translateX(-50%);
}

.mutation-track i {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 2px;
  height: 100%;
  background: var(--coral);
}

.mutation-track b {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  color: #d53a34;
  font-size: 0.86rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.mutation-card ul,
.safety-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.table-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 220px;
  gap: 16px;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(10, 122, 98, 0.22);
  outline-offset: 2px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: #203834;
  line-height: 1.45;
}

code {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}

.tag {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(0, 91, 73, 0.28);
  border-radius: 6px;
  background: #edf8f5;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.tag.cool {
  border-color: rgba(43, 111, 179, 0.26);
  background: var(--blue-soft);
  color: #214f7e;
}

.glossary-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}

.category-list {
  margin-top: 16px;
}

.category-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  border-radius: 999px;
  background: var(--faint);
  color: var(--ink);
  font-size: 0.8rem;
}

.category-list button.active strong {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.accordion-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

details {
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  display: grid;
  grid-template-columns: minmax(170px, 0.5fr) 170px;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
}

summary strong {
  font-size: 1.35rem;
}

summary span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: capitalize;
}

summary span b {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

details div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 22px 20px;
  color: var(--muted);
}

.source-filters {
  grid-template-columns: repeat(5, max-content);
  margin-bottom: 18px;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .full,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.safety-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.about-project-card h2,
.about-profile-card h2 {
  margin-top: 0;
}

.about-project-card p,
.about-profile-card p {
  color: var(--muted);
  line-height: 1.75;
}

.about-contact-list {
  display: grid;
  gap: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 26px;
  color: var(--muted);
  font-size: 0.86rem;
}

.load-error {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 18px;
  background: var(--coral-soft);
  color: #6d2a26;
  font-weight: 800;
}

.empty {
  margin: 0;
  color: var(--muted);
}

.focus-hidden {
  display: none !important;
}

.screen-page {
  width: 100%;
  margin: 0;
}

.screen-page .section-band {
  width: 100%;
}

.page-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.nav a.active {
  border-color: var(--green);
  color: var(--green);
}

.project-header {
  grid-template-columns: minmax(230px, auto) 1fr;
  min-height: 48px;
  padding: 4px 26px;
  background: rgba(253, 254, 254, 0.94);
}

.project-header .brand {
  gap: 16px;
}

.project-header .brand-mark {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: url("/assets/logo1-transparent-cropped.png") center / contain no-repeat;
}

.project-header .brand-mark::before,
.project-header .brand-mark::after,
.project-header .brand-mark span {
  display: none;
}

.project-header .brand-title {
  font-size: 18px;
  font-weight: 400;
}

.project-header .nav {
  gap: 26px;
}

.project-header .nav a {
  padding: 12px 7px 10px;
  color: #071815;
  font-size: 14px;
  font-weight: 400;
}

.project-header .nav a.active {
  color: var(--ink);
  font-weight: 500;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-coad strong b,
.brand-stacked strong {
  font-family: var(--serif);
  font-size: 2.05rem;
  letter-spacing: 0.02em;
}

.brand-stacked {
  align-items: center;
}

.brand-stacked strong,
.brand-stacked small {
  line-height: 0.95;
}

.brand-stacked small {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.compact-header,
.biology-header,
.resources-header {
  min-height: 72px;
}

.compact-header .nav,
.resources-header .nav {
  gap: 18px;
}

.biology-header {
  grid-template-columns: minmax(250px, auto) 1fr auto;
}

.icon-nav {
  gap: 28px;
}

.icon-nav a {
  position: relative;
  padding-top: 18px;
}

.icon-nav a::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 1.8px solid currentColor;
  border-radius: 5px;
  content: "";
  transform: translateX(-50%);
  opacity: 0.75;
}

.atlas-button {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
}

.stacked-safe span:last-child {
  display: grid;
}

.stacked-safe small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.brand-cluster::after {
  width: 6px;
  height: 6px;
  background: var(--coral);
  box-shadow: 10px 0 0 var(--coral), 20px 0 0 var(--coral), 5px 10px 0 var(--coral), 15px 10px 0 var(--coral), 10px 20px 0 var(--coral);
  transform: none;
}

.brand-colon {
  border: 0;
  border-radius: 10px;
}

.brand-colon::before {
  width: 34px;
  height: 24px;
  border: 6px dotted var(--green);
  border-top: 0;
  transform: none;
}

.brand-colon::after {
  display: none;
}

.brand-mark.filled {
  background: var(--green);
  color: #fff;
}

.brand-mark.filled::before {
  border-color: #fff;
}

.brand-mark.filled::after {
  background: #fff;
  box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
}

.page-home .hero {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 360px;
  padding-top: 62px;
  padding-bottom: 46px;
  transform: none;
}

.page-home .hero::after {
  position: absolute;
  inset: 0 0 0 20%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #fbfcfb 0%, rgba(251, 252, 251, 0.7) 14%, rgba(251, 252, 251, 0.14) 34%, rgba(251, 252, 251, 0) 58%),
    linear-gradient(180deg, rgba(251, 252, 251, 0.74) 0%, rgba(251, 252, 251, 0.16) 32%, rgba(251, 252, 251, 0.08) 100%),
    url("/assets/homepage2.png") right center / cover no-repeat;
  border: 0;
  opacity: 0.72;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 100%);
}

.page-home .hero-copy,
.page-home .hero-atlas {
  position: relative;
  z-index: 1;
}

.page-home .hero-copy {
  max-width: 420px;
  margin-left: clamp(48px, 6vw, 120px);
  padding-left: 0;
  padding-right: 0;
}

.page-home {
  background: #fbfcfb;
}

.page-home::before {
  display: none;
}

.page-home .hero-copy h1 {
  max-width: 320px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.08;
}

.page-home .hero-atlas {
  align-self: start;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.page-home .home-workflow {
  padding-top: 28px;
  padding-bottom: 38px;
}

.page-home .site-header {
  min-height: 48px;
  padding: 4px 26px;
  background: rgba(253, 254, 254, 0.94);
}

.page-home .brand {
  gap: 16px;
}

.page-home .brand-mark {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: url("/assets/logo1-transparent-cropped.png") center / contain no-repeat;
}

.page-home .brand-mark::before,
.page-home .brand-mark::after,
.page-home .brand-mark span {
  display: none;
}

.page-home .brand-title {
  font-size: 18px;
  font-weight: 400;
}

.page-home .nav {
  gap: 26px;
}

.page-home .nav a {
  padding: 12px 7px 10px;
  color: #071815;
  font-size: 14px;
  font-weight: 400;
}

.page-home .nav a.active {
  border-color: var(--green);
  color: var(--ink);
  font-weight: 500;
}

.page-home .hero-subtitle {
  max-width: 330px;
  margin: 18px 0 18px;
  color: #233633;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.page-home .notice {
  gap: 10px;
  margin-bottom: 22px;
  color: #f0201a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.page-home .notice span {
  width: 28px;
  height: 28px;
  border-radius: 0;
  border-color: transparent;
  color: #f0201a;
  font-size: 1.1rem;
}

.page-home .button {
  min-width: 160px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 400;
}

.page-home .button.primary::after,
.page-home .button.secondary::after,
.page-home .inline-link::after {
  content: "→";
  margin-left: 18px;
  font-size: 1.25em;
  line-height: 1;
}

.page-home .atlas-title h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.page-home .atlas-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.overview-atlas article {
  position: relative;
  min-height: 302px;
  padding: 0;
  border: 0;
  background: transparent;
}

.overview-atlas article:not(:last-child)::after {
  position: absolute;
  top: 16px;
  right: -11px;
  content: "→";
  color: #1c3430;
  font-size: 17px;
  font-weight: 400;
}

.workflow-head {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 38px;
  margin-bottom: 9px;
}

.overview-atlas .step-badge {
  width: 22px;
  height: 22px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.overview-atlas h3 {
  margin: 0;
  color: #071815;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.18;
}

.overview-atlas h3 small {
  color: var(--text);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
}

.workflow-card {
  min-height: 184px;
  padding: 9px 10px 8px;
  border: 1px solid #aebfbb;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.8);
}

.workflow-card h4 {
  margin: 0 0 6px;
  color: #071815;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}

.sample-labels {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 6px;
  color: #122d2a;
  font-size: 9px;
}

.sample-card .mini-heatmap {
  min-height: 98px;
  margin: 0 auto 7px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(247, 99, 92, 0.78) 0 50%, rgba(69, 134, 194, 0.4) 50% 100%);
  background-size: 13px 10px;
  box-shadow: inset 0 0 0 1px rgba(174, 191, 187, 0.55);
}

.sample-count,
.axis-label,
.metric-line,
.chart-label,
.predicted-label {
  margin: 0;
  color: #122d2a;
  text-align: center;
  font-size: 9px;
  line-height: 1.2;
}

.chart-label {
  margin-bottom: 6px;
  text-align: left;
}

.feature-card .mini-bars {
  height: 31px;
  margin: 0 0 7px;
  padding: 0 0 3px;
  border-bottom: 1px solid #738d88;
}

.feature-card .mini-bars i {
  width: 6px;
}

.gene-matrix {
  display: grid;
  grid-template-columns: 35px repeat(4, 1fr);
  gap: 0;
  margin-top: 6px;
  color: #092f29;
  font-size: 8px;
}

.gene-matrix span {
  min-height: 17px;
  border: 1px solid rgba(174, 191, 187, 0.8);
}

.gene-matrix span:nth-child(5n + 1) {
  display: flex;
  align-items: center;
  border: 0;
}

.gene-matrix span:nth-child(5n + 2),
.gene-matrix span:nth-child(5n + 6),
.gene-matrix span:nth-child(5n + 15),
.gene-matrix span:nth-child(5n + 19) {
  background: rgba(43, 111, 179, 0.22);
}

.gene-matrix span:nth-child(5n + 3),
.gene-matrix span:nth-child(5n + 9),
.gene-matrix span:nth-child(5n + 12),
.gene-matrix span:nth-child(5n + 20) {
  background: rgba(236, 99, 92, 0.18);
}

.gene-matrix span:nth-child(5n + 4),
.gene-matrix span:nth-child(5n + 8),
.gene-matrix span:nth-child(5n + 13),
.gene-matrix span:nth-child(5n + 17) {
  background: rgba(43, 111, 179, 0.13);
}

.model-card .predicted-label {
  margin-top: 8px;
  margin-bottom: 2px;
}

.mini-matrix.labeled {
  grid-template-columns: 39px repeat(2, 1fr);
  margin: 0 0 7px;
  border: 0;
}

.mini-matrix.labeled span,
.mini-matrix.labeled b {
  display: grid;
  place-items: center;
  min-height: 27px;
  border: 1px solid rgba(174, 191, 187, 0.85);
  color: #071815;
  background: rgba(43, 111, 179, 0.08);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
}

.mini-matrix.labeled b {
  background: #edf6f4;
  font-size: 12px;
}

.mini-matrix.labeled b:nth-child(6),
.mini-matrix.labeled b:nth-child(8) {
  background: rgba(236, 99, 92, 0.14);
}

.metric-line {
  color: #123733;
}

.signal-card {
  padding-left: 9px;
  padding-right: 9px;
}

.signal-row {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 6px;
  align-items: center;
  min-height: 16px;
  color: #071815;
  font-size: 9px;
}

.signal-row b,
.signal-row i {
  display: block;
  height: 8px;
  width: var(--w);
  background: #e45f58;
}

.signal-row i {
  justify-self: start;
  background: #3f78b5;
}

.pathway-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 6px;
}

.pathway-chips span {
  padding: 1px 5px;
  border: 1px solid #9eb7b2;
  border-radius: 999px;
  color: #123733;
  font-size: 7px;
}

.overview-atlas ul {
  margin: 9px 0 0;
  padding-left: 14px;
  color: #071815;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}

.overview-atlas li + li {
  margin-top: 4px;
}

.page-home .overview-strip {
  grid-template-columns: minmax(250px, 0.32fr) minmax(690px, 1.68fr);
  gap: 26px;
  min-height: 150px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.page-home .overview-strip h2 {
  max-width: 300px;
  font-size: 24px;
  font-weight: 400;
}

.page-home .overview-strip p {
  max-width: 320px;
  margin: 12px 0 0;
  color: #243935;
  font-size: 12px;
  line-height: 1.45;
}

.page-home .inline-link {
  margin-top: 12px;
  font-size: 12px;
}

.page-home .stat-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-home .stat-rail article {
  min-height: 118px;
  padding: 4px 18px 6px 28px;
  background: transparent;
}

.page-home .stat-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
}

.page-home .stat-icon {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 34px;
  color: var(--ink);
}

.page-home .stat-icon.samples::before,
.page-home .stat-icon.samples::after {
  position: absolute;
  top: 4px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.page-home .stat-icon.samples::before {
  left: 4px;
}

.page-home .stat-icon.samples::after {
  right: 2px;
}

.page-home .stat-icon.samples {
  background:
    radial-gradient(ellipse at 12px 32px, transparent 0 12px, currentColor 13px 15px, transparent 16px),
    radial-gradient(ellipse at 31px 32px, transparent 0 11px, currentColor 12px 14px, transparent 15px);
}

.page-home .stat-icon.data {
  border: 2px solid currentColor;
  border-radius: 1px;
}

.page-home .stat-icon.data::before {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 13px;
  height: 13px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: var(--paper);
  content: "";
}

.page-home .stat-icon.data::after {
  position: absolute;
  left: 9px;
  bottom: 8px;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -9px 0 currentColor;
  content: "";
}

.page-home .stat-icon.genes::before,
.page-home .stat-icon.genes::after {
  position: absolute;
  inset: 1px 12px;
  border-left: 3px solid currentColor;
  border-radius: 50%;
  content: "";
}

.page-home .stat-icon.genes::before {
  transform: rotate(26deg);
}

.page-home .stat-icon.genes::after {
  transform: rotate(-26deg);
}

.page-home .stat-icon.genes {
  background:
    linear-gradient(30deg, transparent 0 38%, currentColor 39% 43%, transparent 44% 100%),
    linear-gradient(-30deg, transparent 0 56%, currentColor 57% 61%, transparent 62% 100%);
}

.page-home .stat-icon.platforms::before,
.page-home .stat-icon.platforms::after {
  position: absolute;
  left: 2px;
  width: 34px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 4px;
  content: "";
}

.page-home .stat-icon.platforms::before {
  top: 3px;
}

.page-home .stat-icon.platforms::after {
  bottom: 3px;
}

.page-home .stat-icon.platforms {
  background:
    radial-gradient(circle at 10px 10px, currentColor 0 2px, transparent 3px),
    radial-gradient(circle at 10px 25px, currentColor 0 2px, transparent 3px);
}

.page-home .stat-rail span,
.page-home .stat-rail small {
  color: #243935;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.page-home .stat-rail strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 400;
}

.page-home .stat-rail em {
  display: block;
  margin-top: -4px;
  color: #243935;
  font-style: normal;
  font-size: 18px;
  line-height: 1.05;
}

.page-home .stat-rail small {
  display: block;
  line-height: 1.25;
}

.page-home .tumor-count,
.page-home .normal-count {
  display: inline-block;
  min-width: 34px;
  font-size: 15px;
}

.page-home .tumor-count {
  color: #f0201a;
}

.page-home .normal-count {
  color: #1d67aa;
}

.page-home .home-contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: 28px;
  align-items: start;
  padding-top: 34px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.page-home .home-contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.page-home .home-contact p {
  max-width: 430px;
  margin: 12px 0 0;
  color: #243935;
  font-size: 13px;
  line-height: 1.5;
}

.home-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid #aebfbb;
  border-radius: 7px;
  color: var(--ink);
  background: #fbfcfb;
  text-decoration: none;
}

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

.contact-link strong {
  overflow-wrap: anywhere;
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.contact-link:hover {
  border-color: var(--green);
  background: #f3faf7;
}

.mini-signal {
  display: grid;
  gap: 8px;
  height: 88px;
  align-content: center;
}

.mini-signal b,
.mini-signal i {
  display: block;
  height: 10px;
  width: var(--w);
  margin-left: auto;
  background: var(--coral);
}

.mini-signal i {
  margin-right: auto;
  margin-left: 0;
  background: var(--blue);
}

.inline-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  text-decoration: none;
  font-weight: 400;
}

.colon-icon {
  background-image: radial-gradient(ellipse at 42% 52%, transparent 22px, rgba(43, 111, 179, 0.35) 23px 26px, transparent 27px);
}

.tissue-icon {
  background-image: radial-gradient(circle at 45% 54%, rgba(43, 111, 179, 0.24) 0 3px, transparent 4px);
  background-size: 13px 13px;
}

.scatter-icon {
  background-image: radial-gradient(circle, rgba(43, 111, 179, 0.45) 0 2px, transparent 3px);
  background-size: 14px 10px;
}

.dna-icon {
  background-image: repeating-linear-gradient(120deg, transparent 0 12px, rgba(43, 111, 179, 0.35) 13px 15px, transparent 16px 27px);
}

.protein-icon {
  background-image: radial-gradient(ellipse, transparent 20px, rgba(43, 111, 179, 0.35) 21px 24px, transparent 25px);
}

.screen-heading {
  margin-bottom: 24px;
}

.screen-heading h1,
.screen-heading h2 {
  color: var(--green);
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.08;
}

.page-resources .screen-heading h1,
.page-resources .screen-heading h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.data-screen {
  padding-top: 28px;
}

.data-screen .data-layout {
  grid-template-columns: minmax(260px, 0.78fr) minmax(340px, 1.02fr) minmax(420px, 1.2fr);
  align-items: stretch;
}

.page-data .screen-heading h1,
.page-data .screen-heading h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
}

.data-screen .data-layout > div:first-child {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.data-choice-stack button {
  min-height: 68px;
}

.page-data .definition-panel,
.page-data .chart-panel {
  padding: 18px;
}

.page-data .sample-chart-card {
  padding: 12px;
}

.page-data .sample-chart-card {
  display: flex;
  flex-direction: column;
}

.page-data .sample-chart-card .panel-head {
  align-items: center;
  margin-bottom: 12px;
}

.page-data .sample-chart-card .panel-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
}

.page-data .sample-chart-card .panel-head span {
  font-size: 0.68rem;
  font-weight: 600;
}

.page-data .sample-summary {
  gap: 8px;
  margin-bottom: 12px;
}

.page-data .sample-summary article {
  min-height: 88px;
  padding: 10px;
}

.page-data .sample-summary strong {
  margin: 8px 0 3px;
  font-size: 1.65rem;
}

.page-data .sample-summary span {
  font-size: 0.78rem;
  line-height: 1.25;
}

.page-data .sample-bars.trend-chart {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 12px;
  line-height: 0;
}

.page-data .trend-chart svg {
  display: block;
  min-height: 0;
  height: auto;
}

.page-data .trend-chart text {
  font-size: 13px;
  font-weight: 700;
}

.page-data .trend-chart .axis-title {
  fill: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.page-data .trend-chart .y-title {
  dominant-baseline: middle;
}

.page-data .trend-chart .x-title {
  dominant-baseline: central;
}

.page-data .trend-chart .y-tick {
  fill: #5f716d;
}

.page-data .trend-chart .axis-line {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.4;
}

.page-data {
  background: #fbfcfb;
}

.page-data .screen-page {
  width: 100%;
}

.page-data .data-screen {
  min-height: calc(100vh - 88px);
  padding-top: 18px;
  padding-bottom: 28px;
}

.page-data .data-layout {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.page-data .data-sidebar {
  position: sticky;
  top: 64px;
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-data .data-choice-stack {
  gap: 4px;
}

.page-data .data-choice-stack button {
  min-height: 38px;
  padding: 9px 4px 9px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-data .data-choice-stack button span {
  position: relative;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
}

.page-data .data-choice-stack button.active {
  background: transparent;
}

.page-data .data-choice-stack button.active span {
  color: var(--green);
}

.page-data .data-choice-stack button.active span::before {
  position: absolute;
  top: 50%;
  left: -12px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: translateY(-50%);
}

.page-data .data-report-panel {
  min-height: calc(100vh - 132px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
}

.page-data .data-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-data .data-source-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #60716d;
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.page-data .data-source-link:hover,
.page-data .data-source-link:focus-visible {
  border-color: rgba(0, 91, 73, 0.4);
  background: rgba(0, 91, 73, 0.05);
  color: var(--green);
}

.page-data .data-report-head h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.page-data .data-report-head p {
  max-width: 740px;
  margin: 0;
  color: #243935;
  font-size: 14px;
  line-height: 1.45;
}

.page-data .data-report-head p strong {
  margin-right: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
}

.page-data .data-definition-note {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-data .data-definition-note strong {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.page-data .data-definition-note p {
  margin: 0;
  color: #243935;
  font-size: 13px;
  line-height: 1.45;
}

.page-data .data-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}

.page-data .data-metric-grid article {
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.page-data .data-metric-grid span {
  color: #60716d;
  font-size: 12px;
}

.page-data .data-metric-grid strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.page-data .data-metric-grid p {
  margin: 0;
  color: #536763;
  font-size: 11px;
  line-height: 1.35;
}

.page-data .data-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-data .data-chart-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.page-data .data-chart-card:nth-child(5),
.page-data .data-chart-card:nth-child(6),
.page-data .data-chart-card:nth-child(7) {
  grid-column: 1 / -1;
}

.page-data .data-chart-card.notebook-card {
  grid-column: 1 / -1;
}

.page-data .data-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  min-height: 30px;
  margin-bottom: 8px;
}

.page-data .data-chart-head h3 {
  margin: 0;
  color: #071815;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.page-data .data-chart-head span {
  flex: 0 0 auto;
  color: #60716d;
  font-size: 10px;
  text-transform: uppercase;
}

.page-data .echart-canvas {
  width: 100%;
  height: 326px;
}

.page-data .data-chart-card p {
  margin: 8px 0 0;
  color: #3d514d;
  font-size: 12px;
  line-height: 1.45;
}

.page-data .notebook-figure {
  display: grid;
  place-items: center;
  min-height: 320px;
  margin: 0;
  overflow: auto;
  border: 1px solid rgba(174, 191, 187, 0.65);
  border-radius: 6px;
  background: #f7faf9;
}

.page-data .notebook-figure img {
  display: block;
  width: 100%;
  max-width: 1120px;
  height: auto;
}

.page-data .tmb-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-height: 190px;
  align-content: center;
}

.page-data .tmb-summary article {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7faf9;
}

.page-data .tmb-summary span {
  color: #60716d;
  font-size: 11px;
}

.page-data .tmb-summary strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.page-data .chart-fallback {
  display: grid;
  min-height: 260px;
  place-items: center;
  color: #60716d;
}

.sample-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.sample-summary article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sample-summary strong {
  display: block;
  margin: 18px 0 5px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 2.4rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.tumor {
  background: var(--coral);
}

.dot.normal {
  background: var(--blue);
}

.dot.total {
  background: #808993;
}

.screen-workflow {
  padding-top: 26px;
  padding-bottom: 34px;
}

.screen-model {
  padding-top: 26px;
  padding-bottom: 24px;
}

.biology-screen .section-band {
  padding-top: 36px;
}

.protein-sidebar h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.35rem;
}

.biology-screen .protein-layout {
  grid-template-columns: 300px minmax(360px, 1fr) minmax(360px, 1fr);
  gap: 0;
}

.biology-screen .protein-sidebar,
.biology-screen .structure-card,
.biology-screen .mutation-card {
  border-radius: var(--radius);
}

.biology-screen .structure-card,
.biology-screen .mutation-card {
  border-left: 0;
}

.plain-idea {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--text);
}

.plain-idea p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.structure-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -22px -22px 22px;
  border-bottom: 1px solid var(--line);
}

.structure-tabs button {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.structure-tabs button.active {
  background: var(--green);
  color: #fff;
}

.hotspot-pill {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid var(--coral);
  border-radius: 6px;
  color: #d63a35;
  font-weight: 900;
}

.domain-track {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 12px;
  color: var(--muted);
  border-bottom: 2px solid var(--line-strong);
}

.biology-screen .chembl-section {
  padding-top: 34px;
}

.biology-screen .table-tools {
  grid-template-columns: minmax(300px, 1fr) 200px 220px;
  align-items: end;
}

.mutation-dashboard-screen {
  padding-top: 28px;
}

.page-mutation {
  --sans: "Times New Roman", Times, serif;
  font-family: var(--serif);
}

.page-mutation code {
  font-family: var(--serif);
}

.mutation-heading {
  max-width: none;
}

.mutation-heading h1,
.mutation-heading p {
  white-space: nowrap;
}

.mutation-heading h1 {
  font-size: 2.15rem;
}

.mutation-chart-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.mutation-chart-panel,
.mutation-table-panel,
.mutation-structure-panel,
.mutation-mapper-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(16, 50, 45, 0.06);
}

.mutation-chart-panel,
.mutation-table-panel {
  padding: 20px;
}

.mutation-chart-panel p,
.mutation-table-panel p,
.mutation-structure-panel p,
.mutation-mapper-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.mutation-gene-chart {
  width: 100%;
  height: 430px;
  min-width: 0;
  min-height: 360px;
}

.mutation-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 0.85fr);
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
  min-width: 0;
}

.mutation-table-panel,
.mutation-structure-panel,
.mutation-mapper-panel {
  min-height: 0;
}

.mutation-structure-panel,
.mutation-mapper-panel {
  padding: 22px;
}

.mutation-structure-panel {
  min-height: 620px;
}

.mutation-mapper-row {
  margin-top: 18px;
}

.mutation-table-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.mutation-table-tools label,
.mutation-table-tools select {
  min-width: 0;
}

.mutation-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: end;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.mutation-pagination button {
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.mutation-pagination button:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.62;
}

.mutation-pagination > span {
  min-width: 94px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
  color: var(--ink);
}

.mutation-pagination label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-width: auto;
}

.mutation-pagination label span {
  font-size: 0.74rem;
  color: var(--muted);
}

.mutation-pagination select {
  width: 72px;
  min-height: 30px;
  padding: 4px 7px;
  border-radius: 6px;
}

.mutation-table-wrap {
  max-height: 520px;
  overflow: auto;
}

.mutation-detail-table {
  min-width: 940px;
}

.mutation-detail-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.mutation-detail-table th:first-child,
.mutation-detail-table td:first-child {
  width: 44px;
  padding-right: 4px;
  text-align: center;
}

.mutation-detail-table tbody tr {
  cursor: pointer;
  transition: background 140ms ease, box-shadow 140ms ease;
}

.mutation-detail-table tbody tr:hover {
  background: rgba(43, 111, 179, 0.07);
}

.mutation-detail-table tbody tr:focus-visible {
  outline: 3px solid rgba(10, 122, 98, 0.22);
  outline-offset: -3px;
}

.mutation-detail-table tbody tr.selected {
  background: rgba(236, 99, 92, 0.1);
  box-shadow: inset 3px 0 0 var(--coral);
}

.mutation-detail-table input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--coral);
}

.selected-mutation-label {
  margin: 8px 0 0;
  color: var(--ink) !important;
  font-size: 0.86rem;
}

.alphafold-viewer-shell {
  position: relative;
  min-height: 340px;
  margin: 14px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf9;
}

.alphafold-structure-viewer {
  width: 100%;
  height: 340px;
  min-height: 340px;
  cursor: grab;
}

.alphafold-structure-viewer:active {
  cursor: grabbing;
}

.alphafold-structure-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.alphafold-viewer-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  gap: 7px;
  align-items: center;
}

.alphafold-viewer-toolbar button,
.viewer-spin-control {
  min-height: 34px;
  border: 1px solid rgba(0, 91, 73, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.alphafold-viewer-toolbar button {
  padding: 7px 10px;
  cursor: pointer;
}

.viewer-spin-control {
  display: inline-flex;
  grid-template-columns: none;
  gap: 6px;
  align-items: center;
  padding: 6px 9px;
  cursor: pointer;
}

.viewer-spin-control input {
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.alphafold-viewer-status {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  max-width: calc(100% - 24px);
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.alphafold-viewer-status[data-state="ready"] {
  opacity: 0;
  pointer-events: none;
}

.alphafold-viewer-status[data-state="error"] {
  border-color: rgba(213, 58, 52, 0.35);
  color: #9f2925;
}

.alphafold-viewer-shell:fullscreen,
.alphafold-viewer-shell.fullscreen-fallback {
  width: 100vw;
  height: 100vh;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f7faf9;
}

.alphafold-viewer-shell:fullscreen .alphafold-structure-viewer,
.alphafold-viewer-shell.fullscreen-fallback .alphafold-structure-viewer {
  height: 100vh;
  min-height: 100vh;
}

.alphafold-viewer-shell:fullscreen .alphafold-viewer-toolbar,
.alphafold-viewer-shell.fullscreen-fallback .alphafold-viewer-toolbar {
  top: 18px;
  right: 18px;
}

.alphafold-viewer-shell.fullscreen-fallback {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.structure-fullscreen-open {
  overflow: hidden;
}

.plddt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.plddt-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.plddt-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.plddt-very-high {
  background: #0053d6;
}

.plddt-confident {
  background: #65cbf3;
}

.plddt-low {
  background: #ffdb13;
}

.plddt-very-low {
  background: #ff7d45;
}

.plddt-hotspot {
  background: #ec635c;
}

.cbioportal-mutation-mapper {
  width: 100%;
  margin: 16px 0 18px;
  overflow-x: auto;
  border: 1px solid #cad3d0;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  scrollbar-color: #91a19d #eef2f1;
  scrollbar-width: thin;
}

.mutation-mapper-canvas {
  position: relative;
  min-width: 100%;
}

.mutation-mapper-tooltip {
  position: absolute;
  z-index: 12;
  width: max-content;
  min-width: 290px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 15px 18px;
  border: 1px solid rgba(28, 62, 54, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(17, 43, 37, 0.2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  pointer-events: none;
}

.mutation-mapper-tooltip[hidden] {
  display: none;
}

.mutation-mapper-tooltip-title {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
}

.mutation-mapper-tooltip-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 14px;
  margin: 0;
}

.mutation-mapper-tooltip-details dt {
  color: var(--muted);
  font-weight: 700;
}

.mutation-mapper-tooltip-details dd {
  margin: 0;
  font-weight: 800;
}

.mutation-mapper-tools {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(250px, 1fr) minmax(210px, 0.8fr) auto;
  gap: 14px 22px;
  align-items: center;
  margin: 14px 0 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f8;
  color: var(--muted);
  font-size: 0.8rem;
}

.mutation-mapper-tools label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 10px;
  align-items: center;
  min-width: 0;
}

.mutation-mapper-tools label > span {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.mutation-mapper-tools select {
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 5px 30px 5px 9px;
  border-color: #bdc9c6;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.mutation-mapper-tools input[type="range"] {
  width: 100%;
  min-width: 100px;
  padding: 0;
  accent-color: var(--green);
}

.mutation-mapper-tools output {
  display: inline-grid;
  min-width: 34px;
  min-height: 30px;
  place-items: center;
  border: 1px solid #bdc9c6;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.mutation-mapper-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.mutation-mapper-actions button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #bdc9c6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.mutation-mapper-actions button:hover,
.mutation-mapper-actions button:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
  transform: translateY(-1px);
}

.mutation-mapper-legend {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 7px 16px;
  padding: 10px 12px;
  border: 1px solid #ccd5d2;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(26, 48, 43, 0.1);
  color: #53615e;
  font-size: 12px;
}

.mutation-mapper-legend strong {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 12px;
}

.mutation-mapper-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.mutation-mapper-legend i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--legend-color);
}

.mutation-mapper-legend .selected-ring {
  border: 2px solid #d6504a;
  background: #fff;
  box-shadow: 0 0 0 1px #fff;
}

.cbioportal-mutation-mapper svg {
  display: block;
  max-width: none;
  min-width: 1040px;
  height: auto;
}

.cbio-axis line,
.cbio-y-axis line {
  stroke: #84918f;
  stroke-width: 1.2;
}

.cbio-axis text,
.cbio-y-axis text {
  fill: #4d5b59;
  font-family: var(--serif);
  font-size: 14px;
}

.cbio-axis text {
  text-anchor: middle;
}

.cbio-y-axis text {
  text-anchor: end;
}

.cbio-y-axis .cbio-y-title {
  fill: #263531;
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
}

.cbio-axis .cbio-x-title {
  fill: #263531;
  font-size: 14px;
  font-weight: 700;
  text-anchor: end;
}

.cbio-domains .protein-backbone {
  fill: #b9bfbc;
  stroke: rgba(9, 47, 41, 0.14);
}

.cbio-domain {
  cursor: help;
}

.cbio-domain rect {
  stroke: rgba(22, 47, 42, 0.18);
  stroke-width: 1;
  transition: filter 140ms ease, transform 140ms ease;
}

.cbio-domain:hover rect {
  filter: brightness(1.06) saturate(1.1);
}

.cbio-domain text {
  fill: #fff;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(20, 44, 39, 0.18);
  stroke-width: 2px;
}

.cbio-lollipop line {
  stroke: #9da8a5;
  stroke-width: 1.3;
}

.cbio-lollipop circle {
  stroke: #fff;
  stroke-width: 2;
  cursor: help;
  transition: r 140ms ease, stroke 140ms ease;
}

.cbio-lollipop.is-selected circle {
  stroke: #d6504a;
  stroke-width: 3;
  filter: drop-shadow(0 0 3px rgba(214, 80, 74, 0.55));
}

.cbio-lollipop text {
  fill: #21302d;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.cbio-lollipop:hover circle,
.cbio-lollipop:focus-visible circle {
  stroke: var(--ink);
  stroke-width: 3;
  r: 11px;
}

.cbio-lollipop:focus-visible {
  outline: none;
}

.mutation-mapper-help {
  margin: 0 0 12px;
  font-size: 0.86rem;
}

.mutation-mapper-list {
  margin: 0 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mutation-mapper-list summary {
  padding: 11px 0;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.mutation-mapper-list ul {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1160px) {
  .mutation-mapper-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .mutation-mapper-tools {
    grid-template-columns: 1fr;
  }

  .mutation-mapper-actions {
    justify-content: stretch;
  }

  .mutation-mapper-actions button {
    flex: 1;
  }
}

.empty,
.empty-inline {
  color: var(--muted);
}

.empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.mutation-drug-section {
  padding-top: 34px;
}

.mutation-drug-table th:first-child,
.mutation-drug-table td:first-child {
  min-width: 190px;
}

.drug-row-button {
  display: inline-flex;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--green);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.drug-row-button:hover,
.drug-row-button:focus-visible {
  color: var(--coral);
  outline: none;
  text-decoration: underline;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: rgba(8, 25, 22, 0.32);
}

.drug-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 39;
  width: min(520px, 100vw);
  height: 100vh;
  padding: 24px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: var(--paper);
  box-shadow: -24px 0 70px rgba(16, 50, 45, 0.22);
}

.drawer-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  margin-left: 12px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green);
  font-weight: 900;
}

.drawer-head {
  margin-bottom: 18px;
  padding-right: 74px;
}

.drawer-head h2 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.compound-structure {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compound-structure img {
  max-width: 100%;
  max-height: 230px;
}

.drawer-facts {
  display: grid;
  gap: 10px;
}

.drawer-facts div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.drawer-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.drawer-facts dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.drawer-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.drawer-section h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.drawer-section ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.drawer-note {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.resources-screen {
  width: 100%;
}

.resources-screen .glossary-section {
  padding-top: 28px;
}

.resources-screen .glossary-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.helper-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: #214f7e;
  line-height: 1.55;
}

.resources-screen summary {
  grid-template-columns: minmax(170px, 0.35fr) 1fr minmax(180px, 0.42fr);
}

.resources-screen details div {
  grid-template-columns: minmax(170px, 0.35fr) 1fr minmax(180px, 0.42fr);
  padding-left: calc(22px + 0px);
}

.resources-screen details div::before {
  content: "";
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .safe-chip {
    display: none;
  }

  .hero,
  .overview-strip,
  .data-layout,
  .protein-layout {
    grid-template-columns: 1fr;
  }

  .atlas-grid,
  .stat-rail,
  .model-sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-line::before {
    display: none;
  }

  .page-home .hero,
  .page-home .overview-strip {
    grid-template-columns: 1fr;
  }

  .page-home .overview-strip {
    grid-template-columns: minmax(220px, 0.3fr) minmax(610px, 1.7fr);
    gap: 20px;
  }

  .page-home .stat-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hero {
    gap: 34px;
    transform: none;
  }

  .page-home .hero-copy {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .page-home .overview-atlas article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .page-home .site-header {
    grid-template-columns: 1fr auto;
    min-height: 48px;
    padding: 5px 14px;
  }

  .page-home .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .page-home .nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }

  .page-home .nav a {
    color: #667471;
    font-size: 13px;
    font-weight: 400;
  }

  .page-home .nav a.active {
    color: #3f625b;
    font-weight: 400;
  }

  .page-home .nav.open {
    display: grid;
  }

  .page-home .overview-strip {
    grid-template-columns: 1fr;
  }

  .page-home .stat-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 48px;
    padding: 5px 14px;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }

  .nav a {
    color: #667471;
    font-size: 13px;
    font-weight: 400;
  }

  .nav a.active {
    color: #3f625b;
    font-weight: 400;
  }

  .nav.open {
    display: grid;
  }

  .section-band {
    width: 100%;
    padding: 42px 14px;
  }

  .hero {
    min-height: auto;
  }

  .page-home .site-header {
    min-height: 48px;
  }

  .page-home .nav {
    gap: 0;
  }

  .page-home .nav a {
    padding: 7px 10px;
  }

  .page-home .overview-strip {
    grid-template-columns: 1fr;
  }

  .page-home .stat-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 18vw, 5.8rem);
  }

  .model-hero-grid,
  .model-process-grid,
  .model-comparison,
  .model-limits-grid,
  .glossary-layout,
  .contact-layout,
  .contact-form,
  .table-tools {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .brand strong,
  .brand-title {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .atlas-grid,
  .stat-rail,
  .model-sample-grid,
  .model-parameter-list,
  .model-metrics-list,
  .workflow-line {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .stat-rail {
    border-left: 0;
  }

  .stat-rail article {
    border: 1px solid var(--line);
  }

  .definition-panel dl div,
  .protein-facts div,
  .sample-row,
  .feature-list article,
  details div,
  summary {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .external-actions a {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .screen-page,
  .resources-screen {
    width: 100%;
  }

  .data-screen .data-layout,
  .model-hero-grid,
  .model-process-grid,
  .model-comparison,
  .model-limits-grid,
  .mutation-chart-layout,
  .mutation-workspace-grid,
  .biology-screen .protein-layout,
  .biology-screen .table-tools {
    grid-template-columns: 1fr;
  }

  .mutation-chart-panel .panel-head,
  .mutation-table-panel .panel-head {
    flex-wrap: wrap;
  }

  .page-data .data-sidebar {
    position: static;
  }

  .page-data .data-choice-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-data .data-report-head,
  .page-data .data-definition-note {
    grid-template-columns: 1fr;
  }

  .page-data .data-source-link {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .page-data .data-metric-grid,
  .page-data .data-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .biology-screen .structure-card,
  .biology-screen .mutation-card,
  .mutation-structure-panel,
  .mutation-mapper-panel {
    border-left: 1px solid var(--line);
  }

  .biology-header,
  .resources-header,
  .compact-header {
    grid-template-columns: 1fr auto;
  }

  .atlas-button,
  .safe-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .resources-screen .glossary-layout,
  .resources-screen summary,
  .resources-screen details div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .mutation-heading h1,
  .mutation-heading p {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .biology-screen .table-wrap,
  .chembl-section .table-wrap {
    max-width: calc(100vw - 28px);
  }

  .mutation-gene-chart {
    height: 360px;
  }

  .mutation-table-panel,
  .mutation-structure-panel,
  .mutation-mapper-panel {
    min-height: auto;
  }

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

  .alphafold-viewer-shell,
  .alphafold-structure-viewer {
    height: 320px;
    min-height: 320px;
  }

  .drug-drawer {
    width: 100vw;
    padding: 18px;
  }

  .drawer-head {
    padding-right: 0;
  }

  .sample-summary,
  .source-filters {
    grid-template-columns: 1fr;
  }

  .page-data .screen-page {
    width: 100%;
  }

  .page-data .data-report-panel {
    padding: 14px;
  }

  .page-data .data-choice-stack,
  .page-data .data-metric-grid,
  .page-data .data-chart-grid,
  .page-data .tmb-summary {
    grid-template-columns: 1fr;
  }

  .page-data .data-chart-card:nth-child(n) {
    grid-column: auto;
  }

  .page-data .echart-canvas {
    height: 300px;
  }

  .page-home .hero-copy h1 {
    font-size: 44px;
  }

  .page-home .hero-subtitle {
    font-size: 1.12rem;
  }

  .page-home .atlas-grid {
    grid-template-columns: 1fr;
  }

  .page-home .workflow-card {
    min-height: auto;
  }

  .page-home .sample-card .mini-heatmap {
    min-height: 116px;
  }

  .page-home .stat-rail {
    grid-template-columns: 1fr;
  }

  .page-home .home-contact,
  .home-contact-actions {
    grid-template-columns: 1fr;
  }
}

/* Typography tuning requested after the initial build. */
h1,
h2,
h3,
h4,
h5,
h6,
.brand strong,
.brand-title,
.atlas-title h2,
.section-heading h1,
.section-heading h2,
.overview-strip h2,
.panel-head h2,
.panel-head h3,
.model-hero-copy h1,
.model-process-card h2,
.compact-heading h2,
.limitation-card h2,
.model-card-head h3,
.data-report-head h1,
.data-chart-head h3,
.protein-sidebar h2,
.glossary-section summary strong,
.contact-section h3,
.home-contact h2 {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
}

body,
button,
input,
select,
textarea,
.nav a,
.button,
.external-actions a,
.section-kicker,
.safe-chip,
.atlas-button,
.step-badge,
.model-notice span,
.model-card-head span,
.model-sample-grid span,
.model-metrics-list span,
th,
dt,
strong,
b {
  font-weight: 400 !important;
}

.nav a.active,
.contact-link strong,
.model-metrics-list strong,
.model-sample-grid strong,
.matrix-grid strong,
.feature-list strong {
  font-weight: 500 !important;
}

.model-hero-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.model-hero-copy,
.model-hero-copy p {
  max-width: none;
}

.model-notice {
  min-height: auto;
  align-content: start;
  padding: 14px 16px;
  border-left: 3px solid var(--coral);
  background: #fff7f6;
}

.model-bottom-notice {
  width: 100%;
  margin: 0 0 36px;
}

.model-notice span {
  display: block;
  margin-bottom: 6px;
}

/* Glossary now follows the same quiet report style as the Overview/Data pages. */
.page-glossary .resources-screen {
  width: 100%;
}

.page-glossary .glossary-section {
  min-height: calc(100vh - 88px);
  padding-top: 22px;
  padding-bottom: 30px;
}

.page-glossary .screen-heading {
  max-width: 980px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-glossary .section-kicker {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-glossary .screen-heading h1 {
  max-width: 900px;
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  font-weight: 400 !important;
  line-height: 1.04;
}

.page-glossary .glossary-layout {
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.page-glossary .glossary-layout > aside {
  position: sticky;
  top: 64px;
}

.page-glossary .search-field {
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-glossary .search-field span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-glossary .search-field input {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #243935;
  font-size: 14px;
}

.page-glossary .category-list {
  gap: 4px;
  margin-top: 12px;
}

.page-glossary .category-list button {
  position: relative;
  min-height: 38px;
  padding: 9px 4px 9px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #243935;
  font-size: 14px;
}

.page-glossary .category-list button:hover,
.page-glossary .category-list button:focus-visible {
  color: var(--green);
}

.page-glossary .category-list button.active {
  border-color: transparent;
  background: transparent;
  color: var(--green);
}

.page-glossary .category-list button.active::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: translateY(-50%);
}

.page-glossary .category-list span {
  color: inherit;
}

.page-glossary .category-list strong {
  min-width: 28px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.page-glossary .category-list button.active strong {
  border-color: rgba(0, 91, 73, 0.28);
  background: #edf8f5;
  color: var(--green);
}

.page-glossary .helper-card {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: 7px;
  background: #fff7f6;
  color: #6d2a26;
  font-size: 13px;
  line-height: 1.45;
}

.page-glossary .accordion-list {
  min-height: calc(100vh - 190px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
}

.page-glossary details {
  background: transparent;
}

.page-glossary details[open] {
  background: #f7faf9;
}

.page-glossary summary {
  grid-template-columns: minmax(170px, 0.32fr) minmax(260px, 1fr) minmax(220px, 0.58fr);
  gap: 18px;
  min-height: 86px;
  padding: 18px 20px;
}

.page-glossary summary:hover {
  background: rgba(237, 248, 245, 0.65);
}

.page-glossary summary strong {
  color: var(--ink);
  font-family: var(--serif) !important;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 400 !important;
  line-height: 1.08;
}

.page-glossary summary span {
  color: #3d514d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
}

.page-glossary summary span b,
.page-glossary details div b {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-glossary details div {
  grid-template-columns: minmax(170px, 0.32fr) minmax(260px, 1fr) minmax(220px, 0.58fr);
  gap: 18px;
  padding: 0 20px 18px;
  color: #3d514d;
  font-size: 13px;
  line-height: 1.5;
}

.page-glossary details div p {
  margin: 0;
}

.page-glossary .empty {
  padding: 20px;
}

@media (max-width: 900px) {
  .page-glossary .resources-screen {
    width: 100%;
  }

  .page-glossary .glossary-layout,
  .page-glossary summary,
  .page-glossary details div {
    grid-template-columns: 1fr;
  }

  .page-glossary .glossary-layout > aside {
    position: static;
  }

  .page-glossary .category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-glossary .accordion-list {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .page-glossary .resources-screen {
    width: 100%;
  }

  .page-glossary .glossary-section {
    padding-top: 18px;
  }

  .page-glossary .screen-heading h1 {
    font-size: 34px;
  }

  .page-glossary .category-list {
    grid-template-columns: 1fr;
  }

  .page-glossary summary,
  .page-glossary details div {
    padding-right: 14px;
    padding-left: 14px;
  }
}
