/* FEAT-12a Abgabe — page-scoped styles (keeps index.css contention-free). */

.abgabe-roster {
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  background: var(--color-surface);
}

.abgabe-roster__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.abgabe-roster__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.abgabe-roster__list select {
  width: auto;
  min-width: 9rem;
}

.group-composer {
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  padding: 1rem;
  margin: 1rem 0;
  background: var(--color-surface);
}

.group-composer__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.group-composer__animal {
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.group-composer__animal-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.photo-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.photo-chip {
  padding: 0;
  border: 2px solid var(--color-border);
  border-radius: 0.4rem;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  line-height: 0;
}

.photo-chip--on {
  border-color: var(--color-accent);
  opacity: 1;
}

.photo-chip img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.25rem;
}

.listing-preview {
  white-space: pre-wrap;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.group-composer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
