/* Nexora Commercial ERP & Supply-Chain Workbench Styles (v8.0 Design System Law) */
.nx-commerce-page > .category-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 5px;
  border-radius: 999px;
  background: #ffffffc4;
  border: 1px solid #e8e2ee;
  box-shadow: 0 6px 20px #4b2d6e06;
  max-width: 100%;
}
.nx-commerce-page > .category-pills .pill {
  min-height: 32px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  border-color: transparent;
  background: transparent;
  color: var(--muted, #685e74);
  transition: background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.nx-commerce-page > .category-pills .pill:hover:not(.active) {
  background: #f4f1f8;
  color: var(--ink, #1b1823);
}
.nx-commerce-page > .category-pills .pill.active {
  background: #18151d;
  color: #fff;
  border-color: #18151d;
  font-weight: 600;
  box-shadow: 0 4px 12px #1b18231f;
}

.nx-commerce-page > .page-head {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.nx-commerce-page > .page-head > div:first-child {
  flex: 1 1 280px;
  min-width: 0;
}
.nx-commerce-page > .page-head .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: var(--muted, #685e74);
  margin: 0 0 5px;
  text-transform: uppercase;
}
.nx-commerce-page > .page-head h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.45px;
  color: var(--ink, #1b1823);
  margin: 0 0 4px;
}
.nx-commerce-page > .page-head p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted, #685e74);
  max-width: 72ch;
  margin: 0;
}
.nx-commerce-page > .page-head .toolbar {
  margin-top: 0;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.nx-commerce-page > .page-head .toolbar .primary-button,
.nx-commerce-page > .page-head .toolbar .ghost-button,
.nx-merchant-toolbar .toolbar .select,
.nx-merchant-toolbar .toolbar .ghost-button,
.nx-merchant-toolbar .toolbar .primary-button {
  height: 38px;
  min-height: 38px;
  box-sizing: border-box;
  font-size: 13px;
}

/* Secondary Operational & Audit Pill Strip */
.nx-ops-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin: 0 0 16px;
  border-radius: 14px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
}
.nx-ops-subbar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #685e74);
}
.nx-ops-subbar-label strong {
  color: var(--ink, #1b1823);
  font-weight: 600;
}
.nx-ops-subbar .toolbar {
  gap: 6px;
  flex-wrap: wrap;
}
.nx-ops-subbar .ghost-button {
  min-height: 33px;
  height: 33px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  border-color: #e8e2ee;
  color: #4f4359;
}
.nx-ops-subbar .ghost-button:hover {
  background: #f4ecfa;
  border-color: #d8c8ea;
  color: #5d39bd;
}

/* Toolbar Secondary Audit Divider & Dropdown Menu */
.nx-toolbar-divider {
  width: 1px;
  height: 20px;
  background: #e8e2ee;
  margin: 0 2px;
  flex-shrink: 0;
}
.nx-toolbar-more {
  position: relative;
  display: inline-block;
}
.nx-toolbar-more > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nx-toolbar-more > summary::-webkit-details-marker {
  display: none;
}
.nx-toolbar-more > summary .nx-caret {
  font-size: 11px;
  opacity: .75;
  transition: transform .16s var(--ease);
}
.nx-toolbar-more[open] > summary .nx-caret {
  transform: rotate(180deg);
}
.nx-toolbar-more-menu {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 184px;
  padding: 6px;
  border-radius: 14px;
  background: #fffffffa;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #e8e2ee;
  box-shadow: 0 16px 38px #361f4d18;
  display: grid;
  gap: 3px;
}
.nx-toolbar-more-menu .ghost-button {
  width: 100%;
  justify-content: flex-start;
  border-color: transparent;
  background: transparent;
  border-radius: 10px;
  min-height: 35px;
  height: auto;
  padding: 6px 12px;
  font-weight: 500;
}
.nx-toolbar-more-menu .ghost-button:hover {
  background: #f4ecfa;
  color: #5d39bd;
}

/* KPI Stat Cards */
.nx-commerce-page .nx-commerce-stats {
  gap: 12px;
  margin-bottom: 16px;
}
.nx-commerce-page .nx-commerce-stats article {
  padding: 15px 18px;
  border-radius: 16px;
  background: #ffffffc9;
  border: 1px solid #ffffffeb;
  box-shadow: 0 8px 26px #4d2f6d08;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.nx-commerce-page .nx-commerce-stats article:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px #4d2f6d0f;
}
.nx-commerce-page .nx-commerce-stats strong {
  font-size: clamp(21px, 2.1vw, 26px);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--ink, #1b1823);
}
.nx-commerce-page .nx-commerce-stats small {
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.nx-commerce-page .panel > .nx-form-body {
  padding: 0;
  overflow: visible;
}

/* Search & Filter Toolbar Combo */
.nx-merchant-toolbar {
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
}
.nx-merchant-toolbar > div:first-child {
  flex: 1 1 200px;
  min-width: 0;
}
.nx-merchant-toolbar .toolbar {
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.nx-search-combo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 280px;
  min-width: 230px;
  max-width: 100%;
}
.nx-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 200px;
  min-width: 0;
}
.nx-search-box .nx-search-icon {
  position: absolute;
  left: 11px;
  display: inline-flex;
  align-items: center;
  color: var(--muted, #685e74);
  pointer-events: none;
}
.nx-search-box .nx-search-icon .icon {
  width: 14px;
  height: 14px;
}
.nx-search-box input.select {
  width: 100%;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  height: 38px;
  padding: 0 30px 0 32px;
  border-radius: 11px;
  border: 1px solid #e8e2ee;
  background: #fff;
  color: var(--ink, #1b1823);
  transition: border-color .16s, box-shadow .16s;
}
.nx-search-box input.select:focus {
  border-color: #9e78b5;
  box-shadow: 0 0 0 3px #a383b415;
}
.nx-search-clear {
  position: absolute;
  right: 6px;
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2eef5;
  color: #5b4f66;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.nx-search-clear:hover {
  background: #e5daf0;
  color: var(--ink, #1b1823);
}
.nx-search-clear[hidden] {
  display: none !important;
}
.nx-search-submit.ghost-button {
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  background: #f4ecfa;
  border: 1px solid #e4d5f3;
  color: #5d39bd;
  font-weight: 600;
  flex-shrink: 0;
}
.nx-search-submit.ghost-button:hover {
  background: #eadcf8;
  border-color: #d3bfdc;
}
.nx-merchant-toolbar .toolbar > input.select {
  min-width: 220px;
  flex: 1 1 220px;
}

/* Filter Pill Row inside Panels */
.nx-panel-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding: 0 0 14px;
  margin-bottom: 4px;
}
.nx-panel-pills .category-pills {
  margin: 0;
  gap: 6px;
}
.nx-panel-pills .pill {
  min-height: 31px;
  padding: 0 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nx-panel-pills .pill em {
  font-style: normal;
  font-size: 11px;
  opacity: .78;
  font-variant-numeric: tabular-nums;
}

/* Commercial Tables & Tabular Alignment */
.nx-tabular,
.task-table td,
.listing-table td,
.small-stat strong,
.nx-merchant-paging {
  font-variant-numeric: tabular-nums;
}
.nx-commerce-page .task-table,
.nx-commerce-page .listing-table,
.modal .task-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.nx-commerce-page .task-table thead th,
.nx-commerce-page .listing-table thead th,
.modal .task-table thead th {
  background: #faf8fc;
  border-top: 1px solid #efe9f4;
  border-bottom: 1px solid #e8e2ee;
  padding: 11px 12px;
  color: var(--muted, #685e74);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15px;
  vertical-align: middle;
}
.nx-commerce-page .task-table thead th:first-child,
.nx-commerce-page .listing-table thead th:first-child,
.modal .task-table thead th:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.nx-commerce-page .task-table thead th:last-child,
.nx-commerce-page .listing-table thead th:last-child,
.modal .task-table thead th:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.nx-commerce-page .task-table tbody td,
.nx-commerce-page .listing-table tbody td,
.modal .task-table tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid #f0eaf5;
  vertical-align: middle;
  transition: background-color .14s var(--ease);
}
.nx-commerce-page .task-table tbody tr:hover td,
.nx-commerce-page .listing-table tbody tr:hover td,
.modal .task-table tbody tr:hover td {
  background-color: #fbf9fe;
}
.nx-commerce-page .task-table td {
  max-width: 340px;
  overflow-wrap: anywhere;
}
.nx-commerce-page .listing-table td {
  max-width: 320px;
  overflow-wrap: anywhere;
}
.task-table td strong,
.listing-table td strong {
  color: var(--ink, #1b1823);
  font-weight: 600;
}
.task-table td small,
.listing-table td small {
  color: var(--muted, #685e74);
  line-height: 1.55;
}
.task-actions {
  display: flex;
  align-items: center;
  gap: 4px 8px;
  flex-wrap: wrap;
}
.task-table .text-button,
.listing-table .text-button {
  font-weight: 500;
  border-radius: 8px;
  padding: 4px 7px;
  transition: background-color .15s, color .15s;
}
.task-table .text-button:hover,
.listing-table .text-button:hover {
  background: #f4ecfa;
  color: #5d39bd;
}

/* Semantic Status & Delta Badges (DESIGN_SYSTEM.md §5) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f2eef5;
  color: #5b4f66;
  border: 1px solid #e8e2ee;
  white-space: nowrap;
}
.status-badge.ready,
.status-badge.success {
  background: #eaf6ee;
  border-color: #dcebe2;
  color: #3d6f4b;
}
.status-badge.review,
.status-badge.is-warning {
  background: #fff4e5;
  border-color: #eed9b7;
  color: #825d24;
}
.status-badge.info,
.status-badge.brand {
  background: #f4ecfa;
  border-color: #e5d4f4;
  color: #5d39bd;
}
.status-badge.failed,
.status-badge.error,
.status-badge.danger {
  background: #fce2e8;
  border-color: #efd7df;
  color: #a63d58;
}
.status-badge.draft,
.status-badge.archived {
  background: #f2eef5;
  border-color: #e8e2ee;
  color: #5b4f66;
}

.nx-delta-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #f2eef5;
  color: #5b4f66;
}
.nx-delta-pill.pos {
  background: #eaf6ee;
  color: #3d6f4b;
}
.nx-delta-pill.neg {
  background: #fce2e8;
  color: #a63d58;
}

/* Listing Readiness Progress Cell */
.nx-listing-readiness {
  display: grid;
  gap: 5px;
  min-width: 118px;
}
.nx-listing-readiness .readiness {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nx-listing-readiness .readiness-bar {
  flex: 1 1 68px;
  width: 74px;
  height: 6px;
  border-radius: 99px;
  background: #eee9f1;
  overflow: hidden;
}
.nx-listing-readiness .readiness-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a53cd, #e06bb7);
}
.nx-listing-readiness b {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink, #1b1823);
  font-variant-numeric: tabular-nums;
}
.nx-listing-readiness small {
  font-size: 11px;
  color: var(--muted, #685e74);
}

/* Empty State Cards inside Tables */
.nx-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  margin: 6px 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #fcfaff, #faf6fd);
  border: 1px dashed #e5dcef;
  gap: 6px;
}
.nx-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f4ecfa;
  border: 1px solid #e6d6f5;
  color: #7d3aef;
  margin-bottom: 4px;
}
.nx-empty-icon .icon {
  width: 20px;
  height: 20px;
}
.nx-empty-state p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #1b1823);
  line-height: 1.6;
}
.nx-empty-state small {
  font-size: 12px;
  color: var(--muted, #685e74);
  max-width: 44ch;
  line-height: 1.6;
}
.nx-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.nx-empty-actions .ghost-button,
.nx-empty-actions .primary-button {
  min-height: 34px;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

/* Pagination Bar */
.nx-merchant-paging {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 4px 0;
  margin-top: 12px;
  border-top: 1px solid var(--line, #e8e2ee);
  font-size: 12px;
  color: var(--muted, #685e74);
}
.nx-merchant-paging > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
  color: #5b4f66;
  font-weight: 500;
}
.nx-merchant-paging .ghost-button {
  min-height: 34px;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
}
.nx-merchant-paging .ghost-button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

/* Order & Supply-Chain Lifecycle Stepper (DESIGN_SYSTEM.md L4 Frosted Sub-Card) */
.nx-lifecycle-stepper {
  background: #faf8fc;
  border: 1px solid #eee8f2;
  border-radius: 14px;
  padding: 13px 14px;
  margin: 0 0 16px;
}
.nx-stepper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 11px;
  font-size: 11px;
  color: var(--muted, #685e74);
}
.nx-stepper-head strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink, #1b1823);
  letter-spacing: .2px;
}
.nx-stepper-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nx-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  gap: 5px;
}
.nx-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 11px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: #e8e2ee;
  border-radius: 2px;
}
.nx-step.is-done:not(:last-child)::after {
  background: linear-gradient(90deg, #7d3aef, #ed67b5);
}
.nx-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: #fff;
  border: 1.5px solid #dfd6e8;
  color: #685e74;
  position: relative;
  z-index: 1;
}
.nx-step.is-done .nx-step-dot {
  background: #eaf6ee;
  border-color: #bfe0ca;
  color: #3d6f4b;
}
.nx-step.is-active .nx-step-dot {
  background: #11131b;
  border-color: #11131b;
  color: #fff;
  box-shadow: 0 0 0 3px #7d3aef1f;
}
.nx-step.is-warn .nx-step-dot {
  background: #fff4e5;
  border-color: #eed9b7;
  color: #825d24;
}
.nx-step.is-danger .nx-step-dot {
  background: #fce2e8;
  border-color: #efd7df;
  color: #a63d58;
}
.nx-step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #685e74);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.nx-step.is-done .nx-step-label,
.nx-step.is-active .nx-step-label {
  color: var(--ink, #1b1823);
  font-weight: 600;
}
.nx-step.is-danger .nx-step-label {
  color: #a63d58;
  font-weight: 600;
}
.nx-step-meta {
  font-size: 11px;
  color: var(--muted, #685e74);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Structured Frosted Record Sub-Cards (#faf8fc / #eee8f2) */
.nx-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.nx-detail-card {
  background: #faf8fc;
  border: 1px solid #eee8f2;
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.nx-detail-card + .nx-detail-card {
  margin-top: 0;
}
.nx-detail-card.nx-detail-wide {
  grid-column: 1 / -1;
}
.nx-detail-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--muted, #685e74);
  margin: 0 0 6px;
}
.nx-detail-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink, #1b1823);
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
}
.nx-detail-card p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink, #1b1823);
}
.nx-detail-card small,
.nx-detail-muted {
  color: var(--muted, #685e74) !important;
  font-size: 12px !important;
}
.nx-detail-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 6px;
}
.nx-detail-kv > div {
  min-width: 0;
}
.nx-detail-kv dt,
.nx-detail-kv span {
  display: block;
  font-size: 11px;
  color: var(--muted, #685e74);
}
.nx-detail-kv dd,
.nx-detail-kv strong {
  display: block;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #1b1823);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* Forms, Order Items & Audit Timeline */
.nx-record-form .toolbar input { margin-top: 0; }
.nx-order-item {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(70px, .6fr) minmax(90px, .8fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
}
.nx-order-item label { min-width: 0; }
.nx-order-item select { width: 100%; }
.nx-order-item .text-button { align-self: center; margin-top: 20px; }
#merchant-order-total {
  padding: 12px 16px;
  border-radius: 12px;
  background: #f6effc;
  border: 1px solid #eadcf6;
  color: #3b264f;
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 0;
}
.nx-merchant-check {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.nx-merchant-check input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--purple, #7d3aef);
}
.nx-listing-images { display: grid; gap: 10px; }
.nx-listing-images > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 12px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
}
.nx-listing-images img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e8e2ee;
}
.nx-listing-images span { overflow-wrap: anywhere; }

.nx-order-history {
  list-style: none;
  padding-left: 18px;
  margin: 10px 0 0;
  border-left: 2px solid #ece3f2;
}
.nx-order-history li {
  position: relative;
  padding: 8px 0 10px 4px;
  border-bottom: 1px dashed #f0eaf5;
}
.nx-order-history li:last-child {
  border-bottom: 0;
}
.nx-order-history li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #9f70c6;
}
.nx-order-history small {
  display: block;
  margin-top: 3px;
  color: var(--muted, #685e74);
  font-variant-numeric: tabular-nums;
}
.nx-order-history p { margin: 5px 0; }

.nx-preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#platform-shipment-review .product-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#platform-shipment-review .small-stat strong {
  overflow-wrap: anywhere;
}
.nx-inventory-products {
  max-height: 430px;
  overflow: auto;
}
.nx-merchant-summary { margin-bottom: 16px; }
.nx-commerce-page > .panel + .panel { margin-top: 16px; }
.nx-merchant-summary .nx-commerce-stats { margin-bottom: 0; }

#picking-wave [data-picking-parcel-warning] { overflow-wrap: anywhere; }
#picking-wave [data-picking-parcel-warning][hidden] { display: none; }

@media(max-width:960px) {
  .nx-commerce-page > .page-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .nx-commerce-page > .page-head > div:first-child { flex: none; width: 100%; }
  .nx-commerce-page > .page-head .toolbar { justify-content: flex-start; margin-top: 0; }
  .nx-toolbar-more-menu { left: 0; right: auto; }
}
@media(max-width:700px) {
  .nx-commerce-page > .category-pills { border-radius: 16px; }
  .nx-detail-grid,
  .nx-detail-kv { grid-template-columns: 1fr; }
  .nx-order-item { grid-template-columns: 1fr 1fr; padding: 10px 12px; }
  .nx-order-item label:first-child { grid-column: 1 / -1; }
  .nx-order-item .text-button { margin-top: 0; }
  .nx-merchant-paging { padding: 12px 0 0; flex-wrap: wrap; }
  .nx-merchant-toolbar .toolbar { width: 100%; }
  .nx-search-combo { flex: 1 1 100%; width: 100%; min-width: 0; }
  .nx-merchant-toolbar .toolbar > input.select,
  .nx-merchant-toolbar > .toolbar > select.select { min-width: 0; flex: 1 1 140px; }
  .nx-toolbar-more[open] { flex-basis: 100%; width: 100%; }
  .nx-toolbar-more-menu { position: static; margin-top: 6px; width: 100%; min-width: 0; box-shadow: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:560px) {
  .nx-stepper-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .nx-step {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 6px 8px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ece5f2;
  }
  .nx-step::after { display: none !important; }
  .nx-step-copy { min-width: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .nx-commerce-page .nx-commerce-stats article,
  .nx-commerce-page > .category-pills .pill,
  .nx-toolbar-more > summary .nx-caret,
  .task-table tbody td,
  .listing-table tbody td {
    transition: none;
  }
}
