/* Toura Passport STAGING 016F — Supplier Studio compact workspace geometry repair.
   Presentation only. Keeps 016E workspace navigation and all canonical Supplier logic unchanged. */
@media (max-width:760px){
  body.supplier-studio-page .tp008a-workspace-context{
    min-height:82px!important;
    margin-bottom:12px!important;
  }

  /* Submodules previously stacked status + Overview + Studio Menu as three rows,
     making the workspace card taller than Overview. Keep one fixed two-row action block. */
  body.supplier-studio-page .tp016e-workspace-actions{
    display:grid!important;
    grid-template-columns:auto auto!important;
    grid-template-rows:22px 38px!important;
    align-items:center!important;
    justify-content:end!important;
    justify-items:end!important;
    align-content:center!important;
    gap:5px 7px!important;
    min-width:118px!important;
  }
  body.supplier-studio-page .tp016e-supplier-status{
    grid-column:1!important;
    grid-row:1!important;
    min-height:22px!important;
    justify-self:end!important;
  }
  body.supplier-studio-page .tp016e-overview-return{
    grid-column:2!important;
    grid-row:1!important;
    min-height:22px!important;
    justify-self:end!important;
    align-self:center!important;
  }
  body.supplier-studio-page .tp016e-overview-return[hidden]{display:none!important}
  body.supplier-studio-page .tp016e-studio-menu{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    min-height:38px!important;
    justify-self:stretch!important;
  }

  /* Keep the working card visually separated from the persistent workspace chrome. */
  body.supplier-studio-page #moduleWorkspace:not(.hidden){
    margin-top:2px!important;
  }

  @media (max-width:380px){
    body.supplier-studio-page .tp016e-workspace-actions{
      min-width:110px!important;
      gap:5px 5px!important;
    }
    body.supplier-studio-page .tp016e-supplier-status{font-size:7.5px!important}
    body.supplier-studio-page .tp016e-overview-return{font-size:8.5px!important}
  }
}
