:root {
  --report-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657086' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 4 4'/%3E%3C/svg%3E");
  --report-select: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657086' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --report-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E");
  --report-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E");
  --report-sort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 9 5-5 5 5M7 15l5 5 5-5'/%3E%3C/svg%3E");
  --report-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14m-5-9 5-5 5 5'/%3E%3C/svg%3E");
  --report-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v11m-4-4 4 4 4-4m-12 5v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E");
  --report-refresh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 5v5h-5M4 19v-5h5m-4.5-4a7.5 7.5 0 0 1 12.7-3.2L20 10M4 14l2.8 3.2A7.5 7.5 0 0 0 19.5 14'/%3E%3C/svg%3E");
  --report-reset: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5v5h5M4 10l3-3a7 7 0 1 1-.5 10'/%3E%3C/svg%3E");
  --report-columns: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm4 0v16m6-16v16'/%3E%3C/svg%3E");
  --report-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12M10 11v6m4-6v6'/%3E%3C/svg%3E");
  --report-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6m0-6-10 10m8 0v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4'/%3E%3C/svg%3E");
}

:is(.content, .oz-source) select:not([multiple]):not([size]) {
  appearance: none;
  background-image: var(--report-select);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-inline-end: 32px;
}

:is(.shell, .app) main :is(.content, .oz-source)
input:is([type="search"], .search-input, .promotion-search, #search):not([role="combobox"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  background-image: var(--report-search);
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 17px;
  /* The legacy toolbar styles set their padding with !important. */
  padding-inline-start: 34px !important;
}

.metadata-combobox .metadata-combobox-search-icon,
.metadata-combobox .metadata-combobox-chevron,
.report-icon,
[data-report-action]::before,
.exports-download-cell > :is(button, a)::before,
:is(.wb-metadata-filter-collapse-toggle, .wb-metadata-filter-actions button[aria-expanded])::after {
  display: inline-block;
  inline-size: var(--report-icon-size, 16px);
  block-size: var(--report-icon-size, 16px);
  flex: 0 0 var(--report-icon-size, 16px);
  vertical-align: -.18em;
  border: 0;
  border-radius: 0;
  background: currentColor;
  mask: var(--report-icon) center / contain no-repeat;
}

.metadata-combobox .metadata-combobox-search-icon { --report-icon: var(--report-search); color: #657086; left: 11px; }
.metadata-combobox .metadata-combobox-search-icon::after { content: none; }
.metadata-combobox .metadata-combobox-chevron { --report-icon: var(--header-icon-chevron); color: #657086; }
.metadata-combobox .metadata-combobox-option > .report-icon { margin-inline-start: auto; }

[data-report-icon="close"] { --report-icon: var(--report-x); }
[data-report-icon="check"] { --report-icon: var(--report-check); }
[data-report-icon="remove"] { --report-icon: var(--report-trash); }
[data-report-icon="external"] { --report-icon: var(--report-external); }
[data-report-icon="sort"] { --report-icon: var(--report-sort); --report-icon-size: 14px; }
.data-table-sort-icon, [data-stock-sort] > [data-report-icon="sort"] { margin-inline-start: 5px; }
[data-report-icon="up"], [data-report-icon="down"] { --report-icon: var(--report-arrow); }
[data-report-icon="down"], th[aria-sort="descending"] [data-report-icon="sort"] { transform: rotate(180deg); }
th:is([aria-sort="ascending"], [aria-sort="descending"]) [data-report-icon="sort"] {
  --report-icon: var(--report-arrow);
  color: var(--accent, #1152ef);
}

[data-report-icon="previous"], [data-report-icon="next"] { --report-icon: var(--header-icon-chevron); }
[data-report-icon="previous"] { transform: rotate(90deg); }
[data-report-icon="next"] { transform: rotate(-90deg); }
.rnp-product-toggle .row-expander.report-icon { --report-icon: var(--header-icon-chevron); transform: rotate(-90deg); }
.rnp-product-toggle[aria-expanded="true"] .row-expander.report-icon { transform: none; }

[data-report-action="refresh"] { --report-icon: var(--report-refresh); }
[data-report-action="reset"] { --report-icon: var(--report-reset); }
[data-report-action="columns"] { --report-icon: var(--report-columns); }
[data-report-action="download"], .exports-download-cell > :is(button, a) { --report-icon: var(--report-download); }
[data-report-action]::before, .exports-download-cell > :is(button, a)::before {
  content: "";
  margin-inline-end: 6px;
}

:is(.wb-metadata-filter-collapse-toggle, .wb-metadata-filter-actions button[aria-expanded])::after {
  --report-icon: var(--header-icon-chevron);
  --report-icon-size: 14px;
  content: "";
  margin-inline-start: 5px;
}

:is(.wb-metadata-filter-collapse-toggle, .wb-metadata-filter-actions button)[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

@media (forced-colors: active) {
  :is(.content, .oz-source) select:not([multiple]):not([size]) {
    appearance: auto;
    background-image: none;
    padding-inline-end: revert;
  }
  .report-icon, [data-report-action]::before { forced-color-adjust: none; }
}
