/* Real admin and sourcing-agent work queues. */
.work-queue {
  min-width: 0;
}
.queue-heading {
  align-items: flex-start;
}
.queue-heading h1 {
  max-width: 720px;
}
.queue-heading p {
  max-width: 660px;
  line-height: 1.8;
}
.queue-heading .heading-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.queue-team .queue-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: #255dcc;
  color: #f7f9fc;
  font-size: 10px;
}
.queue-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 30px 0;
}
.queue-summary-card {
  display: flex;
  flex-direction: column;
  min-height: 177px;
  padding: 23px;
  border: 1px solid #e2e8ee;
  border-radius: 20px;
  background: #ffffff;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.queue-summary-card:hover {
  border-color: #718196;
  transform: translateY(-2px);
}
.queue-summary-card > span {
  font-size: 12px;
  color: #465a70;
  line-height: 1.5;
}
.queue-summary-card > strong {
  font-size: 39px;
  font-weight: 500;
  line-height: 1.15;
  margin: 18px 0 20px;
}
.queue-summary-card > small {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  line-height: 1.6;
  color: #465a70;
  margin-top: auto;
}
.queue-summary-card b {
  font-weight: 400;
  font-size: 20px;
}
.queue-summary-card.queue-highlight {
  background: #255dcc;
  color: #f7f9fc;
  border-color: #255dcc;
}
.queue-summary-card.queue-highlight > span,
.queue-summary-card.queue-highlight > small {
  color: #e2e8ee;
}
.queue-summary-card.queue-revision {
  border-color: #e2e8ee;
  background: #f7f9fc;
}
.queue-summary-card.queue-revision strong {
  color: #465a70;
}
.queue-panel {
  overflow: hidden;
}
.queue-panel-heading {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 23px 25px;
  border-bottom: 1px solid #e2e8ee;
  flex-wrap: wrap;
}
.queue-tabs {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.queue-tabs > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 11px;
  color: #465a70;
  transition: background 0.15s;
}
.queue-tabs > a:hover {
  background: #f7f9fc;
  color: #203348;
}
.queue-tabs > a.selected {
  color: #203348;
  background: #e2e8ee;
  border-color: #e2e8ee;
}
.queue-tabs > a > span {
  display: grid;
  place-items: center;
  font-size: 9px;
  min-width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #ffffff;
  color: #465a70;
  padding: 0 4px;
}
.queue-search {
  margin-left: auto;
  max-width: 340px;
}
.queue-search input[type="search"] {
  width: 205px;
  min-width: 0;
}
.queue-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-bottom: 1px solid #e2e8ee;
  color: #465a70;
  font-size: 11px;
}
.queue-filter-label a {
  margin-left: auto;
  color: #255dcc;
}
.queue-table {
  width: 100%;
  border-collapse: collapse;
}
.queue-table th {
  font-size: 10px;
  font-weight: 500;
  color: #718196;
  text-align: left;
  white-space: nowrap;
  padding: 16px 20px;
  background: #ffffff;
}
.queue-table td {
  padding: 23px 20px;
  vertical-align: middle;
  font-size: 12px;
  border-bottom: 1px solid #f7f9fc;
}
.queue-table tr:last-child td {
  border-bottom: 0;
}
.queue-table tbody tr:hover {
  background: #f7f9fc;
}
.queue-table .queue-request-cell {
  width: 36%;
  min-width: 230px;
}
.queue-request-link {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}
.queue-request-link:hover strong {
  color: #255dcc;
}
.queue-ref {
  color: #718196;
  font-size: 9px;
  letter-spacing: 1px;
}
.queue-request-link strong {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  color: #203348;
}
.queue-request-cell > small {
  display: block;
  color: #718196;
  font-size: 10px;
  margin-top: 7px;
}
.queue-table .badge {
  font-size: 9px;
  display: inline-flex;
  max-width: 160px;
  line-height: 1.5;
  text-align: left;
  justify-content: flex-start;
}
.queue-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 500;
}
.queue-table time {
  font-size: 10px;
  color: #718196;
  white-space: nowrap;
}
.queue-table .queue-row-action {
  text-align: right;
  white-space: nowrap;
}
.queue-table .queue-row-action .btn {
  font-size: 10px;
  padding: 10px 12px;
  gap: 8px;
}
.queue-feedback {
  max-width: 400px;
  background: #f7f9fc;
  border-left: 2px solid #465a70;
  padding: 10px 12px;
  margin-top: 14px;
  color: #465a70;
  font-size: 11px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.queue-feedback > span {
  display: block;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 1px;
  color: #465a70;
  margin-bottom: 5px;
}
.queue-empty {
  text-align: center;
  padding: 52px 28px;
}
.queue-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #e2e8ee;
  background: #f7f9fc;
  color: #255dcc;
  border-radius: 15px;
  margin: 0 auto 23px;
  font-size: 20px;
}
.queue-empty h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.queue-empty p {
  color: #465a70;
  font-size: 12px;
  line-height: 1.9;
  max-width: 490px;
  margin: 0 auto 25px;
}
.queue-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 25px;
  border-top: 1px solid #e2e8ee;
}
.queue-pagination > span {
  font-size: 11px;
  color: #465a70;
}
.queue-pagination > a:first-child {
  justify-self: start;
}
.queue-pagination > a:last-child {
  justify-self: end;
}
.queue-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1250px) {
  .queue-summary-card {
    padding: 20px;
    min-height: 172px;
  }
  .queue-summary-card > span {
    font-size: 11px;
  }
  .queue-panel-heading {
    gap: 18px;
  }
  .queue-search {
    max-width: none;
  }
  .queue-table th,
  .queue-table td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .queue-table .queue-request-cell {
    min-width: 210px;
  }
}
@media (max-width: 1000px) {
  .queue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .queue-summary-card {
    min-height: 155px;
  }
  .queue-summary-card > strong {
    margin: 14px 0 18px;
  }
  .queue-panel-heading {
    padding: 20px;
  }
  .queue-tabs {
    flex: 1 0 100%;
  }
  .queue-search {
    width: 100%;
    margin: 0;
  }
  .queue-search input[type="search"] {
    width: 100%;
    flex: 1;
  }
  .queue-table {
    min-width: 830px;
  }
  .queue-table-wrap {
    overflow-x: auto;
  }
}
@media (max-width: 900px) {
  .queue-heading .heading-actions {
    justify-content: flex-start;
  }
  .queue-heading h1 {
    font-size: 35px;
  }
  .queue-summary {
    gap: 10px;
    margin: 25px 0;
  }
  .queue-summary-card {
    padding: 17px;
    min-height: 153px;
    border-radius: 17px;
  }
  .queue-summary-card > span {
    font-size: 10px;
  }
  .queue-summary-card > strong {
    font-size: 32px;
  }
  .queue-summary-card > small {
    font-size: 9px;
    gap: 6px;
  }
  .queue-panel-heading {
    padding: 17px;
  }
  .queue-tabs {
    gap: 4px;
  }
  .queue-tabs > a {
    padding: 10px;
    font-size: 10px;
  }
  .queue-table {
    min-width: 0;
    display: block;
  }
  .queue-table thead {
    display: none;
  }
  .queue-table tbody {
    display: block;
  }
  .queue-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    border-bottom: 1px solid #e2e8ee;
    padding: 21px;
  }
  .queue-table tr:last-child {
    border-bottom: 0;
  }
  .queue-table td {
    display: block;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .queue-table .queue-request-cell {
    grid-column: 1/-1;
    min-width: 0;
    width: auto;
    margin-bottom: 5px;
  }
  .queue-request-link {
    gap: 9px;
  }
  .queue-request-link strong {
    font-size: 15px;
  }
  .queue-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    color: #718196;
    font-size: 9px;
    margin-bottom: 7px;
  }
  .queue-table .queue-row-action {
    grid-column: 1/-1;
    text-align: left;
    padding-top: 2px;
  }
  .queue-table .queue-row-action .btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 11px;
  }
  .queue-value {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .queue-table .badge {
    max-width: 100%;
  }
  .queue-empty {
    padding: 38px 20px;
  }
  .queue-empty h2 {
    font-size: 27px;
  }
  .queue-pagination {
    padding: 18px;
    gap: 10px;
  }
  .queue-pagination .btn {
    font-size: 10px;
    padding: 9px 12px;
  }
  .queue-filter-label {
    padding: 14px 19px;
    flex-wrap: wrap;
  }
  .queue-feedback {
    max-width: none;
  }
}

.queue-table-wrap {
  position: relative;
}
.queue-sr-only {
  clip-path: inset(50%);
}
