/* Stage 8: bounded collections keep large workspaces responsive. */

.collection-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 18px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.collection-pager-summary {
  font-weight: 700;
}

.collection-pager-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.collection-pager-actions > span {
  min-width: 96px;
  text-align: center;
  font-weight: 700;
}

.collection-pager .icon-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
}

@media (max-width: 640px) {
  .collection-pager {
    align-items: stretch;
    flex-direction: column;
  }

  .collection-pager-actions {
    justify-content: space-between;
  }

  .collection-pager-actions > span {
    flex: 1;
  }
}

