.collection-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-export-actions a {
  white-space: nowrap;
  text-decoration: none;
}

.quota-note {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.browse-guidance {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.group-select {
  min-width: 120px;
  padding: 7px 9px;
}

.user-chip span {
  display: grid;
  line-height: 1.2;
}

.user-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.assignment-warning {
  position: sticky;
  top: 64px;
  z-index: 19;
  padding: 11px 24px;
  border-bottom: 1px solid #e4c36a;
  background: #fff4cf;
  color: #684e05;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.commitment-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 18, 18, 0.68);
}

.commitment-dialog {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface, #fff);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

.commitment-dialog h2 {
  margin: 6px 0 18px;
}

.commitment-warning {
  margin: 0 0 12px;
  color: #a01828;
  font-weight: 800;
}

.commitment-copy {
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.75;
}

.commitment-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft, rgba(127, 127, 127, 0.08));
  cursor: pointer;
  font-weight: 700;
  line-height: 1.5;
}

.commitment-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #8f2736;
}

.commitment-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .collection-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .pdf-export-actions {
    flex-wrap: wrap;
  }
}
