:root {
  --ink: #16242b;
  --muted: #65767c;
  --line: #d7e0dd;
  --paper: #f7faf8;
  --panel: #ffffff;
  --green: #2d6e65;
  --blue: #315f7c;
  --amber: #b68435;
  --rust: #9b4d40;
  --soft-green: #e8f1ee;
  --soft-blue: #e8eef3;
  --shadow: 0 22px 65px rgba(22, 36, 43, 0.09);
  --content-max: 1360px;
  --page-gutter: clamp(18px, 5vw, 64px);
  --content-gutter: max(var(--page-gutter), calc((100vw - var(--content-max)) * 0.5));
  --font-display: "Source Serif 4", "Literata", "Iowan Old Style", Georgia, serif;
  --font-body: "Poppins", "Montserrat", "Aptos", "Noto Sans", "Helvetica Neue", sans-serif;
  --font-ui: "Manrope", var(--font-body);
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "Cascadia Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

html.has-open-lightbox,
body.has-open-lightbox {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(24px, 4vw, 72px);
  border-bottom: 1px solid rgba(155, 181, 178, 0.35);
  background: rgba(250, 252, 251, 0.84);
  box-shadow: 0 18px 40px rgba(30, 64, 67, 0.07);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.7vw, 1.58rem);
  font-weight: 700;
}

.brand-mark {
  width: 20px;
  height: 20px;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 42%, var(--green) 42% 58%, transparent 58%),
    linear-gradient(transparent 42%, var(--blue) 42% 58%, transparent 58%),
    radial-gradient(circle at 50% 50%, var(--amber) 0 22%, transparent 24%);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 0;
  color: #25464d;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  background: transparent;
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) var(--content-gutter) 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(232, 241, 238, 0.86), rgba(255, 255, 255, 0.54) 45%, rgba(232, 238, 243, 0.72)),
    var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.62fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.hero-grid {
  width: min(270px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 0 auto 28px;
  opacity: 0.8;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(49, 95, 124, 0.18);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-grid span:nth-child(3n + 1) {
  background: rgba(45, 110, 101, 0.16);
}

.hero-grid span:nth-child(4n) {
  background: rgba(182, 132, 53, 0.18);
}

.hero-content {
  position: relative;
  width: 100%;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 780px;
  margin: 0 0 32px;
  color: #405158;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 880px;
  margin: -12px auto 18px;
}

.feature-strip span {
  border: 1px solid rgba(49, 95, 124, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  color: #3c575f;
  background: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.search-panel {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fbfdfc;
}

.search-row input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(45, 110, 101, 0.15);
}

.search-row button,
.search-examples button {
  border: 0;
  cursor: pointer;
}

.search-row button {
  min-width: 112px;
  border-radius: 6px;
  padding: 0 20px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.search-row button:hover,
.search-row button:focus-visible {
  background: #235a53;
  outline: none;
}

.search-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.search-examples button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: #fff;
  font-size: 0.85rem;
}

.search-examples button:hover,
.search-examples button:focus-visible {
  color: var(--ink);
  border-color: rgba(45, 110, 101, 0.35);
  background: var(--soft-green);
  outline: none;
}

.search-results {
  width: 100%;
  max-height: min(572px, calc(100vh - 188px));
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 110, 101, 0.42) transparent;
}

.result-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 224, 221, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.result-card:hover,
.result-card:focus-visible {
  border-color: rgba(45, 110, 101, 0.36);
  background: #fff;
  outline: none;
}

.result-type {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.result-main strong {
  display: block;
  margin-bottom: 4px;
}

.result-main span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.search-side {
  position: relative;
  min-height: 520px;
  padding: 20px;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 58px rgba(22, 36, 43, 0.06);
  backdrop-filter: blur(12px);
}

.search-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(215, 224, 221, 0.9);
}

.search-side-head .eyebrow {
  margin-bottom: 7px;
}

.search-side h2 {
  font-size: 1.55rem;
}

#result-count {
  flex: 0 0 auto;
  border: 1px solid rgba(49, 95, 124, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  white-space: nowrap;
}

.search-empty {
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 26px;
  border: 1px dashed rgba(49, 95, 124, 0.2);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.search-empty strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.search-empty span {
  max-width: 330px;
  line-height: 1.55;
}

.stats-section,
.highlights,
.browse-preview {
  padding: 58px var(--content-gutter);
}

.section-head {
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

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

.stat-card {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stat-value {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  font-weight: 700;
  line-height: 0.9;
}

.stat-card:nth-child(1) .stat-value {
  color: var(--blue);
}

.stat-card:nth-child(2) .stat-value {
  color: var(--green);
}

.stat-card:nth-child(3) .stat-value {
  color: var(--rust);
}

.stat-card:nth-child(4) .stat-value {
  color: var(--amber);
}

.stat-label {
  color: var(--muted);
  font-weight: 700;
}

.highlights {
  background: #fff;
  border-block: 1px solid var(--line);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.highlight-grid article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
}

.highlight-grid h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.12;
}

.highlight-grid p,
.browse-preview p {
  color: var(--muted);
  line-height: 1.62;
  text-align: justify;
  text-justify: inter-word;
}

.browse-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: center;
}

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

.browse-actions a {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
}

.browse-actions a:hover,
.browse-actions a:focus-visible {
  border-color: rgba(45, 110, 101, 0.45);
  background: var(--soft-green);
  outline: none;
}

.detail-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 241, 238, 0.9), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(232, 238, 243, 0.92), transparent 28%),
    var(--paper);
}

.target-entry #target-root,
.disease-entry #disease-root,
.combination-entry #combo-root,
.target-entry .site-footer,
.disease-entry .site-footer,
.combination-entry .site-footer {
  opacity: 1;
  transition: opacity 180ms ease;
}

.target-entry.is-loading,
.disease-entry.is-loading,
.combination-entry.is-loading {
  min-height: 100vh;
}

.target-entry.is-loading #target-root,
.disease-entry.is-loading #disease-root,
.combination-entry.is-loading #combo-root,
.target-entry.is-loading .site-footer,
.disease-entry.is-loading .site-footer,
.combination-entry.is-loading .site-footer {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.target-entry.is-loading #target-root,
.disease-entry.is-loading #disease-root,
.combination-entry.is-loading #combo-root {
  min-height: calc(100vh - 76px);
}

.target-entry.is-loading::before,
.disease-entry.is-loading::before,
.combination-entry.is-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  background:
    radial-gradient(circle at 50% 42%, rgba(204, 230, 223, 0.34), transparent 34%),
    linear-gradient(110deg, rgba(250, 252, 251, 0.96), rgba(239, 247, 244, 0.94)),
    var(--paper);
}

.target-entry.is-loading::after,
.disease-entry.is-loading::after,
.combination-entry.is-loading::after {
  content: "Loading target profile";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 31;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(45, 110, 101, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(22, 36, 43, 0.08);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.disease-entry.is-loading::after {
  content: "Loading disease profile";
}

.combination-entry.is-loading::after {
  content: "Loading combination profile";
}

.detail-hero,
.detail-stats,
.disease-hypergraph-section,
.detail-main-grid,
.combo-relationship-section,
.literature-section {
  padding-inline: var(--content-gutter);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.68), rgba(232, 241, 238, 0.52)),
    transparent;
}

.detail-hero h1 {
  max-width: min(1120px, 78vw);
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.2vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.detail-kicker {
  display: inline-flex;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.detail-kicker a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.detail-subtitle {
  max-width: 760px;
  margin: 0 0 20px;
  color: #405158;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.58;
  text-align: justify;
  text-justify: inter-word;
}

.detail-id-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-id-row span {
  border: 1px solid rgba(49, 95, 124, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  color: #3c575f;
  background: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.disease-motif {
  position: absolute;
  right: var(--content-gutter);
  top: 50px;
  width: min(360px, 28vw);
  height: min(270px, 23vw);
  opacity: 0.5;
  pointer-events: none;
}

.disease-motif::before,
.disease-motif::after {
  content: "";
  position: absolute;
  inset: 18% 4% 20% 12%;
  border: 1px solid rgba(45, 110, 101, 0.28);
  border-radius: 999px;
  transform: rotate(-12deg);
}

.disease-motif::after {
  inset: 4% 14% 14% 2%;
  border-color: rgba(49, 95, 124, 0.22);
  transform: rotate(18deg);
}

.disease-motif span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(49, 95, 124, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 0 7px rgba(232, 241, 238, 0.55);
}

.disease-motif span:nth-child(1) { left: 12%; top: 34%; }
.disease-motif span:nth-child(2) { left: 29%; top: 13%; }
.disease-motif span:nth-child(3) { left: 45%; top: 43%; }
.disease-motif span:nth-child(4) { left: 65%; top: 18%; }
.disease-motif span:nth-child(5) { left: 82%; top: 48%; }
.disease-motif span:nth-child(6) { left: 22%; top: 72%; }
.disease-motif span:nth-child(7) { left: 53%; top: 77%; }
.disease-motif span:nth-child(8) { left: 76%; top: 76%; }
.disease-motif span:nth-child(9) { left: 38%; top: 60%; }

.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 34px;
}

.detail-stats article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.detail-stats span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.9;
}

.detail-stats strong {
  color: var(--muted);
  font-size: 0.92rem;
}

.disease-hypergraph-section {
  padding-bottom: 42px;
}

.disease-map-head {
  align-items: end;
  margin-bottom: 16px;
}

.disease-map-note {
  max-width: 560px;
  margin: 0;
  text-align: left;
}

.disease-hypergraph-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 18px;
  align-items: stretch;
}

.disease-hypergraph-card,
.disease-hypergraph-detail {
  border: 1px solid rgba(20, 45, 52, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 78px rgba(22, 36, 43, 0.09);
  backdrop-filter: blur(18px);
}

.disease-hypergraph-card {
  min-width: 0;
  padding: 16px;
  user-select: none;
  -webkit-user-select: none;
}

.disease-hypergraph-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  padding: 2px 2px 12px;
}

.target-search {
  min-width: min(280px, 100%);
  display: grid;
  gap: 5px;
  color: #65777d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.target-search input {
  width: 100%;
  border: 1px solid rgba(20, 45, 52, 0.13);
  border-radius: 999px;
  padding: 10px 14px;
  color: #17262b;
  background: rgba(247, 250, 248, 0.88);
  font-size: 0.9rem;
  text-transform: none;
}

.target-search input:focus {
  border-color: rgba(45, 110, 101, 0.48);
  outline: 3px solid rgba(45, 110, 101, 0.12);
}

.label-toggle,
.disease-hypergraph-toolbar button,
.level-filter button,
.detail-panel-head button {
  border: 1px solid rgba(20, 45, 52, 0.12);
  border-radius: 999px;
  color: #344b52;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
}

.label-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  cursor: pointer;
}

.label-toggle input {
  accent-color: var(--green);
}

.disease-hypergraph-toolbar button,
.level-filter button,
.detail-panel-head button {
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
}

.disease-hypergraph-toolbar button:hover,
.level-filter button:hover,
.detail-panel-head button:hover {
  background: rgba(232, 241, 238, 0.86);
}

.level-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 2px 13px;
}

.level-filter button.is-active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.disease-hypergraph-frame {
  position: relative;
  overflow: hidden;
  height: min(68vh, 720px);
  min-height: 560px;
  border: 1px solid rgba(20, 45, 52, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(rgba(23, 38, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 38, 43, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.96), rgba(237, 246, 244, 0.76) 70%),
    #f8fbf9;
  background-size: 28px 28px, 28px 28px, auto, auto;
  user-select: none;
  -webkit-user-select: none;
}

#disease-hypergraph-svg {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#disease-hypergraph-svg.is-panning {
  cursor: grabbing;
}

.graph-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #51666d;
  background: rgba(248, 251, 249, 0.78);
  backdrop-filter: blur(8px);
  text-align: center;
}

.graph-loading strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.graph-loading.is-hidden {
  display: none;
}

.hyperedge-shape {
  cursor: pointer;
  pointer-events: visiblePainted;
  transition: opacity 160ms ease, stroke-width 160ms ease, filter 160ms ease;
}

.target-ring-guide {
  fill: none;
  pointer-events: none;
  stroke: rgba(45, 110, 101, 0.16);
  stroke-width: 1;
  stroke-dasharray: 4 9;
}

.target-ring-1 {
  stroke: rgba(242, 111, 91, 0.24);
}

.hyperedge-polygon {
  fill-opacity: 0.075;
  pointer-events: none;
  stroke-opacity: 0.28;
  stroke-width: 1.15;
}

.hyperedge-ribbon {
  fill: none;
  pointer-events: stroke;
  stroke-linecap: round;
  stroke-opacity: 0.42;
}

.hyperedge-hit {
  cursor: pointer;
  fill: none;
  stroke: transparent;
}

.hyperedge-hit-ribbon {
  pointer-events: stroke;
}

.hyperedge-hit-polygon {
  fill: transparent;
  pointer-events: all;
  stroke: transparent;
  stroke-width: 1;
}

.hyperedge-shape.is-muted {
  opacity: 0.13;
}

.hyperedge-shape.is-search-dim {
  opacity: 0.16;
}

.hyperedge-shape.is-search-match {
  opacity: 1;
  filter: drop-shadow(0 0 9px rgba(242, 111, 91, 0.34));
}

.hyperedge-polygon.is-search-match {
  fill-opacity: 0.27;
  stroke-opacity: 0.9;
  stroke-width: 2.7;
}

.hyperedge-ribbon.is-search-match {
  stroke-opacity: 0.92;
  stroke-width: 8.2;
}

.hyperedge-shape.is-hovered,
.hyperedge-shape.is-selected {
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(49, 95, 124, 0.24));
}

.hyperedge-polygon.is-selected {
  fill-opacity: 0.22;
  stroke-opacity: 0.72;
  stroke-width: 3.1;
}

.hyperedge-ribbon.is-selected {
  stroke-opacity: 0.95;
  stroke-width: 8.5;
}

.hyper-node {
  cursor: pointer;
  fill: #fdfdf9;
  stroke: #17262b;
  stroke-opacity: 0.5;
  stroke-width: 1.05;
  filter: drop-shadow(0 6px 5px rgba(16, 35, 43, 0.18));
  transition: opacity 160ms ease, stroke-width 160ms ease, fill 160ms ease;
}

.hyper-node.is-hub {
  fill: #fff5e4;
}

.hyper-node.is-filter-muted {
  opacity: 0.28;
  filter: none;
}

.hyper-node.is-partner {
  fill: #fffaf0;
  stroke: #315f7c;
  stroke-opacity: 0.74;
  stroke-width: 1.65;
}

.hyper-node.is-member {
  fill: #ffe7dc;
  stroke: #b24839;
  stroke-opacity: 0.82;
  stroke-width: 2;
}

.hyper-node.is-focus,
.hyper-node.is-search-match {
  fill: #f26f5b;
  stroke: #7a3028;
  stroke-opacity: 0.96;
  stroke-width: 2.8;
  filter: drop-shadow(0 0 12px rgba(242, 111, 91, 0.38));
}

.hyper-node.is-muted {
  opacity: 0.16;
  filter: none;
}

.hyper-label {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 4px;
  stroke-linejoin: round;
  fill: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hyper-label.is-muted {
  opacity: 0.22;
}

.graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.graph-legend i {
  display: inline-block;
  flex: 0 0 auto;
}

.legend-node {
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #fff5e4;
}

.legend-ribbon {
  width: 30px;
  height: 8px;
  border-radius: 999px;
  background: rgba(53, 163, 178, 0.42);
}

.legend-polygon {
  width: 18px;
  height: 14px;
  clip-path: polygon(20% 0, 100% 32%, 80% 100%, 8% 82%);
  background: rgba(232, 126, 95, 0.24);
}

.legend-selected {
  width: 26px;
  height: 10px;
  border: 2px solid #f26f5b;
  border-radius: 999px;
}

.disease-hypergraph-detail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: min(68vh, 720px);
  min-height: 560px;
  padding: 18px;
  overflow: hidden;
}

.detail-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.detail-panel-head .eyebrow {
  margin: 0;
}

.selection-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.selection-empty {
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 30px;
  border: 1px dashed rgba(20, 45, 52, 0.16);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

.selection-empty strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.32rem;
}

.selected-combo h2 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.selected-combo {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.selected-combo .combo-id {
  margin: 0 0 12px;
  color: #6e858a;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.selected-summary {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  align-items: start;
  justify-content: start;
  gap: 8px 10px;
  padding: 11px 0 12px;
  border-top: 1px solid rgba(20, 45, 52, 0.1);
  border-bottom: 1px solid rgba(20, 45, 52, 0.1);
}

.selected-summary-title {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.selected-summary-title strong {
  color: #40575e;
  font-weight: 900;
}

.selected-summary div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.selected-direction > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-summary div > strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(20, 45, 52, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: #344b52;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.selected-direction {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 12px 0 13px;
  border-bottom: 1px solid rgba(20, 45, 52, 0.1);
}

.selected-direction .chip-row {
  margin: 0;
}

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

.selected-metrics article {
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(20, 45, 52, 0.1);
  border-radius: 16px;
  background: rgba(247, 250, 248, 0.78);
}

.selected-metrics strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1;
}

.selected-metrics span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(20, 45, 52, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: #344b52;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-chip em {
  color: #7b8b90;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.detail-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 45, 52, 0.1);
}

.detail-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.92rem;
}

.paper-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.selected-paper-block {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-height: 0;
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.selected-paper-block .paper-list {
  flex: 0 0 auto;
  min-height: 0;
}

.selected-paper-block .paper-list li,
.selected-paper-block .paper-list a {
  height: auto;
}

.paper-list a {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(20, 45, 52, 0.1);
  border-radius: 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  overflow: hidden;
}

.paper-list a:hover,
.paper-list a:focus-visible {
  border-color: rgba(45, 110, 101, 0.38);
  background: rgba(232, 241, 238, 0.55);
  outline: none;
}

.paper-list strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.38;
}

.paper-list span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.paper-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.paper-pager button {
  min-width: 64px;
  border: 1px solid rgba(20, 45, 52, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: #344b52;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  cursor: pointer;
}

.paper-pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.combo-link {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  border-radius: 999px;
  padding: 12px 15px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.combo-link:hover,
.combo-link:focus-visible {
  background: #235a53;
  outline: none;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: 24px;
  padding-bottom: 52px;
}

.disease-combination-grid {
  padding-inline: var(--content-gutter);
  padding-top: 42px;
  padding-bottom: 52px;
}

.disease-combination-section {
  --disease-combination-view-height: 650px;
  min-width: 0;
}

.disease-combination-head {
  align-items: flex-end;
}

.disease-combination-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.disease-combination-toolbar {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 320px) 210px;
  align-items: end;
  gap: 14px;
  margin-bottom: 12px;
}

.disease-combination-toolbar .target-search,
.disease-combination-toolbar .sort-control {
  min-width: 0;
}

.disease-combination-view-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--disease-combination-view-height);
}

.disease-combination-empty {
  border: 1px dashed rgba(49, 95, 124, 0.2);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.combination-level-filter {
  padding: 0;
}

.combination-level-filter button {
  min-height: 42px;
}

.combination-level-filter button em {
  margin-left: 6px;
  font-style: normal;
  font-weight: 800;
  opacity: 0.82;
}

.disease-combination-table-wrap {
  flex: 0 0 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid rgba(215, 224, 221, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.disease-combination-table {
  min-width: 960px;
}

.disease-combination-table tbody tr {
  height: 74px;
}

.literature-table.disease-combination-table th,
.literature-table.disease-combination-table td {
  padding: 13px 16px;
  vertical-align: middle;
}

.disease-combination-table th:nth-child(3),
.disease-combination-table td:nth-child(3),
.disease-combination-table th:nth-child(n + 4),
.disease-combination-table td:nth-child(n + 4) {
  text-align: center;
}

.disease-combination-table td:first-child a {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.08;
  text-decoration: none;
}

.disease-combination-table td:first-child a:hover,
.disease-combination-table td:first-child a:focus-visible {
  color: var(--green);
  outline: none;
}

.disease-combination-table td:first-child span {
  display: block;
  color: #60777e;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}

.disease-combination-table td:nth-child(3) {
  color: #38565d;
  font-size: 0.86rem;
  font-weight: 700;
}

.disease-combination-table td:nth-child(n + 4) {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.disease-combination-section .disease-hypergraph-workbench {
  min-height: 0;
  height: var(--disease-combination-view-height);
}

.disease-combination-section .disease-hypergraph-card,
.disease-combination-section .disease-hypergraph-detail {
  height: var(--disease-combination-view-height);
  box-shadow: 0 18px 54px rgba(22, 36, 43, 0.07);
}

.disease-combination-section .disease-hypergraph-frame {
  height: calc(var(--disease-combination-view-height) - 82px);
  min-height: 0;
}

.detail-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.detail-section-head h2,
.side-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.section-note {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.sort-control {
  display: grid;
  gap: 6px;
  min-width: 210px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sort-control select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: 700 0.92rem var(--font-ui);
  text-transform: none;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(215, 224, 221, 0.92);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
}

.pagination:empty {
  display: none;
}

.pagination-summary {
  color: var(--muted);
  font-size: 0.86rem;
}

.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.page-button,
.page-ellipsis {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
}

.page-button {
  border: 1px solid rgba(49, 95, 124, 0.18);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
}

.page-button:hover:not(:disabled),
.page-button:focus-visible {
  border-color: rgba(45, 110, 101, 0.36);
  color: var(--ink);
  background: var(--soft-green);
  outline: none;
}

.page-button.is-active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.page-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.page-arrow {
  min-width: 56px;
  padding-inline: 12px;
}

.page-ellipsis {
  color: var(--muted);
}

.combination-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(210px, 250px);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(215, 224, 221, 0.94);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.combo-rank {
  color: rgba(49, 95, 124, 0.76);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.combo-title {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.12;
  text-decoration: none;
}

a.combo-title:hover,
a.combo-title:focus-visible {
  color: var(--green);
  outline: none;
}

.combo-ids {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
}

.combo-patterns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-chip,
.level-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  white-space: nowrap;
}

.mini-chip {
  border: 1px solid rgba(49, 95, 124, 0.14);
  padding: 5px 8px;
  color: #3c575f;
  background: rgba(232, 238, 243, 0.42);
  font-size: 0.78rem;
}

.mini-chip em {
  margin-left: 5px;
  color: var(--muted);
  font-style: normal;
}

.combo-evidence {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.combo-evidence strong {
  color: var(--ink);
}

.combo-evidence a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.level-pill {
  padding: 4px 11px;
  border: 1px solid rgba(45, 110, 101, 0.18);
  color: var(--green);
  background: rgba(232, 241, 238, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.level-clinical-human {
  color: #7b382f;
  background: rgba(155, 77, 64, 0.11);
  border-color: rgba(155, 77, 64, 0.22);
}

.level-animal-in-vivo {
  color: #8a5b1f;
  background: rgba(182, 132, 53, 0.14);
  border-color: rgba(182, 132, 53, 0.25);
}

.level-in-vitro {
  color: #2d5f80;
  background: rgba(49, 95, 124, 0.12);
  border-color: rgba(49, 95, 124, 0.22);
}

.evidence-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.bar-list,
.pattern-list {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: #3c575f;
  font-size: 0.9rem;
}

.bar-meta strong {
  color: var(--ink);
}

.bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 224, 221, 0.72);
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.literature-section {
  padding-top: 46px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.table-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

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

.literature-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.disease-literature-table {
  min-width: 1120px;
}

.disease-literature-table tbody tr {
  height: 96px;
}

.literature-table th,
.literature-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(215, 224, 221, 0.75);
  text-align: left;
  vertical-align: top;
}

.literature-table th {
  color: var(--green);
  background: rgba(232, 241, 238, 0.58);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.literature-table td {
  color: #405158;
  font-size: 0.9rem;
  line-height: 1.45;
}

.literature-table td:first-child a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.literature-table td:nth-child(3) a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.literature-table td:nth-child(3) a:hover,
.literature-table td:nth-child(3) a:focus-visible {
  color: var(--green);
  outline: none;
}

.literature-table strong {
  display: block;
  max-width: 560px;
  color: var(--ink);
}

.disease-literature-table th:nth-child(1),
.disease-literature-table td:nth-child(1) {
  width: 120px;
}

.disease-literature-table th:nth-child(2),
.disease-literature-table td:nth-child(2) {
  width: 45%;
}

.disease-literature-table th:nth-child(3),
.disease-literature-table td:nth-child(3) {
  width: 180px;
}

.disease-literature-table td {
  vertical-align: middle;
}

.disease-literature-table td:nth-child(2) {
  vertical-align: middle;
}

.disease-literature-table td:nth-child(2) strong {
  display: -webkit-box;
  max-width: 560px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.disease-literature-table td:nth-child(2) span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.disease-literature-table td:nth-child(3) a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.literature-table td span:not(.level-pill):not(.direction-pill):not(.direction-token) {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.literature-table th:nth-last-child(-n + 2),
.literature-table td:nth-last-child(-n + 2) {
  text-align: center;
}

.literature-table td:nth-last-child(-n + 2) {
  vertical-align: middle;
}

.literature-table td:nth-last-child(-n + 2) .level-pill,
.literature-table td:nth-last-child(-n + 2) .direction-pill {
  margin: 0 auto;
}

.combo-hero {
  padding-top: 34px;
  padding-bottom: 42px;
  border-bottom: 0;
  --combo-ui-font: "Poppins", sans-serif;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.7), rgba(232, 241, 238, 0.48) 44%, rgba(245, 237, 221, 0.46)),
    transparent;
}

.combo-motif {
  position: absolute;
  right: var(--content-gutter);
  top: 46px;
  width: min(390px, 30vw);
  height: min(260px, 22vw);
  opacity: 0.46;
  pointer-events: none;
}

.combo-motif::before,
.combo-motif::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(45, 110, 101, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-50%);
}

.combo-motif::before {
  left: 9%;
  box-shadow: 0 0 0 22px rgba(232, 241, 238, 0.44);
}

.combo-motif::after {
  right: 9%;
  border-color: rgba(49, 95, 124, 0.28);
  box-shadow: 0 0 0 22px rgba(232, 238, 243, 0.42);
}

.combo-motif span {
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(45, 110, 101, 0.22), rgba(182, 132, 53, 0.48), rgba(49, 95, 124, 0.22));
}

.combo-motif span:nth-child(2) {
  top: 39%;
  transform: rotate(-9deg);
}

.combo-motif span:nth-child(3) {
  top: 61%;
  transform: rotate(9deg);
}

.combo-motif span:nth-child(4) {
  left: 48%;
  right: auto;
  top: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border: 1px solid rgba(182, 132, 53, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.combo-entry-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 24px;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--green);
  background: rgba(204, 230, 223, 0.72);
  font-family: var(--combo-ui-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.combo-entry-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86) 0 19%, transparent 21%),
    linear-gradient(135deg, #2d9b8d, #c69044);
}

.combo-overview-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  color: #18272d;
  font-family: var(--combo-ui-font);
  border: 1px solid rgba(190, 211, 207, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(22, 36, 43, 0.05);
  overflow: hidden;
}

.combo-overview-content {
  display: grid;
  min-width: 0;
}

.combo-overview-main {
  display: grid;
  grid-template-columns: minmax(430px, 1.24fr) minmax(340px, 0.76fr);
  min-height: 312px;
}

.combo-identity-block,
.combo-summary-panel,
.combo-direction-summary-card {
  position: relative;
  padding: clamp(26px, 3vw, 42px);
}

.combo-summary-panel::before,
.combo-direction-summary-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(28px, 4vw, 44px);
  bottom: clamp(28px, 4vw, 44px);
  width: 1px;
  background: rgba(181, 202, 199, 0.5);
}

.combo-identity-block {
  display: grid;
  align-content: center;
  min-width: 0;
  padding-right: clamp(34px, 4vw, 58px);
}

.combo-identity-block h1 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  max-width: 100%;
  font-size: clamp(1.3rem, calc(5rem * var(--combo-title-scale, 1)), 5rem);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
}

.combo-identity-block .detail-subtitle {
  max-width: 540px;
  margin-bottom: 18px;
  color: #566a70;
  font-family: var(--combo-ui-font);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  text-justify: auto;
}

.combo-identity-block .detail-id-row {
  min-width: 0;
  max-width: 100%;
}

.combo-identity-block .detail-id-row span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  border-color: rgba(45, 110, 101, 0.08);
  color: #263d43;
  background: rgba(220, 238, 233, 0.42);
  font-family: var(--combo-ui-font);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-summary-panel {
  display: grid;
  align-content: center;
  gap: 22px;
}

.combo-summary-panel .eyebrow,
.combo-direction-summary-card .eyebrow {
  margin-bottom: 0;
  color: var(--green);
  font-family: var(--combo-ui-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.combo-summary-evidence {
  display: grid;
  gap: 10px;
}

.combo-summary-evidence span {
  color: #65767c;
  font-size: 0.82rem;
  font-weight: 600;
}

.combo-summary-evidence .level-pill {
  width: fit-content;
  border-color: rgba(155, 77, 64, 0.18);
  padding: 8px 13px;
  font-family: var(--combo-ui-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  background: rgba(155, 77, 64, 0.06);
}

.combo-summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 14px;
}

.combo-summary-stats article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.combo-summary-stats article:nth-child(3) {
  grid-column: 1 / -1;
}

.combo-summary-stats article:nth-child(2) {
  justify-self: end;
}

.combo-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(45, 110, 101, 0.62) 0 15%, transparent 17%),
    rgba(204, 230, 223, 0.46);
}

.combo-summary-stats [data-combo-stat] {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  font-weight: 700;
  line-height: 0.92;
}

.combo-summary-stats strong {
  color: var(--ink);
  font-family: var(--combo-ui-font);
  font-size: clamp(0.76rem, 0.88vw, 0.88rem);
  font-weight: 500;
  white-space: nowrap;
}

.combo-direction-summary-card {
  display: grid;
  align-content: start;
  gap: 24px;
  background: rgba(249, 252, 251, 0.72);
}

.combo-direction-summary-card h2 {
  margin: -16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1;
}

.combo-direction-summary-list {
  display: grid;
  gap: 16px;
}

.combo-direction-summary-item {
  display: grid;
  gap: 8px;
}

.combo-direction-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.combo-direction-summary-meta strong {
  min-width: 0;
  overflow: hidden;
  color: #17363d;
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-direction-summary-meta span {
  flex: 0 0 auto;
  color: #405158;
  font-family: var(--combo-ui-font);
  font-size: 0.82rem;
  font-weight: 700;
}

.combo-direction-summary-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(45, 110, 101, 0.12);
}

.combo-direction-summary-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(45, 110, 101, 0.86), rgba(49, 95, 124, 0.72));
}

.combo-overview-grid,
.combo-disease-section,
.combo-relationship-section {
  padding-inline: var(--content-gutter);
}

.combo-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  padding-bottom: 52px;
}

.combo-target-panel,
.combo-disease-section,
.combo-relationship-section {
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.combo-target-order {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 22%, rgba(232, 241, 238, 0.84), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(232, 238, 243, 0.74), transparent 30%),
    rgba(255, 255, 255, 0.78);
}

.combo-node-card {
  position: relative;
  flex: 1 1 220px;
  min-width: 200px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px 16px 16px 52px;
  border: 1px solid rgba(215, 224, 221, 0.94);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.combo-node-index {
  position: absolute;
  left: 16px;
  top: 17px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.combo-node-card a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
}

.combo-node-card a:hover,
.combo-node-card a:focus-visible,
.context-title:hover,
.context-title:focus-visible {
  color: var(--green);
  outline: none;
}

.combo-node-card span:not(.combo-node-index),
.combo-node-card small,
.combo-node-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.42;
}

.combo-node-card span:not(.combo-node-index) {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.combo-node-card small,
.combo-node-card em {
  font-size: 0.84rem;
}

.combo-order-connector {
  align-self: center;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(182, 132, 53, 0.28);
  border-radius: 50%;
  color: #8a5b1f;
  background: rgba(182, 132, 53, 0.12);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.direction-sequence {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.direction-token {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.direction-token small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.pattern-chip {
  gap: 8px;
  padding: 4px 8px;
}

.pattern-chip .direction-pill,
.pattern-evidence-bar .direction-pill {
  padding: 3px 8px;
}

.pattern-evidence-bar .bar-meta {
  align-items: center;
}

.combo-disease-section {
  padding-bottom: 54px;
}

.combo-relationship-section {
  padding-bottom: 56px;
}

.combo-pair-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 18px;
}

.combo-pair-selector:empty {
  display: none;
}

.combo-pair-selector button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(45, 110, 101, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #31484f;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.combo-pair-selector button:hover,
.combo-pair-selector button:focus-visible {
  color: var(--green);
  border-color: rgba(45, 110, 101, 0.34);
  outline: none;
  box-shadow: 0 10px 28px rgba(45, 110, 101, 0.09);
}

.combo-pair-selector button.is-active {
  border-color: transparent;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(45, 110, 101, 0.16);
}

.combo-pair-context-panel {
  min-height: 280px;
}

.combo-pair-context-panel .pair-context-header {
  max-width: none;
  margin-bottom: 18px;
  padding-right: 0;
}

.combo-pair-context-panel .pair-context-header h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.combo-pair-context-panel .pair-context-section {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(22, 36, 43, 0.045);
}

.combo-pair-context-panel .pair-context-section:first-child {
  margin-top: 0;
}

.combo-pair-context-panel .pair-context-section-head {
  align-items: center;
}

.combo-pair-context-panel .pair-context-section-head h3 {
  min-width: 0;
}

.combo-pair-context-panel .pair-context-section-head span {
  flex: 0 0 auto;
  max-width: none;
  color: #60777e;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.combo-pair-context-panel .pair-metric-head strong {
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.relationship-view-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.relationship-view-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.relationship-view-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.relationship-view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(190, 211, 207, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.06);
}

.relationship-view-toggle button {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  color: #38565d;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.relationship-view-toggle button:hover,
.relationship-view-toggle button:focus-visible {
  color: var(--green);
  outline: none;
}

.relationship-view-toggle button.is-active {
  color: var(--green);
  background: rgba(218, 239, 234, 0.72);
}

.relationship-view-stage {
  height: 850px;
  min-height: 850px;
}

.relationship-view-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.relationship-view-panel[hidden] {
  display: none;
}

.relationship-view-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.relationship-view-panel-head h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.75vw, 1.55rem);
}

.relationship-view-panel-head span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: right;
}

.combo-pair-context-state {
  min-height: 280px;
}

.combo-disease-list {
  display: block;
}

.combo-disease-table-wrap {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.combo-disease-context-table {
  min-width: 960px;
}

.combo-disease-context-table tbody tr {
  height: 72px;
}

.combo-disease-context-table th,
.combo-disease-context-table td {
  padding: 12px 16px;
  vertical-align: middle;
}

.combo-disease-context-table th:nth-child(2),
.combo-disease-context-table td:nth-child(2),
.combo-disease-context-table th:nth-child(n + 3),
.combo-disease-context-table td:nth-child(n + 3) {
  text-align: center;
}

.combo-disease-context-table td:first-child a {
  display: block;
  width: fit-content;
  max-width: 360px;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.15;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-disease-context-table td:first-child a:hover,
.combo-disease-context-table td:first-child a:focus-visible {
  color: var(--green);
  outline: none;
}

.combo-disease-context-table td:first-child span {
  display: block;
  margin-top: 6px;
  color: #60777e;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
}

.combo-disease-context-table td:nth-child(4),
.combo-disease-context-table td:nth-child(5),
.combo-disease-context-table td:nth-child(6) {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.combo-direction-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.combo-direction-compact-chip {
  gap: 6px;
  padding: 6px 9px;
  color: #2d4a51;
  background: rgba(238, 247, 246, 0.86);
}

.combo-literature-table {
  min-width: 1080px;
}

.combo-literature-table tbody tr {
  height: 86px;
}

.combo-literature-table th,
.combo-literature-table td {
  padding: 12px 16px;
  vertical-align: middle;
}

.combo-literature-table th:nth-child(1),
.combo-literature-table td:nth-child(1) {
  width: 112px;
}

.combo-literature-table th:nth-child(2),
.combo-literature-table td:nth-child(2) {
  width: 48%;
}

.combo-literature-table th:nth-child(3),
.combo-literature-table td:nth-child(3) {
  width: 210px;
}

.combo-literature-table th:nth-child(4),
.combo-literature-table td:nth-child(4),
.combo-literature-table th:nth-child(5),
.combo-literature-table td:nth-child(5) {
  width: 150px;
  text-align: center;
}

.combo-literature-table td:nth-child(2) strong {
  display: -webkit-box;
  max-width: 620px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.combo-literature-table td:nth-child(2) span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combo-literature-table td:nth-child(3) a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.combo-literature-direction-chip {
  padding: 6px 10px;
  color: #2d4a51;
  background: rgba(238, 247, 246, 0.86);
}

.paper-hero {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.72), rgba(232, 238, 243, 0.5) 42%, rgba(232, 241, 238, 0.46)),
    transparent;
}

.paper-hero h1 {
  max-width: min(1040px, 72vw);
  font-size: clamp(2.1rem, 3.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.paper-motif {
  position: absolute;
  right: var(--content-gutter);
  top: 48px;
  width: min(340px, 27vw);
  height: min(270px, 23vw);
  opacity: 0.44;
  pointer-events: none;
}

.paper-motif::before {
  content: "";
  position: absolute;
  inset: 0 16% 0 10%;
  border: 1px solid rgba(49, 95, 124, 0.22);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(45, 110, 101, 0.18) 0 5px, transparent 5px),
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(49, 95, 124, 0.14) 28px 29px),
    rgba(255, 255, 255, 0.7);
  box-shadow: 18px 18px 0 rgba(232, 241, 238, 0.62);
  transform: rotate(4deg);
}

.paper-motif span {
  position: absolute;
  left: 22%;
  right: 28%;
  height: 2px;
  background: rgba(45, 110, 101, 0.26);
  transform: rotate(4deg);
}

.paper-motif span:nth-child(1) { top: 28%; }
.paper-motif span:nth-child(2) { top: 39%; right: 38%; }
.paper-motif span:nth-child(3) { top: 50%; }
.paper-motif span:nth-child(4) { top: 61%; right: 34%; }
.paper-motif span:nth-child(5) { top: 72%; }

.paper-main-grid,
.paper-combination-section {
  padding-inline: var(--content-gutter);
}

.paper-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  padding-bottom: 52px;
}

.paper-abstract-panel,
.paper-combination-section {
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.paper-abstract-panel {
  min-width: 0;
}

.abstract-text {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #405158;
  background:
    linear-gradient(90deg, rgba(232, 241, 238, 0.58), rgba(255, 255, 255, 0.72)),
    #fff;
  font-size: 0.98rem;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
}

.pubmed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(49, 95, 124, 0.24);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(232, 238, 243, 0.58);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pubmed-link:hover,
.pubmed-link:focus-visible {
  color: var(--ink);
  border-color: rgba(45, 110, 101, 0.36);
  background: var(--soft-green);
  outline: none;
}

.paper-disease-chips,
.target-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.linked-chip {
  text-decoration: none;
}

.linked-chip:hover,
.linked-chip:focus-visible {
  border-color: rgba(45, 110, 101, 0.34);
  color: var(--green);
  background: rgba(232, 241, 238, 0.74);
  outline: none;
}

.paper-combination-section {
  padding-bottom: 54px;
}

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

.paper-combination-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(210px, 250px);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(215, 224, 221, 0.94);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.paper-combination-main {
  min-width: 0;
}

.target-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 5px;
  row-gap: 1px;
  align-items: center;
  border: 1px solid rgba(49, 95, 124, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: #3c575f;
  background: rgba(232, 238, 243, 0.42);
  font-size: 0.76rem;
  text-decoration: none;
}

.target-chip small {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.target-chip strong {
  display: inline;
  color: var(--ink);
  font: 700 0.8rem var(--font-body);
}

.target-chip span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.target-chip:hover,
.target-chip:focus-visible {
  border-color: rgba(45, 110, 101, 0.34);
  background: rgba(232, 241, 238, 0.72);
  outline: none;
}

.paper-evidence-table .target-chip-list {
  margin-bottom: 8px;
}

.paper-evidence-table .direction-sequence {
  justify-content: flex-start;
}

.literature-table .target-chip span {
  display: inline;
  margin-top: 0;
  color: var(--muted);
}

.target-hero {
  padding-top: 34px;
  padding-bottom: 42px;
  border-bottom: 0;
  --target-ui-font: "Manrope", sans-serif;
  background: transparent;
}

.target-entry-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 24px;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--green);
  background: rgba(204, 230, 223, 0.72);
  font-family: var(--target-ui-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.target-entry-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.76) 0 18%, transparent 20%),
    linear-gradient(135deg, #2d9b8d, #6fb9ad);
}

.target-overview-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  color: #18272d;
  font-family: var(--target-ui-font);
  border: 1px solid rgba(190, 211, 207, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(22, 36, 43, 0.05);
}

.target-overview-content {
  display: grid;
  grid-template-rows: minmax(255px, auto) auto;
  min-width: 0;
}

.target-overview-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(260px, 1fr) minmax(190px, 0.72fr);
  min-height: 255px;
}

.target-identity-block,
.target-annotation-block,
.target-evidence-block,
.target-direction-card {
  position: relative;
  padding: clamp(24px, 3vw, 42px);
}

.target-annotation-block::before,
.target-evidence-block::before,
.target-direction-card::before,
.target-overview-stats article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(28px, 4vw, 44px);
  bottom: clamp(28px, 4vw, 44px);
  width: 1px;
  background: rgba(181, 202, 199, 0.48);
}

.target-identity-block {
  display: grid;
  align-content: center;
}

.target-identity-block h1 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.target-identity-block .detail-subtitle {
  max-width: 360px;
  margin-bottom: 18px;
  color: #566a70;
  font-family: var(--target-ui-font);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  text-justify: auto;
}

.target-identity-block .detail-id-row span {
  border-color: rgba(45, 110, 101, 0.08);
  color: #263d43;
  background: rgba(220, 238, 233, 0.42);
  font-family: var(--target-ui-font);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0;
}

.target-annotation-block .eyebrow,
.target-evidence-block .eyebrow,
.target-direction-card .eyebrow {
  margin-bottom: 24px;
  color: var(--green);
  font-family: var(--target-ui-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.target-annotation-block .eyebrow span {
  color: var(--muted);
  font-family: var(--target-ui-font);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.target-annotation-list {
  display: grid;
  gap: 26px;
}

.target-annotation-list .annotation-row {
  position: relative;
  padding-left: 42px;
}

.target-annotation-list .annotation-row::before,
.target-stat-icon {
  content: "";
  display: block;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(45, 110, 101, 0.62) 0 15%, transparent 17%),
    rgba(204, 230, 223, 0.46);
}

.target-annotation-list .annotation-row::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
}

.target-annotation-list .annotation-row strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--target-ui-font);
  font-size: 0.86rem;
  font-weight: 600;
}

.target-annotation-list .annotation-row strong em {
  color: var(--muted);
  font-family: var(--target-ui-font);
  font-style: normal;
  font-weight: 400;
}

.target-annotation-list .annotation-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.target-evidence-block {
  display: grid;
  align-content: center;
}

.target-evidence-block .level-pill {
  width: fit-content;
  border-color: rgba(155, 77, 64, 0.18);
  padding: 8px 13px;
  font-family: var(--target-ui-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  background: rgba(155, 77, 64, 0.06);
}

.target-direction-card {
  display: grid;
  align-content: start;
  border-left: 0;
}

.target-direction-summary {
  display: grid;
  gap: 22px;
}

.direction-proportion-chart {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  min-height: 226px;
}

.direction-stack {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 6px;
  min-height: 226px;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(196, 206, 203, 0.28);
}

.direction-stack-segment {
  display: block;
  min-height: 0;
}

.direction-stack-segment.direction-up {
  background: #47b5a4;
}

.direction-stack-segment.direction-other {
  background: #c4cecb;
}

.direction-stack-segment.direction-down {
  background: #c15343;
}

.direction-stack-labels {
  position: relative;
  min-height: 226px;
}

.direction-summary-item {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
}

.direction-summary-item strong,
.direction-summary-total strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--target-ui-font);
  font-size: 0.86rem;
  font-weight: 700;
}

.direction-summary-item span,
.direction-summary-total span {
  display: block;
  color: #405158;
  font-family: var(--target-ui-font);
  font-size: 0.82rem;
  font-weight: 500;
}

.direction-summary-item.direction-up strong {
  color: #2d9b8d;
}

.direction-summary-item.direction-other strong {
  color: #65767c;
}

.direction-summary-item.direction-down strong {
  color: #c15343;
}

.direction-summary-total {
  margin-top: 2px;
}

.target-overview-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(215, 224, 221, 0.92);
}

.target-overview-stats article {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 28px clamp(24px, 4vw, 52px);
}

.target-stat-icon {
  width: 56px;
  height: 56px;
}

.target-overview-stats [data-target-stat] {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 2.95rem);
  font-weight: 700;
  line-height: 0.92;
}

.target-overview-stats strong {
  color: var(--ink);
  font-family: var(--target-ui-font);
  font-size: 0.9rem;
  font-weight: 500;
}

.target-overview-card .mini-chip {
  border-color: rgba(45, 110, 101, 0.07);
  padding: 6px 11px;
  color: #29474e;
  background: rgba(220, 238, 233, 0.42);
  font-family: var(--target-ui-font);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0;
}

.target-motif {
  position: absolute;
  right: var(--content-gutter);
  top: 44px;
  width: min(360px, 30vw);
  height: min(300px, 24vw);
  opacity: 0.42;
  pointer-events: none;
}

.target-motif::before,
.target-motif::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(45, 110, 101, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  transform: translate(-50%, -50%);
}

.target-motif::after {
  width: 230px;
  height: 230px;
  border-color: rgba(49, 95, 124, 0.22);
  background: transparent;
}

.target-motif span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(49, 95, 124, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 0 7px rgba(232, 238, 243, 0.58);
}

.target-motif span:nth-child(1) { left: 16%; top: 48%; }
.target-motif span:nth-child(2) { left: 28%; top: 18%; }
.target-motif span:nth-child(3) { left: 52%; top: 8%; }
.target-motif span:nth-child(4) { left: 78%; top: 24%; }
.target-motif span:nth-child(5) { left: 84%; top: 62%; }
.target-motif span:nth-child(6) { left: 58%; top: 82%; }
.target-motif span:nth-child(7) { left: 30%; top: 78%; }
.target-motif span:nth-child(8) { left: 50%; top: 50%; }

.target-main-grid,
.target-network-section,
.target-dti-section,
.direction-disease-section,
.target-table-section {
  padding-inline: var(--content-gutter);
}

.target-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  padding-bottom: 48px;
}

.target-network-panel,
.target-dti-section,
.direction-disease-section,
.target-table-section {
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.target-network-section {
  padding-bottom: 48px;
}

.partner-section-head {
  align-items: flex-end;
}

.target-table-section {
  --partner-view-height: 700px;
}

.partner-section-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.partner-section-actions .table-note {
  font-family: "Manrope", var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
}

.partner-view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(190, 211, 207, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.06);
}

.partner-view-toggle button {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  color: #38565d;
  background: transparent;
  font-family: "Manrope", var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.partner-view-toggle button:hover,
.partner-view-toggle button:focus-visible {
  color: var(--green);
  outline: none;
}

.partner-view-toggle button.is-active {
  color: var(--green);
  background: rgba(218, 239, 234, 0.72);
}

.partner-view-panel[hidden] {
  display: none;
}

#partner-table-view {
  display: flex;
  flex-direction: column;
  height: var(--partner-view-height);
  overflow: hidden;
  border: 1px solid rgba(190, 211, 207, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(22, 36, 43, 0.05);
}

#partner-table-view[hidden] {
  display: none;
}

.partner-network-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  height: var(--partner-view-height);
  overflow: hidden;
  border: 1px solid rgba(190, 211, 207, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(22, 36, 43, 0.05);
}

.partner-network {
  min-height: 0;
  height: 100%;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(232, 241, 238, 0.75), transparent 38%),
    linear-gradient(90deg, rgba(49, 95, 124, 0.032) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 124, 0.032) 1px, transparent 1px),
    rgba(255, 255, 255, 0.62);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.partner-network svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  user-select: none;
}

.network-rings circle {
  fill: none;
  stroke: rgba(49, 95, 124, 0.12);
  stroke-width: 1;
  stroke-dasharray: 6 7;
}

.network-edge {
  stroke: rgba(45, 110, 101, 0.18);
  stroke-linecap: round;
  pointer-events: none;
  transition: opacity 160ms ease, stroke 160ms ease, stroke-width 160ms ease;
}

.network-edge.is-selected {
  stroke: #23796e;
  opacity: 1;
}

.partner-node circle:not(.partner-node-hit) {
  fill: rgba(232, 241, 238, 0.82);
  stroke: rgba(49, 95, 124, 0.5);
  stroke-width: 1.1;
  transition: fill 160ms ease, stroke 160ms ease, stroke-width 160ms ease, filter 160ms ease;
}

.partner-node-hit {
  fill: transparent;
  stroke: none;
  pointer-events: all;
}

.partner-label text {
  fill: #314a53;
  font: 800 14px "Manrope", var(--font-body);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.partner-label {
  pointer-events: none;
}

.partner-node {
  cursor: grab;
  outline: none;
  touch-action: none;
}

.partner-node:focus,
.partner-node:focus-visible {
  outline: none;
}

.partner-node.is-dragging {
  cursor: grabbing;
}

.partner-node.is-dragging circle:not(.partner-node-hit) {
  fill: #2d746a;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 3;
  filter: drop-shadow(0 14px 22px rgba(22, 36, 43, 0.2));
}

.partner-node:hover circle:not(.partner-node-hit),
.partner-node:focus-visible circle:not(.partner-node-hit),
.partner-node.is-selected circle:not(.partner-node-hit) {
  fill: #2d746a;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
  filter: drop-shadow(0 10px 16px rgba(22, 36, 43, 0.18));
}

.partner-label.is-selected text,
.partner-label.is-dragging text {
  fill: #183139;
}

.partner-node:focus-visible {
  outline: none;
}

.center-node circle {
  fill: var(--green);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 4;
  filter: drop-shadow(0 12px 22px rgba(22, 36, 43, 0.18));
}

.center-node text:first-of-type {
  fill: #fff;
  font: 800 34px "Manrope", var(--font-body);
}

.center-node text:last-of-type {
  fill: rgba(255, 255, 255, 0.78);
  font: 700 16px "Manrope", var(--font-body);
}

.network-empty {
  display: grid;
  min-height: 420px;
  place-items: center;
  color: var(--muted);
}

.partner-network-detail {
  display: grid;
  align-content: start;
  gap: 18px;
  border-left: 1px solid rgba(215, 224, 221, 0.92);
  padding: 26px;
  background: rgba(250, 252, 251, 0.86);
}

.network-detail-head {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(215, 224, 221, 0.88);
}

.network-detail-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.45rem);
  line-height: 1;
}

.network-detail-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(45, 110, 101, 0.18);
  border-radius: 8px;
  color: var(--green);
  background: rgba(232, 241, 238, 0.72);
  font-family: "Manrope", var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.network-detail-head a:hover,
.network-detail-head a:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.network-detail-stats {
  display: grid;
  gap: 0;
  border-bottom: 1px solid rgba(215, 224, 221, 0.88);
}

.network-detail-stats article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  border-top: 1px solid rgba(215, 224, 221, 0.72);
}

.network-detail-stats article:first-child {
  border-top: 0;
}

.network-detail-stats span,
.network-detail-muted {
  color: var(--muted);
  font-family: "Manrope", var(--font-body);
  font-size: 0.88rem;
}

.network-detail-stats strong {
  color: var(--ink);
  font-family: "Manrope", var(--font-body);
  font-size: 1rem;
  font-weight: 800;
}

.network-detail-stats .level-pill {
  font-style: normal;
}

.network-direction-block h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Manrope", var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
}

.network-pattern-list {
  display: grid;
  gap: 11px;
}

.network-pattern-row {
  display: grid;
  grid-template-columns: minmax(82px, 0.8fr) minmax(82px, 0.8fr) minmax(80px, 1fr) 44px;
  align-items: center;
  gap: 10px;
}

.pattern-target-direction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #38565d;
  font-family: "Manrope", var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
}

.pattern-target-direction strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pattern-target-direction i {
  flex: 0 0 auto;
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.8rem;
}

.pattern-target-direction i.direction-up {
  color: #315f7c;
  background: rgba(49, 95, 124, 0.1);
}

.pattern-target-direction i.direction-down {
  color: #b83f39;
  background: rgba(199, 71, 63, 0.1);
}

.pattern-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 224, 221, 0.72);
}

.pattern-bar em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d746a, #6aa99f);
}

.network-pattern-row b {
  color: var(--ink);
  font-family: "Manrope", var(--font-body);
  font-size: 0.84rem;
  text-align: right;
}

.network-detail-empty {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: "Manrope", var(--font-body);
  line-height: 1.5;
}

.network-detail-empty strong {
  color: var(--ink);
  font-size: 1rem;
}

.annotation-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.annotation-block {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.annotation-row {
  display: grid;
  gap: 8px;
}

.annotation-row strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.annotation-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.annotation-empty {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.target-dti-section {
  padding-bottom: 56px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(232, 241, 238, 0.22)),
    transparent;
}

.dti-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 18px 0;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 238, 243, 0.36)),
    #fff;
}

.dti-toolbar[hidden] {
  display: none;
}

.dti-toolbar .sort-control {
  min-width: 0;
}

.dti-toolbar select {
  width: 100%;
}

.check-filter {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(49, 95, 124, 0.14);
  border-radius: 999px;
  padding: 9px 12px;
  color: #3c575f;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 600;
}

.check-filter input {
  accent-color: var(--green);
}

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

.dti-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(22, 36, 43, 0.06);
}

.dti-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green), rgba(49, 95, 124, 0.72), var(--amber));
}

.dti-structure-frame {
  min-height: 218px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 124, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(49, 95, 124, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 124, 0.045) 1px, transparent 1px),
    #fbfdfc;
  background-size: 18px 18px;
}

.dti-structure-button {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.dti-structure-button img {
  width: 100%;
  height: 100%;
  max-height: 218px;
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
  transition: transform 180ms ease;
}

.dti-structure-button span {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(45, 110, 101, 0.24);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(22, 36, 43, 0.08);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0.74;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.dti-structure-button:hover img,
.dti-structure-button:focus-visible img {
  transform: scale(1.08);
}

.dti-structure-button:hover span,
.dti-structure-button:focus-visible span {
  opacity: 1;
  transform: translate(-50%, -2px);
}

.dti-structure-button:focus-visible {
  outline: 3px solid rgba(45, 110, 101, 0.18);
  outline-offset: -3px;
}

.dti-structure-placeholder {
  max-width: 120px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

.dti-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

.dti-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.72vw, 1.86rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.dti-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.dti-stage-pill,
.dti-action-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  white-space: nowrap;
}

.dti-stage-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(45, 110, 101, 0.2);
  padding: 6px 11px;
  color: var(--green);
  background: rgba(232, 241, 238, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
}

.dti-stage-pill.stage-approved {
  color: #7b382f;
  background: rgba(155, 77, 64, 0.12);
  border-color: rgba(155, 77, 64, 0.28);
}

.dti-stage-pill.stage-phase-3,
.dti-stage-pill.stage-phase-2,
.dti-stage-pill.stage-phase-1,
.dti-stage-pill.stage-early-phase-1 {
  color: #8a5b1f;
  background: rgba(182, 132, 53, 0.16);
  border-color: rgba(182, 132, 53, 0.3);
}

.dti-stage-pill.stage-preclinical {
  color: #2d5f80;
  background: rgba(49, 95, 124, 0.12);
  border-color: rgba(49, 95, 124, 0.24);
}

.dti-stage-pill.stage-no-chembl-mapping,
.dti-stage-pill.stage-unknown {
  color: #5f6d72;
  background: rgba(215, 224, 221, 0.55);
  border-color: rgba(101, 118, 124, 0.18);
}

.dti-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.dti-action-chip {
  border: 1px solid rgba(49, 95, 124, 0.16);
  padding: 5px 9px;
  color: #3c575f;
  background: rgba(232, 238, 243, 0.42);
  font-size: 0.8rem;
  font-weight: 700;
}

.dti-action-chip.dti-direction-up {
  color: #2d5f80;
  background: rgba(49, 95, 124, 0.12);
  border-color: rgba(49, 95, 124, 0.24);
}

.dti-action-chip.dti-direction-down {
  color: #813b32;
  background: rgba(155, 77, 64, 0.14);
  border-color: rgba(155, 77, 64, 0.24);
}

.dti-action-chip.dti-direction-mixed {
  color: #6b562e;
  background: rgba(182, 132, 53, 0.18);
  border-color: rgba(182, 132, 53, 0.28);
}

.dti-activity-card {
  border: 1px solid rgba(215, 224, 221, 0.82);
  border-radius: 10px;
  min-height: 86px;
  margin-bottom: 12px;
  padding: 11px;
  background: rgba(247, 250, 248, 0.68);
}

.dti-activity-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dti-activity-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.dti-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
}

.dti-identifiers a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.dti-identifiers a:hover,
.dti-identifiers a:focus-visible {
  color: var(--green);
  outline: none;
}

.dti-empty {
  border: 1px dashed rgba(45, 110, 101, 0.24);
  border-radius: 14px;
  padding: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.molecule-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 40px;
  overflow: hidden;
  overscroll-behavior: contain;
  color: inherit;
  background:
    radial-gradient(circle at 50% 35%, rgba(232, 241, 238, 0.45), transparent 42%),
    rgba(22, 36, 43, 0.58);
  backdrop-filter: blur(10px);
}

.molecule-lightbox[hidden] {
  display: none;
}

.molecule-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: min(760px, calc(100vh - 80px));
  max-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 96px rgba(22, 36, 43, 0.28);
}

.molecule-lightbox-panel.is-comparing {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
}

.molecule-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(49, 95, 124, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.molecule-lightbox-close:hover,
.molecule-lightbox-close:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.molecule-lightbox-structure {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 36px);
  background:
    linear-gradient(90deg, rgba(49, 95, 124, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 124, 0.05) 1px, transparent 1px),
    #fbfdfc;
  background-size: 22px 22px;
}

.molecule-lightbox-structure > img,
.molecule-lightbox-structure > .molecule-highlight-svg {
  width: 100%;
  max-width: 760px;
  max-height: calc(78vh - 72px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: max-width 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.molecule-lightbox-structure > .molecule-highlight-svg {
  display: grid;
  place-items: center;
}

.molecule-lightbox-structure > .molecule-highlight-svg[hidden] {
  display: none;
}

.molecule-lightbox-structure > .molecule-highlight-svg svg {
  width: 100%;
  height: auto;
  max-height: calc(78vh - 72px);
}

.highlighted-molecule-svg .is-shared-bond {
  stroke: #d99b24 !important;
  stroke-width: 4.8px !important;
  stroke-opacity: 0.82 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.highlighted-molecule-svg .is-shared-atom {
  fill: #9b4d40 !important;
  stroke: #d99b24 !important;
  stroke-width: 1.4px !important;
  stroke-opacity: 0.92 !important;
}

.highlighted-molecule-svg .is-shared-group-1 {
  stroke: #d99b24 !important;
  fill: #9b4d40 !important;
}

.highlighted-molecule-svg .is-shared-group-2 {
  stroke: #2d7fb8 !important;
  fill: #2d5f80 !important;
}

.highlighted-molecule-svg .is-shared-group-3 {
  stroke: #2d8c6d !important;
  fill: #2d6e65 !important;
}

.highlighted-molecule-svg .is-shared-group-4 {
  stroke: #7d5ab6 !important;
  fill: #654795 !important;
}

.highlighted-molecule-svg .is-shared-group-5 {
  stroke: #c85c48 !important;
  fill: #9b4d40 !important;
}

.highlighted-molecule-svg.highlight-mode-same path[class^="bond-"]:not(.is-shared-bond) {
  stroke: #9aa8ad !important;
  stroke-opacity: 0.2 !important;
  stroke-width: 1.2px !important;
}

.highlighted-molecule-svg.highlight-mode-same path[class^="atom-"]:not(.is-shared-atom) {
  fill: #9aa8ad !important;
  stroke: #9aa8ad !important;
  fill-opacity: 0.24 !important;
  stroke-opacity: 0.24 !important;
}

.highlighted-molecule-svg.highlight-mode-different .is-shared-bond {
  stroke: #9aa8ad !important;
  stroke-opacity: 0.22 !important;
  stroke-width: 1.4px !important;
}

.highlighted-molecule-svg.highlight-mode-different .is-shared-atom {
  fill: #9aa8ad !important;
  stroke: #9aa8ad !important;
  fill-opacity: 0.26 !important;
  stroke-opacity: 0.26 !important;
  stroke-width: 1.1px !important;
}

.molecule-lightbox-structure.is-comparing > img,
.molecule-lightbox-structure.is-comparing > .molecule-highlight-svg {
  max-width: 54%;
  max-height: calc(78vh - 72px);
  transform: translateX(-40%) scale(0.96);
}

.molecule-hover-compare[hidden] {
  display: none;
}

.molecule-hover-compare {
  position: absolute;
  top: clamp(14px, 1.8vw, 24px);
  right: clamp(14px, 1.8vw, 24px);
  bottom: clamp(14px, 1.8vw, 24px);
  width: min(42%, 430px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  border: 1px solid rgba(45, 110, 101, 0.24);
  border-radius: 14px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.88)),
    #fff;
  box-shadow: 0 24px 70px rgba(22, 36, 43, 0.18);
  pointer-events: none;
}

.molecule-hover-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.molecule-hover-compare-head strong {
  color: var(--green);
  font-size: 0.72rem;
}

.molecule-hover-compare-image {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 124, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(49, 95, 124, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 124, 0.04) 1px, transparent 1px),
    #fbfdfc;
  background-size: 16px 16px;
}

.molecule-hover-compare-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
}

.molecule-hover-compare-image .molecule-highlight-svg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.molecule-hover-compare-image .molecule-highlight-svg[hidden] {
  display: none;
}

.molecule-hover-compare-image .molecule-highlight-svg svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.molecule-hover-compare h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.86rem, 1.08vw, 1.02rem);
  line-height: 1.16;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.molecule-hover-compare p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.molecule-lightbox-meta {
  display: grid;
  align-content: start;
  padding: clamp(18px, 2.1vw, 26px);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(232, 241, 238, 0.72), rgba(255, 255, 255, 0.92)),
    #fff;
}

.molecule-lightbox-panel.is-comparing .molecule-lightbox-meta {
  padding: clamp(18px, 2.1vw, 26px);
}

.molecule-lightbox-meta h2 {
  margin-bottom: 7px;
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.14;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.molecule-lightbox-panel.is-comparing .molecule-lightbox-meta h2 {
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
}

.molecule-lightbox-meta p:not(.eyebrow) {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.45;
}

.molecule-lightbox-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.molecule-lightbox-links a,
.molecule-lightbox-links span {
  border: 1px solid rgba(49, 95, 124, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.molecule-lightbox-links a:hover,
.molecule-lightbox-links a:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.molecule-lightbox-similar-block {
  margin-top: 22px;
  border-top: 1px solid rgba(215, 224, 221, 0.88);
  padding-top: 18px;
}

.molecule-lightbox-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.molecule-lightbox-subhead strong {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.molecule-lightbox-subtools {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.molecule-lightbox-subhead span,
.molecule-lightbox-subtools > span {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.molecule-highlight-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(45, 110, 101, 0.22);
  border-radius: 999px;
  padding: 5px 9px 5px 6px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(22, 36, 43, 0.06);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.molecule-highlight-toggle:hover,
.molecule-highlight-toggle:focus-visible {
  border-color: rgba(45, 110, 101, 0.42);
  background: #fff;
  outline: none;
}

.molecule-highlight-toggle .toggle-track {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(45, 110, 101, 0.18);
}

.molecule-highlight-toggle .toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  transition: transform 160ms ease, background 160ms ease;
}

.molecule-highlight-toggle.is-different {
  color: #813b32;
  border-color: rgba(155, 77, 64, 0.26);
}

.molecule-highlight-toggle.is-different .toggle-track {
  background: rgba(155, 77, 64, 0.18);
}

.molecule-highlight-toggle.is-different .toggle-track::after {
  background: var(--rust);
  transform: translateX(12px);
}

.molecule-similar-list {
  display: grid;
  gap: 9px;
}

.molecule-similar-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(49, 95, 124, 0.14);
  border-radius: 13px;
  padding: 9px;
  color: inherit;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  text-align: left;
}

.molecule-similar-card:hover,
.molecule-similar-card:focus-visible {
  border-color: rgba(45, 110, 101, 0.34);
  background: #fff;
  outline: none;
  box-shadow: 0 12px 28px rgba(22, 36, 43, 0.08);
}

.molecule-similar-score {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 1;
  border: 1px solid rgba(45, 110, 101, 0.2);
  border-radius: 999px;
  padding: 2px 6px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 800;
}

.molecule-similar-image {
  height: 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(49, 95, 124, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 124, 0.04) 1px, transparent 1px),
    #fbfdfc;
  background-size: 14px 14px;
}

.molecule-similar-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  mix-blend-mode: multiply;
}

.molecule-similar-meta {
  min-width: 0;
}

.molecule-similar-meta strong,
.molecule-similar-meta small {
  display: block;
}

.molecule-similar-meta strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.molecule-similar-meta small {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
}

.molecule-similar-empty {
  margin: 0;
  border: 1px dashed rgba(45, 110, 101, 0.22);
  border-radius: 12px;
  padding: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.45;
}

.direction-disease-section,
.target-table-section {
  padding-bottom: 54px;
}

.target-table-section {
  padding-bottom: 28px;
}

.direction-context-head {
  margin-bottom: 18px;
}

.direction-context-head .section-note {
  margin-top: 8px;
  margin-bottom: 0;
  max-width: 760px;
}

.direction-overview-card {
  margin-bottom: 18px;
  border: 1px solid rgba(190, 211, 207, 0.8);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(22, 36, 43, 0.05);
}

.direction-overview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.direction-overview-head h3 {
  margin: 0;
  color: var(--green);
  font-family: "Manrope", var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
}

.direction-overview-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.direction-overview-bar {
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 224, 221, 0.66);
}

.direction-overview-segment {
  min-width: 0;
}

.direction-overview-segment.direction-up {
  background: #315f7c;
}

.direction-overview-segment.direction-down {
  background: #c7473f;
}

.direction-overview-segment.direction-other {
  background: #a2aaa8;
}

.direction-overview-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.direction-overview-key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.direction-overview-key i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.direction-overview-key.direction-up {
  color: #315f7c;
}

.direction-overview-key.direction-down {
  color: #c7473f;
}

.direction-overview-key.direction-other {
  color: #7d8584;
}

.direction-context-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.direction-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.direction-filter-group button {
  min-height: 38px;
  border: 1px solid rgba(45, 110, 101, 0.18);
  border-radius: 999px;
  padding: 0 18px;
  color: #31565c;
  background: rgba(255, 255, 255, 0.76);
  font-family: "Manrope", var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.direction-filter-group button:hover,
.direction-filter-group button:focus-visible {
  border-color: rgba(45, 110, 101, 0.42);
  color: var(--green);
  outline: none;
}

.direction-filter-group button.is-active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(45, 110, 101, 0.18);
}

.direction-context-table {
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.direction-context-table .pagination {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: rgba(250, 252, 251, 0.78);
}

.direction-context-table-head,
.direction-context-row {
  display: grid;
  grid-template-columns: 46px minmax(260px, 1fr) minmax(260px, 1.05fr) 106px 34px;
  align-items: center;
  column-gap: 18px;
}

.direction-context-table-head {
  min-height: 44px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(215, 224, 221, 0.82);
  color: #597078;
  font-family: "Manrope", var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
}

.direction-context-table-head span:first-child {
  grid-column: 1 / 3;
}

.direction-context-table-head span:last-child {
  grid-column: 4 / 5;
  text-align: right;
}

.direction-context-row {
  min-height: 64px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(215, 224, 221, 0.66);
}

.direction-context-row:last-child {
  border-bottom: 0;
}

.context-rank {
  color: #6d7f87;
  font-family: "Manrope", var(--font-body);
  font-size: 0.82rem;
}

.context-disease-cell {
  min-width: 0;
}

.context-disease-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.context-disease-cell a {
  color: var(--ink);
  font-family: "Manrope", var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.context-disease-cell a:hover,
.context-disease-cell a:focus-visible {
  color: var(--green);
  outline: none;
}

.context-mondo {
  display: block;
  margin-top: 5px;
  color: #6c7c82;
  font-family: "Manrope", var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
}

.context-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 2px 10px;
  font-family: "Manrope", var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
}

.context-badge.direction-down {
  color: #b83f39;
  background: rgba(199, 71, 63, 0.09);
}

.context-badge.direction-up {
  color: #315f7c;
  background: rgba(49, 95, 124, 0.1);
}

.context-badge.direction-other,
.context-badge.direction-mixed {
  color: #6c7776;
  background: rgba(125, 133, 132, 0.11);
}

.context-heterogeneity {
  color: var(--muted);
  font-size: 0.76rem;
}

.context-bars {
  min-width: 0;
}

.context-single-bar,
.context-bar-stack,
.context-mixed-bar {
  width: 100%;
  max-width: 100%;
}

.context-single-bar,
.context-mixed-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(218, 225, 223, 0.7);
}

.context-mixed-bar {
  display: flex;
}

.context-mixed-segment,
.context-mixed-other {
  display: block;
  height: 100%;
}

.context-mixed-bar.is-filtered .context-mixed-segment.is-muted {
  opacity: 0.24;
}

.context-mixed-bar.is-filtered .context-mixed-segment.is-selected {
  opacity: 1;
}

.context-mixed-segment.direction-down,
.context-bar-line.direction-down {
  background: #c7473f;
}

.context-mixed-segment.direction-up,
.context-bar-line.direction-up {
  background: #315f7c;
}

.context-mixed-other,
.context-bar-line.direction-other {
  background: #9fa8a6;
}

.context-bar-stack {
  display: grid;
  gap: 5px;
}

.context-bar-line {
  display: block;
  height: 8px;
  border-radius: 999px;
}

.context-bar-line.is-secondary {
  height: 4px;
  opacity: 0.32;
}

.context-count {
  color: var(--ink);
  font-family: "Manrope", var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.context-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #48646c;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
}

.context-open:hover,
.context-open:focus-visible {
  color: #fff;
  background: var(--green);
  outline: none;
}

.direction-context-empty {
  padding: 28px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.direction-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 11px;
  border: 1px solid rgba(49, 95, 124, 0.18);
  color: #2d5f80;
  background: rgba(49, 95, 124, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
}

.direction-pill.direction-up {
  color: #2d5f80;
  background: rgba(49, 95, 124, 0.12);
  border-color: rgba(49, 95, 124, 0.24);
}

.direction-pill.direction-down {
  color: #813b32;
  background: rgba(155, 77, 64, 0.14);
  border-color: rgba(155, 77, 64, 0.24);
}

.direction-pill.direction-neutral,
.direction-pill.direction-other {
  color: #6b562e;
  background: rgba(182, 132, 53, 0.2);
  border-color: rgba(182, 132, 53, 0.28);
}

.partner-table-wrap {
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partner-table {
  height: 100%;
}

.partner-table th,
.partner-table td {
  padding-block: 15px;
}

.partner-table th {
  font-family: "Manrope", var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.partner-table th:nth-child(3),
.partner-table td:nth-child(3) {
  text-align: center;
}

.partner-table td:nth-child(3) {
  vertical-align: middle;
}

.partner-table td:nth-child(3) .mini-chip {
  margin-inline: auto;
}

.partner-table tr {
  min-height: 66px;
}

#partner-table-view .pagination {
  margin: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: rgba(250, 252, 251, 0.78);
}

.partner-table td:first-child a {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
}

.partner-table td:first-child a:hover,
.partner-table td:first-child a:focus-visible {
  color: var(--green);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px var(--content-gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .detail-main-grid {
    grid-template-columns: 1fr;
  }

  .disease-hypergraph-workbench {
    grid-template-columns: 1fr;
  }

  .combo-overview-card,
  .target-main-grid,
  .combo-overview-grid,
  .paper-main-grid {
    grid-template-columns: 1fr;
  }

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

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

  .target-overview-card,
  .combo-overview-main {
    grid-template-columns: 1fr;
  }

  .partner-section-head,
  .partner-section-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .disease-combination-actions {
    width: 100%;
  }

  .disease-combination-actions .target-search {
    width: min(100%, 420px);
  }

  .disease-combination-toolbar {
    grid-template-columns: 1fr;
  }

  .disease-combination-toolbar .sort-control {
    width: min(100%, 360px);
    flex-basis: auto;
  }

  .partner-network-shell {
    grid-template-columns: 1fr;
  }

  .partner-network-detail {
    border-top: 1px solid rgba(215, 224, 221, 0.92);
    border-left: 0;
  }

  .target-overview-main {
    grid-template-columns: minmax(240px, 1.15fr) minmax(240px, 1fr) minmax(180px, 0.72fr);
  }

  .target-direction-card::before,
  .combo-summary-panel::before,
  .combo-direction-summary-card::before {
    top: 0;
    right: clamp(28px, 4vw, 44px);
    bottom: auto;
    left: clamp(28px, 4vw, 44px);
    width: auto;
    height: 1px;
  }

  .search-side {
    min-height: auto;
  }

  .search-results {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

@media (max-width: 860px) {
  .site-header,
  .browse-preview,
  .site-footer {
    display: block;
  }

  .nav-links {
    margin-top: 12px;
    overflow-x: auto;
  }

  .hero-grid {
    width: min(260px, 100%);
    opacity: 0.55;
  }

  .stat-grid,
  .highlight-grid,
  .detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .disease-motif {
    width: 240px;
    height: 180px;
    right: -40px;
    opacity: 0.28;
  }

  .target-motif {
    width: 230px;
    height: 190px;
    right: -38px;
    opacity: 0.24;
  }

  .combo-motif {
    width: 250px;
    height: 180px;
    right: -42px;
    opacity: 0.24;
  }

  .paper-motif {
    width: 230px;
    height: 180px;
    right: -36px;
    opacity: 0.23;
  }

  .browse-actions {
    margin-top: 24px;
  }

  .target-overview-main,
  .target-overview-stats,
  .combo-summary-stats {
    grid-template-columns: 1fr;
  }

  .combo-summary-stats article:nth-child(2) {
    justify-self: start;
  }

  .direction-context-table-head,
  .direction-context-row {
    grid-template-columns: 38px minmax(200px, 1fr) minmax(180px, 0.9fr) 84px 28px;
    column-gap: 12px;
  }

  .direction-context-toolbar,
  .direction-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-view-toggle {
    width: 100%;
    max-width: 420px;
  }

  .target-annotation-block,
  .target-evidence-block,
  .target-overview-stats article + article {
    padding-top: 26px;
  }

  .target-annotation-block::before,
  .target-evidence-block::before,
  .target-overview-stats article + article::before {
    top: 0;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    height: 1px;
  }

}

@media (max-width: 560px) {
  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.4rem, 23vw, 5rem);
  }

  .search-row,
  .result-card,
  .search-side-head,
  .detail-section-head,
  .target-overview-main,
  .combo-overview-main,
  .target-overview-stats,
  .combo-summary-stats,
  .disease-hypergraph-toolbar,
  .dti-toolbar,
  .dti-card,
  .combination-card,
  .disease-context-card,
  .paper-combination-card,
  .stat-grid,
  .highlight-grid,
  .detail-stats,
  .browse-actions {
    grid-template-columns: 1fr;
  }

  .detail-section-head {
    display: block;
  }

  .direction-context-table-head {
    display: none;
  }

  .direction-context-row {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    row-gap: 10px;
    padding: 14px;
  }

  .context-disease-cell {
    grid-column: 2 / 3;
  }

  .context-bars {
    grid-column: 2 / 4;
  }

  .context-count {
    grid-column: 2 / 3;
    grid-row: 3;
    text-align: left;
  }

  .context-open {
    grid-column: 3 / 4;
    grid-row: 1;
  }

  .direction-overview-legend {
    justify-content: flex-start;
  }

  .partner-view-toggle {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .target-table-section {
    --partner-view-height: 620px;
  }

  .partner-network svg {
    width: 920px;
  }

  .network-pattern-row {
    grid-template-columns: 1fr 1fr 56px;
  }

  .network-pattern-row .pattern-bar {
    grid-column: 1 / 3;
  }

  .molecule-lightbox {
    padding: 12px;
  }

  .molecule-lightbox-panel {
    width: 100%;
    height: min(90vh, 720px);
    max-height: 90vh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .molecule-lightbox-structure {
    min-height: 52vh;
  }

  .molecule-lightbox-structure.is-comparing {
    align-content: start;
    gap: 12px;
  }

  .molecule-lightbox-structure.is-comparing > img,
  .molecule-lightbox-structure.is-comparing > .molecule-highlight-svg {
    max-width: 100%;
    max-height: 34vh;
    transform: none;
  }

  .molecule-hover-compare {
    position: static;
    width: 100%;
    min-height: 240px;
    pointer-events: none;
  }

  .molecule-lightbox-meta {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .dti-card-head {
    display: grid;
  }

  .dti-structure-frame {
    min-height: 210px;
  }

  .disease-hypergraph-toolbar {
    display: grid;
    align-items: stretch;
  }

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

  .pagination-controls {
    justify-content: flex-start;
  }

  .sort-control {
    margin-top: 14px;
  }

  .disease-map-note {
    margin-top: 10px;
  }

  .disease-target-search {
    width: 100%;
  }

  .disease-hypergraph-frame {
    min-height: 500px;
    height: 66vh;
  }

  .search-side-head {
    display: block;
  }

  #result-count {
    display: inline-flex;
    margin-top: 10px;
  }

  .target-annotation-block,
  .target-evidence-block,
  .target-direction-card,
  .target-overview-stats article + article {
    padding-top: 26px;
  }

  .target-annotation-block::before,
  .target-evidence-block::before,
  .target-direction-card::before,
  .target-overview-stats article + article::before {
    top: 0;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 1px;
  }

  .target-overview-stats article {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 22px;
  }

  .target-stat-icon {
    width: 44px;
    height: 44px;
  }

  .search-row button {
    min-height: 48px;
  }

  .stat-card,
  .highlight-grid article {
    min-height: auto;
  }

  .detail-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .paper-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.65rem);
    line-height: 1.12;
  }

  .combination-card {
    gap: 10px;
  }

  .partner-network {
    min-height: auto;
  }

  .partner-network svg {
    min-height: 360px;
  }

  .site-footer span:last-child {
    display: block;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .search-panel,
  .stat-card,
  .highlight-grid article {
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  }

  .stat-card:hover,
  .highlight-grid article:hover {
    transform: translateY(-2px);
  }
}

/* === Experimental prediction page: removable block start === */
.predict-page {
  background:
    linear-gradient(rgba(49, 95, 124, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 124, 0.026) 1px, transparent 1px),
    linear-gradient(135deg, rgba(232, 241, 238, 0.72), rgba(255, 255, 255, 0.82) 46%, rgba(248, 244, 236, 0.58)),
    #f8fbf9;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.predict-page [hidden] {
  display: none !important;
}

.predict-page main,
.about-page .about-manual,
.predict-page > .site-footer,
.about-page > .site-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.predict-page.page-assets-loading main,
.about-page.page-assets-loading .about-manual,
.predict-page.page-assets-loading > .site-footer,
.about-page.page-assets-loading > .site-footer {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  .predict-page main,
  .about-page .about-manual,
  .predict-page > .site-footer,
  .about-page > .site-footer {
    transition: none;
    transform: none;
  }
}

.predict-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.68fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(28px, 4.2vw, 48px) var(--content-gutter) clamp(24px, 3vw, 34px);
  border-bottom: 1px solid rgba(215, 224, 221, 0.86);
}

.predict-hero-copy {
  display: flex;
  min-height: clamp(290px, 25vw, 370px);
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  width: min(760px, 100%);
}

.predict-hero-copy .eyebrow {
  margin: clamp(22px, 2.8vw, 34px) 0 14px;
}

.predict-hero h1 {
  max-width: 920px;
  margin: 0 0 14px;
  font-size: clamp(2.7rem, 4.55vw, 4.55rem);
  line-height: 0.96;
  white-space: nowrap;
}

.predict-subtitle {
  max-width: 760px;
  margin-bottom: 0;
  color: #405158;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.predict-hero-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.predict-hero-guide span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(155, 181, 178, 0.56);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  color: #31545e;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(22, 36, 43, 0.05);
  font-size: 0.84rem;
  font-weight: 700;
}

.predict-hero-guide strong {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.predict-hero-art {
  justify-self: start;
  width: min(560px, 100%);
  margin: 0;
  pointer-events: none;
  transform: translateX(-34px);
}

.predict-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 38px rgba(22, 36, 43, 0.11));
}

.predict-scope-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 14px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 238, 0.76)),
    #fff;
  box-shadow: var(--shadow);
}

.predict-scope-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -38px auto;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(49, 95, 124, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(49, 95, 124, 0.10) 35% 36%, transparent 37%),
    radial-gradient(circle, rgba(45, 110, 101, 0.12), transparent 58%);
}

.scope-led {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(182, 132, 53, 0.16);
}

.scope-led[data-tone="ready"] {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(45, 110, 101, 0.14);
}

.scope-led[data-tone="loaded"] {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(49, 95, 124, 0.14);
}

.scope-led[data-tone="offline"] {
  background: var(--rust);
  box-shadow: 0 0 0 5px rgba(155, 77, 64, 0.14);
}

.predict-scope-card dl {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.predict-scope-card dl div {
  min-height: 82px;
  border: 1px solid rgba(215, 224, 221, 0.82);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.predict-scope-card .summary-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.predict-scope-card dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.predict-scope-card dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.predict-scope-card code {
  display: inline-block;
  margin-top: 4px;
  color: #24424a;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
}

.predict-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
  padding: 32px var(--content-gutter) 70px;
}

.predict-form,
.predict-output {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(22, 36, 43, 0.07);
}

.predict-form {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.predict-form-head,
.predict-output-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.predict-form h2,
.predict-output h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.predict-method,
#predict-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(49, 95, 124, 0.16);
  border-radius: 999px;
  padding: 6px 11px;
  color: #3a535b;
  background: var(--soft-blue);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

#predict-status[data-tone="busy"] {
  color: #72531d;
  background: rgba(182, 132, 53, 0.18);
}

#predict-status[data-tone="success"] {
  color: #275f57;
  background: var(--soft-green);
}

#predict-status[data-tone="error"] {
  color: #843e35;
  background: rgba(155, 77, 64, 0.12);
}

#predict-status[data-tone="action"] {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.predict-field {
  position: relative;
  display: block;
  margin-bottom: 18px;
}

.predict-field > span,
.predict-options label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 700;
}

.predict-field input,
.predict-options select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
}

.predict-field input:focus,
.predict-options select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(45, 110, 101, 0.14);
}

.predict-field small {
  display: block;
  min-height: 20px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.predict-suggestions {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 5;
  max-height: 282px;
  overflow-y: auto;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(22, 36, 43, 0.14);
}

.predict-suggestions:empty,
.predict-suggestions[hidden] {
  display: none;
}

.predict-suggestions button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.predict-suggestions button:hover,
.predict-suggestions button:focus-visible {
  background: var(--soft-green);
  outline: none;
}

.predict-suggestions strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.predict-suggestions span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.predict-suggestion-empty {
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: rgba(232, 238, 243, 0.55);
  font-size: 0.84rem;
}

.predict-options {
  display: grid;
  grid-template-columns: minmax(150px, 220px);
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.predict-check {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 49px;
  border: 1px solid rgba(215, 224, 221, 0.88);
  border-radius: 9px;
  padding: 11px 12px;
  background: rgba(232, 241, 238, 0.48);
}

.predict-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.predict-check span {
  margin: 0;
  color: #405158;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.predict-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.predict-examples button {
  border: 1px solid rgba(49, 95, 124, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  color: #3a535b;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.predict-examples button:hover,
.predict-examples button:focus-visible {
  color: var(--ink);
  background: var(--soft-blue);
  outline: none;
}

.predict-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #244f62);
  cursor: pointer;
  font-weight: 700;
}

.predict-submit:disabled {
  cursor: wait;
  opacity: 0.66;
}

.predict-output {
  min-height: 620px;
  padding: 22px;
}

.prediction-placeholder {
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px dashed rgba(49, 95, 124, 0.22);
  border-radius: 14px;
  padding: 34px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(232, 241, 238, 0.55), rgba(232, 238, 243, 0.50)),
    rgba(255, 255, 255, 0.62);
  text-align: center;
}

.prediction-placeholder strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.prediction-placeholder span:last-child {
  max-width: 540px;
  line-height: 1.55;
}

.prediction-lattice {
  position: relative;
  width: 250px;
  height: 150px;
  margin-bottom: 16px;
}

.prediction-lattice .node,
.prediction-lattice .edge {
  position: absolute;
  display: block;
}

.prediction-lattice .node {
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(22, 36, 43, 0.12);
}

.prediction-lattice .disease-node {
  top: 56px;
  left: 8px;
  background: var(--rust);
}

.prediction-lattice .seed-node {
  top: 56px;
  left: 104px;
  background: var(--green);
}

.prediction-lattice .partner-node:nth-of-type(3) {
  top: 10px;
  right: 16px;
  background: var(--blue);
}

.prediction-lattice .partner-node:nth-of-type(4) {
  top: 58px;
  right: 0;
  background: var(--amber);
}

.prediction-lattice .partner-node:nth-of-type(5) {
  right: 18px;
  bottom: 8px;
  background: #7a8f87;
}

.prediction-lattice .edge {
  height: 2px;
  transform-origin: left center;
  background: rgba(49, 95, 124, 0.28);
}

.prediction-lattice .edge-a {
  top: 73px;
  left: 40px;
  width: 67px;
}

.prediction-lattice .edge-b {
  top: 60px;
  left: 137px;
  width: 78px;
  transform: rotate(-27deg);
}

.prediction-lattice .edge-c {
  top: 87px;
  left: 137px;
  width: 86px;
  transform: rotate(28deg);
}

.result-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.result-summary-strip span {
  border: 1px solid rgba(215, 224, 221, 0.92);
  border-radius: 999px;
  padding: 7px 10px;
  color: #405158;
  background: rgba(232, 241, 238, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
}

.result-filter-toggle {
  border: 1px solid rgba(45, 110, 101, 0.34);
  border-radius: 8px;
  padding: 8px 12px;
  color: #175e55;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(21, 75, 69, 0.08);
  white-space: nowrap;
}

.result-filter-toggle:hover,
.result-filter-toggle:focus-visible {
  border-color: rgba(45, 110, 101, 0.48);
  background: var(--soft-green);
  outline: none;
}

.result-filter-toggle:disabled {
  cursor: wait;
  opacity: 0.62;
}

.anchor-support-card {
  --support-accent: var(--green);
  --support-tint: rgba(232, 241, 238, 0.74);
  --support-line: rgba(45, 110, 101, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 18px;
  border: 1px solid var(--support-line);
  border-left: 5px solid var(--support-accent);
  border-radius: 15px;
  padding: 16px;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.84) 0 2px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(135deg, var(--support-tint), rgba(255, 255, 255, 0.92));
  box-shadow: 0 14px 34px rgba(22, 36, 43, 0.06);
}

.anchor-support-card[hidden] {
  display: none;
}

.anchor-support-card[data-level="strong"] {
  --support-accent: #2d6e65;
  --support-tint: rgba(232, 241, 238, 0.82);
  --support-line: rgba(45, 110, 101, 0.24);
}

.anchor-support-card[data-level="moderate"] {
  --support-accent: #b68435;
  --support-tint: rgba(255, 246, 224, 0.84);
  --support-line: rgba(182, 132, 53, 0.28);
}

.anchor-support-card[data-level="limited"] {
  --support-accent: #315f7c;
  --support-tint: rgba(232, 238, 243, 0.84);
  --support-line: rgba(49, 95, 124, 0.24);
}

.anchor-support-card[data-level="none"] {
  --support-accent: #9b4d40;
  --support-tint: rgba(252, 239, 236, 0.82);
  --support-line: rgba(155, 77, 64, 0.22);
}

.anchor-support-card[data-level="unavailable"] {
  --support-accent: #7b8c91;
  --support-tint: rgba(236, 241, 240, 0.84);
  --support-line: rgba(123, 140, 145, 0.22);
}

.anchor-support-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.anchor-support-kicker {
  margin-bottom: 7px;
  color: var(--support-accent);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.anchor-support-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  line-height: 1.12;
}

.anchor-support-card p {
  max-width: 680px;
  margin: 0;
  color: #405158;
  font-size: 0.86rem;
  line-height: 1.5;
}

.anchor-support-query {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 13px;
}

.anchor-support-query span,
.anchor-support-query i {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(49, 95, 124, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: #39545b;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.anchor-support-query i {
  min-width: 28px;
  justify-content: center;
  padding: 5px 8px;
  color: var(--support-accent);
  font-style: normal;
}

.anchor-support-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
  margin: 0;
}

.anchor-support-metrics div {
  min-width: 0;
  border: 1px solid rgba(215, 224, 221, 0.72);
  border-radius: 12px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.70);
}

.anchor-support-metrics dt {
  margin: 0 0 5px;
  color: #718187;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.anchor-support-metrics dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

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

.predict-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.predict-table th,
.predict-table td {
  border-bottom: 1px solid rgba(215, 224, 221, 0.78);
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
}

.predict-table th {
  color: var(--muted);
  background: rgba(247, 250, 248, 0.9);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.predict-table tr:last-child td {
  border-bottom: 0;
}

.predict-table td strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
}

.pair-detail-button {
  display: inline-flex;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
}

.pair-detail-button strong {
  border-bottom: 1px solid transparent;
}

.pair-detail-button span {
  display: inline-flex;
  margin-top: 4px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pair-detail-button:hover strong,
.pair-detail-button:focus-visible strong {
  border-color: rgba(45, 110, 101, 0.45);
}

.pair-detail-button:focus-visible {
  outline: 3px solid rgba(45, 110, 101, 0.16);
  outline-offset: 4px;
  border-radius: 6px;
}

.rank-pill,
.known-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.rank-pill {
  min-width: 32px;
  height: 32px;
  color: var(--green);
  background: var(--soft-green);
}

.known-badge {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 0.76rem;
}

.known-badge.candidate {
  color: #275f57;
  background: var(--soft-green);
}

.known-badge.reported {
  color: #72531d;
  background: rgba(182, 132, 53, 0.18);
}

.score-cell {
  min-width: 140px;
}

.score-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}

.score-cell strong {
  display: inline;
  font-family: var(--font-body);
  font-size: 1.08rem;
}

.score-cell span {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.score-bar {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 224, 221, 0.85);
}

.score-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 330px;
}

.feature-chips span {
  border: 1px solid rgba(49, 95, 124, 0.13);
  border-radius: 999px;
  padding: 5px 8px;
  color: #405158;
  background: rgba(232, 238, 243, 0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pair-context-modal[hidden] {
  display: none;
}

.pair-context-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.pair-context-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 110, 101, 0.18), transparent 32%),
    rgba(22, 36, 43, 0.58);
  backdrop-filter: blur(6px);
}

.pair-context-dialog {
  position: absolute;
  inset: clamp(18px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.92);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.98)),
    var(--panel);
  box-shadow: 0 30px 90px rgba(22, 36, 43, 0.26);
}

.pair-context-dialog-body {
  height: 100%;
  overflow-y: auto;
  padding: clamp(22px, 3.2vw, 40px);
}

.pair-context-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 224, 221, 0.9);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(22, 36, 43, 0.09);
}

.pair-context-close:hover,
.pair-context-close:focus-visible {
  color: var(--green);
  outline: none;
  border-color: rgba(45, 110, 101, 0.3);
}

.pair-context-header {
  max-width: 920px;
  margin-bottom: 24px;
  padding-right: 54px;
}

.pair-context-header h2 {
  margin: 5px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.94;
}

.pair-context-header p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pair-context-section {
  margin-top: 20px;
  border: 1px solid rgba(215, 224, 221, 0.88);
  border-radius: 18px;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.72);
}

.pair-context-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 16px;
}

.pair-context-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.pair-context-section-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.pair-metric-card {
  border: 1px solid rgba(49, 95, 124, 0.13);
  border-radius: 14px;
  padding: 13px;
  background:
    linear-gradient(180deg, rgba(232, 241, 238, 0.54), rgba(255, 255, 255, 0.82)),
    #fff;
}

.pair-metric-card.is-missing {
  opacity: 0.62;
}

.pair-metric-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.pair-metric-head span {
  color: #405158;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.pair-metric-head strong {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.metric-ruler {
  position: relative;
  height: 36px;
  margin: 11px 0 3px;
}

.metric-ruler::before {
  position: absolute;
  top: 16px;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 999px;
  content: "";
  background:
    linear-gradient(90deg, rgba(155, 77, 64, 0.28), rgba(182, 132, 53, 0.33), rgba(45, 110, 101, 0.45));
}

.metric-ruler i {
  position: absolute;
  top: 6px;
  width: 4px;
  height: 25px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(45, 110, 101, 0.11);
  transform: translateX(-50%);
}

.metric-ruler-scale {
  display: flex;
  justify-content: space-between;
  color: #7a8b90;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0;
}

.pair-metric-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
}

.ppi-context-grid,
.pathway-context-grid {
  display: grid;
  gap: 16px;
}

.ppi-context-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.72fr);
}

.pathway-context-grid {
  grid-template-columns: minmax(0, 2.15fr) minmax(360px, 0.8fr);
}

.relationship-view-panel .ppi-context-grid,
.relationship-view-panel .pathway-context-grid {
  height: 100%;
  min-height: 0;
}

.relationship-view-panel .ppi-context-grid > *,
.relationship-view-panel .pathway-context-grid > * {
  min-width: 0;
  min-height: 0;
}

.relationship-view-panel .ppi-graph-card,
.relationship-view-panel .ppi-neighbor-card,
.relationship-view-panel .pathway-bridge-card,
.relationship-view-panel .shared-pathway-card,
.relationship-view-panel .pair-context-empty {
  height: 100%;
}

.relationship-view-panel .ppi-graph-card {
  min-height: 0;
}

.relationship-view-panel .ppi-graph-card svg {
  height: 100%;
  min-height: 0;
}

.relationship-view-panel .ppi-neighbor-card,
.relationship-view-panel .shared-pathway-card,
.relationship-view-panel .pathway-bridge-card {
  overflow: auto;
}

.relationship-view-panel .pathway-tree-card,
.relationship-view-panel .pathway-map-card,
.relationship-view-panel .functional-map-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
}

.relationship-view-panel .pathway-map-svg,
.relationship-view-panel .functional-map-svg,
.relationship-view-panel .pathway-tree-svg {
  height: 100%;
  min-height: 0;
}

.ppi-graph-card,
.ppi-neighbor-card,
.pathway-bridge-card,
.shared-pathway-card,
.pair-context-empty,
.pair-context-loading {
  border: 1px solid rgba(215, 224, 221, 0.82);
  border-radius: 15px;
  background:
    radial-gradient(circle at 12px 12px, rgba(49, 95, 124, 0.08) 0 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(247, 250, 248, 0.76);
}

.ppi-graph-card {
  position: relative;
  min-height: 430px;
  padding: 12px;
}

.ppi-explorer-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}

.ppi-explorer-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.ppi-explorer-title {
  display: grid;
  gap: 2px;
}

.ppi-explorer-title strong {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 850;
}

.ppi-explorer-title span {
  color: rgba(67, 83, 89, 0.72);
  font-size: 0.72rem;
  font-weight: 650;
}

.ppi-explorer-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.ppi-mode-toggle,
.ppi-visual-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(142px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(190, 211, 207, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.ppi-mode-toggle button,
.ppi-visual-toggle button,
.ppi-reset-view {
  min-height: 36px;
  border: 0;
  padding: 0 13px;
  color: #38565d;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.ppi-mode-toggle button:hover,
.ppi-mode-toggle button:focus-visible,
.ppi-visual-toggle button:hover,
.ppi-visual-toggle button:focus-visible,
.ppi-reset-view:hover,
.ppi-reset-view:focus-visible {
  color: var(--green);
  outline: none;
}

.ppi-mode-toggle button.is-active,
.ppi-visual-toggle button.is-active {
  color: var(--green);
  background: rgba(218, 239, 234, 0.78);
}

.ppi-reset-view {
  flex: 0 0 auto;
  border: 1px solid rgba(190, 211, 207, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.ppi-graph-card svg {
  display: block;
  width: 100%;
  height: 420px;
}

.ppi-explorer-svg {
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(45, 110, 101, 0.13) 1px, transparent 1.2px),
    linear-gradient(180deg, rgba(248, 252, 250, 0.72), rgba(255, 255, 255, 0.5));
  background-size: 22px 22px, auto;
}

.ppi-explorer.is-panning .ppi-explorer-svg {
  cursor: grabbing;
}

.ppi-explorer-svg.is-dragging-node {
  cursor: grabbing;
}

.ppi-map-field {
  fill: transparent;
}

.ppi-visual-panel {
  display: none;
  height: 100%;
  min-height: 0;
}

.ppi-visual-panel.is-active {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
}

.ppi-side-panel {
  display: none;
}

.ppi-side-panel.is-active {
  display: block;
}

.rwr-diffusion-svg {
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
  background: linear-gradient(180deg, rgba(248, 252, 250, 0.94), rgba(255, 255, 255, 0.78));
}

.rwr-map-shell {
  position: relative;
  height: 100%;
  min-height: 0;
}

.ppi-explorer.is-rwr-panning .rwr-diffusion-svg {
  cursor: grabbing;
}

.ppi-graph-card .rwr-anchor-axis {
  fill: none;
  stroke: rgba(45, 110, 101, 0.34);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-anchor-core {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-anchor-a .rwr-anchor-core {
  fill: var(--green);
  stroke: #244f48;
}

.ppi-graph-card .rwr-anchor-b .rwr-anchor-core {
  fill: #d95757;
  stroke: #993b3b;
}

.rwr-anchor text {
  fill: var(--ink);
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3.4px;
  stroke-linejoin: round;
}

.ppi-graph-card .rwr-zone-legend circle {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-zone-legend.is-a circle {
  fill: #3aa7b8;
}

.ppi-graph-card .rwr-zone-legend.is-b circle {
  fill: #d95757;
}

.ppi-graph-card .rwr-zone-legend.is-shared circle {
  fill: #58466f;
}

.ppi-graph-card .rwr-zone-legend text {
  fill: rgba(67, 83, 89, 0.72);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 2.6px;
  stroke-linejoin: round;
}

.rwr-empty {
  align-content: center;
  min-height: 100%;
  text-align: center;
}

.ppi-explorer-layer {
  display: none;
}

.ppi-explorer[data-ppi-mode="focused"] .ppi-layer-focused,
.ppi-explorer[data-ppi-mode="local"] .ppi-layer-local,
.ppi-explorer[data-ppi-mode="neighborhood"] .ppi-layer-neighborhood {
  display: block;
}

.ppi-graph-card line,
.ppi-graph-card path {
  fill: none;
  stroke: rgba(49, 95, 124, 0.18);
  stroke-width: 0.72;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-zone-panel {
  cursor: pointer;
  pointer-events: all;
  transition: fill 150ms ease, stroke 150ms ease;
}

.ppi-graph-card .rwr-zone-panel.rwr-zone-a {
  fill: rgba(50, 170, 184, 0.105);
}

.ppi-graph-card .rwr-zone-panel.rwr-zone-shared {
  fill: rgba(88, 70, 111, 0.118);
}

.ppi-graph-card .rwr-zone-panel.rwr-zone-b {
  fill: rgba(225, 87, 82, 0.098);
}

.ppi-graph-card .rwr-zone-panel:hover,
.ppi-graph-card .rwr-zone-panel:focus-visible,
.ppi-graph-card .rwr-zone-panel.is-selected {
  outline: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-zone-panel.rwr-zone-a:hover,
.ppi-graph-card .rwr-zone-panel.rwr-zone-a:focus-visible,
.ppi-graph-card .rwr-zone-panel.rwr-zone-a.is-selected {
  fill: rgba(50, 170, 184, 0.145);
  stroke: rgba(25, 124, 136, 0.32);
}

.ppi-graph-card .rwr-zone-panel.rwr-zone-shared:hover,
.ppi-graph-card .rwr-zone-panel.rwr-zone-shared:focus-visible,
.ppi-graph-card .rwr-zone-panel.rwr-zone-shared.is-selected {
  fill: rgba(88, 70, 111, 0.158);
  stroke: rgba(89, 69, 118, 0.34);
}

.ppi-graph-card .rwr-zone-panel.rwr-zone-b:hover,
.ppi-graph-card .rwr-zone-panel.rwr-zone-b:focus-visible,
.ppi-graph-card .rwr-zone-panel.rwr-zone-b.is-selected {
  fill: rgba(225, 87, 82, 0.138);
  stroke: rgba(195, 63, 72, 0.32);
}

.ppi-graph-card .rwr-zone-divider {
  stroke: rgba(80, 111, 113, 0.18);
  stroke-width: 1.1;
  stroke-dasharray: 4 8;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-balance-axis {
  stroke: rgba(69, 86, 96, 0.12);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-node {
  cursor: default;
}

.ppi-graph-card .rwr-node circle {
  opacity: var(--rwr-node-opacity, 0.8);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.9;
  filter: drop-shadow(0 3px 7px rgba(23, 39, 45, 0.16));
  vector-effect: non-scaling-stroke;
}

.ppi-graph-card .rwr-node-a_only circle {
  fill: #2f9dae;
}

.ppi-graph-card .rwr-node-b_only circle {
  fill: #e05252;
}

.ppi-graph-card .rwr-node-shared circle {
  fill: #7756a6;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.2;
}

.ppi-graph-card .rwr-node:focus-visible circle,
.ppi-graph-card .rwr-node:hover circle,
.ppi-graph-card .rwr-node.is-rwr-highlighted circle {
  opacity: 1;
  stroke: rgba(17, 40, 46, 0.68);
  stroke-width: 3;
}

.ppi-graph-card .rwr-node.is-rwr-highlighted text {
  fill: var(--ink);
  font-size: 12px;
  stroke-width: 3.6px;
}

.ppi-graph-card .rwr-node text,
.ppi-graph-card .rwr-zone-label text {
  font-family: var(--font-ui);
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-linejoin: round;
}

.ppi-graph-card .rwr-node text {
  fill: rgba(28, 44, 50, 0.82);
  font-size: 10.8px;
  font-weight: 850;
  stroke-width: 3.2px;
  pointer-events: none;
}

.ppi-graph-card .rwr-zone-label-main {
  font-size: 15px;
  font-weight: 900;
  stroke-width: 3px;
}

.ppi-graph-card .rwr-zone-label-sub {
  fill: rgba(63, 79, 87, 0.58);
  font-size: 11.5px;
  font-weight: 720;
  stroke-width: 2.8px;
}

.ppi-graph-card .rwr-zone-label.is-a .rwr-zone-label-main {
  fill: #197c88;
}

.ppi-graph-card .rwr-zone-label.is-shared .rwr-zone-label-main {
  fill: #594576;
}

.ppi-graph-card .rwr-zone-label.is-b .rwr-zone-label-main {
  fill: #c33f48;
}

.ppi-graph-card line.shortest,
.ppi-graph-card path.shortest {
  stroke: rgba(45, 110, 101, 0.82);
  stroke-linecap: round;
  stroke-width: 3.2;
}

.ppi-graph-card line.common,
.ppi-graph-card path.common {
  stroke: rgba(65, 164, 181, 0.2);
  stroke-width: 0.9;
}

.ppi-graph-card line.visible-ppi,
.ppi-graph-card path.visible-ppi {
  opacity: 0;
  pointer-events: none;
  stroke-linecap: round;
  transition: opacity 150ms ease, stroke-width 150ms ease;
}

.ppi-graph-card line.visible-ppi.target-link,
.ppi-graph-card path.visible-ppi.target-link {
  stroke: rgba(65, 164, 181, 0.5);
  stroke-width: 1.35;
}

.ppi-graph-card line.visible-ppi.peer-link,
.ppi-graph-card path.visible-ppi.peer-link {
  stroke: rgba(49, 95, 124, 0.22);
  stroke-dasharray: 2.4 3.2;
  stroke-width: 0.86;
}

.ppi-graph-card line.visible-ppi.is-revealed,
.ppi-graph-card path.visible-ppi.is-revealed {
  opacity: 0.9;
}

.ppi-graph-card line.ego,
.ppi-graph-card path.ego {
  stroke-width: 0.78;
  stroke-linecap: round;
}

.ppi-graph-card line.target-a-ego,
.ppi-graph-card path.target-a-ego {
  stroke: rgba(181, 132, 53, 0.23);
}

.ppi-graph-card line.target-b-ego,
.ppi-graph-card path.target-b-ego {
  stroke: rgba(49, 95, 124, 0.2);
}

.ppi-graph-card line.peripheral,
.ppi-graph-card path.peripheral {
  stroke: rgba(49, 95, 124, 0.12);
  stroke-dasharray: 1.4 1.6;
}

.ppi-graph-card circle {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.ppi-node {
  cursor: grab;
  transition: opacity 150ms ease;
}

.ppi-node.is-dragging {
  cursor: grabbing;
}

.ppi-node.target circle {
  fill: var(--green);
  stroke: #244f48;
}

.ppi-node.bridge circle {
  fill: var(--amber);
  stroke: #78561e;
  stroke-width: 1.7;
}

.ppi-node.common circle {
  fill: #fff;
  stroke: rgba(49, 95, 124, 0.75);
}

.ppi-node.common.ra-high circle {
  fill: rgba(236, 250, 247, 0.95);
  stroke: rgba(45, 110, 101, 0.92);
  stroke-width: 1.8;
}

.ppi-node.common.ra-mid circle {
  fill: rgba(244, 250, 248, 0.92);
  stroke: rgba(49, 95, 124, 0.84);
  stroke-width: 1.45;
}

.ppi-node.target-a-neighbor circle {
  fill: rgba(247, 236, 213, 0.84);
  stroke: rgba(181, 132, 53, 0.58);
}

.ppi-node.target-b-neighbor circle {
  fill: rgba(228, 239, 247, 0.84);
  stroke: rgba(49, 95, 124, 0.56);
}

.ppi-node.is-shortest-path circle {
  stroke: #244f48;
  stroke-width: 2;
  filter: drop-shadow(0 2px 6px rgba(45, 110, 101, 0.18));
}

.ppi-node.is-dragging circle {
  stroke: #16242b;
  stroke-width: 2.5;
  filter: drop-shadow(0 5px 10px rgba(22, 36, 43, 0.18));
}

.ppi-node.is-selected circle {
  fill: #f7dfd8;
  stroke: #d95f4f;
  stroke-width: 2.4;
  filter: drop-shadow(0 5px 11px rgba(217, 95, 79, 0.22));
}

.ppi-node.is-related circle {
  stroke: rgba(65, 164, 181, 0.9);
  stroke-width: 1.9;
}

.ppi-explorer.has-node-selection .ppi-node:not(.is-selected):not(.is-related) {
  opacity: 0.14;
}

.ppi-explorer.has-node-selection .ppi-node:not(.is-selected):not(.is-related) text {
  opacity: 0;
}

.ppi-explorer.has-node-selection .ppi-node.is-selected,
.ppi-explorer.has-node-selection .ppi-node.is-related {
  opacity: 1;
}

.ppi-node.peripheral {
  opacity: 0.58;
}

.ppi-node.peripheral circle {
  fill: rgba(255, 255, 255, 0.72);
  stroke: rgba(49, 95, 124, 0.34);
}

.ppi-node.peripheral text {
  fill: rgba(32, 47, 54, 0.58);
  font-size: 2.6px;
}

.ppi-node text {
  fill: var(--ink);
  font-family: var(--font-ui);
  font-size: 12.6px;
  font-weight: 800;
  opacity: 1;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3.4px;
  stroke-linejoin: round;
  pointer-events: none;
  transition: opacity 120ms ease;
  user-select: none;
}

.ppi-node-label.is-hover-label {
  opacity: 0;
}

.ppi-node:hover .ppi-node-label.is-hover-label,
.ppi-node:focus-visible .ppi-node-label.is-hover-label,
.ppi-node.is-dragging .ppi-node-label.is-hover-label {
  opacity: 1;
}

.ppi-node.target text {
  font-size: 25px;
  font-weight: 900;
}

.ppi-node.bridge text,
.ppi-node.common text {
  font-size: 12.8px;
}

.ppi-graph-hint {
  margin: 0;
  color: rgba(67, 83, 89, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
}

.ppi-neighbor-card,
.shared-pathway-card {
  padding: 15px;
}

.context-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(215, 224, 221, 0.78);
  padding: 8px 0;
}

.context-stat-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.context-stat-row strong {
  color: var(--ink);
  font-family: var(--font-mono);
  text-align: right;
  overflow-wrap: anywhere;
}

.rwr-zone-browser {
  min-height: 100%;
}

.rwr-zone-empty {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px dashed rgba(178, 202, 198, 0.9);
  border-radius: 10px;
  color: rgba(67, 83, 89, 0.64);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 780;
  text-align: center;
}

.rwr-zone-list[hidden],
.rwr-zone-empty[hidden] {
  display: none;
}

.rwr-zone-list li {
  cursor: default;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.rwr-zone-list li:hover,
.rwr-zone-list li:focus-visible {
  border-color: rgba(45, 110, 101, 0.36);
  box-shadow: 0 8px 20px rgba(28, 58, 63, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.ppi-neighbor-card ul,
.shared-pathway-card ul,
.pathway-branches ul,
.convergence-module-grid ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.ppi-neighbor-card li,
.shared-pathway-card li,
.pathway-branches li,
.convergence-module-grid li {
  border: 1px solid rgba(215, 224, 221, 0.78);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.72);
}

.ppi-neighbor-card li strong,
.shared-pathway-card li strong,
.pathway-branches li strong,
.convergence-module-grid li strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.ppi-neighbor-card li span,
.shared-pathway-card li span,
.pathway-branches li span,
.convergence-module-grid li span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
}

.pathway-bridge-card,
.pathway-tree-card {
  padding: 18px;
}

.pathway-tree-card {
  border: 1px solid rgba(215, 224, 221, 0.82);
  border-radius: 15px;
  background:
    radial-gradient(circle at 12px 12px, rgba(49, 95, 124, 0.08) 0 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, rgba(247, 250, 248, 0.82), rgba(255, 255, 255, 0.8));
  min-height: 710px;
  overflow: auto;
}

.pathway-tree-caption {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.pathway-tree-caption span {
  border: 1px solid rgba(45, 110, 101, 0.18);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--green);
  background: var(--soft-green);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pathway-tree-caption .pathway-tree-count {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.pathway-tree-svg {
  display: block;
  width: 100%;
  min-height: 620px;
  max-width: none;
}

.pathway-edge {
  fill: none;
  stroke: rgba(49, 95, 124, 0.3);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.pathway-edge.target-annotation {
  stroke: rgba(45, 110, 101, 0.46);
  stroke-dasharray: 5 4;
}

.pathway-node rect {
  fill: rgba(255, 255, 255, 0.88);
  stroke: rgba(49, 95, 124, 0.28);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.pathway-node.root rect,
.pathway-node.primary-root rect,
.pathway-node.ancestor rect,
.pathway-node.shared rect,
.pathway-node.shared-pathway rect {
  fill: rgba(223, 242, 236, 0.95);
  stroke: rgba(45, 110, 101, 0.58);
}

.pathway-node.target-a rect,
.pathway-node.module-target-a rect {
  fill: rgba(247, 236, 213, 0.96);
  stroke: rgba(181, 132, 53, 0.62);
}

.pathway-node.target-b rect,
.pathway-node.module-target-b rect {
  fill: rgba(228, 239, 247, 0.96);
  stroke: rgba(49, 95, 124, 0.62);
}

.pathway-node text {
  fill: var(--ink);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.pathway-map-card {
  overflow: hidden;
}

.functional-map-card {
  min-height: 760px;
}

.compact-functional-map-card {
  overflow: hidden;
}

.pathway-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 8px;
}

.pathway-map-reset,
.pathway-target-filter button {
  border: 1px solid rgba(45, 110, 101, 0.24);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.pathway-target-filter {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.pathway-target-filter button {
  color: #405158;
  border-color: rgba(49, 95, 124, 0.18);
  background: rgba(247, 250, 248, 0.82);
}

.pathway-target-filter button.is-active {
  color: #fff;
  border-color: rgba(45, 110, 101, 0.72);
  background: var(--green);
}

.pathway-map-reset:hover,
.pathway-map-reset:focus-visible,
.pathway-target-filter button:hover,
.pathway-target-filter button:focus-visible {
  outline: none;
  border-color: rgba(45, 110, 101, 0.52);
  background: var(--soft-green);
}

.pathway-target-filter button.is-active:hover,
.pathway-target-filter button.is-active:focus-visible {
  color: #fff;
  background: #235f56;
}

.pathway-map-toolbar [data-pathway-map-focus-label] {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pathway-map-svg {
  display: block;
  width: 100%;
  height: 690px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.34);
}

.functional-map-svg {
  height: 720px;
}

.pannable-functional-map-svg {
  cursor: grab;
  touch-action: none;
}

.reordered-functional-map-card.is-panning .pannable-functional-map-svg {
  cursor: grabbing;
}

.compact-functional-map-svg {
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(45, 110, 101, 0.12) 1px, transparent 1.2px),
    rgba(255, 255, 255, 0.34);
  background-size: 20px 20px;
}

.compact-functional-map-card.is-panning .compact-functional-map-svg {
  cursor: grabbing;
}

.pathway-map-edge {
  fill: none;
  stroke: rgba(49, 95, 124, 0.16);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.pathway-map-edge.reference-edge {
  stroke: rgba(49, 95, 124, 0.045);
  stroke-width: 0.9;
}

.pathway-map-edge.reference-edge.is-skeleton {
  stroke: rgba(49, 95, 124, 0.13);
}

.pathway-map-card.is-global-view .pathway-map-edge.reference-edge:not(.is-highlighted):not(.is-skeleton) {
  opacity: 0.08;
}

.pathway-map-card.is-global-view .pathway-map-edge.reference-edge.is-skeleton {
  opacity: 0.36;
}

.pathway-map-edge.reference-edge.is-highlighted {
  opacity: 0.9;
  stroke-width: 2.25;
}

.pathway-map-edge.compact-edge {
  opacity: 0.72;
  stroke: rgba(49, 95, 124, 0.18);
}

.pathway-map-edge.compact-edge.is-highlighted {
  opacity: 0.94;
  stroke-width: 2.35;
}

.pathway-map-edge.compact-edge.target-a-lineage {
  stroke: rgba(181, 132, 53, 0.46);
}

.pathway-map-edge.compact-edge.target-b-lineage {
  stroke: rgba(49, 95, 124, 0.46);
}

.pathway-map-edge.compact-edge.shared-lineage {
  stroke: rgba(45, 110, 101, 0.56);
}

.pathway-map-edge.compact-edge.reference-context {
  stroke: rgba(49, 95, 124, 0.13);
}

.pathway-map-edge.target-a-lineage {
  stroke: rgba(181, 132, 53, 0.28);
}

.pathway-map-edge.target-b-lineage {
  stroke: rgba(49, 95, 124, 0.28);
}

.pathway-map-edge.shared-lineage {
  stroke: rgba(45, 110, 101, 0.34);
}

.pathway-map-node {
  cursor: pointer;
  transition: opacity 160ms ease;
}

.functional-reference-node {
  cursor: pointer;
}

.pathway-map-node circle {
  fill: rgba(245, 248, 247, 0.96);
  stroke: rgba(49, 95, 124, 0.28);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.pathway-map-node.is-background circle {
  fill: rgba(210, 222, 220, 0.26);
  stroke: rgba(49, 95, 124, 0.14);
  stroke-width: 0.8;
}

.pathway-map-card.is-global-view .pathway-map-node.is-background circle {
  fill: rgba(210, 222, 220, 0.2);
  stroke: rgba(49, 95, 124, 0.1);
}

.pathway-map-node.target-a-lowest circle {
  fill: #f3d18b;
  stroke: #9a6d1f;
  stroke-width: 1.65;
  filter: drop-shadow(0 1px 3px rgba(154, 109, 31, 0.22));
}

.pathway-map-node.target-b-lowest circle {
  fill: #a8d4ee;
  stroke: #315f7c;
  stroke-width: 1.65;
  filter: drop-shadow(0 1px 3px rgba(49, 95, 124, 0.2));
}

.pathway-map-node.is-auxiliary-lowest:not(.is-representative):not(.shared-lowest) circle {
  opacity: 0.88;
  stroke-width: 1.35;
}

.pathway-map-node.is-representative:not(.shared-lowest) circle {
  opacity: 0.96;
  stroke-width: 2.05;
}

.pathway-map-node.shared-lowest circle {
  fill: #72c8a6;
  stroke: #225f50;
  stroke-width: 1.95;
  filter: drop-shadow(0 1px 4px rgba(34, 95, 80, 0.24));
}

.pathway-map-node.target-a-ancestor circle {
  fill: rgba(243, 209, 139, 0.42);
  stroke: rgba(154, 109, 31, 0.34);
}

.pathway-map-node.target-b-ancestor circle {
  fill: rgba(168, 212, 238, 0.42);
  stroke: rgba(49, 95, 124, 0.34);
}

.pathway-map-node.common-ancestor circle {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(45, 110, 101, 0.66);
}

.pathway-map-node.common-ancestor.target-a-lowest:not(.target-b-lowest) circle {
  fill: #f3d18b;
  stroke: #225f50;
  stroke-width: 2.05;
}

.pathway-map-node.common-ancestor.target-b-lowest:not(.target-a-lowest) circle {
  fill: #a8d4ee;
  stroke: #225f50;
  stroke-width: 2.05;
}

.pathway-map-node.common-ancestor.target-a-lowest.target-b-lowest circle {
  fill: #72c8a6;
  stroke: #225f50;
  stroke-width: 2.15;
}

.pathway-map-node.primary-common-ancestor circle {
  fill: rgba(223, 242, 236, 0.98);
  stroke: #225f50;
  stroke-width: 2.1;
}

.pathway-map-ring {
  fill: none !important;
  stroke: rgba(45, 110, 101, 0.42) !important;
  stroke-width: 1.5 !important;
}

.pathway-map-label {
  display: none;
  fill: #203840;
  font-family: var(--font-ui);
  font-size: 12.4px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 4px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.pathway-root-label {
  fill: rgba(32, 56, 64, 0.54);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.pathway-root-label.is-related-root {
  fill: rgba(34, 95, 80, 0.82);
  font-size: 13px;
  stroke-width: 5.8px;
}

.pathway-map-card.has-pathway-focus .pathway-root-label {
  opacity: 0.38;
}

.pathway-map-node.primary-common-ancestor .pathway-map-label,
.pathway-map-node.shared-lowest .pathway-map-label,
.pathway-map-node.target-a-lowest .pathway-map-label,
.pathway-map-node.target-b-lowest .pathway-map-label,
.pathway-map-node.is-representative .pathway-map-label,
.pathway-map-node.is-selected .pathway-map-label,
.pathway-map-node.is-focused .pathway-map-label {
  display: block;
}

.pathway-map-card.has-pathway-focus .pathway-map-node .pathway-map-label {
  display: none;
}

.pathway-focus-label-layer {
  pointer-events: none;
}

.pathway-focus-label {
  fill: #203840;
  font-family: var(--font-ui);
  font-size: 12.8px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4.6px;
  vector-effect: non-scaling-stroke;
}

.pathway-focus-label.is-selected-focus-label {
  fill: #16242b;
  font-size: 14px;
  stroke-width: 5.4px;
}

.pathway-map-label.is-tree-label {
  display: block;
}

.compact-functional-map-svg .pathway-map-label.is-tree-label {
  font-size: 15px;
  stroke-width: 4.8px;
}

.pathway-map-card.is-global-view .pathway-map-label {
  display: none !important;
}

.pathway-map-node.is-selected circle {
  stroke: #16242b;
  stroke-width: 2.8;
}

.pathway-map-node.is-focused circle {
  stroke-width: 2;
}

.pathway-map-edge.is-focused {
  stroke: rgba(22, 36, 43, 0.64);
  stroke-width: 2;
}

.pathway-map-card.has-pathway-focus .pathway-map-node:not(.is-focused):not(.is-selected) {
  opacity: 0.16;
}

.pathway-map-card.has-pathway-focus .pathway-map-edge:not(.is-focused) {
  opacity: 0.08;
}

.pathway-map-card.has-target-pathway-filter .pathway-map-node:not(.is-target-pathway-filtered) {
  opacity: 0.08;
}

.pathway-map-card.has-target-pathway-filter .pathway-map-edge:not(.is-target-pathway-filtered) {
  opacity: 0.06;
}

.pathway-map-card.has-target-pathway-filter .pathway-root-label {
  opacity: 0.24;
}

.pathway-map-node.is-target-pathway-filtered circle {
  stroke-width: 2.2;
  filter: drop-shadow(0 2px 6px rgba(22, 36, 43, 0.18));
}

.pathway-tree-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.convergence-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.convergence-module-grid h5,
.context-subhead {
  margin: 0;
  color: #405158;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.context-subhead {
  margin-top: 12px;
}

.convergence-note {
  margin: 12px 0 10px;
  color: var(--muted);
  line-height: 1.55;
}

.pathway-summary-card {
  display: block;
  min-height: 500px;
}

.pathway-summary-card > .context-subhead {
  margin-top: 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.pathway-summary-card .context-stat-row.is-compact {
  display: block;
}

.pathway-summary-card .context-stat-row.is-compact strong {
  display: block;
  margin-top: 4px;
  text-align: left;
  font-size: 0.72rem;
  line-height: 1.35;
}

.pathway-tree-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(49, 95, 124, 0.18);
}

.legend-root {
  background: var(--soft-green);
}

.legend-a {
  background: rgba(247, 236, 213, 0.96);
}

.legend-b {
  background: rgba(228, 239, 247, 0.96);
}

.legend-common {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(45, 110, 101, 0.34) inset;
}

.legend-muted {
  background: rgba(49, 95, 124, 0.16);
}

.pathway-map-list-item {
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.pathway-map-list-item:hover,
.pathway-map-list-item:focus-visible,
.pathway-map-list-item.is-selected {
  outline: none;
  border-color: rgba(45, 110, 101, 0.42);
  background: rgba(223, 242, 236, 0.72);
  box-shadow: 0 8px 22px rgba(22, 36, 43, 0.08);
}

.pathway-map-list-item.is-selected {
  transform: translateX(-2px);
}

.pathway-match-item strong {
  font-size: 0.8rem;
  line-height: 1.35;
}

.pathway-match-item span {
  line-height: 1.4;
}

.pathway-root {
  display: inline-flex;
  border: 1px solid rgba(45, 110, 101, 0.18);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--green);
  background: var(--soft-green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pathway-bridge-card h4 {
  margin: 12px 0 5px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.pathway-bridge-card code {
  color: #47636b;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pathway-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pathway-branches h5 {
  margin: 0 0 8px;
  color: #405158;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pathway-empty {
  color: var(--muted);
  font-size: 0.8rem;
}

.pair-context-empty,
.pair-context-loading {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.pair-context-loading strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.pair-context-loading p {
  margin: 8px 0 0;
}

.pair-context-loading.is-error {
  border-color: rgba(155, 77, 64, 0.24);
  background: rgba(252, 239, 236, 0.85);
}

@media (max-width: 1120px) {
  .predict-hero,
  .predict-workbench {
    grid-template-columns: 1fr;
  }

  .predict-hero-copy,
  .predict-hero-art {
    justify-self: center;
  }

  .predict-hero-art {
    width: min(390px, 82vw);
  }

  .relationship-view-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .relationship-view-stage {
    height: auto;
    min-height: 0;
  }

  .relationship-view-panel,
  .relationship-view-panel .ppi-context-grid,
  .relationship-view-panel .pathway-context-grid {
    height: auto;
  }

  .relationship-view-panel .ppi-graph-card {
    min-height: 430px;
  }

  .relationship-view-panel .pathway-tree-card,
  .relationship-view-panel .pathway-map-card,
  .relationship-view-panel .functional-map-card {
    min-height: 620px;
  }

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

  .ppi-context-grid,
  .pathway-context-grid {
    grid-template-columns: 1fr;
  }

  .anchor-support-card {
    grid-template-columns: 1fr;
  }

  .predict-form {
    position: static;
  }
}

@media (max-width: 640px) {
  .predict-hero {
    padding-top: 42px;
  }

  .predict-hero h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .predict-scope-card dl,
  .predict-options,
  .predict-form-head,
  .predict-output-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .predict-output,
  .predict-form {
    padding: 16px;
  }

  .anchor-support-card {
    padding: 14px;
  }

  .anchor-support-metrics {
    grid-template-columns: 1fr;
  }

  .pair-context-dialog {
    inset: 10px;
    border-radius: 18px;
  }

  .pair-context-dialog-body {
    padding: 18px;
  }

  .pair-context-header {
    padding-right: 44px;
  }

  .relationship-view-toggle {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .relationship-view-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .relationship-view-panel-head span {
    text-align: left;
  }

  .combo-pair-context-panel .pair-context-section-head span {
    flex: 1 1 auto;
    white-space: normal;
  }

  .pair-metric-grid,
  .pathway-branches,
  .convergence-module-grid {
    grid-template-columns: 1fr;
  }

  .ppi-graph-card,
  .ppi-graph-card svg {
    min-height: 300px;
    height: 300px;
  }

  .pathway-tree-card,
  .pathway-summary-card {
    min-height: auto;
  }

  .pathway-tree-svg {
    height: 340px;
  }

  .prediction-placeholder {
    min-height: 340px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .predict-submit,
  .predict-examples button,
  .predict-suggestions button,
  .predict-table tr {
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  }

  .predict-submit:hover,
  .predict-examples button:hover {
    transform: translateY(-1px);
  }

  .predict-table tbody tr:hover {
    background: rgba(232, 241, 238, 0.34);
  }
}
/* === Experimental prediction page: removable block end === */

/* === Home page redesign: evidence → prediction → mechanism === */
.home-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(45, 110, 101, 0.08), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(49, 95, 124, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fbf9 0%, #f2f7f5 100%);
}

.home-page main {
  overflow: hidden;
}

.home-page .site-header {
  background: rgba(248, 251, 249, 0.82);
}

.home-hero,
.home-map-section,
.release-section,
.home-entry-section {
  padding-inline: var(--content-gutter);
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  min-height: min(720px, calc(100svh - 74px));
  padding-block: clamp(70px, 12vw, 150px) clamp(52px, 8vw, 92px);
  border-bottom: 1px solid rgba(215, 224, 221, 0.72);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 8% var(--content-gutter) auto auto;
  width: min(48vw, 660px);
  aspect-ratio: 1.55;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(45, 110, 101, 0.18) 0 2px, transparent 2.5px) 0 0 / 38px 38px,
    linear-gradient(115deg, rgba(182, 132, 53, 0.12), rgba(49, 95, 124, 0.08));
  border: 1px solid rgba(215, 224, 221, 0.6);
  border-radius: 50%;
  filter: blur(0.1px);
  opacity: 0.54;
  transform: rotate(-9deg);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 930px;
}

.home-title {
  max-width: 900px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.7rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-subtitle {
  max-width: 760px;
  margin: 0;
  color: #405158;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.66;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(45, 110, 101, 0.22);
  border-radius: 999px;
  color: #24444a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.home-button:hover,
.home-button:focus-visible {
  color: var(--ink);
  border-color: rgba(45, 110, 101, 0.5);
  outline: none;
  transform: translateY(-1px);
}

.home-button-primary {
  color: #fff;
  border-color: rgba(45, 110, 101, 0.92);
  background: linear-gradient(135deg, #2d6e65, #23556a);
  box-shadow: 0 18px 36px rgba(45, 110, 101, 0.2);
}

.home-button-primary:hover,
.home-button-primary:focus-visible {
  color: #fff;
}

.home-release-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 244, 0.78)),
    var(--panel);
  box-shadow: 0 28px 70px rgba(22, 36, 43, 0.09);
}

.home-release-card::before,
.home-release-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(49, 95, 124, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.home-release-card::before {
  right: 22px;
  bottom: 22px;
  width: 88px;
  height: 88px;
}

.home-release-card::after {
  right: 58px;
  bottom: 58px;
  width: 132px;
  height: 132px;
}

.home-release-card strong {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.1rem);
  line-height: 0.9;
}

.home-release-card span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 220px;
  color: var(--muted);
  line-height: 1.55;
}

.release-kicker {
  margin-bottom: 18px;
  color: var(--green) !important;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-map-section,
.release-section,
.home-entry-section {
  padding-block: clamp(58px, 8vw, 104px);
  border-bottom: 1px solid rgba(215, 224, 221, 0.8);
}

.section-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--content-max);
  margin: 0 auto 12px;
}

.section-kicker-row > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-title {
  max-width: 920px;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.atlas-map-card {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid rgba(207, 222, 217, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 244, 0.58)),
    var(--panel);
  box-shadow: 0 28px 80px rgba(22, 36, 43, 0.08);
}

.atlas-trimap {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.9);
  border-radius: 26px;
  background:
    radial-gradient(circle, rgba(49, 95, 124, 0.16) 0 1px, transparent 1.8px) 0 0 / 27px 27px,
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 244, 0.78));
}

.tri-map-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tri-map-links path {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.tri-map-pulse {
  stroke: rgba(45, 110, 101, 0.22);
  stroke-width: 1.2 !important;
  stroke-dasharray: 7 12;
}

.tri-map-pulse.delayed {
  stroke: rgba(49, 95, 124, 0.22);
}

.tri-map-pulse.slow {
  stroke: rgba(182, 132, 53, 0.2);
}

.atlas-core,
.atlas-layer {
  position: absolute;
  border: 1px solid rgba(207, 222, 217, 0.95);
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 22px 52px rgba(22, 36, 43, 0.08);
  backdrop-filter: blur(12px);
}

.atlas-core {
  left: 50%;
  top: 46%;
  display: grid;
  place-items: center;
  width: min(250px, 30%);
  min-height: 132px;
  padding: 18px;
  border-radius: 36px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.atlas-core strong {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  line-height: 1.02;
}

.atlas-core span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.core-chip,
.layer-index {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.core-chip {
  padding: 7px 10px;
  color: var(--green);
  background: rgba(232, 241, 238, 0.96);
}

.layer-index {
  padding: 6px 9px;
  color: #2d6e65;
  background: rgba(232, 241, 238, 0.72);
}

.atlas-layer {
  display: grid;
  gap: 12px;
  width: min(330px, 31%);
  min-height: 230px;
  padding: 20px;
  border-radius: 28px;
}

.atlas-layer h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2vw, 2.2rem);
  line-height: 1.02;
}

.atlas-layer p {
  margin: 0;
  color: #53666d;
  font-size: 0.9rem;
  line-height: 1.52;
}

.atlas-layer-data {
  left: 6%;
  top: 10%;
}

.atlas-layer-model {
  right: 7%;
  top: 10%;
}

.atlas-layer-explain {
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
}

.layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.layer-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(49, 95, 124, 0.14);
  border-radius: 999px;
  color: #3f5960;
  background: rgba(248, 251, 249, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
}

.data-constellation,
.mechanism-mini {
  position: relative;
  min-height: 86px;
  border: 1px dashed rgba(49, 95, 124, 0.16);
  border-radius: 18px;
  background: rgba(247, 250, 248, 0.72);
}

.node,
.ppi-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.72);
}

.node {
  width: 22px;
  height: 22px;
}

.node-paper {
  left: 12%;
  top: 28%;
  background: var(--amber);
}

.node-disease {
  left: 42%;
  top: 12%;
  background: var(--green);
}

.node-target {
  right: 28%;
  top: 42%;
  background: var(--blue);
}

.node-target.alt {
  right: 14%;
  bottom: 18%;
  background: #8eb8c8;
}

.node-drug {
  left: 24%;
  bottom: 18%;
  background: #caa25b;
}

.edge,
.ppi-line,
.path-branch {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: rgba(49, 95, 124, 0.24);
  transform-origin: left center;
}

.edge-a {
  left: 18%;
  top: 41%;
  width: 92px;
  transform: rotate(-18deg);
}

.edge-b {
  left: 47%;
  top: 35%;
  width: 92px;
  transform: rotate(22deg);
}

.edge-c {
  left: 28%;
  top: 68%;
  width: 120px;
  transform: rotate(-9deg);
}

.rank-slate {
  display: grid;
  gap: 8px;
}

.rank-slate span {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(215, 224, 221, 0.85);
  border-radius: 14px;
  background: rgba(247, 250, 248, 0.78);
}

.rank-slate b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(232, 241, 238, 0.96);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.rank-slate i {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(45, 110, 101, 0.12));
}

.rank-slate span:nth-child(2) i {
  width: 78%;
  background: linear-gradient(90deg, var(--blue), rgba(49, 95, 124, 0.12));
}

.rank-slate span:nth-child(3) i {
  width: 64%;
  background: linear-gradient(90deg, var(--amber), rgba(182, 132, 53, 0.12));
}

.ppi-dot {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--blue);
}

.ppi-dot.a {
  left: 16%;
  top: 38%;
  border-color: var(--green);
  background: rgba(45, 110, 101, 0.18);
}

.ppi-dot.b {
  right: 18%;
  top: 30%;
  background: rgba(49, 95, 124, 0.14);
}

.ppi-dot.c {
  left: 42%;
  bottom: 22%;
  border-color: var(--amber);
}

.ppi-dot.d {
  right: 34%;
  bottom: 28%;
  border-color: #8eb8c8;
}

.ppi-line.l1 {
  left: 21%;
  top: 48%;
  width: 145px;
  transform: rotate(-10deg);
}

.ppi-line.l2 {
  left: 48%;
  top: 62%;
  width: 112px;
  transform: rotate(-22deg);
}

.path-branch {
  left: 16%;
  bottom: 12%;
  width: 70%;
  height: 22px;
  border: solid rgba(182, 132, 53, 0.26);
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 18px;
  background: transparent;
}

.release-section {
  background: rgba(255, 255, 255, 0.34);
}

.section-head.compact {
  max-width: var(--content-max);
  margin-inline: auto;
}

.section-head.compact .section-title {
  margin-left: 0;
  margin-right: 0;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--content-max);
  margin: 0 auto;
}

.release-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(207, 222, 217, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.release-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.07;
}

.release-label {
  display: block;
  min-height: 32px;
  color: #44585e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-card strong {
  display: block;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  line-height: 0.9;
}

.release-card > span:not(.release-label) {
  display: block;
  margin-top: 8px;
  color: #44585e;
  font-weight: 700;
}

.release-card small {
  display: block;
  margin-top: 32px;
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 800;
}

.release-card em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.evidence-release {
  color: var(--blue);
}

.combo-release {
  color: var(--green);
}

.disease-release {
  color: var(--rust);
}

.drug-release {
  color: var(--amber);
}

.home-entry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(26px, 6vw, 86px);
  align-items: center;
  border-bottom: 0;
}

.entry-copy {
  max-width: 620px;
}

.entry-copy .section-title {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

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

.entry-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(207, 222, 217, 0.94);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  color: inherit;
  text-decoration: none;
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(49, 95, 124, 0.18);
  border-radius: 50%;
}

.entry-card span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-card strong {
  position: relative;
  z-index: 1;
  max-width: 220px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.05;
}

.entry-card.featured {
  color: #fff;
  border-color: rgba(45, 110, 101, 0.65);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(145deg, #2d6e65, #1f4e63);
}

.entry-card.featured span {
  color: rgba(255, 255, 255, 0.78);
}

.entry-card.featured::before {
  border-color: rgba(255, 255, 255, 0.24);
}

.entry-card:hover,
.entry-card:focus-visible {
  border-color: rgba(45, 110, 101, 0.48);
  outline: none;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
  .home-button,
  .entry-card,
  .atlas-layer {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .atlas-layer:hover {
    transform: translateY(-3px);
  }

  .atlas-layer-explain:hover {
    transform: translate(-50%, -3px);
  }
}

@media (max-width: 1180px) {
  .home-hero,
  .home-entry-section {
    grid-template-columns: 1fr;
  }

  .home-release-card {
    max-width: 420px;
  }

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

@media (max-width: 980px) {
  .atlas-trimap {
    display: grid;
    min-height: auto;
    gap: 14px;
    padding: 18px;
  }

  .tri-map-links {
    display: none;
  }

  .atlas-core,
  .atlas-layer {
    position: static;
    width: auto;
    min-height: auto;
    transform: none;
  }

  .atlas-core {
    order: 2;
  }

  .atlas-layer-data {
    order: 1;
  }

  .atlas-layer-model {
    order: 3;
  }

  .atlas-layer-explain {
    order: 4;
  }

  .atlas-layer-explain:hover {
    transform: translateY(-3px);
  }

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

@media (max-width: 640px) {
  .home-hero,
  .home-map-section,
  .release-section,
  .home-entry-section {
    padding-inline: 18px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .home-title {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

  .home-actions,
  .section-kicker-row {
    align-items: stretch;
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

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

  .release-card {
    min-height: 190px;
  }
}

/* === Compact SVG-led home page === */
.home-page-v2 {
  --home-ink: #102f32;
  --home-green: #145f52;
  --home-teal: #2f8177;
  --home-blue: #3b7692;
  --home-gold: #d69a2a;
  --home-mist: #eef6f3;
  min-height: 100vh;
  color: var(--home-ink);
  background:
    radial-gradient(ellipse at 18% 26%, rgba(169, 201, 190, 0.18), transparent 34%),
    radial-gradient(ellipse at 82% 24%, rgba(93, 138, 154, 0.12), transparent 31%),
    linear-gradient(180deg, #fbfdfc 0%, #f5f9f7 58%, #fbfdfc 100%);
}

.home-page-v2 .home-site-header {
  min-height: 84px;
  border-bottom-color: rgba(155, 181, 178, 0.35);
  background: rgba(250, 252, 251, 0.84);
  box-shadow: 0 18px 40px rgba(30, 64, 67, 0.07);
  padding-left: clamp(24px, 4vw, 72px);
  padding-right: clamp(24px, 4vw, 72px);
}

.home-page-v2 .home-brand {
  gap: 12px;
  color: var(--home-ink);
  font-size: clamp(1.18rem, 1.7vw, 1.58rem);
}

.brand-logo-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home-page-v2 .nav-links {
  gap: clamp(12px, 2vw, 34px);
}

.home-page-v2 .nav-links a {
  border-radius: 0;
  color: #25464d;
  font-size: 1rem;
  font-weight: 500;
}

.home-page-v2 .nav-links a:hover,
.home-page-v2 .nav-links a:focus-visible {
  color: var(--home-green);
  background: transparent;
}

.home-main {
  overflow: hidden;
}

.home-stage {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 84px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 66px) clamp(36px, 4.8vw, 92px) clamp(20px, 2.4vw, 34px);
  opacity: 1;
  transition: opacity 220ms ease;
}

.home-page-v2.home-assets-loading .home-stage {
  opacity: 0;
}

.home-stage::before,
.home-stage::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.home-stage::before {
  left: -8%;
  top: 6%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(222, 232, 228, 0.25);
}

.home-stage::after {
  right: 1.8%;
  top: 9%;
  width: 160px;
  height: 660px;
  opacity: 0.34;
  background: radial-gradient(circle, rgba(62, 126, 123, 0.34) 0 1.2px, transparent 1.7px) 0 0 / 20px 20px;
}

.home-orbit-bg {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 42%;
  width: min(76vw, 1080px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.34;
  transform: translate(-50%, -50%);
}

.home-orbit-bg::before {
  position: absolute;
  inset: -3%;
  content: "";
  background:
    linear-gradient(rgba(49, 95, 124, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 124, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9) 0 52%, transparent 72%);
}

.home-orbit-ring,
.home-orbit-axis,
.home-orbit-track,
.home-orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.home-orbit-ring {
  border: 1px solid rgba(48, 129, 119, 0.26);
  border-radius: 50%;
}

.orbit-ring-outer {
  display: none;
  width: 100%;
  height: 100%;
}

.orbit-ring-middle {
  width: 68%;
  height: 68%;
  border-color: rgba(58, 118, 146, 0.24);
}

.orbit-ring-inner {
  width: 34%;
  height: 34%;
  border-color: rgba(214, 154, 42, 0.2);
}

.home-orbit-axis {
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(48, 129, 119, 0.22), transparent);
}

.orbit-axis-x {
  width: 74%;
  height: 1px;
}

.orbit-axis-y {
  width: 1px;
  height: 74%;
  background: linear-gradient(180deg, transparent, rgba(48, 129, 119, 0.22), transparent);
}

.home-orbit-track {
  width: 68%;
  height: 68%;
  border-radius: 50%;
  animation: homeOrbitSpin 34s linear infinite;
}

.orbit-track-gold {
  width: 44%;
  height: 44%;
  animation-duration: 24s;
  animation-direction: reverse;
}

.home-orbit-node {
  position: absolute;
  right: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--home-teal);
  box-shadow: 0 0 0 8px rgba(47, 129, 119, 0.08), 0 8px 20px rgba(18, 56, 58, 0.12);
  transform: translateY(-50%);
}

.orbit-track-gold .home-orbit-node {
  width: 18px;
  height: 18px;
  right: -9px;
  background: var(--home-gold);
  box-shadow: 0 0 0 10px rgba(214, 154, 42, 0.08), 0 8px 20px rgba(87, 65, 23, 0.12);
}

.home-orbit-core {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(20, 95, 82, 0.35);
  background: rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes homeOrbitSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.home-stage-orbit {
  position: absolute;
  z-index: -1;
  display: none;
  left: 50%;
  top: 36%;
  width: min(39vw, 560px);
  aspect-ratio: 1.18;
  border: 1.2px dashed rgba(76, 133, 146, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(28, 65, 65, 0.13);
}

.dot-gold {
  left: 7%;
  top: 11%;
  background: var(--home-gold);
}

.dot-green {
  right: 7%;
  top: 12%;
  background: var(--home-teal);
}

.dot-left {
  left: 8%;
  bottom: 20%;
  background: var(--home-blue);
}

.dot-right {
  right: 8%;
  bottom: 20%;
  background: var(--home-blue);
}

.home-identity {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 31%;
  width: clamp(280px, 26vw, 460px);
  text-align: center;
  transform: translate(-50%, -50%);
}

.home-identity-logo {
  display: block;
  width: clamp(54px, 6vw, 82px);
  height: clamp(54px, 6vw, 82px);
  margin: 0 auto 22px;
  object-fit: contain;
}

.home-page-v2 .home-title {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 4.2vw, 4.9rem);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.home-page-v2 .home-subtitle {
  max-width: 430px;
  margin: 22px auto 0;
  color: #1f3f47;
  font-size: clamp(1rem, 1.12vw, 1.2rem);
  font-weight: 500;
  line-height: 1.48;
}

.home-title-rule {
  display: block;
  width: 66px;
  height: 1px;
  margin: 24px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(20, 95, 82, 0.76), transparent);
}

.home-purpose {
  max-width: 360px;
  margin: 0 auto;
  color: #385964;
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  line-height: 1.58;
}

.home-module {
  position: absolute;
  z-index: 1;
  display: grid;
  justify-items: center;
  color: inherit;
  text-align: center;
  text-decoration: none;
  outline-offset: 6px;
}

.home-module:hover,
.home-module:focus-visible {
  outline: none;
}

.home-module:focus-visible .module-copy i {
  border-color: rgba(20, 95, 82, 0.55);
  box-shadow: 0 0 0 4px rgba(45, 110, 101, 0.12), 0 12px 25px rgba(22, 48, 50, 0.13);
}

.home-module-data {
  left: clamp(10px, 3.2vw, 62px);
  top: clamp(42px, 8.2vh, 86px);
  width: clamp(340px, 29.5vw, 560px);
}

.home-module-predict {
  right: clamp(10px, 3.8vw, 74px);
  top: clamp(54px, 10.4vh, 106px);
  width: clamp(330px, 28vw, 520px);
}

.home-module-interpret {
  left: 53%;
  top: min(45vh, 430px);
  width: clamp(220px, 17vw, 305px);
  transform: translateX(-50%);
}

.home-module-interpret .module-image-wrap {
  transform: translateY(44px);
}

.module-image-wrap {
  display: block;
  width: 100%;
}

.module-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(26, 51, 52, 0.08));
  transition: transform 180ms ease, filter 180ms ease;
}

.home-module:hover .module-image-wrap img,
.home-module:focus-visible .module-image-wrap img {
  filter: drop-shadow(0 24px 32px rgba(26, 51, 52, 0.12));
  transform: translateY(-3px);
}

.home-module-data .module-copy {
  margin-top: -8px;
}

.home-module-predict .module-copy {
  margin-top: -6px;
}

.home-module-interpret .module-copy {
  gap: 2px;
  margin-top: -106px;
  transform: translate(-118px, -18px);
}

.module-copy {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.module-copy strong {
  color: var(--home-green);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1;
}

.module-copy span {
  max-width: 330px;
  color: #385964;
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.55;
}

.home-module-interpret .module-copy span {
  margin-top: -30px;
  line-height: 1.35;
}

.module-copy i {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 10px;
  border: 1px solid rgba(61, 119, 116, 0.22);
  border-radius: 50%;
  color: var(--home-green);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 22px rgba(22, 48, 50, 0.09);
  font-size: 1.32rem;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-module:hover .module-copy i,
.home-module:focus-visible .module-copy i {
  border-color: rgba(20, 95, 82, 0.5);
  transform: translateX(3px);
}

.home-release-strip {
  position: absolute;
  z-index: 1;
  right: clamp(36px, 4.8vw, 92px);
  bottom: clamp(18px, 3vh, 34px);
  left: clamp(36px, 4.8vw, 92px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: center;
}

.release-stat {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 4px;
  align-items: center;
  min-height: 60px;
  padding: 0 clamp(14px, 2vw, 30px);
  border-left: 1px solid rgba(83, 128, 132, 0.24);
  text-align: center;
}

.release-stat:first-child {
  border-left: 0;
}

.release-stat strong {
  color: var(--home-green);
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.65vw, 1.9rem);
  line-height: 1;
}

.release-stat > span:last-child {
  margin-top: 4px;
  color: #31545e;
  font-size: clamp(0.68rem, 0.8vw, 0.84rem);
  line-height: 1.25;
}

.release-icon {
  display: none;
}

.release-stat-combo .release-icon {
  background:
    radial-gradient(circle at 50% 20%, transparent 0 13px, rgba(48, 131, 122, 0.7) 13.6px 14.8px, transparent 15.4px),
    radial-gradient(circle at 26% 62%, transparent 0 13px, rgba(48, 131, 122, 0.7) 13.6px 14.8px, transparent 15.4px),
    radial-gradient(circle at 74% 62%, transparent 0 13px, rgba(48, 131, 122, 0.7) 13.6px 14.8px, transparent 15.4px);
}

.release-stat-target .release-icon {
  border: 1.5px solid rgba(48, 131, 122, 0.65);
  border-radius: 50%;
}

.release-stat-target .release-icon::before,
.release-stat-target .release-icon::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34px;
  height: 1.5px;
  background: rgba(48, 131, 122, 0.75);
  content: "";
  transform: translate(-50%, -50%);
}

.release-stat-target .release-icon::after {
  width: 1.5px;
  height: 34px;
}

.release-stat-disease .release-icon {
  border: 1.5px solid rgba(48, 131, 122, 0.65);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(48, 131, 122, 0.56) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(48, 131, 122, 0.56) 47% 53%, transparent 53%);
}

.release-stat-paper .release-icon {
  border: 1.5px solid rgba(48, 131, 122, 0.65);
  border-radius: 3px;
}

.release-stat-paper .release-icon::before {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  width: 13px;
  height: 13px;
  border-left: 1.5px solid rgba(48, 131, 122, 0.65);
  border-bottom: 1.5px solid rgba(48, 131, 122, 0.65);
  background: #fbfdfc;
  content: "";
}

.release-stat-drug .release-icon::before {
  position: absolute;
  inset: 7px 3px;
  border: 1.5px solid rgba(48, 131, 122, 0.68);
  border-radius: 999px;
  content: "";
  transform: rotate(-45deg);
}

.release-stat-drug .release-icon::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 24px;
  background: rgba(48, 131, 122, 0.58);
  content: "";
  transform: translate(-50%, -50%) rotate(-45deg);
}

.home-footer {
  display: none;
}

@media (max-width: 1080px) {
  .home-stage {
    min-height: auto;
    padding-bottom: 36px;
  }

  .home-orbit-bg {
    top: 280px;
    width: min(90vw, 840px);
    opacity: 0.22;
  }

  .home-stage-orbit {
    top: 310px;
    width: min(72vw, 620px);
  }

  .home-identity,
  .home-module,
  .home-release-strip {
    position: relative;
    inset: auto;
    transform: none;
  }

  .home-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
  }

  .home-identity {
    grid-column: 1 / -1;
    justify-self: center;
    order: 1;
    margin: 14px 0 8px;
  }

  .home-module-data {
    order: 2;
    width: min(100%, 560px);
  }

  .home-module-predict {
    order: 3;
    width: min(100%, 540px);
  }

  .home-module-interpret {
    grid-column: 1 / -1;
    justify-self: center;
    order: 4;
    width: min(100%, 430px);
  }

  .home-release-strip {
    grid-column: 1 / -1;
    order: 5;
    margin-top: 10px;
  }
}

@media (max-width: 820px) {
  .home-page-v2 .home-site-header {
    align-items: flex-start;
    min-height: 76px;
  }

  .home-page-v2 .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
  }

  .home-stage {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .home-stage::after,
  .home-stage-orbit,
  .home-orbit-bg {
    display: none;
  }

  .home-identity,
  .home-module-data,
  .home-module-predict,
  .home-module-interpret {
    grid-column: auto;
    width: 100%;
  }

  .home-identity {
    width: min(100%, 430px);
  }

  .home-page-v2 .home-title {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .module-copy span {
    max-width: 360px;
  }

  .home-release-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .release-stat {
    min-height: 64px;
    border: 1px solid rgba(83, 128, 132, 0.18);
    border-radius: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.58);
  }
}

@media (max-height: 1180px) and (min-width: 1081px) {
  .home-page-v2 .home-site-header {
    min-height: 76px;
    padding-block: 14px;
  }

  .home-stage {
    min-height: calc(100svh - 76px);
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .home-module-data {
    left: clamp(20px, 3vw, 60px);
    top: 42px;
    width: clamp(390px, 34vw, 670px);
  }

  .home-module-predict {
    right: clamp(20px, 3vw, 60px);
    top: 74px;
    width: clamp(360px, 31vw, 600px);
  }

  .home-module-interpret {
    width: clamp(240px, 18vw, 340px);
    top: 42vh;
  }

  .home-module-interpret .module-image-wrap {
    transform: translateY(-10px);
  }

  .home-module-interpret .module-copy {
    gap: 2px;
    margin-top: -112px;
    transform: translate(-70px, 30px);
  }

  .home-orbit-bg {
    top: 41%;
    width: min(72vw, 980px);
    opacity: 0.3;
  }

  .home-identity {
    top: 24%;
  }

  .home-page-v2 .home-title {
    font-size: clamp(3rem, 3.8vw, 4.45rem);
  }

  .home-page-v2 .home-subtitle {
    margin-top: 18px;
  }

  .home-purpose {
    font-size: 0.92rem;
  }

  .module-copy i {
    width: 38px;
    height: 38px;
    margin-top: 6px;
  }

  .home-release-strip {
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-orbit-track {
    animation: none;
  }
}

.home-page-scale-lock {
  --home-stage-scale: 1;
  --home-stage-render-height: 860px;
  --home-header-height: 76px;
}

.home-page-scale-lock .home-site-header {
  min-height: var(--home-header-height);
  padding-block: 14px;
}

.home-page-scale-lock .home-main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: var(--home-stage-render-height);
  min-height: 0;
  overflow: hidden;
}

.home-page-scale-lock .home-stage {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 1920px;
  height: 860px;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: scale(var(--home-stage-scale));
  transform-origin: top center;
}

.home-page-scale-lock .home-stage::before {
  left: -150px;
  top: 50px;
  width: 650px;
}

.home-page-scale-lock .home-stage::after {
  right: 34px;
  top: 82px;
  width: 160px;
  height: 660px;
}

.home-page-scale-lock .home-orbit-bg {
  display: block;
  left: 50%;
  top: 41%;
  width: 980px;
  opacity: 0.3;
}

.home-page-scale-lock .home-identity {
  position: absolute;
  left: 50%;
  top: 206px;
  width: 460px;
  margin: 0;
  transform: translate(-50%, -50%);
}

.home-page-scale-lock .home-title {
  font-size: 72px;
}

.home-page-scale-lock .home-subtitle {
  margin-top: 18px;
  font-size: 19px;
}

.home-page-scale-lock .home-purpose {
  font-size: 15px;
}

.home-page-scale-lock .home-module {
  position: absolute;
  inset: auto;
}

.home-page-scale-lock .home-module-data {
  left: 60px;
  top: 42px;
  width: 660px;
}

.home-page-scale-lock .home-module-predict {
  right: 60px;
  top: 74px;
  width: 600px;
}

.home-page-scale-lock .home-module-interpret {
  left: 52.8%;
  top: 402px;
  width: 340px;
  transform: translateX(-50%);
}

.home-page-scale-lock .home-module-interpret .module-image-wrap {
  transform: translateY(-10px);
}

.home-page-scale-lock .home-module-interpret .module-copy {
  gap: 2px;
  margin-top: -112px;
  transform: translate(-70px, 30px);
}

.home-page-scale-lock .module-copy strong {
  font-size: 36px;
}

.home-page-scale-lock .module-copy span {
  font-size: 15px;
}

.home-page-scale-lock .home-release-strip {
  position: absolute;
  right: 92px;
  bottom: 10px;
  left: 92px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  transform: none;
}

.home-page-scale-lock .release-stat {
  min-height: 60px;
  border: 0;
  border-left: 1px solid rgba(83, 128, 132, 0.24);
  border-radius: 0;
  background: transparent;
  padding: 0 30px;
}

.home-page-scale-lock .release-stat:first-child {
  border-left: 0;
}

.home-page-scale-lock .release-stat strong {
  font-size: 30px;
}

.home-page-scale-lock .release-stat > span:last-child {
  font-size: 13px;
}

.search-page-embed {
  min-height: 100vh;
  background:
    linear-gradient(rgba(49, 95, 124, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 124, 0.028) 1px, transparent 1px),
    radial-gradient(ellipse at 14% 8%, rgba(45, 110, 101, 0.1), transparent 30%),
    #f8fbf9;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.search-page-embed [hidden] {
  display: none !important;
}

.search-page-embed .search-site-header {
  min-height: 76px;
  padding-block: 14px;
}

/* === About manual page === */
.about-page {
  background:
    linear-gradient(rgba(49, 95, 124, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 124, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcfb 0%, #f4f8f6 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.about-manual {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  width: min(1180px, calc(100% - 2 * clamp(20px, 5vw, 72px)));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0 clamp(72px, 9vw, 110px);
}

.about-toc {
  position: sticky;
  top: 108px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 2px solid rgba(45, 110, 101, 0.45);
  border-bottom: 0;
}

.about-toc-kicker,
.about-section-label {
  margin: 0;
  color: #0b6d67;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-toc-kicker {
  color: #17343b;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

.about-toc a {
  display: block;
  padding: 5px 0;
  border-bottom: 0;
  color: #284951;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
}

.about-toc a:hover,
.about-toc a:focus-visible {
  color: var(--green);
  outline: none;
}

.about-document {
  min-width: 0;
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid rgba(155, 181, 178, 0.58);
}

.about-document-head {
  padding-bottom: clamp(30px, 5vw, 54px);
  border-bottom: 2px solid rgba(22, 36, 43, 0.12);
}

.about-document-head h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 760;
  line-height: 0.92;
  letter-spacing: 0;
}

.about-document-head > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #2b4c55;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.about-release-note {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 18px;
  border-top: 1px solid rgba(155, 181, 178, 0.52);
  border-bottom: 1px solid rgba(155, 181, 178, 0.52);
}

.about-release-note div {
  min-width: 0;
  padding: 16px 18px 15px;
  border-left: 1px solid rgba(155, 181, 178, 0.42);
}

.about-release-note div:first-child {
  border-left: 0;
  padding-left: 0;
}

.about-release-note span {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 760;
  line-height: 1;
}

.about-release-note small {
  display: block;
  margin-top: 7px;
  color: #426169;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.about-section {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(42px, 6vw, 68px) 0;
  border-bottom: 1px solid rgba(155, 181, 178, 0.45);
  scroll-margin-top: 116px;
}

.about-document > .about-section:first-child {
  padding-top: 0;
  border-bottom: 0;
}

.about-document > .about-section:nth-child(2),
.about-document > .about-section:last-child {
  border-bottom: 0;
}

.about-document > .about-section:nth-child(2) {
  padding-top: 18px;
}

.about-document > .about-section:last-child {
  padding-top: 20px;
}

.about-section-compact {
  display: block;
}

.about-section-title-row {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
}

.about-section-marker {
  color: rgba(45, 110, 101, 0.86);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-section-title-row .about-section-marker {
  color: #17343b;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 800;
}

.about-section-body .about-section-title-row h2 {
  margin: 0;
  color: #17343b;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-section-body h2 {
  max-width: 820px;
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

.about-section-body > p:not(.about-section-label) {
  max-width: 820px;
  margin: 0;
  color: #31525b;
  font-size: 1rem;
  line-height: 1.82;
  text-align: justify;
  text-justify: inter-word;
}

.about-callout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  max-width: 820px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(155, 181, 178, 0.5);
  border-bottom: 1px solid rgba(155, 181, 178, 0.5);
}

.about-callout strong {
  color: var(--green);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.42;
}

.about-callout span,
.about-callout li {
  color: #47646c;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.about-callout ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.about-spec-grid,
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin-top: 24px;
}

.about-spec-grid article,
.about-team-grid article {
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid rgba(155, 181, 178, 0.56);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.68);
}

.about-spec-grid h3 {
  margin: 0 0 10px;
  color: #17343b;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 800;
}

.about-content-sections {
  display: grid;
  gap: 22px;
  max-width: 820px;
}

.about-content-block {
  padding: 2px 0 22px;
  border-bottom: 1px solid rgba(155, 181, 178, 0.42);
}

.about-content-block:last-child {
  border-bottom: 0;
}

.about-content-block h3 {
  margin: 0 0 12px;
  color: #17343b;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-content-block p {
  margin: 0;
  color: #31525b;
  font-size: 1rem;
  line-height: 1.82;
  text-align: justify;
  text-justify: inter-word;
}

.about-content-block p a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.about-content-block p a:hover,
.about-content-block p a:focus-visible {
  color: #194f49;
  outline: none;
}

.about-visit-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  color: #426169;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
}

.about-visit-counter strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 760;
  line-height: 1;
}

.about-content-block p + p {
  margin-top: 14px;
}

.about-empty-copy {
  min-height: 92px;
}

.about-spec-grid p,
.about-team-grid p {
  margin: 0;
  color: #4d6770;
  font-size: 0.92rem;
  line-height: 1.62;
}

.about-workflow {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: about-workflow;
  border-top: 1px solid rgba(155, 181, 178, 0.5);
}

.about-workflow li {
  display: grid;
  grid-template-columns: 48px 128px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(155, 181, 178, 0.38);
  counter-increment: about-workflow;
}

.about-workflow li::before {
  content: counter(about-workflow, decimal-leading-zero);
  color: rgba(45, 110, 101, 0.82);
  font-family: var(--font-mono);
  font-weight: 700;
}

.about-workflow span {
  color: #17343b;
  font-family: var(--font-ui);
  font-weight: 800;
}

.about-workflow p {
  margin: 0;
  color: #4d6770;
  line-height: 1.65;
}

.about-team-grid article span {
  display: block;
  color: #0b6d67;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-team-grid article strong {
  display: block;
  margin: 9px 0 10px;
  color: #17343b;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 760;
}

@media (max-width: 980px) {
  .about-manual {
    grid-template-columns: 1fr;
  }

  .about-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-toc-kicker {
    grid-column: 1 / -1;
  }

  .about-document {
    padding-left: 0;
    border-left: 0;
  }

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

  .about-release-note div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .about-toc,
  .about-spec-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-release-note {
    grid-template-columns: 1fr;
  }

  .about-release-note div {
    border-left: 0;
    border-top: 1px solid rgba(155, 181, 178, 0.34);
    padding-left: 0;
  }

  .about-release-note div:first-child {
    border-top: 0;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-workflow li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .about-workflow p {
    grid-column: 2;
  }

  .about-callout {
    grid-template-columns: 1fr;
  }
}

.atlas-search-shell {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 18px clamp(18px, 3.5vw, 54px) 28px;
}

.search-page-embed.has-embedded-entry .atlas-search-shell {
  padding-top: 0;
}

.atlas-search-bar {
  position: sticky;
  top: 86px;
  z-index: 8;
  width: min(1080px, 100%);
  margin: 0 auto 18px;
}

.search-page-embed.has-embedded-entry .atlas-search-bar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  width: clamp(420px, 42vw, 760px);
  margin: 0;
  transform: translateX(-50%);
}

.atlas-search-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 108px;
  overflow: hidden;
  border: 1px solid rgba(155, 181, 178, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(22, 36, 43, 0.08);
  backdrop-filter: blur(14px);
}

.atlas-search-form select,
.atlas-search-form input,
.atlas-search-form button {
  min-width: 0;
  height: 54px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.atlas-search-form select {
  border-right: 1px solid rgba(215, 224, 221, 0.9);
  padding: 0 18px 0 22px;
  color: #31545e;
  font-weight: 700;
}

.atlas-search-form input {
  padding: 0 18px;
}

.atlas-search-form input:focus,
.atlas-search-form select:focus {
  outline: none;
  background: rgba(232, 241, 238, 0.55);
}

.atlas-search-form button {
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-weight: 700;
}

.atlas-search-form button:hover,
.atlas-search-form button:focus-visible {
  background: #235a53;
  outline: none;
}

.search-page-embed.has-embedded-entry .atlas-search-form {
  grid-template-columns: 150px minmax(0, 1fr) 86px;
  border-color: rgba(155, 181, 178, 0.5);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(22, 36, 43, 0.08);
}

.search-page-embed.has-embedded-entry .atlas-search-form select,
.search-page-embed.has-embedded-entry .atlas-search-form input,
.search-page-embed.has-embedded-entry .atlas-search-form button {
  height: 42px;
  font-size: 0.84rem;
}

.search-page-embed.has-embedded-entry .atlas-search-form select {
  padding-left: 16px;
}

.search-page-embed.has-embedded-entry .atlas-search-form input {
  padding-inline: 14px;
}

.atlas-search-popover {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  max-height: min(560px, calc(100vh - 170px));
  overflow-y: auto;
  border: 1px solid rgba(155, 181, 178, 0.68);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(22, 36, 43, 0.16);
  padding: 12px;
}

.atlas-search-status {
  padding: 8px 10px 10px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.atlas-result-group + .atlas-result-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 224, 221, 0.8);
}

.atlas-result-group h2 {
  margin: 0 0 7px;
  color: var(--green);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.atlas-result-row {
  display: grid;
  grid-template-columns: 108px minmax(240px, 1fr) 172px;
  gap: 16px;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.atlas-result-row:hover,
.atlas-result-row:focus-visible,
.atlas-result-row.is-selected {
  background: rgba(232, 241, 238, 0.78);
  outline: none;
}

.atlas-result-row span {
  color: #46646b;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
}

.atlas-result-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-result-row small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-result-empty {
  border: 1px dashed rgba(49, 95, 124, 0.2);
  border-radius: 10px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.atlas-entity-frame-shell {
  position: relative;
  min-height: calc(100vh - 140px);
  overflow: hidden;
  border: 1px solid rgba(215, 224, 221, 0.8);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 54px rgba(22, 36, 43, 0.07);
}

.search-page-embed.has-embedded-entry .atlas-entity-frame-shell {
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.atlas-frame-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(100vh - 140px);
  padding: 40px 24px;
  text-align: center;
}

.atlas-frame-placeholder h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.88;
}

.atlas-frame-placeholder p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px auto 0;
  color: #405158;
  font-size: 1.02rem;
  line-height: 1.65;
}

.atlas-example-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.atlas-example-row button {
  border: 1px solid rgba(155, 181, 178, 0.78);
  border-radius: 999px;
  padding: 8px 12px;
  color: #31545e;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
}

.atlas-example-row button:hover,
.atlas-example-row button:focus-visible {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  outline: none;
}

.atlas-entity-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 140px);
  min-height: 720px;
  border: 0;
  background: transparent;
}

.search-page-embed.has-embedded-entry .atlas-entity-frame {
  height: auto;
  min-height: calc(100vh - 132px);
  overflow: hidden;
}

@media (max-width: 900px) {
  .search-page-embed.has-embedded-entry .atlas-search-shell {
    padding-top: 10px;
  }

  .search-page-embed.has-embedded-entry .atlas-search-bar {
    position: sticky;
    top: 84px;
    left: auto;
    z-index: 8;
    width: min(100%, 720px);
    margin: 0 auto 12px;
    transform: none;
  }

  .atlas-search-form {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .atlas-search-form select {
    border-right: 0;
    border-bottom: 1px solid rgba(215, 224, 221, 0.9);
  }

  .atlas-result-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .atlas-search-bar {
    position: relative;
    top: auto;
  }
}

.detail-hero .detail-orbit-bg {
  left: auto;
  right: clamp(18px, 5vw, 96px);
  top: 50%;
  width: min(45vw, 640px);
  opacity: 0.18;
  transform: translate(8%, -50%);
}

.detail-hero .detail-orbit-bg::before {
  opacity: 0.58;
  background-size: 36px 36px;
}

.detail-hero .detail-orbit-bg .orbit-ring-middle {
  width: 72%;
  height: 72%;
}

.detail-hero .detail-orbit-bg .orbit-ring-inner {
  width: 38%;
  height: 38%;
}

.detail-hero .detail-orbit-bg .home-orbit-track {
  width: 72%;
  height: 72%;
  animation-duration: 38s;
}

.detail-hero .detail-orbit-bg .orbit-track-gold {
  width: 46%;
  height: 46%;
  animation-duration: 27s;
}

.detail-hero .detail-orbit-bg .home-orbit-node {
  width: 12px;
  height: 12px;
}

.detail-hero .detail-orbit-bg .orbit-track-gold .home-orbit-node {
  width: 15px;
  height: 15px;
}

.target-motif,
.disease-motif,
.combo-motif {
  display: none;
}

@media (max-width: 820px) {
  .detail-hero .detail-orbit-bg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-hero .detail-orbit-bg .home-orbit-track {
    animation: none;
  }
}
