.study-filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
}

.study-filter{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  background:#fff;
}

.study-filter.active{
  background:#172033;
  color:#fff;
  border-color:#172033;
}

.study-filter span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  border-radius:999px;
  background:#f1f5f9;
  color:#64748b;
  font-size:12px;
}

.study-filter.active span{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.star-filter.active{
  background:#f59e0b;
  border-color:#f59e0b;
}

.file-badges{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}

.file-star{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border:1px solid #dbe4f0;
  border-radius:999px;
  color:#94a3b8;
  background:#fff;
  font-size:15px;
}

.file-star.active{
  color:#f59e0b;
  border-color:#fde68a;
  background:#fffbeb;
}

.ai-status{
  background:#f8fafc;
}

.ai-status.has-analysis-status{
  background:#ecfdf5;
  border-color:#bbf7d0;
  color:#047857;
}

.ai-status.missing-status{
  background:#f8fafc;
  border-color:#dbe4f0;
  color:#64748b;
}

.question-status-panel{
  padding:0 0 12px;
  border-bottom:1px solid #edf0f5;
}

.question-status-panel .record-title-row{
  margin-top:0;
}

.star-toggle{
  width:auto;
  margin:0;
  color:#64748b;
}

.star-toggle.active{
  background:#fffbeb;
  border-color:#fde68a;
  color:#b45309;
}

@media(max-width:760px){
  .file-badges{
    justify-content:flex-start;
  }

}
