/* Normaliza ações do gerenciamento em telas pequenas sem reduzir a área de toque. */
@media (max-width:700px){
  .app-page .form-actions{
    width:100%;
    display:flex!important;
    flex-flow:row wrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
  }
  .app-page .form-actions>a,
  .app-page .form-actions>button,
  .app-page .form-actions>form,
  .app-page .form-actions>form>button{
    flex:1 1 132px!important;
    width:auto!important;
    min-width:0!important;
    min-height:42px!important;
    height:auto!important;
    margin:0!important;
    padding:11px 14px!important;
    line-height:1.15!important;
  }
  .app-page .form-actions>form{padding:0!important}
  .app-page .form-actions>form>button{width:100%!important}
  .app-page .content>header .primary-action,
  .app-page .content>header .secondary-action{
    min-height:40px!important;
    height:auto!important;
    padding:10px 13px!important;
  }
  .maintenance-detail-page .maintenance-flow-panel .form-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .maintenance-detail-page .maintenance-flow-panel .form-actions>button{
    width:100%!important;
    min-height:44px!important;
    max-height:none!important;
    padding:11px 12px!important;
  }
  .maintenance-detail-page .upload-row button,
  .maintenance-detail-page .danger-zone button,
  .maintenance-items-panel .form-actions button{
    min-height:42px!important;
    height:auto!important;
    padding:11px 14px!important;
  }
}
@media (max-width:380px){
  .app-page .form-actions,
  .maintenance-detail-page .maintenance-flow-panel .form-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .app-page .form-actions>a,
  .app-page .form-actions>button,
  .app-page .form-actions>form{
    width:100%!important;
    flex:0 0 auto!important;
  }
}
