
/* v3.38 — exact fixes from screenshot: legacy panels + guided study width */
body.ux338:not(.stageFlows336) #branches327{display:none!important}

/* The first and second original workspace panels belong to the process editor only:
   Selected process/actions and Review/document control. */
body.ux338:not(.stageFlows336) .workspace > .panel.legacyFlow338{display:none!important}

/* Hiding the study nav must also collapse its grid column. */
body.ux338 #study317 .studyLayout317{
  display:block!important;
  grid-template-columns:1fr!important;
  width:100%!important;
}
body.ux338 #study317 #studyNav317{display:none!important}
body.ux338 #study317 .studyBody317{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.ux338 #study317 #studyFields317{
  width:100%!important;
  max-width:920px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.ux338 #study317 input,
body.ux338 #study317 select,
body.ux338 #study317 textarea{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.ux338 #study317{
  overflow:hidden!important;
}
body.ux338 #study317 .buttons{flex-wrap:wrap!important}

/* tighter connection between stage intro and content */
body.ux338 #stageIntro336{margin-bottom:10px!important}
body.ux338 #study317{margin-top:0!important}

@media(max-width:720px){
 body.ux338 #study317 #studyFields317{grid-template-columns:1fr!important}
}
