/* SKU identity is green/white across product, project and report screens.
   Product-group header IDs use the same legacy badge class, so exclude them. */
:root {
  --sku-id-background: #067647;
  --sku-id-active-background: #085d3a;
  --sku-id-text: #fff;
}
body :is(
  .trade-product-id-badge:not(.workplace-trade-product-group-title-id),
  .sku-identity,
  .operation-item-selector b,
  .operation-item-quantity-context > .trade-product-id-badge,
  .operation-item-quantity-context > .operation-item-quantity-title,
  .operation-item-quantity-context > [data-operation-item-quantity-title],
  .sku-id-card strong,
  .sku-switcher strong,
  .su-product-sku-row > strong,
  .su-sku-id-link
) {
  background: var(--sku-id-background);
  border-color: var(--sku-id-background);
  color: var(--sku-id-text);
}
body :is(
  .trade-product-id-badge:not(.workplace-trade-product-group-title-id),
  .sku-identity,
  .su-sku-id-link
):is(:hover, :focus-visible),
body .item-sku-browser-dialog--product-detail .is-current .trade-product-id-badge,
body .item-sku-browser-select:hover .trade-product-id-badge {
  background: var(--sku-id-active-background);
  border-color: var(--sku-id-active-background);
  color: var(--sku-id-text);
}
/* These older views render bare SKU numbers rather than the shared badge. */
body :is(.sku-identity, .operation-item-selector b, .sku-id-card strong, .sku-switcher strong, .su-product-sku-row > strong) {
  border: 1px solid var(--sku-id-background);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
}
