/* Danxis — correção do quadro societário sem quebrar o layout */
#view-profile .stage19-table-wrap,
#view-profile .table-scroll.stage19-table-wrap{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  border:1px solid #dbe4eb !important;
  border-radius:20px !important;
  background:#ffffff !important;
  box-shadow:none !important;
}

#view-profile .stage19-table{
  width:100% !important;
  min-width:1280px !important;
  table-layout:auto !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:#ffffff !important;
}

#view-profile .stage19-table thead th{
  background:#f3f6f8 !important;
  color:#111111 !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
  padding:16px 18px !important;
  border-bottom:1px solid #dbe4eb !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  vertical-align:middle !important;
  text-align:left !important;
}
#view-profile .stage19-table thead th:first-child{border-top-left-radius:18px !important;}
#view-profile .stage19-table thead th:last-child{border-top-right-radius:18px !important;}

#view-profile .stage19-table tbody td{
  background:#ffffff !important;
  color:#111111 !important;
  font-size:10.5px !important;
  font-weight:400 !important;
  line-height:1.4 !important;
  padding:16px 18px !important;
  vertical-align:top !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  border-bottom:1px solid #e4ebf0 !important;
}
#view-profile .stage19-table tbody tr:last-child td{border-bottom:0 !important;}

#view-profile .stage19-table thead th:first-child,
#view-profile .stage19-table tbody td:first-child{
  border-right:1px solid #dfe6ec !important;
}

#view-profile .stage19-row-toggle{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  color:inherit !important;
}

#view-profile .stage19-row-toggle-copy strong,
#view-profile .stage19-name-line > strong{
  display:block !important;
  color:#111111 !important;
  font-size:11px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
}

#view-profile .stage19-row-toggle-copy small,
#view-profile .stage19-secondary-line,
#view-profile .stage19-table .muted{
  display:block !important;
  margin-top:8px !important;
  color:#4d5a68 !important;
  font-size:10px !important;
  line-height:1.3 !important;
  font-weight:500 !important;
}

#view-profile .stage19-row-toggle .stage19-chevron,
#view-profile .stage19-row-toggle [aria-hidden="true"],
#view-profile .stage19-row-toggle svg{
  color:#111111 !important;
  font-size:10px !important;
  width:10px !important;
  height:10px !important;
  flex:0 0 auto !important;
}

/* Remove artificios que estavam bagunçando a coluna PEP */
#view-profile .stage19-table tbody td:nth-child(3)::before{
  content:none !important;
}

#view-profile .stage19-status,
#view-profile .stage19-pep-badge,
#view-profile .stage19-table .pill,
#view-profile .stage19-table .status-pill{
  font-size:8.5px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
  padding:3px 6px !important;
  border-radius:999px !important;
}

#view-profile .stage19-inline-detail,
#view-profile .stage19-inline-detail *{
  font-size:9.5px !important;
  line-height:1.35 !important;
}

/* larguras mínimas das colunas para evitar texto quebrando feio */
#view-profile .stage19-table th:nth-child(1),
#view-profile .stage19-table td:nth-child(1){min-width:290px !important; width:290px !important;}
#view-profile .stage19-table th:nth-child(2),
#view-profile .stage19-table td:nth-child(2){min-width:130px !important; width:130px !important;}
#view-profile .stage19-table th:nth-child(3),
#view-profile .stage19-table td:nth-child(3){min-width:80px !important; width:80px !important;}
#view-profile .stage19-table th:nth-child(4),
#view-profile .stage19-table td:nth-child(4){min-width:150px !important; width:150px !important;}
#view-profile .stage19-table th:nth-child(5),
#view-profile .stage19-table td:nth-child(5){min-width:150px !important; width:150px !important;}
#view-profile .stage19-table th:nth-child(6),
#view-profile .stage19-table td:nth-child(6){min-width:120px !important; width:120px !important;}
#view-profile .stage19-table th:nth-child(7),
#view-profile .stage19-table td:nth-child(7){min-width:120px !important; width:120px !important;}
#view-profile .stage19-table th:nth-child(8),
#view-profile .stage19-table td:nth-child(8){min-width:150px !important; width:150px !important;}
#view-profile .stage19-table th:nth-child(9),
#view-profile .stage19-table td:nth-child(9){min-width:170px !important; width:170px !important;}

/* Quebra apenas onde faz sentido */
#view-profile .stage19-table tbody td:nth-child(1),
#view-profile .stage19-table tbody td:nth-child(8),
#view-profile .stage19-table tbody td:nth-child(9){
  white-space:normal !important;
}
#view-profile .stage19-table tbody td:nth-child(3),
#view-profile .stage19-table tbody td:nth-child(4),
#view-profile .stage19-table tbody td:nth-child(5),
#view-profile .stage19-table tbody td:nth-child(6),
#view-profile .stage19-table tbody td:nth-child(7){
  white-space:nowrap !important;
}
