/* Account list presentation. Existing IDs, handlers and permission classes stay
   with their controls; the hidden summary is retained for the legacy renderer. */
#appView .accountManage > #accountSummary[hidden] {
  display: none !important;
}
#appView .accountManage > .bulkBindBar.hasSelection {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  flex-wrap: wrap !important;
  opacity: 1;
}
#appView .accountManage > .bulkBindBar > #customizeAccountColumnsButton {
  flex: 0 0 auto;
  width: auto;
  min-width: 88px;
  margin-left: auto;
  white-space: nowrap;
  align-self: center;
}
/* Let the list's own filter group wrap before legacy minimum columns overflow. */
@layer pulseConsistency {
  @media (min-width: 769px) {
    #appView .accountManage .pulseFilterRow { flex-wrap: wrap !important; }
    #appView .accountManage .pulseFilterRow > .customSelectControl {
      flex: 0 1 160px !important;
      width: 160px !important;
      min-width: 132px !important;
    }
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  #appView .accountManage > .listFilter {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  #appView .accountManage > .listFilter > .filterInputWrap {
    grid-column: 1 / -1;
  }
  #appView .accountManage > .listFilter > #refreshAccountAuthorizationButton {
    justify-self: start;
    width: auto;
  }
  #appView .accountManage > .listFilter > #exportAccountListButton {
    grid-column: 3;
  }
}
@media (max-width: 768px) {
  #appView .accountManage > .bulkBindBar.hasSelection .bulkBindingBlock:not(.hidden) {
    width: 100% !important;
    min-width: 0;
  }
  #appView .accountManage > .bulkBindBar.hasSelection .appBindSelectWrap {
    flex: 1 1 120px !important;
    min-width: 0 !important;
  }
  #appView .accountManage > .bulkBindBar.hasSelection .bulkBindingBlock > span,
  #appView .accountManage > .bulkBindBar.hasSelection #bulkBindButton {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  #appView .accountManage > .bulkBindBar.hasSelection .bulkCollaborativeActions {
    flex-wrap: wrap;
    min-width: 0;
  }
}
