/* GFLEX TEST — Stage 042. The three warehouse summary controls only.
   This fixes the visible light-on-light buttons, including when the legacy
   contrast guard dynamically applies .gflexAutoTextLight to the element.
   No events, server calls, roles, scanning or other page styles changed. */

/* Enabled: solid navy/blue with white labels. */
#appRoot #warehouse button#exportExpectedAllBtn:not(:disabled),
#appRoot #warehouse button#toggleExpectedDetailsBtn:not(:disabled),
#appRoot #warehouse button#exportMissingExpectedBtn:not(:disabled) {
  background:#244c75!important;
  background-image:none!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border:1px solid #3e719f!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
  box-shadow:0 2px 5px rgba(16,43,76,.16)!important;
  font-weight:850!important;
  cursor:pointer!important;
}
#appRoot #warehouse button#exportExpectedAllBtn:not(:disabled):hover,
#appRoot #warehouse button#toggleExpectedDetailsBtn:not(:disabled):hover,
#appRoot #warehouse button#exportMissingExpectedBtn:not(:disabled):hover {
  background:#32628f!important;
  border-color:#4c83b3!important;
}

/* Disabled: unmistakably inactive, but legible slate on light grey.
   This ALSO overrides the legacy auto-contrast .gflexAutoTextLight class. */
#appRoot #warehouse button#exportExpectedAllBtn:disabled,
#appRoot #warehouse button#toggleExpectedDetailsBtn:disabled,
#appRoot #warehouse button#exportMissingExpectedBtn:disabled {
  background:#dce4ee!important;
  background-image:none!important;
  color:#263e58!important;
  -webkit-text-fill-color:#263e58!important;
  border:1px solid #9eaec2!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
  font-weight:850!important;
  cursor:not-allowed!important;
}

/* Icon/text spans must not inherit a legacy forced white-on-light color. */
#appRoot #warehouse button#exportExpectedAllBtn:disabled *,
#appRoot #warehouse button#toggleExpectedDetailsBtn:disabled *,
#appRoot #warehouse button#exportMissingExpectedBtn:disabled * {
  opacity:1!important;
  color:#263e58!important;
  -webkit-text-fill-color:#263e58!important;
}
#appRoot #warehouse button#exportExpectedAllBtn:not(:disabled) *,
#appRoot #warehouse button#toggleExpectedDetailsBtn:not(:disabled) *,
#appRoot #warehouse button#exportMissingExpectedBtn:not(:disabled) * {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

#appRoot #warehouse button#exportExpectedAllBtn:focus-visible,
#appRoot #warehouse button#toggleExpectedDetailsBtn:focus-visible,
#appRoot #warehouse button#exportMissingExpectedBtn:focus-visible {
  outline:3px solid #eeaa26!important;
  outline-offset:3px!important;
}

#appRoot .testVersion::after {content:" · UI 043"!important;color:#e2edff!important;font-weight:950}
