.stage-grid article > div > button:not(.more) {
  align-items: stretch;
}

.stage-process-location,
.stage-identifiers {
  display: grid;
  gap: 3px;
  margin-top: 5px;
  text-align: left;
}

.stage-process-location > span:first-child {
  color: #61778e;
  font-weight: 700;
}

.stage-identifiers {
  border-top: 1px dashed #d8e3ed;
  color: #6c8094;
  font-size: 8px;
  line-height: 1.35;
  padding-top: 5px;
}

.stage-grid .more {
  background: transparent;
  border: 0;
  border-top: 1px dashed #cfdce8;
  color: #075ca6;
  cursor: pointer;
  display: block;
  font-size: 9px;
  font-weight: 800;
  margin: 0;
  padding: 10px 8px;
  text-align: left;
  width: 100%;
}

.stage-grid .more:hover,
.stage-grid .more:focus-visible {
  background: #f1f7fc;
  outline: none;
}

.responsible-names .legal-responsible {
  color: #6e3d83;
  font-weight: 700;
}

.legal-portfolio {
  margin-top: 16px;
}

.legal-portfolio-head h2 {
  margin: 2px 0 0;
}

.legal-summary {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.legal-summary strong {
  color: #0b5b9d;
  font-size: 22px;
}

.legal-summary span {
  color: #708499;
  font-size: 9px;
}

.legal-portfolio-body {
  padding: 12px;
}

.legal-unassigned {
  align-items: center;
  background: #fff8e9;
  border: 1px solid #efd69f;
  border-radius: 9px;
  color: #79540e;
  cursor: pointer;
  display: flex;
  font-weight: 750;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 9px 12px;
  width: 100%;
}

.legal-unassigned strong {
  background: #f2c86e;
  border-radius: 999px;
  color: #513500;
  min-width: 28px;
  padding: 4px 8px;
}

.legal-table-wrap,
.isl-process-table-wrap {
  overflow: auto;
}

.legal-table,
.isl-process-table {
  border-collapse: collapse;
  font-size: 9px;
  min-width: 900px;
  width: 100%;
}

.legal-table th,
.legal-table td,
.isl-process-table th,
.isl-process-table td {
  border-bottom: 1px solid #e6edf3;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
}

.legal-table th,
.isl-process-table th {
  background: #f5f8fb;
  color: #61768c;
  font-weight: 800;
  position: sticky;
  top: 0;
}

.legal-name,
.isl-process-sgp {
  color: #0b548e;
  font-weight: 850;
}

.legal-view {
  background: #f4f9fd;
  border: 1px solid #b9d3e8;
  border-radius: 7px;
  color: #075ca6;
  cursor: pointer;
  font-size: 8px;
  padding: 6px 8px;
  white-space: nowrap;
}

.isl-process-open {
  overflow: hidden;
}

.isl-process-overlay {
  align-items: center;
  background: rgba(17, 43, 67, .72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 10020;
}

.isl-process-overlay[hidden] {
  display: none;
}

.isl-process-dialog {
  background: #fff;
  border: 1px solid #c7d8e6;
  border-radius: 15px;
  box-shadow: 0 24px 70px rgba(2, 33, 60, .28);
  max-height: 88vh;
  max-width: 1450px;
  overflow: hidden;
  width: min(96vw, 1450px);
}

.isl-process-dialog > header {
  align-items: flex-start;
  background: linear-gradient(135deg, #074f88, #0b6eb5);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}

.isl-process-dialog header small {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1px;
}

.isl-process-dialog header h2 {
  font-size: 19px;
  margin: 4px 0 0;
}

.isl-process-dialog header p {
  font-size: 10px;
  margin: 4px 0 0;
  opacity: .88;
}

.isl-process-close {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  height: 40px;
  line-height: 1;
  width: 40px;
}

.isl-process-body {
  max-height: calc(88vh - 92px);
  overflow: auto;
  padding: 14px;
}

.isl-process-empty {
  color: #718399;
  padding: 24px;
  text-align: center;
}

@media (max-width: 760px) {
  .isl-process-overlay {
    padding: 8px;
  }

  .legal-table,
  .isl-process-table {
    min-width: 0;
  }

  .legal-table thead,
  .isl-process-table thead {
    display: none;
  }

  .legal-table tr,
  .isl-process-table tr {
    border: 1px solid #dbe5ee;
    border-radius: 9px;
    display: block;
    margin-bottom: 8px;
    padding: 6px;
  }

  .legal-table td,
  .isl-process-table td {
    border: 0;
    display: grid;
    gap: 5px;
    grid-template-columns: 105px 1fr;
    padding: 5px;
  }

  .legal-table td::before,
  .isl-process-table td::before {
    color: #6f8295;
    content: attr(data-label);
    font-size: 8px;
    font-weight: 800;
  }
}
