.study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem .35rem;
  align-items: flex-start;
  min-width: 0;
  margin: .4rem 0 .15rem;
}
.study-tag {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd8e6;
  border-radius: .42rem;
  background: #f7f5fa;
  color: #3e3650;
  padding: .19rem .47rem;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.study-tag-assay {
  background: #4b3767;
  color: white;
  border-color: #4b3767;
}
.study-tag-disease {
  background: #e8f1ec;
  color: #2d5542;
  border-color: #cddfd4;
}
.study-tag-method { background: #ebf0fa; color: #30486f; border-color: #d7e2f2; }
.study-tag-species { background: #fff; }
.study-tag-context {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.study-selection-tags { display: block; min-width: 0; font-weight: normal; }
.study-selection-tags:empty { display: none; }
.study-selection-tags .study-tags { margin-bottom: .15rem; }
.disease-study-name { min-width: 0; }
.dataset-card .study-tags { margin-bottom: .65rem; }
