﻿/* Party / Transporter form must paint as real cards, never empty gray fragments */
html body #partyMaster.party-master-standard-page:not(.hidden),
html body #partyMaster.page:not(.hidden){
  display:flex!important;
  flex-direction:column!important;
  visibility:visible!important;
  opacity:1!important;
  background:#fff!important;
  color:#111!important;
}
html body #partyMaster:not(.hidden) .pm-party-form,
html body #partyMaster:not(.hidden) .professional-module-form,
html body #partyMaster:not(.hidden) .form-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  visibility:visible!important;
  opacity:1!important;
  background:#fff!important;
}
html body #partyMaster:not(.hidden) .pm-party-field{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #partyMaster:not(.hidden) .pm-party-field label,
html body #partyMaster:not(.hidden) .pm-party-field input,
html body #partyMaster:not(.hidden) .pm-party-field select{
  visibility:visible!important;
  opacity:1!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}
html body #transporterMaster.page:not(.hidden) .professional-module-form,
html body #transporterMaster.page:not(.hidden) .form-grid{
  display:grid!important;
  visibility:visible!important;
  background:#fff!important;
}
html body #partyMaster.hidden,
html body #transporterMaster.hidden{
  display:none!important;
  visibility:hidden!important;
}
