:root {
  --editor-bg: #05070b;
  --editor-surface: rgba(8, 11, 16, 0.91);
  --editor-surface-soft: rgba(13, 17, 24, 0.78);
  --editor-border: rgba(130, 135, 150, 0.25);
  --editor-border-strong: rgba(255, 255, 255, 0.17);
  --editor-muted: #858b9a;
  --editor-copy: #cdd2dc;
  --editor-green: #73fb79;
  --editor-blue: #4da3ff;
}

html {
  scroll-behavior: smooth;
}

body.editor-site {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--black);
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.editor-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.editor-page::before,
.editor-page::after {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
}

.editor-page::before {
  background: var(--black) var(--site-background-image) center bottom / cover no-repeat;
  transform: scale(1.035);
  transform-origin: center bottom;
}

.editor-page::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.36) 100%),
    radial-gradient(circle at 50% 48%, transparent 0%, rgba(0, 0, 0, 0.34) 100%);
}

.editor-content {
  width: min(100% - 96px, calc(var(--site-max-width) - 96px));
  margin: 92px auto 72px;
}

.editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 14px;
}

.editor-heading__copy {
  min-width: 0;
}

.editor-titleline h1 {
  margin: 0;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 3.35vw, 50px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.editor-titleline h1 span {
  color: var(--editor-green);
}

.editor-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 12px;
  align-items: start;
  --map-shell-height: 586px;
}

.editor-panel {
  border: 1px solid var(--editor-border);
  border-radius: 8px;
  background: var(--editor-surface);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

.chromosome-panel {
  --head: 12px;
  --map-body-height: 572px;
  --chart-bg: #ffffff;
  --chart-ink: #050505;
  --chart-muted: #050505;
  --chart-line: #d6d6d6;
  --chart-line-strong: #d6d6d6;
  --chromosome-border: #000000;
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border-color: rgba(15, 23, 42, 0.18);
  color: var(--chart-ink);
  background: #ffffff;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.editor-panel__heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
  padding: 0 1px;
}

.editor-panel__heading h2,
.gene-library__heading h2,
.genome-panel__heading h2 {
  margin: 0;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.editor-panel__heading p {
  margin: 0;
  color: rgba(133, 139, 154, 0.58);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.chromosome-panel .editor-panel__heading h2 {
  color: var(--chart-ink);
}

.chromosome-panel .editor-panel__heading p {
  color: var(--chart-muted);
}

.chromosome-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  min-height: calc(var(--head) + var(--map-body-height));
  padding-bottom: 0;
  border: 0;
  border-radius: 0;
  background: var(--chart-bg);
}

.chromosome-scroll::-webkit-scrollbar,
.gene-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.chromosome-scroll::-webkit-scrollbar-track,
.gene-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.chromosome-scroll::-webkit-scrollbar-thumb,
.gene-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(7, 10, 15, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.chromosome-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.07);
}

.chromosome-scroll::-webkit-scrollbar-thumb {
  border-color: #f8fafc;
  background: rgba(51, 65, 85, 0.54);
}

.chromosome-map {
  display: grid;
  grid-template-columns: 24px minmax(1050px, 1fr) 26px;
  gap: 0;
  min-height: calc(var(--head) + var(--map-body-height));
  min-width: 1100px;
  padding: 0;
  background: var(--chart-bg);
}

.editor-axis {
  position: relative;
  height: calc(var(--head) + var(--map-body-height));
  color: var(--chart-muted);
  font-size: 8px;
  font-weight: 700;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--chart-line) 0,
      var(--chart-line) 1px,
      transparent 1px,
      transparent 11px
    ),
    #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.editor-axis--right {
  border-left: 2px solid var(--chromosome-border);
}

.axis-title {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 2px;
  color: var(--chart-ink);
  font-size: 9px;
  font-weight: 800;
  line-height: 11px;
  text-transform: none;
  white-space: nowrap;
}

.axis-tick {
  position: absolute;
  z-index: 2;
  right: 2px;
  height: 11px;
  line-height: 11px;
  transform: none;
}

.editor-axis--right .axis-title,
.editor-axis--right .axis-tick {
  right: auto;
  left: 4px;
}

.chromosome-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  gap: 0;
  height: calc(var(--head) + var(--map-body-height));
  overflow: hidden;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--chart-line) 0,
      var(--chart-line) 1px,
      transparent 1px,
      transparent 11px
    ),
    #ffffff;
}

.chromosome-grid::before {
  display: none;
}

.major-row-rule {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  height: 0;
  border-top: 2px solid #b8b8b8;
  pointer-events: none;
}

.major-row-rule--dashed {
  border-top-style: dashed;
}

.major-row-rule--solid {
  border-top-style: solid;
}

.preset-gallery {
  position: absolute;
  z-index: 3;
  top: var(--preset-gallery-top);
  right: 12.5%;
  left: 31%;
  height: var(--preset-gallery-height);
  pointer-events: none;
}

.preset-gallery__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.preset-gallery__frame {
  flex: 0 1 clamp(133px, 27.3%, 205px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(0, 118, 42, 0.45);
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.75);
}

.preset-gallery__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chromosome-column {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  min-width: 0;
  height: calc(var(--head) + var(--track-height));
  border-top: 2px solid var(--chromosome-border);
  border-bottom: 2px solid var(--chromosome-border);
  background: transparent;
  box-shadow:
    inset 1px 0 0 var(--chromosome-border),
    inset -1px 0 0 var(--chromosome-border);
}

.chromosome-label {
  display: grid;
  height: var(--head);
  margin-top: 0;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--chromosome-border);
  border-radius: 0;
  color: var(--chart-ink);
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    background-color 150ms ease;
}

.chromosome-column.is-hot .chromosome-label {
  border-color: var(--chromosome-border);
  color: var(--chart-ink);
  background: transparent;
}

.chromosome-track {
  position: relative;
  height: var(--track-height);
  border: 0;
  background: transparent;
}

.gene-chip {
  position: absolute;
  z-index: 3;
  right: 1px;
  left: 1px;
  display: block;
  height: 11px;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0 2px;
  color: #071018;
  background: color-mix(in srgb, var(--gene-color) 72%, #ffffff);
  box-shadow: none;
  font-size: 8px;
  font-weight: 800;
  line-height: 11px;
  text-align: left;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease,
    transform 120ms ease;
}

.gene-chip:hover,
.gene-chip:focus-visible,
.gene-chip.is-active {
  z-index: 4;
  border-color: #0f172a;
  outline: 0;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.6),
    0 2px 8px rgba(15, 23, 42, 0.2);
  transform: none;
}

.gene-chip:focus-visible {
  outline: 1px solid #0f172a;
  outline-offset: 2px;
}

.gene-sidebar {
  display: grid;
  grid-template-rows: 32px minmax(0, 1fr) auto;
  gap: 11px;
  height: var(--map-shell-height);
  min-width: 0;
}

.gene-search {
  display: block;
}

.gene-search input {
  width: 100%;
  height: 32px;
  border: 1px solid var(--editor-border);
  border-radius: 8px;
  outline: 0;
  padding: 0 13px;
  color: var(--white);
  background: rgba(8, 11, 16, 0.86);
  font-size: 12px;
  font-weight: 800;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.gene-search input::placeholder {
  color: #e3e5eb;
  opacity: 0.94;
}

.gene-search input:focus {
  border-color: rgba(115, 251, 121, 0.75);
  box-shadow: 0 0 0 3px rgba(115, 251, 121, 0.08);
}

.gene-library {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 13px 13px 10px;
}

.gene-library__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.gene-library__heading h2 {
  color: rgba(133, 139, 154, 0.72);
  font-size: 9px;
}

.gene-sort {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(130, 135, 150, 0.2);
  border-radius: 7px;
  background: rgba(3, 5, 8, 0.44);
}

.gene-sort__button {
  min-width: 36px;
  height: 24px;
  border: 0;
  border-right: 1px solid rgba(130, 135, 150, 0.16);
  padding: 0 7px;
  color: #858b9a;
  background: transparent;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 140ms ease,
    background-color 140ms ease;
}

.gene-sort__button:last-child {
  border-right: 0;
}

.gene-sort__button:hover,
.gene-sort__button:focus-visible,
.gene-sort__button.is-active {
  color: var(--white);
  background: rgba(115, 251, 121, 0.08);
  outline: 0;
}

.gene-sort__button:focus-visible {
  outline: 1px solid var(--editor-green);
  outline-offset: -2px;
}

.gene-list {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 5px;
}

.gene-list__spacer {
  width: 1px;
  pointer-events: none;
}

.gene-row {
  position: absolute;
  right: 5px;
  left: 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  height: 20px;
  border: 0;
  border-radius: 4px;
  padding: 2px 3px;
  color: #a7adba;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 120ms ease,
    background-color 120ms ease,
    transform 120ms ease;
}

.gene-row:hover,
.gene-row:focus-visible,
.gene-row.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  outline: 0;
  transform: translateX(1px);
}

.gene-row:focus-visible {
  outline: 1px solid var(--editor-green);
  outline-offset: 2px;
}

.gene-row__dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gene-color);
  border-radius: 2px;
}

.gene-row.is-placed .gene-row__dot {
  background: var(--gene-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--gene-color) 30%, transparent);
}

.gene-row__text {
  display: grid;
  min-width: 0;
}

.gene-row__symbol {
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.gene-row:not(.is-placed) .gene-row__symbol {
  color: #767d8a;
}

.gene-empty {
  margin: 12px 0 0;
  color: #777e8b;
  font-size: 11px;
}

.loading-overlay {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #aeb5c2;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.88), rgba(5, 7, 11, 0.78)),
    radial-gradient(circle at center, rgba(115, 251, 121, 0.08), transparent 48%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loading-overlay--list {
  inset: 34px 10px 10px;
  border-radius: 6px;
}

.chromosome-panel .loading-overlay {
  color: #334155;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at center, rgba(0, 125, 44, 0.08), transparent 48%);
}

.loading-spinner {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--editor-green);
  border-right-color: rgba(77, 163, 255, 0.78);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(115, 251, 121, 0.12),
    inset 0 0 10px rgba(0, 0, 0, 0.34);
  animation: loading-spin 760ms linear infinite;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.genome-panel {
  padding: 11px;
}

.genome-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.genome-panel__heading h2 {
  color: rgba(133, 139, 154, 0.72);
  font-size: 9px;
}

.genome-panel__heading span {
  color: var(--editor-green);
  font-size: 10px;
  font-weight: 800;
}

.preset-genomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.preset-genome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 27px;
  border: 1px solid rgba(130, 135, 150, 0.18);
  border-radius: 6px;
  padding: 0 7px;
  color: #c4cad5;
  background: rgba(3, 5, 8, 0.56);
  font-size: 9px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease;
}

.preset-genome:hover,
.preset-genome:focus-visible,
.preset-genome.is-active {
  border-color: rgba(115, 251, 121, 0.62);
  color: var(--white);
  background: rgba(115, 251, 121, 0.055);
  outline: 0;
  transform: translateX(1px);
}

.preset-genome.is-active {
  border-color: rgba(115, 251, 121, 0.86);
  background: rgba(115, 251, 121, 0.09);
}

.preset-genome:focus-visible {
  outline: 1px solid var(--editor-green);
  outline-offset: 2px;
}

.preset-genome span {
  color: #6f7683;
  font-size: 8px;
}

.genome-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.genome-action {
  display: grid;
  min-width: 0;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(130, 135, 150, 0.2);
  border-radius: 6px;
  padding: 0 6px;
  color: #888f9b;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    color 140ms ease,
    background-color 140ms ease;
}

.genome-action:hover,
.genome-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
  outline: 0;
}

.genome-action:focus-visible {
  outline: 1px solid var(--editor-green);
  outline-offset: 2px;
}

.genome-action--primary {
  border-color: rgba(115, 251, 121, 0.7);
  color: #030503;
  background: var(--editor-green);
}

.genome-action--primary:hover,
.genome-action--primary:focus-visible {
  border-color: var(--editor-green);
  color: #020302;
  background: #66ff70;
}

.genome-action:disabled,
.genome-action:disabled:hover {
  border-color: rgba(130, 135, 150, 0.16);
  color: #505763;
  background: rgba(130, 135, 150, 0.08);
  cursor: not-allowed;
}

#import-genome {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.genome-status {
  min-height: 16px;
  margin: 7px 0 0;
  color: #747b87;
  font-size: 9px;
  line-height: 1.4;
}

.gene-sidebar .editor-panel,
.gene-search input {
  color: #263241;
  border-color: rgba(18, 28, 42, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.96));
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.gene-search input {
  color: #121922;
  background: rgba(255, 255, 255, 0.94);
}

.gene-search input::placeholder {
  color: #8a95a4;
}

.gene-search input:focus {
  border-color: rgba(18, 28, 42, 0.48);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(18, 28, 42, 0.08);
}

.gene-library__heading h2,
.genome-panel__heading h2,
.genome-status,
.gene-empty {
  color: #637083;
}

.gene-sort {
  border-color: rgba(18, 28, 42, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.gene-sort__button {
  color: #637083;
  border-right-color: rgba(18, 28, 42, 0.12);
}

.gene-sort__button:hover,
.gene-sort__button:focus-visible,
.gene-sort__button.is-active {
  color: #ffffff;
  background: #111923;
}

.gene-sort__button:focus-visible {
  outline-color: #111923;
}

.genome-panel__heading span {
  color: #111923;
}

.gene-list::-webkit-scrollbar-track {
  background: rgba(18, 28, 42, 0.08);
}

.gene-list::-webkit-scrollbar-thumb {
  border-color: #f7fafc;
  background: rgba(80, 92, 108, 0.5);
}

.gene-row {
  color: #425066;
}

.gene-row:hover,
.gene-row:focus-visible,
.gene-row.is-active {
  color: #121922;
  background: rgba(18, 28, 42, 0.045);
}

.gene-row:focus-visible {
  outline-color: #111923;
}

.gene-row:not(.is-placed) .gene-row__symbol {
  color: #6c7788;
}

.gene-row__dot {
  background: rgba(255, 255, 255, 0.82);
}

.gene-row.is-placed .gene-row__dot {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.88);
}

.preset-genome,
.genome-action {
  color: #263241;
  border-color: rgba(18, 28, 42, 0.14);
  background: #ffffff;
}

.preset-genome span {
  color: #7b8796;
}

.preset-genome:hover,
.preset-genome:focus-visible,
.preset-genome.is-active {
  border-color: rgba(18, 28, 42, 0.4);
  color: #121922;
  background: #eef1f4;
}

.preset-genome.is-active {
  border-color: rgba(18, 28, 42, 0.42);
  background: rgba(18, 28, 42, 0.08);
}

.preset-genome:focus-visible,
.genome-action:focus-visible {
  outline-color: #111923;
}

.genome-action:hover,
.genome-action:focus-visible {
  border-color: rgba(18, 28, 42, 0.28);
  color: #121922;
  background: #f4f7f9;
}

.genome-action--primary {
  border-color: #111923;
  color: #ffffff;
  background: #111923;
}

.genome-action--primary:hover,
.genome-action--primary:focus-visible {
  border-color: #2b3441;
  color: #ffffff;
  background: #2b3441;
}

.genome-action:disabled,
.genome-action:disabled:hover {
  border-color: rgba(18, 28, 42, 0.1);
  color: #9aa4b2;
  background: rgba(18, 28, 42, 0.06);
}

.gene-library .loading-overlay {
  color: #334155;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at center, rgba(18, 28, 42, 0.08), transparent 48%);
}

.gene-library .loading-spinner {
  border-top-color: #111923;
  border-right-color: #8d96a3;
  box-shadow:
    0 0 18px rgba(18, 28, 42, 0.12),
    inset 0 0 10px rgba(18, 28, 42, 0.08);
}

.gene-tooltip {
  position: fixed;
  z-index: 50;
  width: min(270px, calc(100vw - 28px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  color: var(--editor-copy);
  background: rgba(3, 5, 8, 0.97);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(115, 251, 121, 0.05);
  pointer-events: none;
}

.gene-tooltip__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.gene-tooltip__swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gene-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--gene-color) 45%, transparent);
}

.gene-tooltip strong {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.gene-tooltip__locus,
.gene-tooltip__type,
.gene-tooltip__state {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.gene-tooltip__locus {
  color: #858c99;
}

.gene-tooltip__full {
  margin: 8px 0;
  color: #d9dde6;
  font-size: 12px;
  line-height: 1.35;
}

.gene-tooltip__type {
  color: var(--gene-color);
}

.gene-tooltip__state {
  margin-top: 8px;
  color: var(--editor-green);
}

.gene-tooltip__state.is-off {
  color: #8c93a0;
}

@media (max-width: 1200px) {
  .editor-content {
    width: min(100% - 48px, 960px);
  }

  .editor-heading {
    align-items: start;
  }

  .editor-workbench {
    grid-template-columns: minmax(0, 1fr);
  }

  .gene-sidebar {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    height: auto;
  }

  .gene-list {
    height: 340px;
    min-height: 260px;
  }
}

@media (max-width: 820px) {
  .editor-content {
    margin-top: 68px;
  }

  .editor-heading {
    display: grid;
  }

}

@media (max-width: 700px) {
  .editor-page {
    overflow: visible;
  }

  .editor-content {
    width: min(100% - 40px, 620px);
    margin-top: 0;
  }

  .editor-heading {
    padding-top: 36px;
  }

  .editor-titleline h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .editor-panel__heading {
    display: block;
  }

  .editor-panel__heading p {
    margin-top: 7px;
  }

  .chromosome-panel {
    padding: 14px 11px 13px;
  }
}

@media (max-width: 430px) {
  .editor-content {
    width: min(100% - 28px, 620px);
  }

  .editor-titleline h1 {
    font-size: 34px;
  }

}

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

  .chromosome-label,
  .gene-chip,
  .gene-search input,
  .gene-row {
    transition: none;
  }

  .loading-spinner {
    animation: none;
  }
}
