.genome-spy-app {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol;
  font-size: 14px
}

body>.genome-spy-app {
  background-color: #fff
}

.genome-spy-app .genome-spy-container {
  position: relative;
  flex-grow: 1;
  overflow: hidden
}

.gs-toolbar,
.gs-toolbar .btn-group {
  display: flex;
  flex-direction: row;
  align-items: center
}

.gs-toolbar {
  height: 38px;
  background-color: #6c82ab;
  box-shadow: 0 0 3px #00000080;
  border-top: 1px solid #9dabc7;
  border-bottom: 1px solid #4a5d81
}

.gs-toolbar .spacer {
  flex-grow: 1
}

.gs-toolbar .logo {
  display: block
}

.gs-toolbar .logo img {
  vertical-align: middle;
  width: 34px
}

.gs-toolbar .vis-title,
.gs-toolbar .version {
  color: #fff;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2)
}

.gs-toolbar .version {
  text-decoration: none;
  font-size: 80%;
  opacity: 50%
}

.gs-toolbar .version:visited {
  color: #fff
}

.gs-toolbar .search-input {
  font-size: 1em;
  background-color: #5c74a1;
  color: #fff;
  border: 1px solid #536991;
  width: 260px;
  padding: 3px 6px;
  outline: none;
  position: relative;
  box-shadow: 0 1px 3px #0000001a inset, 1px 1px #798db2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3)
}

.gs-toolbar .search-help {
  box-sizing: border-box;
  position: absolute;
  border: none;
  background: #f6f6f6;
  padding: 10px;
  z-index: 1000;
  visibility: hidden;
  box-shadow: 0 3px 14px #00000026;
  font-size: 90%;
  opacity: 0;
  transition: opacity .2s, transform .2s ease-in-out, visibility .2s;
  transform: translateY(13px)
}

.gs-toolbar .search-help>:first-child {
  margin-top: 0
}

.gs-toolbar .search-help>:last-child {
  margin-bottom: 0
}

.gs-toolbar .search-help p {
  margin-bottom: .5em
}

.gs-toolbar .search-help ul {
  margin-top: .5em;
  padding-left: 2.5em
}

.gs-toolbar .search-help li {
  cursor: pointer
}

.gs-toolbar .search:focus-within .search-help {
  opacity: 1;
  visibility: visible;
  transform: translateY(3px)
}

.gs-toolbar>* {
  padding-left: 10px
}

.gs-toolbar>*:last-child {
  margin-right: 10px
}

.gs-toolbar .tool-btn {
  padding: 0;
  font-size: 1.15em;
  transition: color .15s;
  background-color: #7c90b4;
  background-image: linear-gradient(to bottom, #8698ba, #7288af);
  color: #fff;
  height: 26px;
  width: 30px;
  border: 1px solid;
  border-top-color: #9dabc7;
  border-left-color: #8395b8;
  border-right-color: #5c74a1;
  border-bottom-color: #4a5d81;
  box-shadow: 0 1px 1px #00000026;
  border-radius: 2px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center
}

.gs-toolbar .tool-btn>svg {
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, .3))
}

.gs-toolbar .tool-btn:active>* {
  position: relative;
  top: 1px
}

.gs-toolbar .tool-btn:disabled {
  color: #b6c1d5
}

.gs-toolbar .tool-btn:hover:not(:disabled) {
  background-image: linear-gradient(to bottom, #8c9ebe, #7c90b4)
}

.gs-toolbar .tool-btn:hover:not(:disabled)>svg {
  filter: drop-shadow(0 0 3px rgb(150, 200, 255))
}

.gs-toolbar .tool-btn:focus {
  outline: none
}

.gs-toolbar .btn-group .tool-btn,
.gs-toolbar .dropdown .tool-btn {
  margin-left: 0
}

.gs-toolbar .dropdown {
  position: relative
}

.gs-toolbar .dropdown.show .gs-dropdown-menu {
  display: block
}

.gs-toolbar .dropdown.show>button {
  background-image: linear-gradient(to bottom, #93a3c1, #8698ba)
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) {
  margin: 0;
  padding: 7px 0;
  background: #f6f6f6;
  border: #e0e0e0;
  border-radius: 2px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 3px 15px #00000036;
  cursor: default;
  line-height: 22px;
  font-size: 13px;
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li {
  display: block;
  list-style: none;
  position: relative;
  padding: 0
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li.active>:is(a:first-child, .submenu-item) {
  background-color: #e8e8e8
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>:is(a:first-child, label, .submenu-item):hover {
  background-color: #e0e0e0
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>span.disabled-item,
:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>a:first-child {
  display: block
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>span.disabled-item svg:first-child,
:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>a:first-child svg:first-child {
  width: 1em;
  margin-right: .2em
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .context {
  font-size: .9em;
  color: #666
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .context:before {
  content: "("
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .context:after {
  content: ")"
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .menu-divider {
  margin: 5px 0;
  border-top: 1px solid #e0e0e0
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .menu-header,
:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>:is(span.disabled-item, a:first-child, .submenu-item, label) {
  padding-left: 15px;
  padding-right: 15px
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .menu-header {
  font-size: 12px;
  color: #666
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>:is(div.submenu-item, .choice-item) {
  display: flex;
  justify-content: space-between;
  align-items: center
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>:is(div.submenu-item, .choice-item)>:first-child {
  flex-grow: 1
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>.submenu-item:after {
  content: "";
  width: 0;
  height: 0;
  border-top: .4em solid transparent;
  border-bottom: .4em solid transparent;
  border-left: .4em solid black;
  margin-left: 1em
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li .kbd-shortcut {
  color: #666;
  background-color: #ffffff80;
  font-size: .9em;
  border: 1px solid #aaa;
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 3px;
  line-height: .7em;
  margin-left: .5em
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li>.disabled-item {
  color: #999
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) a.menu-ellipsis {
  padding: 0;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 7.5px;
  height: 22px;
  background-color: #e0e0e0;
  border-radius: 3em;
  color: #707070
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) a.menu-ellipsis svg {
  margin: 0;
  width: 22px
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) a.menu-ellipsis:hover {
  background-color: #e9e9e9
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) li:not(:hover) a.menu-ellipsis {
  display: none
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .gs-input-binding {
  margin: 0 15px;
  line-height: normal
}

:is(.gs-menu, .gs-context-menu, .gs-dropdown-menu) .gs-input-binding .description {
  margin-bottom: .2em
}

.provenance-menu .operator {
  font-size: 125%;
  line-height: .8
}

.gs-context-menu-backdrop {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0
}

.gs-context-menu {
  position: fixed;
  z-index: 100
}

.gs-dropdown-menu {
  overflow: auto;
  position: absolute;
  display: none;
  z-index: 1;
  width: max-content
}

.gs-dropdown-menu ul {
  padding-left: 1.5em;
  list-style: none
}

.gs-dropdown-menu>li>ul {
  padding-left: 0
}

.gs-dropdown-menu.provenance-menu .active-state {
  background-color: #e0e0e0;
  border-left: 5px solid #c0c0c0;
  padding-left: 10px
}

.gs-modal {
  z-index: 101;
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol;
  font-size: 14px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  justify-content: center;
  align-content: center
}

.gs-modal * {
  box-sizing: border-box
}

.gs-modal .backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #4b4b4b;
  opacity: 0;
  transition: opacity .3s ease-in-out
}

.gs-modal .content {
  z-index: 1;
  box-shadow: 0 3px 15px #00000036;
  background: white;
  border-radius: 3px;
  min-width: 300px;
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity .2s ease-in-out, transform .2s ease-in-out
}

.gs-modal.visible .backdrop {
  opacity: .4
}

.gs-modal.visible .content {
  transform: translate(0);
  opacity: 1
}

.gs-modal .modal-body,
.gs-modal .modal-title,
.gs-modal .modal-buttons {
  padding: 10px
}

.gs-modal .modal-title {
  font-weight: 700;
  padding-bottom: 0
}

.gs-modal .modal-body>:first-child {
  margin-top: 0
}

.gs-modal .modal-body>:last-child {
  margin-bottom: 0
}

.gs-modal .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #d0d0d0
}

.gs-modal .btn {
  display: inline-block;
  padding: 4px 12px;
  margin: 0;
  font-size: 1em;
  line-height: 20px;
  color: #333;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
  vertical-align: middle;
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  border: 1px solid #cccccc;
  border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  box-shadow: inset 0 1px #fff3, 0 1px 2px #0000000d;
  transition: color .15s
}

.gs-modal .btn:hover:not(:disabled) {
  background-image: linear-gradient(to bottom, #f8f8f8, #d8d8d8)
}

.gs-modal .btn:active {
  border-color: rgba(0, 0, 0, .2) rgba(0, 0, 0, .2) rgba(0, 0, 0, .5)
}

.gs-modal .btn:disabled {
  color: #a0a0a0
}

.gs-modal .btn:not(:disabled) {
  cursor: pointer
}

.gs-modal .btn svg:first-child:not(:last-child) {
  font-size: 85%;
  margin-right: .3em
}

.gs-modal .btn svg:last-child:not(:first-child) {
  font-size: 85%;
  margin-left: .3em
}

.gs-modal .btn-group {
  display: flex;
  font-size: 1.3em;
  margin-bottom: 10px
}

.gs-modal .btn-group .btn {
  flex-grow: 1
}

.gs-modal .btn-group .btn:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px
}

.gs-modal .btn-group .btn:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0
}

.gs-modal .btn-group .btn.chosen {
  background-image: linear-gradient(to bottom, #f0f0f0, #d8d8d8);
  box-shadow: inset 0 2px 3px #0000004d
}

.gs-modal.tour {
  pointer-events: none;
  justify-content: right;
  align-content: end
}

.gs-modal.tour.visible .backdrop {
  opacity: 1
}

.gs-modal.tour .backdrop {
  pointer-events: none;
  background: linear-gradient(160deg, transparent 70%, rgba(0, 0, 0, .2))
}

.gs-modal.tour .content {
  pointer-events: all;
  margin: 10px;
  box-shadow: 0 3px 15px #00000036, 0 2px 5px #00000036
}

.gs-modal.tour .modal-title {
  padding-right: 3em
}

.gs-modal.tour .modal-body.markdown img {
  max-width: 350px;
  display: block;
  margin: 1em auto
}

.gs-modal .collapse {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 1.1em;
  border-radius: 2px;
  cursor: pointer
}

.gs-modal .collapse svg {
  transition: transform .5s
}

.gs-modal .collapse:hover {
  background-color: #e8e8e8
}

.gs-modal:not(.collapsed) .content:not(:hover) .collapse {
  animation: move .25s .5s 3 linear
}

@keyframes move {
  0% {
    transform: translateY(0)
  }

  25% {
    transform: translateY(-2px)
  }

  75% {
    transform: translateY(2px)
  }

  to {
    transform: translateY(0)
  }
}

.gs-modal.collapsed>.content>:not(:is(.modal-title, .collapse)) {
  display: none
}

.gs-modal.collapsed .modal-title {
  padding-bottom: 10px
}

.gs-modal.collapsed .collapse svg {
  transform: rotate(180deg)
}

.gs-modal a {
  color: #5570a2;
  text-decoration: none
}

.gs-modal a:hover {
  text-decoration: underline
}

.gs-checkbox-list-wrapper {
  position: relative
}

.gs-checkbox-list-wrapper .search-note {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  justify-content: center;
  align-content: center;
  color: gray;
  font-size: 85%;
  pointer-events: none
}

.gs-checkbox-list-wrapper .search-note>* {
  position: relative;
  top: .7em
}

.gs-checkbox-list {
  color: #212529;
  border: 1px solid #ced4da;
  border-radius: .25em;
  overflow: auto;
  max-height: 200px;
  padding: .375em .75em;
  margin: 0
}

.gs-checkbox-list .color {
  width: .5em;
  height: 1em;
  margin-right: .4em
}

.gs-checkbox-list li {
  list-style: none
}

.gs-checkbox-list label.checkbox {
  margin-bottom: 0
}

.gs-checkbox-list label.checkbox:hover {
  background-color: #f4f4f4
}

.gs-checkbox-list .hidden {
  display: none
}

.gs-form-group>p:first-child {
  margin-top: 0
}

.gs-form-group:not(:first-child) {
  margin-top: .5em
}

.gs-form-group label {
  display: inline-block;
  margin-bottom: .5em
}

.gs-form-group input[type=text],
.gs-form-group input[type=number],
.gs-form-group select,
.gs-form-group textarea {
  display: block;
  width: 100%;
  padding: .375em .75em;
  font-size: 1em;
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25em;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.gs-form-group input[type=text]:not(:last-child),
.gs-form-group input[type=number]:not(:last-child),
.gs-form-group select:not(:last-child),
.gs-form-group textarea:not(:last-child) {
  margin-bottom: 10px
}

.gs-form-group input[type=text]::placeholder,
.gs-form-group input[type=number]::placeholder,
.gs-form-group select::placeholder,
.gs-form-group textarea::placeholder {
  color: #a0a0a0
}

.gs-form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none
}

.gs-form-group small {
  display: block;
  margin-top: .25rem;
  color: #606060
}

.gs-form-group .threshold-flex {
  display: flex;
  gap: 10px
}

.gs-form-group .threshold-flex:not(:last-child) {
  margin-bottom: 10px
}

.gs-form-group .threshold-flex * {
  margin-bottom: 0 !important
}

.gs-form-group .threshold-flex>:first-child {
  width: 5em
}

.gs-form-group .threshold-flex>:last-child {
  padding: 0 10px
}

.group-by-thresholds-form {
  width: 25em
}

.group-by-thresholds-form .group-color {
  display: inline-block;
  width: .7em;
  height: .7em
}

.group-by-thresholds-form .threshold-groups {
  margin-top: 10px;
  text-align: left;
  font-size: 90%
}

.group-by-thresholds-form .threshold-groups :is(th, td) {
  padding-right: 1em
}

.group-by-thresholds-form .threshold-groups :is(th, td):nth-child(2) {
  min-width: 9em
}

.group-arbitrarily-form span.na {
  color: gray;
  font-style: italic;
  font-size: 90%
}

.group-arbitrarily-form div.table {
  color: #212529;
  border: 1px solid #ced4da;
  border-radius: .25em;
  overflow-x: auto;
  max-height: 20em;
  padding: .375em .75em;
  margin: 0
}

.group-arbitrarily-form.gs-form-group select {
  padding-top: .1em;
  padding-bottom: .1em
}

.gs-alert {
  display: flex;
  align-items: center;
  position: relative;
  padding: .8em;
  margin-bottom: 1em;
  border: 1px solid transparent;
  border-radius: .25rem
}

.gs-alert>svg:first-child {
  width: 2em;
  height: 2em;
  margin-right: .8em
}

.gs-alert.warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5
}

.gs-alert.info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb
}

.gs-tabs {
  margin: 0
}

.gs-tabs .tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin-top: 0
}

.gs-tabs .tabs:after {
  flex-grow: 1;
  content: "";
  display: block;
  border-bottom: 1px solid #d0d0d0
}

.gs-tabs .tabs button {
  font-size: 1em;
  background-color: transparent;
  align-items: center;
  padding: .6em 10px;
  border: 1px solid #d0d0d0;
  border-radius: 5px 5px 0 0;
  cursor: pointer
}

.gs-tabs .tabs>li:not(:first-child)>button {
  margin-left: -1px
}

.gs-tabs .tabs .active-tab button {
  border-bottom-color: transparent
}

.gs-tabs .tabs :not(.active-tab) button {
  border-color: transparent;
  border-bottom-color: #d0d0d0
}

.gs-tabs .panes>:not(.active-tab) {
  display: none
}

.snarkdown br {
  content: "A";
  display: block;
  margin-bottom: .5em
}

.copy-url {
  position: relative
}

.copy-url button {
  position: absolute;
  right: .4em;
  top: .4em;
  bottom: .4em;
  box-shadow: 0 0 .2em .2em #fff;
  border: 1px solid rgb(66, 127, 240);
  border-radius: 3px;
  color: #427ff0;
  background-color: #fff
}

.copy-url button:hover {
  color: #fff;
  background-color: #427ff0
}

label.checkbox {
  display: flex;
  align-items: center
}

label.checkbox input[type=checkbox] {
  flex: none;
  margin-right: .5em
}

.gs-suppress-tooltip .genome-spy .tooltip {
  display: none
}

.histogram-widget,
.histogram-widget .histogram-plot {
  position: relative
}

.histogram-widget .histogram-bars {
  position: relative;
  height: 4em;
  background-color: #f0f0f0;
  border-top-left-radius: .25em;
  border-top-right-radius: .25em;
  overflow: hidden
}

.histogram-widget .histogram-bars>div {
  position: absolute;
  background-color: gray
}

.histogram-widget .histogram-thresholds {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0
}

.histogram-widget .histogram-thresholds .histogram-threshold {
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #000
}

.histogram-widget .histogram-thresholds .histogram-knob {
  position: absolute;
  top: -.6em;
  left: calc(.5px - .6em);
  width: 1.2em;
  height: 1.2em;
  border-radius: 1.2em;
  background: black;
  color: #fff;
  font-size: 80%;
  text-align: center;
  vertical-align: middle;
  cursor: col-resize
}

.histogram-widget .histogram-domain {
  position: absolute;
  width: 100%;
  height: .5em;
  border: 1px solid #333;
  border-bottom-style: none
}

.histogram-widget .histogram-extent {
  display: flex;
  justify-content: space-between;
  font-size: 90%
}

.histogram-widget .histogram-extent>div {
  margin: .1em .3em 0
}

.histogram-widget .histogram-hint {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s
}

.histogram-widget .histogram-hint.visible {
  opacity: 1
}

.histogram-widget .histogram-hint span {
  position: relative;
  top: -30%;
  background-color: #f0f0f0b3;
  color: #333;
  cursor: default
}