#collection-view {
  --collection-control-height: 42px;
}

#collection-view .collection-head .tools {
  --collection-control-height: inherit;
}

#collection-view .filter-toggle,
#collection-view .segments button {
  height: var(--collection-control-height);
  min-height: var(--collection-control-height);
}

.collection-exports {
  flex: 0 0 auto;
  margin: 0;
}

.collection-exports .collection-layout {
  min-width: 0;
  width: auto;
  gap: .55rem;
}

@media (max-width: 760px) {
  #collection-view {
    --collection-control-height: 43px;
  }

  #collection-view .toolbar {
    gap: 8px;
  }

  #collection-view .segments {
    flex: 0 1 auto;
    width: auto;
  }

  #collection-view .segments button {
    min-width: 0;
    padding-inline: clamp(8px, 2.5vw, 19px);
  }
}

#picker-collection-export-options [role="option"] {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.export-format-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 16px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #426681;
  background: #eaf3fa;
}

.export-format-icon::after {
  content: '';
  width: 8px;
  height: 8px;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 3px);
}

.export-format-icon[data-format="xlsx"] {
  color: #236344;
  background: #e5f2e8;
}

.export-format-icon[data-format="xlsx"]::after {
  background: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 3px),
              repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 3px);
}

.export-format-icon[data-format="pdf"] {
  color: #9e3647;
  background: #fbecef;
}

.export-format-icon[data-format="pdf"]::after {
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 1px;
  background: none;
}

.product-type-filter {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
}

#product-type-options label {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 9px;
  min-height: 38px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
}

#product-type-options label:is(:hover, :focus-within) {
  background: #f1f6f3;
}

#product-type-options input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #247553;
}
