/* Keep related inventory steps and business-information controls in view. */
#appShell.sidebar-layout .workflow-next-step {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 0 20px; padding: 10px 14px;
  border: 1px solid #d8e5f3; border-radius: 10px; background: #f7faff;
  color: #425873; font-size: 13px; font-weight: 600;
}
#appShell.sidebar-layout .workflow-next-step button { flex: 0 0 auto; }
#appShell.sidebar-layout #business-information #businessInformationSummary > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  min-width: 0; padding: 10px 12px; border: 1px solid #dce6f2;
  border-radius: 9px; background: #fff; color: #435973; font-size: 13px;
}
#appShell.sidebar-layout #business-information #businessInformationSummary strong {
  flex: 0 0 auto; color: #123256; font-size: 15px; white-space: nowrap;
}
@media (min-width: 701px) {
  #appShell.sidebar-layout #business-information .business-info-toolbar {
    display: grid; grid-template-columns: minmax(220px,1fr) minmax(180px,220px) auto;
    align-items: center; gap: 12px;
  }
  #appShell.sidebar-layout #business-information .business-info-toolbar > :is(input,select,button) {
    width: 100%; min-width: 0; max-width: none; margin: 0;
  }
  #appShell.sidebar-layout #business-information .business-info-toolbar > button { white-space: nowrap; }
}
@media (max-width: 700px) {
  #appShell.sidebar-layout #hr .hr-subnav button { flex: 1 1 0; min-width: 0; padding-inline: 6px; white-space: normal; }
  #appShell.sidebar-layout .leave-team-person-col { width: 120px; }
  #appShell.sidebar-layout .leave-team-table tr > :nth-child(2) { left: 120px; }
  #appShell.sidebar-layout .leave-team-table .leave-team-employee { white-space: normal; overflow-wrap: anywhere; text-align: left; font-weight: 700; }
  #appShell.sidebar-layout #business-information #businessInformationSummary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #appShell.sidebar-layout #business-information .business-info-toolbar {
    display: flex; flex-direction: column; align-items: stretch;
  }
  #appShell.sidebar-layout #business-information .business-info-toolbar > :is(input,select,button) { width: 100%; max-width: none; margin: 0; }
  #appShell.sidebar-layout .workflow-next-step { align-items: flex-start; flex-direction: column; }
}
