/* 学习单管理 — 在 homework-manage.css 基础上的差异样式 */
.ssm-page .hm-card-publish {
  padding-bottom: 8px;
}

.ssm-publish-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.ssm-group-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 98%;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(90deg, #f5c6c0 0%, #f5c6c0 100%);
  color: #9e1f15;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.ssm-group-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.ssm-group-btn svg {
  flex-shrink: 0;
}

.hm-card-tasks-ssm .hm-card-title::before {
  content: none;
}

.ssm-compare-only .hm-compare-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 6px;
  background: #f2f3f5;
}

.ssm-compare-only .hm-compare-tab:not(.active) {
  display: none;
}

.ssm-compare-only .hm-compare-tab.active {
  pointer-events: none;
}

.hm-list-tabs-ssm {
  gap: 20px;
}

.hm-list-tabs-ssm .hm-list-tab {
  padding: 12px 4px;
  font-size: 14px;
}

.hm-type-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fef3f2;
  color: #e63323;
  font-size: 11px;
  font-weight: 400;
}

.hm-status-tag-active {
  background: #fde8e6;
  color: #c0271b;
}

.hm-status-tag-pending {
  background: #fef3f2;
  color: #fa8c16;
}

.hm-status-tag-ended {
  background: #f2f3f5;
  color: #86909c;
}
