html {
  background: #fff;
  font-family: system-ui;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
}

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

.tooltip {
  top: -1000px;
  position: fixed;
  padding: 10px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid lightgray;
  pointer-events: none;
  z-index: 10000;
  width: 400px;
}

.tooltip-hidden {
  opacity: 0;
  transition: all .3s;
  transition-delay: .1s;
}

p.warning{
  a{
    color: #fff;
  }
  font-weight: 300;
  margin-top: 0px;
}

.main {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: 100vh;
}

.sticky-group-name, .title-link{
  position: sticky;
  font-family: "Styrene B LC";
  position: sticky;
  background: #000;
  color: #fff;
  padding: 2px 10px;
  margin-left: -10px;
  margin-top: -10px;
}

.title-link{
  top: -10px;
  z-index: 1000;
  a{
    color: #fff;
  }
}

.sticky-group-name{
  top: 12px;
  z-index: 100;
  margin-top: 2px;
  margin-bottom: 2px;
  /* margin-bottom: 10px; */
  /* margin-top: 10px; */
}
.feature-group:first-child .sticky-group-name{
  margin-top: 0px;
  /* margin-bottom: 5px; */
}

.big-col {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding: 10px;
  padding-bottom: 0px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* hide scroll bar a bit */
.big-col:hover { scrollbar-color: auto; }
.big-col::-webkit-scrollbar { width: 6px; }
.big-col::-webkit-scrollbar-thumb { background-color: transparent; }
.big-col:hover::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.3); }


.all-features {
  user-select: none;
  height: 100px;
  position: relative;

  .feature-left-col{
    margin-bottom: 5px;
    cursor: pointer;
  }
  .feature-left-col:not(.active) {
    opacity: .5;
    .feature-chip{
      background-color: #fff;
      color: #000;
      /* opacity: 0; */
    }
  }
  .feature-left-col:hover{
    opacity: .8;
  }
  .feature-left-col.active{
    opacity: 1;
  }

  .feature-chip{
    margin-left: -5px;
  }

  .clerp{
    padding: 3px 10px;
    margin-left: -10px;
  }

  .active .clerp{
    background-color: #d97757;
    border-radius: 6px;
    color: #fff;
  }


}

.example-col {
  grid-column: 2;
  overflow: visible;
  overflow-y: scroll;
  position: relative;
  z-index: 100;
}

.feature-examples {
  display: flex;
  flex-direction: row;
  position: relative;

  span{
    font-weight: 300;
  }

  .example-2-col {
    flex: 1;
    overflow: visible;
    overflow-y: scroll;
    position: relative;
    z-index: 100;
  }

  .example-2-col:not(:last-child) {
    margin-right: 10px;
  }

  .example-quantile {

    .quantile-title {
      font-family: "Styrene B LC";
      font-size: 14px;
      line-height: 1em;
      font-weight: bold;
    }

    .quantile-max {
      color: #aaa;
      margin-left: 10px;
      font-weight: 400;
    }
  }

  .example{
    max-width: 9999px;
  }
}

.feature-chip{
  pointer-events: none;
  /* user-select: none; */
}