:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #536271;
  --surface: #f7f9fb;
  --line: #d9e1e8;
  --teal: #147d86;
  --plum: #773d7f;
  --gold: #c9912d;
  --white: #ffffff;
  --soft: #eef3f5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-fab {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(23, 32, 42, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(23, 32, 42, 0.14);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
  text-decoration: none;
}

.home-fab:hover,
.home-fab:focus {
  border-color: var(--teal);
  color: var(--teal);
  outline: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.static-page-route #home-page {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 420px;
}

.topbar-search[hidden] {
  display: none;
}

.topbar-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.topbar-search input {
  min-width: 0;
  flex: 1;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 0 11px;
}

.topbar-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 125, 134, 0.14);
  outline: none;
}

.topbar-search button {
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  padding: 0 13px;
}

.topbar-search button:hover,
.topbar-search button:focus {
  border-color: var(--teal);
  background: var(--teal);
  outline: none;
}

.topbar-links a {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  padding: 9px 13px;
  text-decoration: none;
}

.topbar-links a:hover,
.topbar-links a:focus {
  border-color: var(--teal);
  color: var(--teal);
  outline: none;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 32, 42, 0.08);
}

.logo svg,
.hero-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-line,
.hero-line {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-line {
  stroke-width: 4;
}

.hero-star {
  fill: var(--ink);
}

.logo-star {
  fill: var(--ink);
}

.hero {
  flex: 1;
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.content-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 96px;
}

.content-page-header {
  border-top: 1px solid var(--line);
  min-height: 320px;
  padding-top: 34px;
}

.content-page-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
}

.markdown-content {
  max-width: 820px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5 {
  margin: 34px 0 12px;
  color: var(--ink);
  line-height: 1.15;
}

.markdown-content h2 {
  font-size: 34px;
}

.markdown-content h3 {
  font-size: 26px;
}

.markdown-content p,
.markdown-content ul,
.markdown-content pre {
  margin: 0 0 18px;
}

.markdown-content ul {
  padding-left: 22px;
}

.markdown-content a {
  color: var(--teal);
  font-weight: 750;
}

.markdown-content code {
  border-radius: 5px;
  background: #eef3f5;
  font-size: 0.92em;
  padding: 2px 5px;
}

.markdown-content pre {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px;
}

.markdown-content pre code {
  background: transparent;
  padding: 0;
}

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

.entity-catalog {
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin-top: 28px;
}

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

.entity-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.entity-section-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
}

.entity-section-header span,
.entity-section p,
.entity-value-list span {
  color: var(--muted);
}

.entity-section p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

.entity-value-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.entity-value-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.entity-value-list a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.entity-value-list a:hover,
.entity-value-list a:focus {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
}

.entity-value-list span {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 750;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  max-width: 1040px;
}

.hero-logo {
  flex: 0 0 auto;
  width: clamp(120px, 18vw, 190px);
  aspect-ratio: 1;
}

.hero-copy {
  min-width: 0;
}

.hero-field {
  fill: var(--white);
  stroke: rgba(23, 32, 42, 0.14);
  stroke-width: 2;
}

.hero-line {
  stroke-width: 4;
}

.hero-star {
  filter: drop-shadow(0 4px 10px rgba(23, 32, 42, 0.14));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(76px, 13vw, 156px);
  line-height: 0.9;
  letter-spacing: 0;
}

.summary {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.45;
}

.gene-search {
  max-width: 620px;
  margin-top: 34px;
}

.gene-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.search-row {
  display: flex;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  padding: 0 14px;
}

.search-row input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 125, 134, 0.16);
  outline: none;
}

.search-row button,
.control-button {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.search-row button {
  height: 48px;
  padding: 0 20px;
}

.search-row button:hover,
.control-button:hover,
.control-button.active {
  background: var(--teal);
  border-color: var(--teal);
}

.search-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.gene-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 96px;
}

.gene-header {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.gene-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
}

.cell-summary {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: clamp(16px, 3vw, 22px);
}

.summary-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cell-summary a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.cell-summary a:hover,
.cell-summary a:focus {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
}

.cell-summary p {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.module-nav a {
  border: 1px solid rgba(20, 125, 134, 0.26);
  border-radius: 8px;
  background: rgba(20, 125, 134, 0.1);
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  text-decoration: none;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.module-nav a:hover,
.module-nav a:focus {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  outline: none;
}

@media (min-width: 1180px) {
  .module-nav {
    position: sticky;
    top: 18px;
    z-index: 12;
    float: right;
    display: grid;
    width: 210px;
    margin: 18px -236px 18px 26px;
  }

  .module-nav a {
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.08);
  }
}

@media (min-width: 560px) and (max-width: 1179px) {
  .module-nav {
    position: sticky;
    top: 18px;
    z-index: 12;
    float: right;
    display: grid;
    width: 180px;
    margin: 18px 0 18px 18px;
  }

  .module-nav a {
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.08);
  }
}

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

.gene-summary strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}

.module {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(18px, 3vw, 28px);
}

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

.module-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.05;
}

.module-note {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.module-summary {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.washu-browser-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  margin-bottom: 18px;
}

.washu-browser-panel iframe {
  display: block;
  width: 100%;
  height: min(70vh, 680px);
  min-height: 460px;
  border: 0;
}

.module-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.secondary-controls {
  justify-content: flex-end;
  margin: -8px 0 18px;
}

.select-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.select-control select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0 10px;
}

.control-button {
  min-height: 38px;
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}

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

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.plot-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), #fbfcfd);
}

.plot-download {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 36px;
  border: 1px solid rgba(23, 32, 42, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 0 12px;
}

.volcano-plot-wrap .plot-download {
  top: auto;
  bottom: 12px;
}

.plot-download:hover,
.plot-download:focus {
  border-color: var(--teal);
  color: var(--teal);
  outline: none;
}

.expression-plot {
  display: block;
  min-width: 760px;
  width: 100%;
  height: auto;
}

.axis-line {
  stroke: var(--ink);
  stroke-width: 1.5;
}

.grid-line {
  stroke: var(--soft);
  stroke-width: 1;
}

.axis-title,
.tick-label,
.cell-label {
  fill: var(--muted);
  font-size: 14px;
}

.axis-title {
  font-weight: 750;
}

.cell-label {
  fill: var(--ink);
  font-size: 13px;
}

.facet-label {
  fill: var(--muted);
  font-size: 12px;
}

.cell-type-label {
  font-weight: 750;
}

.expression-bar {
  fill: var(--bar-color, var(--teal));
  opacity: 0.72;
  transition:
    fill 150ms ease,
    opacity 150ms ease;
}

.expression-bar:hover,
.expression-bar:focus {
  fill: var(--ink);
  opacity: 0.88;
  outline: none;
}

.sample-point {
  fill: var(--white);
  stroke: var(--point-color, var(--ink));
  stroke-width: 1.2;
  opacity: 0.78;
}

.sample-point:hover,
.sample-point:focus {
  fill: var(--gold);
  opacity: 1;
  outline: none;
}

.sem-marker line {
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 2;
}

.lfcse-marker line {
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 2;
}

.plot-tooltip {
  position: absolute;
  max-width: 220px;
  border: 1px solid rgba(23, 32, 42, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
  pointer-events: none;
  transform: translateY(-100%);
  white-space: nowrap;
}

.expression-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.expression-detail strong {
  color: var(--ink);
}

.expression-summary-wrap {
  margin-top: 18px;
}

.gene-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 760px;
  padding: 10px;
  background: #fbfcfd;
  border-bottom: 1px solid var(--line);
}

.table-download {
  appearance: none;
  border: 1px solid rgba(20, 125, 134, 0.28);
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.table-download:disabled {
  background: #d9e2e5;
  border-color: #d9e2e5;
  color: #6b7884;
  cursor: not-allowed;
}

.specificity-plot-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), #fbfcfd);
}

.specificity-plot {
  display: block;
  min-width: 820px;
  width: 100%;
  height: auto;
}

.disease-strip-point {
  opacity: 0.72;
}

.pathway-volcano-point {
  opacity: 0.72;
}

.pathway-volcano-point-neutral {
  opacity: 0.42;
}

.pathway-volcano-point-significant {
  opacity: 0.82;
}

.pathway-enrichment-bar {
  opacity: 0.78;
}

.pathway-enrichment-bar-neutral {
  opacity: 0.38;
}

.pathway-result-significant td {
  background: rgba(23, 32, 42, 0.035);
}

.pathway-result-significant td:first-child {
  border-left: 3px solid #147d86;
}

.pathway-result-significant.pathway-result-up td:first-child {
  border-left-color: #dc2626;
}

.pathway-result-significant.pathway-result-down td:first-child {
  border-left-color: #2563eb;
}

.variant-has-effect td {
  background: rgba(20, 125, 134, 0.045);
}

.variant-has-effect td:first-child {
  border-left: 3px solid var(--teal);
}

.variant-has-significant-effect td {
  background: rgba(220, 38, 38, 0.055);
}

.variant-has-significant-effect td:first-child {
  border-left: 3px solid #dc2626;
}

.variant-effect-value {
  font-weight: 850;
}

.variant-effect-significant {
  background: rgba(220, 38, 38, 0.1);
  box-shadow: inset 0 -2px 0 rgba(220, 38, 38, 0.32);
}

.variant-effect-up {
  color: #dc2626;
}

.variant-effect-down {
  color: #2563eb;
}

.variant-effect-plot-wrap {
  margin-bottom: 18px;
}

.variant-overlap-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.variant-overlap-label {
  color: var(--ink);
  font-weight: 800;
}

.variant-overlap-cre {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
}

.variant-overlap-detail {
  color: var(--muted);
  font-size: 13px;
}

.variant-effect-bar {
  opacity: 0.78;
}

.variant-effect-bar-neutral {
  opacity: 0.58;
}

.variant-effect-bar-significant {
  stroke: #ffffff;
  stroke-width: 1.5;
}

.cre-focus-button {
  text-align: left;
}

.cre-coordinate {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 6px;
}

.cre-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-cre-row td {
  background: rgba(20, 125, 134, 0.08);
}

.selected-cre-row td:first-child {
  border-left: 3px solid var(--teal);
}

.specificity-bar {
  opacity: 0.78;
  transition:
    fill 150ms ease,
    opacity 150ms ease;
}

.specificity-bar:hover,
.specificity-bar:focus {
  fill: var(--ink);
  opacity: 0.9;
  outline: none;
}

.cre-activity-plot-wrap {
  margin-top: 14px;
}

.cre-activity-box {
  opacity: 0.34;
  transition:
    fill 150ms ease,
    opacity 150ms ease;
}

.cre-activity-box:hover,
.cre-activity-box:focus {
  fill: var(--ink);
  opacity: 0.5;
  outline: none;
}

.cre-activity-whisker line,
.cre-activity-median {
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 2;
}

.cre-activity-point {
  fill: var(--white);
  stroke: var(--point-color, var(--ink));
  stroke-width: 1.2;
  opacity: 0.76;
}

.cre-activity-point:hover,
.cre-activity-point:focus {
  fill: var(--gold);
  opacity: 1;
  outline: none;
}

.differential-bar {
  opacity: 0.78;
}

.motif-deviation-bar {
  opacity: 0.78;
  transition:
    fill 150ms ease,
    opacity 150ms ease;
}

.motif-deviation-bar:hover,
.motif-deviation-bar:focus {
  fill: var(--ink);
  opacity: 0.9;
  outline: none;
}

.volcano-point {
  opacity: 0.72;
}

.volcano-point-neutral {
  opacity: 0.42;
}

.volcano-point-significant {
  opacity: 0.82;
}

.threshold-line {
  stroke: #17202a;
  stroke-dasharray: 7 7;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.volcano-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.label-connector {
  stroke: rgba(23, 32, 42, 0.34);
  stroke-linecap: round;
  stroke-width: 1;
}

.gene-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}

.gene-table th,
.gene-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: right;
}

.gene-table th {
  background: #fbfcfd;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  user-select: none;
}

.gene-table th::after {
  color: var(--teal);
  content: " ↕";
  font-size: 12px;
}

.gene-table th.sorted-asc::after {
  content: " ↑";
}

.gene-table th.sorted-desc::after {
  content: " ↓";
}

.gene-table th:focus {
  outline: 2px solid rgba(20, 125, 134, 0.32);
  outline-offset: -2px;
}

.gene-table th:first-child,
.gene-table td:first-child,
.gene-table th:nth-child(2),
.gene-table td:nth-child(2) {
  text-align: left;
}

.gene-table tbody tr:last-child td {
  border-bottom: 0;
}

#disease-pathway-body td:last-child,
#pathway-enrichment-body td:last-child {
  max-width: 420px;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
  word-break: normal;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.link-button:hover,
.link-button:focus {
  color: var(--ink);
  outline: none;
  text-decoration: underline;
}

.cell-chip {
  display: inline-flex;
  margin: 2px 6px 2px 0;
}

.vitessce-panel {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.vitessce-frame-slot,
.vitessce-frame-slot iframe {
  width: 100%;
  min-height: 760px;
}

.vitessce-frame-slot iframe {
  display: block;
  border: 0;
}

.vitessce-empty {
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 360px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.vitessce-empty[hidden] {
  display: none;
}

.vitessce-empty strong {
  color: var(--ink);
  font-size: 18px;
}

.vitessce-empty span {
  font-size: 15px;
}

@media (max-width: 640px) {
  .topbar {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .topbar-links {
    width: 100%;
  }

  .topbar-search {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .hero {
    align-items: start;
    padding: 40px 0 72px;
  }

  .hero-content {
    align-items: center;
    gap: 16px;
  }

  .hero-logo {
    width: clamp(82px, 22vw, 120px);
  }

  h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .summary {
    font-size: 18px;
  }

  .gene-summary-grid {
    grid-template-columns: 1fr;
  }

  .search-row,
  .module-header {
    flex-direction: column;
  }

  .search-row button {
    width: 100%;
  }

  .module-controls {
    width: 100%;
  }

  .control-button {
    flex: 1;
  }
}
