/* developers-halpas-production/assignment-upgrades.css */
.assignment-row > span:first-child.has-assignment-image {
  position: relative;
  min-height: 58px;
  padding: 8px;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-shadow: 0 1px 4px #000;
}

.assignment-row > span:first-child.has-assignment-image::before {
  position: absolute;
  inset: 0;
  background: #0005;
  content: '';
}

.assignment-row > span:first-child.has-assignment-image > span {
  position: relative;
}

.model-card.has-assignment-image {
  background-position: center;
  background-size: cover;
}

.model-card.has-assignment-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0002, #0000 55%);
  content: '';
}

.model-card.has-assignment-image > span {
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 4px #000;
}

.admin-task-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.admin-task-item {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #ddd;
}

.admin-task-item > header,
.admin-task-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-task-actions button {
  min-height: 38px;
}

.assignment-folder-note {
  padding: 12px;
  background: #f4f4f1;
  color: #666;
  font-size: 11px;
  line-height: 1.5;
}

.featured.compact-pinned-list {
  display: block;
  min-height: 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.featured.compact-pinned-list .assignment-row {
  background: transparent;
}

.featured.compact-pinned-list .assignment-row:hover {
  background: #fff;
}

.featured.compact-pinned-list > .live-empty {
  padding: 20px 10px;
  border-bottom: 1px solid var(--line);
}