/* Calibrated against order-list-reference; notification height follows content. */
.main:has(.orders-page) {
  padding-top: 0;
}
.orders-page,
.order-upload-page {
  min-width: 0;
  font-size: 14px;
  line-height: 21px;
  color: rgba(0, 0, 0, 0.92);
}
.orders-page {
  width: 100%;
}
.orders-page *,
.order-upload-page * {
  box-sizing: border-box;
}
.orders-page h1,
.orders-page h2,
.orders-page p,
.order-upload-page h1,
.order-upload-page h2,
.order-upload-page p {
  margin: 0;
}
.orders-page button,
.orders-page input,
.orders-page select,
.order-upload-page button,
.order-upload-page input {
  font: inherit;
}
.orders-page [hidden] {
  display: none !important;
}
.orders-page .page-heading {
  height: 78px;
  min-height: 78px;
  padding: 24px 0 16px;
  margin: 0;
  align-items: flex-start;
  gap: 24px;
}
.orders-page .page-heading h1 {
  flex-shrink: 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}
.order-upload-heading h1 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
}
.orders-page .page-heading > .button-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
  height: 36px;
}
.orders-page .page-heading .btn {
  height: 32px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  gap: 4px;
  white-space: nowrap;
}
.orders-page .page-heading .btn svg {
  width: 16px;
  height: 16px;
}
.orders-page .page-heading [data-action="order-more"] {
  width: 32px;
  min-width: 32px;
  padding: 0;
}
.orders-page .order-search {
  width: 460px;
  min-width: 0;
  flex: 0 1 460px;
}
.orders-page .order-search .search-input {
  width: 100%;
  height: 32px;
  min-width: 0;
  padding: 0 12px;
  gap: 0;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  background: #fff;
}
.orders-page .order-search .search-input > svg {
  display: none;
}
.orders-page .order-search input {
  width: calc(100% - 8px);
  min-width: 0;
  margin-right: 8px;
  height: 30px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  line-height: 22px;
}
.orders-page .order-inventory-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: 80px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fcebc7;
  border: 0;
  border-radius: 8px;
  min-width: 0;
}
.orders-page .order-inventory-notice > svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #171718;
  margin-top: 4px;
}
.orders-page .order-inventory-notice > div {
  flex: 1;
  min-width: 0;
}
.orders-page .order-inventory-notice strong {
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 4px;
}
.orders-page .order-inventory-notice p {
  color: #000000a6;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orders-page .order-inventory-notice [data-action="order-warning-close"] {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 4px;
  background: none;
}
.orders-page #order-notification {
  margin-bottom: 16px;
}
.orders-page .order-notification-card {
  position: relative;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.orders-page .order-notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 41px;
  padding: 8px 24px;
  border-bottom: 1px solid #f0f0f0;
  color: #6c6d6f;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.orders-page .order-notification-toolbar > span {
  margin-right: 8px;
}
.orders-page .order-notification-toolbar > div {
  display: flex;
  gap: 4px;
  align-items: center;
}
.orders-page .order-notification-arrow {
  height: 24px;
  min-height: 24px;
  width: 24px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #ececed;
  color: #6c6d6f;
}
.orders-page .order-notification-arrow svg {
  width: 16px;
  height: 16px;
}
.orders-page .order-notification-arrow.previous svg {
  transform: rotate(180deg);
}
.orders-page .order-notification-arrow:disabled {
  color: #a9abad;
  background: transparent;
}
.orders-page .order-notification-close,
.orders-page [data-action="order-notification-close"] {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c6d6f;
}
.orders-page .order-notification-body {
  display: flex;
  align-items: center;
  min-height: 178px;
  padding: 24px;
}
.orders-page .order-notification-content {
  width: 100%;
  min-width: 0;
  max-width: 1000px;
}
.orders-page .order-notification-body h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 0 0 4px;
  color: #000;
}
.orders-page .order-notification-body p {
  font-size: 14px;
  line-height: 20px;
  color: #404142;
  margin: 0 0 16px;
}
.orders-page .order-notification-body .btn {
  min-height: 24px;
  height: 24px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #009995;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}
.orders-page .order-main-tabs {
  display: flex;
  align-items: stretch;
  gap: 28px;
  height: 34px;
  padding-left: 1px;
  border-bottom: 1px solid #dedfe0;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.orders-page .order-main-tabs > button {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0;
  background: transparent;
  color: #171718;
  font-size: 14px;
  line-height: 32px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.orders-page .order-main-tabs > button.active {
  border-bottom-color: #009995;
  color: #171718;
}
.orders-page .order-main-tabs > button[data-order-view="package"] {
  min-width: 104px;
}
.orders-page .order-new-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 20px;
  background: transparent;
  color: #337ff8;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}
.orders-page .order-pending-card {
  display: flex;
  flex-direction: column;
  height: 152px;
  background: #fff;
  border-radius: 8px;
  padding: 14px 12px 10px;
  margin-bottom: 16px;
}
.orders-page .order-pending-card h2 {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 24px;
  height: 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.orders-page .order-pending-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  flex: 0 0 auto;
  height: 59px;
  align-items: stretch;
  gap: 0;
  padding: 0 12px;
  margin-top: 6px;
}
.orders-page .order-pending-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
  border: 0;
  padding: 4px 8px;
  background: transparent;
  text-align: left;
  color: #000000eb;
  cursor: pointer;
}
.orders-page .order-pending-metric::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  right: 10px;
  top: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(-45deg);
}
.orders-page .order-pending-metric > span {
  white-space: nowrap;
  font-size: 12px;
  line-height: 21px;
}
.orders-page .order-pending-metric > strong {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #000000eb;
}
.orders-page .order-fulfillment-link {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 10px -12px 0;
  padding: 10px 12px 0;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  line-height: 18px;
  color: #171718;
}
.orders-page .order-fulfillment-link svg {
  width: 12px;
  height: 12px;
}
.orders-page .order-list-card {
  background: #fff;
  border-top: 1px solid #dedfe0;
  border-radius: 0;
  padding: 0;
  min-width: 0;
}
.orders-page .order-status-tabs {
  height: 47px;
  padding: 12px 16px 0;
  margin: 0;
}
.orders-page .order-status-tabs > .tabs {
  gap: 28px;
  height: 35px;
  margin: 0;
  padding: 0 1px;
  align-items: stretch;
  border-bottom: 1px solid #dedfe0;
  overflow-x: auto;
  scrollbar-width: none;
}
.orders-page .order-status-tabs .tab {
  flex-shrink: 0;
  height: 34px;
  padding: 0 1px;
  border-bottom-width: 2px;
  font-size: 14px;
  line-height: 32px;
  font-weight: 500;
  color: #171718;
  white-space: nowrap;
}
.orders-page .order-status-tabs .tab span {
  color: #a9abad;
  padding: 0;
  margin-left: 2px;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.orders-page .order-list-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  height: 48px;
  padding-bottom: 8px;
  margin: 16px 16px 8px;
  min-width: 0;
}
.orders-page .order-list-toolbar .btn {
  min-height: 32px;
  height: 32px;
  padding: 6px 12px;
  line-height: 20px;
  gap: 6px;
  white-space: nowrap;
}
.orders-page .order-list-toolbar [data-action="order-filter"] {
  width: 139.508px;
  flex: 0 0 139.508px;
}
.orders-page .order-list-toolbar [data-action="order-filter"] > svg {
  width: 14px;
  height: 14px;
}
.orders-page .order-list-toolbar .order-new-tag {
  width: 37px;
  height: 16px;
  line-height: 16px;
}
.orders-page .order-list-toolbar .btn.link {
  width: 48px;
  min-width: 48px;
  min-height: 40px;
  height: 40px;
  padding: 10px;
  color: #171718;
  background: transparent;
}
.orders-page .order-list-toolbar select {
  width: 182.586px;
  min-width: 182.586px;
  height: 36px;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  color: #171718;
}
.orders-page .order-result-count {
  font-size: 12px;
  line-height: 18px;
  color: #6c6d6f;
  white-space: nowrap;
  margin: 0 4px 0 0;
}
.orders-page .order-list-toolbar .spacer {
  flex: 1;
}
.orders-page .order-toolbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-self: flex-start;
  gap: 8px;
  height: 36px;
}
.orders-page .order-toolbar-actions .btn,
.orders-page .order-list-toolbar > .btn.icon {
  align-self: flex-start;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  height: 36px;
  padding: 0;
}
.orders-page .order-result-block,
.orders-page .table-wrap {
  min-width: 0;
  max-width: 100%;
}
.orders-page .table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.orders-page .order-table,
.orders-page .order-table.has-orders {
  width: 100%;
  min-width: 1320px;
  table-layout: fixed;
  border-collapse: collapse;
}
.orders-page .order-check-column {
  width: 36px;
}
.orders-page .order-main-column,
.orders-page .order-state-column {
  width: calc((100% - 1038px) / 2);
}
.orders-page .order-customer-column {
  width: 128px;
}
.orders-page .order-product-column {
  width: 146px;
}
.orders-page .order-shipping-column,
.orders-page .order-option-column {
  width: 204px;
}
.orders-page .order-total-column {
  width: 120px;
}
.orders-page .order-action-column {
  width: 200px;
}
.orders-page .order-table th {
  height: 48px;
  background: #f9f9f9;
  color: #0000008c;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  padding: 4px 16px;
  border: 0;
  text-align: left;
  vertical-align: middle;
}
.orders-page .order-table th:first-child,
.orders-page .order-table td:first-child {
  padding-left: 16px;
  padding-right: 4px;
}
.orders-page .order-table th:nth-child(2),
.orders-page .order-table td:nth-child(2) {
  padding-left: 4px;
}
.orders-page .order-first-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.orders-page input[type="checkbox"] {
  accent-color: #009995;
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
}
.orders-page .order-table td {
  vertical-align: top;
  padding: 18px 16px;
  font-size: 13px;
  line-height: 21px;
  border-bottom: 1px solid #eceff3;
  overflow-wrap: anywhere;
}
.orders-page .order-table.has-orders tbody tr {
  height: 106px;
}
.orders-page .order-first-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.orders-page .order-first-cell > input {
  margin-top: 6px;
}
.orders-page .order-first-cell > div {
  min-width: 0;
}
.orders-page .order-first-cell .btn.link {
  font-size: 13px;
  padding: 0;
  min-height: 24px;
  text-align: left;
}
.orders-page .order-table .muted {
  font-size: 12px;
  line-height: 18px;
  margin-top: 4px;
}
.orders-page .order-table .product-cell {
  min-width: 0;
}
.orders-page .order-table .product-name {
  white-space: normal;
  min-width: 0;
  font-size: 13px;
}
.order-products-collapsed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.order-product-thumbnails {
  display: flex;
  gap: 4px;
}
.order-product-thumbnails .product-image,
.order-product-placeholder {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 2px;
  object-fit: cover;
}
.order-product-placeholder {
  background: #f3f4f5;
}
.orders-page .order-table .button-group {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.orders-page .order-table .button-group .btn {
  font-size: 12px;
  padding: 4px 10px;
  min-height: 28px;
}
.orders-page .order-empty-state {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  min-height: 300px;
  padding: 0;
}
.orders-page .order-empty-state > img {
  display: block;
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0;
}
.orders-page .order-empty-state > strong {
  display: block;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #8f98b2;
}
.orders-page .order-list-footer {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 40px;
  margin-top: 8px;
  padding: 0 12px;
  color: #6c6d6f;
  font-size: 14px;
  line-height: 32px;
}
.orders-page .pagination {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  gap: 10px;
  font-size: 14px;
}
.orders-page .pagination select {
  height: 32px;
}

/* Batch shipping upload: reference content starts x536 at a 1871px viewport. */
.order-upload-page [hidden] {
  display: none !important;
}
.order-upload-heading {
  margin-bottom: 25px;
}
.order-upload-heading p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 21px;
  color: #7c838d;
}
.order-upload-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  padding: 32px 100px;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}
.order-upload-illustration {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.order-upload-main {
  min-width: 0;
}
.order-upload-main h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #20252c;
}
.order-upload-main section > p {
  font-size: 14px;
  line-height: 21px;
  color: #7b838e;
  margin-top: 12px;
}
.order-upload-step-one {
  position: relative;
  min-height: 160px;
}
.order-upload-step-one.has-template {
  min-height: 208px;
  height: 208px;
}
.order-upload-template-types {
  border: 0;
  margin: 12px 0 0;
  padding: 0;
  min-width: 0;
}
.order-upload-template-types label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 20px;
  font-size: 14px;
  line-height: 20px;
  color: #4d5662;
  cursor: pointer;
}
.order-template-option + .order-template-option {
  margin-top: 12px;
}
.order-template-download-slot.active {
  height: 48px;
}
.order-upload-template-types input {
  accent-color: #009995;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}
.order-upload-page .order-template-download {
  position: absolute;
  top: 92px;
  left: 24px;
  min-width: 70px;
  width: 70px;
  min-height: 40px;
  height: 40px;
  padding: 9px 16px;
  margin: 0;
  color: #009995;
  border-color: #009995;
  background: #fff;
  font-size: 14px;
  line-height: 20px;
}
.order-upload-step-one[data-template="pending"] .order-template-download {
  top: 124px;
}
.order-file-dropzone {
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed #cdd2d9;
  border-radius: 4px;
  margin-top: 11px;
  padding: 20px;
  color: #5f6875;
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.order-file-dropzone:focus-visible,
.order-file-dropzone.drag-over {
  border-color: #009995;
  background: #f5fcfb;
  box-shadow: 0 0 0 1px #009995;
}
.order-file-dropzone.uploading {
  cursor: wait;
  opacity: 0.65;
}
.order-file-dropzone > svg {
  width: 20px;
  height: 20px;
  margin-bottom: 14px;
  color: #6e7784;
}
.order-file-dropzone > p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
}
.order-file-dropzone > p > span {
  color: #009995;
}
.order-file-dropzone > small {
  margin-top: 8px;
  font-size: 12px;
  line-height: 18px;
  color: #a0a7b1;
}
.order-upload-result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e1e5ea;
  border-radius: 4px;
  background: #f8fafb;
  overflow-wrap: anywhere;
}
.order-upload-result strong {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}
.order-upload-result > p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 21px;
}
.order-upload-result.error {
  border-color: #f1d5d9;
  background: #fff8f8;
}
.order-upload-result.error > p {
  color: #d44957;
}
.order-upload-result.success {
  border-color: #c7e8dc;
  background: #f4fbf8;
}
.order-upload-result.success > p {
  color: #218964;
}
.order-upload-result .table-wrap {
  margin-top: 12px;
}
.order-upload-result table {
  min-width: 480px;
  font-size: 13px;
}
.order-upload-result table th {
  font-size: 12px;
}
.order-upload-result > .btn {
  margin-top: 12px;
  min-height: 30px;
  font-size: 13px;
}

@media (max-width: 1350px) {
  .order-upload-card {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 1050px) {
  .order-upload-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 25px;
    padding: 28px;
  }
  .order-upload-illustration {
    width: 120px;
    height: 120px;
  }
  .order-upload-step-one {
    min-height: 0;
    padding-bottom: 32px;
  }
  .order-upload-step-one.has-template {
    height: auto;
    min-height: 0;
  }
  .order-upload-page .order-template-download {
    position: static;
    margin-top: 8px;
    margin-left: 24px;
  }
  .order-template-download-slot.active {
    height: auto;
    min-height: 48px;
  }
}
@media (max-width: 760px) {
  .order-upload-heading h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .order-upload-heading {
    margin-bottom: 20px;
  }
  .order-upload-heading p {
    font-size: 13px;
    line-height: 20px;
    margin-top: 8px;
  }
  .order-upload-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px 18px;
  }
  .order-upload-illustration {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
  .order-upload-main h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .order-upload-main section > p {
    font-size: 13px;
    line-height: 20px;
    margin-top: 8px;
  }
  .order-upload-template-types label {
    font-size: 12px;
    line-height: 20px;
  }
  .order-upload-step-one {
    padding-bottom: 28px;
  }
  .order-file-dropzone {
    height: 200px;
    padding: 20px 12px;
  }
  .order-file-dropzone > p {
    font-size: 12px;
    line-height: 20px;
  }
}

@media (max-width: 1350px) {
  .orders-page .order-search {
    flex-basis: 360px;
    width: 360px;
  }
}
@media (max-width: 1050px) {
  .orders-page .page-heading {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .orders-page .page-heading > .button-group {
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .orders-page .order-search {
    flex: 1;
  }
  .orders-page .order-inventory-notice {
    height: auto;
    min-height: 80px;
  }
  .orders-page .order-inventory-notice p {
    white-space: normal;
  }
  .orders-page .order-pending-card {
    height: auto;
    min-height: 152px;
  }
  .orders-page .order-pending-metrics {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 0;
  }
}
@media (max-width: 760px) {
  .orders-page .page-heading h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .orders-page .page-heading > .button-group {
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
  }
  .orders-page .order-search {
    flex-basis: 100%;
    width: 100%;
  }
  .orders-page .page-heading .btn {
    font-size: 12px;
    padding: 5px 10px;
  }
  .orders-page .order-inventory-notice {
    padding: 12px;
  }
  .orders-page .order-inventory-notice strong {
    font-size: 14px;
    line-height: 22px;
  }
  .orders-page .order-inventory-notice p {
    font-size: 12px;
    line-height: 18px;
  }
  .orders-page .order-notification-toolbar {
    padding-left: 16px;
    padding-right: 40px;
  }
  .orders-page .order-notification-body {
    padding: 24px 16px;
  }
  .orders-page .order-pending-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }
  .orders-page .order-pending-metric > span {
    white-space: normal;
    padding-right: 12px;
  }
  .orders-page .order-fulfillment-link {
    flex-wrap: wrap;
  }
  .orders-page .order-status-tabs {
    padding-left: 12px;
    padding-right: 12px;
  }
  .orders-page .order-list-toolbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 48px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .orders-page .order-list-toolbar select {
    width: 150px;
    min-width: 150px;
  }
  .orders-page .order-list-toolbar .spacer {
    display: none;
  }
  .orders-page .order-toolbar-actions {
    margin-left: auto;
  }
  .orders-page .order-result-count {
    flex: 1 1 auto;
  }
  .orders-page .order-list-footer {
    gap: 8px 16px;
  }
}

/* Captured CBT notice details; the title differs from notice one. */
.orders-page .order-notification-body {
  position: relative;
  justify-content: space-between;
}
.orders-page .order-notification-art {
  width: 84px;
  height: 84px;
  flex: none;
  margin-right: 18px;
}
.orders-page .order-notification-close {
  top: 8px;
  right: 8px;
}
.orders-page .order-notification-body .order-notification-close {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c6d6f;
}
.orders-page .order-notification-cbt h2 {
  font-size: 14px;
  line-height: 20px;
}
.orders-page .order-notification-description strong {
  font-weight: 500;
}
.orders-page .order-notification-learning {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  font-size: 14px;
  line-height: 22px;
  color: #009995;
  text-decoration: none;
}

.orders-page .order-status-filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 182.586px;
  min-width: 182.586px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
}
.orders-page .order-status-filter > span {
  flex: none;
  white-space: nowrap;
}
.orders-page .order-status-filter select {
  width: 0;
  min-width: 0;
  flex: 1;
  height: 34px;
  padding: 0 24px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.orders-page .order-status-filter > i {
  position: absolute;
  right: 12px;
  display: flex;
  pointer-events: none;
}
.orders-page .order-status-filter:focus-within {
  border-color: #009995;
}

/* Page controls wrap inside the list card when a phone cannot fit every page. */
@media (max-width: 760px) {
  .orders-page .order-list-footer > .pagination {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .orders-page .order-list-footer > .pagination > select {
    flex-shrink: 0;
    max-width: 100%;
  }
}
