/* AdsPilot Pro R51A-R3: sidebar pending bank-review indicator only.
   New same-origin external CSS to preserve strict Content Security Policy. */
.adp-side-nav a.adsp-r51a-r3-billing-link {
    display: grid !important;
    grid-template-columns: 14px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 70px !important;
    height: auto !important;
    padding: 10px 12px !important;
    white-space: normal !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link > span[aria-hidden="true"] {
    grid-column: 1 !important;
    display: block !important;
    width: 14px !important;
    min-width: 14px !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    align-self: center !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link > .adsp-r51a-r3-stack {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    position: static !important;
    transform: none !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    line-height: normal !important;
    white-space: normal !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link .adsp-r51a-r3-label {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    font: inherit !important;
    color: inherit !important;
    overflow-wrap: anywhere !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link .adsp-r49-review-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 9px !important;
    border-radius: 999px !important;
    background: #e91b4b !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* R51A-R4: one-line, right-aligned Pending status. Scoped to R3 bank-review
   sidebar link only. No inline styles, JavaScript, CSP changes, or DB access. */
.adp-side-nav a.adsp-r51a-r3-billing-link {
    grid-template-columns: 12px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    min-height: 52px !important;
    padding: 9px 12px !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link > span[aria-hidden="true"] {
    width: 12px !important;
    min-width: 12px !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link > .adsp-r51a-r3-stack {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    column-gap: 4px !important;
    align-items: center !important;
    justify-items: start !important;
    width: 100% !important;
    white-space: nowrap !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link .adsp-r51a-r3-label {
    grid-column: 1 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    letter-spacing: -0.14px !important;
    line-height: 1.3 !important;
}
.adp-side-nav a.adsp-r51a-r3-billing-link .adsp-r49-review-badge {
    grid-column: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    white-space: nowrap !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 3px 5px !important;
    line-height: 1.2 !important;
    background: #e91b4b !important;
    color: #ffffff !important;
}

/* ADSP_R79E_NESTED_BADGE_FLEX_BEGIN */
/* Single-row sidebar: icon | label | independent badge.
   Real markup can nest the dynamic review badge INSIDE the label wrapper.
   Keep the label wrapper horizontal, not just the outer nav anchor. */
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  min-width: 0 !important;
  min-height: 49px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-align: left !important;
  text-indent: 0 !important;
}
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > span[aria-hidden="true"]:first-child {
  display: inline-flex !important;
  flex: 0 0 27px !important;
  width: 27px !important;
  min-width: 27px !important;
  max-width: 27px !important;
  height: 27px !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
/* The label is a direct text node, a wrapper, or a wrapper containing a
   nested badge. Do NOT select the badge itself as a text label. */
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > :nth-child(2):not([class*="badge" i]):not([class*="pending" i]):not([class*="review" i]) {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: inherit !important;
  text-align: left !important;
  white-space: nowrap !important;
}
/* Flatten any inherited column/wrapping styles on child label spans. */
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > :nth-child(2):not([class*="badge" i]):not([class*="pending" i]):not([class*="review" i]) > :first-child:not([class*="badge" i]):not([class*="pending" i]):not([class*="review" i]) {
  flex: 0 1 auto !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
/* Two DOM configurations are supported:
   A: icon + direct badge, with the menu text as an anonymous text node;
   B: icon + label wrapper + direct badge; or badge NESTED in wrapper.
   Never promote an unrelated menu row or unpaid payment to 'approved'. */
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > :is([class*="badge" i],[class*="pending" i],[class*="review" i]):not(:first-child),
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > :nth-child(3):last-child,
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > :nth-child(2):not([class*="badge" i]):not([class*="pending" i]):not([class*="review" i]) > :is([class*="badge" i],[class*="pending" i],[class*="review" i]),
body.adp-app aside.adp-sidebar nav.adp-side-nav > a[href="/checkout/"] > :nth-child(2):not([class*="badge" i]):not([class*="pending" i]):not([class*="review" i]) > span:last-child:not(:first-child) {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  transform: none !important;
  margin: 0 0 0 auto !important;
  padding: 3px 6px !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-align: center !important;
  z-index: 0 !important;
}
/* ADSP_R79E_NESTED_BADGE_FLEX_END */
