.sc-de-workspace,
.sc-de-results {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.sc-de-workspace[hidden],
.sc-de-results[hidden] {
  display: none;
}

.sc-de-settings,
.sc-de-figure,
.sc-de-table {
  min-width: 0;
  padding: clamp(14px, 2vw, 25px);
}

.sc-de-fields {
  display: grid;
  grid-template-columns: minmax(15rem,2.2fr) auto repeat(4,minmax(8.2rem,1fr));
  gap: .75rem;
  align-items: end;
}

.sc-de-fields label {
  display: grid;
  min-width: 0;
  gap: .4rem;
  font-weight: 600;
  font-size: .88rem;
}

.sc-de-fields select {
  width: 100%;
  min-width: 0;
  min-height: 2.6rem;
  text-overflow: ellipsis;
}

.sc-de-fields .button {
  min-height: 2.6rem;
  white-space: nowrap;
}

.sc-de-status,
.sc-de-summary,
.sc-de-export-status {
  margin: .75rem 0 0;
  color: #554d64;
  font-size: .9rem;
}

.sc-de-figure-heading,
.sc-de-table-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .9rem;
}

.sc-de-figure-heading h2,
.sc-de-table-heading h2 {
  margin: 0;
  color: #282035;
}

.sc-de-actions,
.sc-de-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
}

.sc-de-actions .button,
.sc-de-pagination .button {
  min-height: 2.3rem;
  padding: .35rem .65rem;
  font-size: .8rem;
}

.sc-de-chart,
.sc-de-table-scroll {
  overflow: auto;
  max-width: 100%;
}

.sc-de-chart {
  border: 1px solid #e9e4ef;
  border-radius: .75rem;
  background: white;
}

.sc-de-chart svg {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-inline: auto;
}

.sc-de-chart circle[data-role="gene-point"]:hover {
  stroke: #25192f;
  stroke-width: 1.1px;
  cursor: crosshair;
}

.sc-de-table input[type="search"] {
  min-width: min(14rem,100%);
  max-width: 100%;
}

.sc-de-table table {
  width: 100%;
  min-width: 36rem;
  font-variant-numeric: tabular-nums;
}

.sc-de-table th {
  white-space: nowrap;
}

.sc-de-table .sc-de-gene,
.sc-de-up,
.sc-de-down {
  font-weight: 650;
}

.sc-de-up {
  color: #a6293c;
}

.sc-de-down {
  color: #176d8a;
}

.sc-de-pagination {
  justify-content: flex-end;
  margin-top: .7rem;
  color: #554d64;
  font-size: .85rem;
}

.sc-de-methods {
  margin-top: 1rem;
  border-top: 1px solid #e6dfee;
  padding-top: .8rem;
}

.sc-de-methods summary {
  cursor: pointer;
  font-weight: 650;
}

.sc-de-methods p,
.sc-de-methods li {
  font-size: .9rem;
  color: #554d64;
}

@media (max-width: 1250px) {
  .sc-de-fields {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .sc-de-fields label:first-child {
    grid-column: span 3;
  }
}

@media (max-width: 650px) {
  main #cells.sc-de-active .sc-study-bar select[data-study-tags],
  #cells.sc-de-active .sc-study-bar select[data-study-tags]::picker(select) {
    appearance: auto;
  }
  main #cells.sc-de-active .sc-study-bar select[data-study-tags] {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .875rem;
  }
  .sc-de-fields {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .sc-de-fields label:first-child {
    grid-column: 1 / -1;
  }
  .sc-de-fields .button {
    grid-row: 4;
  }
}

.sc-de-descriptive-note{border:1px solid #d9a441;background:#fff8e6;color:#4a3a12;padding:8px 10px;border-radius:6px;margin:0 0 8px;}
