.dm-customers-grid.is-paginated {
  grid-template-rows: repeat(3, minmax(var(--s15), auto));
}

/* All pages contribute to the same three row heights, including agency credits. */
.dm-customers-grid.is-paginated > [inert] {
  visibility: hidden;
}

.dm-customers-pager:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s1) var(--gutter);
  margin-top: var(--s3);
}

.dm-customers-pager .lnk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.dm-customers-pager .lnk > span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dm-customers-pager .lnk:focus-visible {
  outline: 2px solid #d3188f;
  outline-offset: 4px;
}

.dm-customers-pager .lnk[aria-disabled="true"] {
  color: #666;
  cursor: default;
}

.dm-customers-pager .lnk[aria-disabled="true"] .dm-link-ink {
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

.dm-customers-pager__count {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dm-customers-pager__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
