/* Stable toolbar presentation for every ERP form.
   Button availability is still controlled by the existing disabled property;
   only the grey/blinking visual treatment is removed. */
html body #appShell:not(#agile-toolbar-scope):not(#agile-toolbar-lock) .page
  :is([class*="toolbar"], [class$="-bar"], [data-form-toolbar], .po6-buttons,
      .vds29-buttons, .p4f-actions, .ae50-p4-actions, .erp-toolbar-actions,
      .so2tb, .cdstb, .cpcstb) button {
  animation: none !important;
  transition: none !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  background: linear-gradient(180deg, #ffab3d, #f39a22) !important;
  background-image: linear-gradient(180deg, #ffab3d, #f39a22) !important;
  border-color: #c97310 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 1px 2px rgba(79, 47, 9, .12) !important;
  backface-visibility: hidden !important;
  -webkit-font-smoothing: antialiased !important;
}

html body #appShell:not(#agile-toolbar-scope):not(#agile-toolbar-lock) .page
  :is([class*="toolbar"], [class$="-bar"], [data-form-toolbar], .po6-buttons,
      .vds29-buttons, .p4f-actions, .ae50-p4-actions, .erp-toolbar-actions,
      .so2tb, .cdstb, .cpcstb) button:disabled {
  background: linear-gradient(180deg, #ffab3d, #f39a22) !important;
  background-image: linear-gradient(180deg, #ffab3d, #f39a22) !important;
  border-color: #c97310 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 1px 2px rgba(79, 47, 9, .12) !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

html body #appShell:not(#agile-toolbar-scope):not(#agile-toolbar-lock) .page
  :is([class*="toolbar"], [class$="-bar"], [data-form-toolbar], .po6-buttons,
      .vds29-buttons, .p4f-actions, .ae50-p4-actions, .erp-toolbar-actions,
      .so2tb, .cdstb, .cpcstb) button:is(:hover, :focus, :active, :disabled) {
  animation: none !important;
  transition: none !important;
  filter: none !important;
  transform: none !important;
  background: linear-gradient(180deg, #ffab3d, #f39a22) !important;
  background-image: linear-gradient(180deg, #ffab3d, #f39a22) !important;
  border-color: #c97310 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 1px 2px rgba(79, 47, 9, .12) !important;
  opacity: 1 !important;
}

/* Final cache-busted lock. This intentionally keeps the native disabled
   property for form safety, but removes every grey visual from form buttons. */
html body #appShell:not(#agile-grey-lock):not(#agile-button-lock) .page button:disabled {
  background: #f39a22 !important;
  background-color: #f39a22 !important;
  background-image: none !important;
  border-color: #c97310 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  box-shadow: 0 1px 2px rgba(79, 47, 9, .12) !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

html body #appShell #challanOut.page button,
html body #appShell #challanOut.page button:is(:hover, :focus, :active, :disabled) {
  animation: none !important;
  transition: none !important;
  background: #f39a22 !important;
  background-color: #f39a22 !important;
  background-image: none !important;
  border-color: #c97310 !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
