/* SERVED PROS v3.4.11 - Customers land directly on selected order actions.
   Scoped to customer dashboard and to the selected-order view; does not
   change portal logic, authentication, payments, or other page heroes. */
body.sp-customer-dashboard-refined .sp-portal:has(.sp-order-first) > .sp-hero,
body.page-customer-dashboard .sp-portal:has(.sp-order-first) > .sp-hero {
  display: none !important;
}
body.sp-customer-dashboard-refined .sp-portal:has(.sp-order-first) > .sp-main,
body.page-customer-dashboard .sp-portal:has(.sp-order-first) > .sp-main {
  padding-top: 10px !important;
  min-height: 0 !important;
}
body.sp-customer-dashboard-refined .sp-portal .sp-order-first,
body.page-customer-dashboard .sp-portal .sp-order-first {
  margin-top: 0 !important;
}
body.sp-customer-dashboard-refined .sp-portal .sp-order-first > h2,
body.page-customer-dashboard .sp-portal .sp-order-first > h2 {
  margin-top: 0 !important;
  margin-bottom: 9px !important;
}
@media (max-width: 690px) {
  body.sp-customer-dashboard-refined .sp-portal:has(.sp-order-first) > .sp-main,
  body.page-customer-dashboard .sp-portal:has(.sp-order-first) > .sp-main {
    padding-top: 8px !important;
  }
}
