/* Migo CRM v8.5.21.121 — responsibility field + CRM row-menu stacking fix */
body.crm-app #crudDialog .migo-responsibility-field-v121{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
body.crm-app #crudDialog .migo-responsibility-field-v121>span{
  font-size:12px;
  font-weight:800;
  color:#344054;
}
body.crm-app #crudDialog .migo-responsibility-field-v121>select{
  width:100%;
  min-width:0;
}
body.crm-app #crudDialog .migo-responsibility-field-v121>small{
  display:block;
  margin-top:0;
  font-size:10.5px;
  line-height:1.35;
  color:#8290a4;
}

/* A table row painted later must never cover the open 3-dot action menu. */
body.crm-app #tableView .migo-data-table-v3027 tr:has(.migo-row-menu-v3027[open]){
  position:relative !important;
  z-index:2147482500 !important;
}
body.crm-app #tableView .migo-data-table-v3027 td:has(.migo-row-menu-v3027[open]){
  position:relative !important;
  z-index:2147482600 !important;
  overflow:visible !important;
}
body.crm-app #tableView .migo-row-menu-v3027[open]{
  position:relative !important;
  z-index:2147482700 !important;
  isolation:isolate;
}
body.crm-app #tableView .migo-row-menu-v3027[open]>div,
body.crm-app #tableView .migo-row-menu-v3027.is-positioned-v30755>div{
  z-index:2147483000 !important;
  isolation:isolate;
  background:#fff !important;
}
body.crm-app #tableView .migo-table-shell-v3027:has(.migo-row-menu-v3027[open]),
body.crm-app #tableView .migo-table-shell-v3027 .table-wrap:has(.migo-row-menu-v3027[open]){
  overflow:visible !important;
}
