.massive-workspace__hero {
  min-height: 142px;
}

.massive-workspace__hero-copy {
  max-width: 720px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.massive-workspace__hero-copy p {
  line-height: 1.5;
}

.massive-workspace__marker-toggle {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  color: #45536a;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0 0 0 auto;
  min-height: 38px;
  padding: 6px 9px;
  position: relative;
  transition: background-color .15s ease, border-color .15s ease;
}

.massive-workspace__marker-toggle:hover,
.massive-workspace__marker-toggle:focus-within {
  background: #eef5ff;
  border-color: #aac6ea;
}

.massive-workspace__marker-toggle > input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.massive-workspace__marker-toggle-control {
  background: #d5dde8;
  border: 1px solid #c3cedc;
  border-radius: 999px;
  flex: 0 0 34px;
  height: 19px;
  position: relative;
  transition: background-color .15s ease;
}

.massive-workspace__marker-toggle-control::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(32, 49, 74, .22);
  content: "";
  height: 13px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform .15s ease;
  width: 13px;
}

.massive-workspace__marker-toggle > input:checked + .massive-workspace__marker-toggle-control {
  background: #1769e0;
  border-color: #1769e0;
}

.massive-workspace__marker-toggle > input:checked + .massive-workspace__marker-toggle-control::after {
  transform: translateX(15px);
}

.massive-workspace__marker-toggle > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.massive-workspace__marker-toggle strong {
  font-size: 10px !important;
  font-weight: 700;
}

.massive-workspace__marker-toggle small {
  color: #8793a6 !important;
  font-size: 9px !important;
  margin-top: 1px !important;
}

.massive-workspace__content {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  min-width: 0;
}

.massive-workspace__content > .alert {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(32, 49, 74, .04);
  margin: 0;
}

.massive-workspace__filters.is-select2-open {
  position: relative;
  z-index: 30;
}

body.massive-court-filter-open > .select2-container--open {
  z-index: 90;
}

.massive-workspace__section-toggle {
  align-items: center;
  background: #fff;
  border: 0;
  color: #263349;
  display: flex;
  gap: 12px;
  min-height: 66px;
  padding: 11px 17px;
  text-align: left;
  width: 100%;
}

.massive-workspace__section-toggle:hover,
.massive-workspace__section-toggle:focus {
  background: #f9fbfe;
  color: #263349;
  outline: 0;
}

.massive-workspace__section-icon {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 19px;
  height: 38px;
  justify-content: center;
}

.massive-workspace__section-icon--blue {
  background: #e8f2ff;
  color: #1769e0;
}

.massive-workspace__section-icon--green {
  background: #e8f8f1;
  color: #18885d;
}

.massive-workspace__section-icon--purple {
  background: #f0ebff;
  color: #7450c8;
}

.massive-workspace__section-icon--amber {
  background: #fff4dd;
  color: #c77b08;
}

.massive-workspace__section-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.massive-workspace__section-copy strong {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.massive-workspace__section-copy small {
  color: #8793a6;
  font-size: 11px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.massive-workspace__section-chevron {
  color: #8491a4;
  font-size: 20px;
  transition: transform .15s ease;
}

.massive-workspace__section-toggle[aria-expanded="false"] .massive-workspace__section-chevron {
  transform: rotate(-90deg);
}

.massive-workspace__filter-body {
  border-top: 1px solid #e8edf3;
  padding: 0;
}

.massive-workspace__filter-form {
  display: grid;
  gap: 0;
}

.massive-workspace__filter-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.massive-workspace__field {
  margin: 0;
  min-width: 0;
}

.massive-workspace__field > label {
  color: #59677c;
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 7px;
}

.massive-workspace__field .form-control,
.massive-workspace__field .select2-container .select2-selection--single,
.massive-workspace__field .select2-container .select2-selection--multiple {
  background: #f7f9fc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: none;
  color: #344158;
  min-height: 42px;
  padding: 5px 10px;
}

.massive-workspace__field .form-control:focus,
.massive-workspace__field .select2-container--focus .select2-selection--single,
.massive-workspace__field .select2-container--focus .select2-selection--multiple {
  background: #fff;
  border-color: #89b4ed;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .09);
}

.massive-workspace__field .select2-container--default.select2-container--focus .select2-selection,
.massive-workspace__field .select2-container--default.select2-container--open .select2-selection {
  border: 1px solid #89b4ed !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .09) !important;
}

.massive-workspace__field .select2-container--default .selection::before,
.massive-workspace__field .select2-container--default .selection::after {
  display: none !important;
}

.massive-workspace__field .select2-container {
  max-width: 100%;
  width: 100% !important;
}

.massive-workspace__field .select2-container .select2-selection--single {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
}

.massive-workspace__field .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 40px;
}

.workspace-step-sheet > .select2-container--open {
  z-index: 120;
}

.massive-workspace__field .select2-selection__choice {
  background: #e8f2ff !important;
  border: 0 !important;
  border-radius: 5px !important;
  color: #26558e !important;
  font-size: 11px;
  margin-top: 3px !important;
  padding: 3px 6px !important;
}

.massive-workspace__filter-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.massive-workspace__filter-actions .btn {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0 16px;
}

.massive-workspace__filter-actions .btn-link {
  color: #66758c;
}

.massive-workspace__refinement-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.massive-workspace__refinement-card {
  border: 1px solid #e4e9f1;
  border-radius: 11px;
  min-width: 0;
  padding: 14px;
}

.massive-workspace__refinement-card > header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.massive-workspace__refinement-card > header > div {
  display: flex;
  flex-direction: column;
}

.massive-workspace__refinement-card > header strong {
  color: #35415a;
  font-size: 13px;
}

.massive-workspace__refinement-card > header small {
  color: #8d98aa;
  font-size: 10px;
  margin-top: 2px;
}

.massive-workspace__filter-group + .massive-workspace__filter-group {
  border-top: 1px solid #edf0f4;
  margin-top: 13px;
  padding-top: 13px;
}

.massive-workspace__flow-label {
  color: #78859a;
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.massive-workspace__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 124px;
  overflow-y: auto;
  padding: 1px;
}

.massive-workspace__chip {
  align-items: center;
  border: 1px solid #dce3ec;
  border-radius: 7px;
  color: #4d5b71;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  gap: 6px;
  margin: 0;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 7px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.massive-workspace__chip:hover {
  box-shadow: 0 4px 10px rgba(32, 49, 74, .1);
  transform: translateY(-1px);
}

.massive-workspace__chip > input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.massive-workspace__chip > span:not(.massive-workspace__chip-check) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.massive-workspace__chip b {
  align-items: center;
  background: rgba(37, 48, 65, .16);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 9px;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
}

.massive-workspace__chip-check {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 3px;
  display: inline-flex;
  flex: 0 0 14px;
  height: 14px;
  justify-content: center;
  opacity: .75;
}

.massive-workspace__chip-check > i {
  font-size: 10px;
  opacity: 0;
}

.massive-workspace__chip > input:checked + .massive-workspace__chip-check > i {
  opacity: 1;
}

.massive-workspace__chip--marker {
  background: var(--massive-marker-color, #718096);
  border-color: transparent;
  color: #fff;
}

.massive-workspace__chip--marker:has(input:checked) {
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .16), 0 4px 10px rgba(32, 49, 74, .13);
}

.massive-workspace__chip--stage {
  background: #f7f9fc;
}

.massive-workspace__chip--stage:has(input:checked) {
  background: #e8f2ff;
  border-color: #9abdea;
  color: #165cb9;
}

.massive-workspace__clear-filter {
  align-items: center;
  background: transparent;
  border: 0;
  color: #738198;
  display: inline-flex;
  font-size: 10px;
  gap: 5px;
  margin-top: 9px;
  padding: 3px 0;
}

.massive-workspace__clear-filter:hover,
.massive-workspace__clear-filter:focus {
  color: #1769e0;
  outline: 0;
}

.massive-workspace__selection {
  align-items: center;
  background: #fff;
  border: 1px solid #cfdced;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(32, 66, 110, .07);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 70px;
  padding: 11px 15px;
  position: static;
}

.massive-workspace--sheet .massive-workspace__selection {
  max-width: 100%;
  position: sticky;
  top: 0;
  z-index: 7;
}

.massive-workspace__select-all {
  align-items: center;
  color: #344158;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin: 0;
}

.massive-workspace__select-all:has(input:disabled) {
  cursor: wait;
  opacity: .55;
}

.massive-workspace__select-all > span:last-child,
.massive-workspace__selection-count > div {
  display: flex;
  flex-direction: column;
}

.massive-workspace__select-all strong,
.massive-workspace__selection-count strong {
  font-size: 12px;
}

.massive-workspace__select-all small,
.massive-workspace__selection-count small {
  color: #8793a6;
  font-size: 10px;
  margin-top: 2px;
}

.massive-workspace__selection-loading {
  align-items: center;
  background: #f4f8fd;
  border: 1px solid #dce5f1;
  border-radius: 9px;
  color: #40516a;
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  margin-left: auto;
  padding: 9px 11px;
  white-space: nowrap;
}

.massive-workspace__selection-loading[hidden] {
  display: none;
}

.massive-workspace__selection-loading > span {
  animation: massive-workspace-spin .8s linear infinite;
  border: 2px solid #d7e7fb;
  border-radius: 50%;
  border-top-color: #1769e0;
  height: 14px;
  width: 14px;
}

.massive-workspace__selection-count {
  align-items: center;
  display: flex;
  gap: 10px;
}

.massive-workspace__selection-count > #procedures-marker {
  align-items: center;
  background: #1769e0;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: 17px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  padding: 0 8px;
}

.massive-workspace__form {
  display: grid;
  gap: 16px;
}

.massive-workspace__flow-card {
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(32, 49, 74, .04);
  overflow: hidden;
}

.massive-workspace__execution-card {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(32, 66, 110, .08);
  overflow: hidden;
}

.massive-workspace__table-shell {
  border-top: 1px solid #e8edf3;
  padding: 14px 18px 18px;
}

.massive-workspace__table-shell .dataTables_wrapper {
  color: #68748a;
  font-size: 11px;
}

.massive-workspace__table-shell .dataTables_length,
.massive-workspace__table-shell .dataTables_filter {
  margin-bottom: 14px;
}

.massive-workspace__table-shell .dataTables_filter > label {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  display: flex;
  min-height: 38px;
  padding: 0 9px 0 34px;
  position: relative;
}

.massive-workspace__table-shell .dataTables_filter::after,
.massive-workspace__table-shell .dataTables_length::after {
  bottom: auto;
  color: #65738a;
  left: 12px;
  line-height: 1;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

.massive-workspace__table-shell .dataTables_filter input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #344158;
  font-size: 11px;
  min-width: 240px;
  margin-left: 0 !important;
  padding: 7px 32px 7px 0 !important;
}

.massive-workspace__search-clear {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #718096;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  height: 26px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
}

.massive-workspace__search-clear[hidden] {
  display: none;
}

.massive-workspace__search-clear:hover,
.massive-workspace__search-clear:focus {
  background: #e7edf5;
  color: #344158;
  outline: 0;
}

.massive-workspace__search-clear:focus-visible {
  box-shadow: 0 0 0 2px rgba(23, 105, 224, .22);
}

.massive-workspace__table-shell .dataTables_length select {
  background: #f7f9fc;
  border: 1px solid #dce3ec;
  border-radius: 7px;
  color: #435169;
  min-height: 34px;
  padding: 5px 28px 5px 34px;
}

.massive-workspace__table-shell .dataTables_length {
  min-width: 150px;
}

.massive-workspace__table-shell .dataTables_length > label {
  display: block;
  position: relative;
}

.massive-workspace__table-shell .dataTables_length::before {
  bottom: auto;
  right: 12px;
  top: 14px;
}

.massive-workspace__table {
  margin: 0 !important;
  min-width: 900px;
}

.massive-workspace__table thead th {
  background: #f7f9fc;
  border-bottom: 1px solid #dfe5ed !important;
  border-top: 1px solid #edf0f4;
  color: #59677c;
  font-size: 10px;
  font-weight: 700;
  padding: 11px 10px !important;
  text-transform: uppercase;
  vertical-align: middle !important;
  white-space: nowrap;
}

.massive-workspace__table tbody td {
  border-color: #edf0f4 !important;
  color: #566278;
  font-size: 11px;
  padding: 12px 10px !important;
  vertical-align: middle;
}

.massive-workspace__table tbody tr:hover {
  background: #f8fbff;
}

.massive-workspace__process-row {
  cursor: pointer;
}

.massive-workspace__process-row:focus {
  outline: 2px solid #1769e0;
  outline-offset: -2px;
}

.massive-workspace__process-row:focus > td {
  background: #f2f7ff;
}

.massive-workspace__selection-column {
  min-width: 142px;
}

.massive-workspace__markers-column {
  min-width: 96px;
}

.massive-workspace__page-selection {
  align-items: center;
  display: flex;
  margin: 0;
  vertical-align: middle;
}

.massive-workspace__page-selection-label {
  color: #59677c;
  font-size: 10px;
  font-weight: 700;
  margin-left: 7px;
  white-space: nowrap;
}

.massive-workspace__row-selection {
  justify-content: center;
}

.massive-workspace__table-shell .dataTables_info {
  color: #8793a6;
  font-size: 10px;
  margin: 16px 0 0;
  text-align: left;
}

.massive-workspace__table-shell .dataTables_paginate {
  margin-top: 12px;
}

.massive-workspace__table-shell .paginate_button {
  font-size: 10px;
  height: 30px;
  line-height: 30px;
  width: 30px;
}

.massive-workspace__table-shell .paginate_button.current {
  background: #1769e0 !important;
  border-color: #1769e0 !important;
  color: #fff !important;
}

.massive-workspace__table thead th.sorting_disabled {
  cursor: default !important;
}

.massive-workspace__table thead th.sorting,
.massive-workspace__table thead th.sorting_asc,
.massive-workspace__table thead th.sorting_desc {
  cursor: pointer;
  overflow: hidden;
  padding-right: 32px !important;
  position: relative;
  text-overflow: ellipsis;
}

.massive-workspace__table thead th.sorting_asc::after,
.massive-workspace__table thead th.sorting_desc::after {
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%);
}

.massive-workspace__table-shell .dataTables_wrapper {
  position: relative;
}

.massive-workspace__table-shell .dataTables_processing {
  background: #fff;
  border: 1px solid #dce5f1;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(31, 52, 82, .14);
  color: #40516a !important;
  display: none !important;
  font-size: 11px;
  font-weight: 700;
  height: auto !important;
  left: 50%;
  line-height: 1;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  pointer-events: none;
  position: absolute;
  top: 72px;
  transform: translateX(-50%);
  width: auto !important;
  white-space: nowrap;
  z-index: 4;
}

.massive-workspace__table-shell .dataTables_processing > div {
  display: none;
}

.massive-workspace__table-shell .dataTables_processing::before {
  animation: massive-workspace-spin .8s linear infinite;
  border: 2px solid #d7e7fb;
  border-radius: 50%;
  border-top-color: #1769e0;
  content: "";
  display: inline-block;
  height: 14px;
  margin-right: 8px;
  vertical-align: -3px;
  width: 14px;
}

@keyframes massive-workspace-spin {
  to {
    transform: rotate(360deg);
  }
}

.massive-workspace__table-order-reset {
  align-items: center;
  background: #eef2f7;
  border: 0;
  border-radius: 7px;
  color: #536177;
  cursor: pointer;
  display: inline-flex;
  float: right;
  font-size: 10px;
  font-weight: 700;
  height: 34px;
  margin: 0 0 14px 8px;
  padding: 0 11px;
}

.massive-workspace__table-order-reset:hover,
.massive-workspace__table-order-reset:focus {
  background: #e2e8f0;
  color: #344158;
  outline: 0;
}

.massive-workspace__execution-body {
  border-top: 1px solid #e8edf3;
  padding: 20px 20px 4px;
}

.massive-workspace__execution-body > .row,
.massive-workspace__execution-body > .form-group {
  margin-bottom: 0;
}

.massive-workspace__execution-footer {
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid #e8edf3;
  display: flex;
  min-height: 72px;
  padding: 14px 20px;
}

.massive-workspace__execution-footer .progress-form-actions {
  margin: 0;
  width: 100%;
}

.massive-workspace__empty {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: 13px;
  color: #8793a6;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 30px;
  text-align: center;
}

.massive-workspace__empty > i {
  align-items: center;
  background: #e8f2ff;
  border-radius: 50%;
  color: #1769e0;
  display: inline-flex;
  font-size: 24px;
  height: 48px;
  justify-content: center;
  margin-bottom: 12px;
  width: 48px;
}

.massive-workspace__empty > strong {
  color: #344158;
  font-size: 15px;
}

.massive-workspace__empty > span {
  font-size: 11px;
  margin-top: 5px;
}

@media (max-width: 960px) {
  .massive-workspace__hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

}

@media (max-width: 760px) {
  .massive-workspace {
    margin-left: -15px;
    margin-right: -15px;
    padding: 15px;
  }

  .massive-workspace__hero {
    border-radius: 14px;
    padding: 24px;
  }

  .massive-workspace__hero h1 {
    font-size: 24px;
  }

  .massive-workspace__filter-grid,
  .massive-workspace__refinement-grid {
    grid-template-columns: 1fr;
  }

  .massive-workspace__refinement-card > header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .massive-workspace__marker-toggle {
    margin-left: 48px;
  }

  .massive-workspace__selection {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    position: static;
  }

  .massive-workspace__selection-count {
    border-top: 1px solid #e8edf3;
    padding-top: 11px;
    width: 100%;
  }

  .massive-workspace__selection-loading {
    margin-left: 0;
    width: 100%;
  }

  .massive-workspace__table-shell {
    padding: 12px;
  }

  .massive-workspace__table-shell .dataTables_filter {
    float: none;
    width: 100%;
  }

  .massive-workspace__table-shell .dataTables_filter input {
    min-width: 0;
    width: 100%;
  }

  .massive-workspace__table-order-reset {
    float: none;
    margin: 0 0 12px;
    width: 100%;
  }
}
