/* Nexora Manual Order Aftersales & Returns Styles (v8.0 Design System Law) */
.nx-manual-after-hint {
  color: var(--muted, #685e74);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.nx-manual-after-notice {
  padding: 12px 15px;
  border: 1px solid #eee8f2;
  border-radius: 12px;
  background: #faf8fc;
  line-height: 1.75;
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 0 0 14px;
}
.nx-manual-after-notice.success {
  color: #3d6f4b;
  border-color: #dcebe2;
  background: #f6fbf8;
}
.nx-manual-financials {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
}
.nx-manual-financials h3,
.nx-manual-after-history h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #1b1823);
  margin: 0 0 10px;
}
.nx-manual-after-history h3:not(:first-child) {
  margin-top: 18px;
}
.nx-manual-financials .product-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.nx-manual-financials .small-stat {
  padding: 11px 13px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ece4f3;
}
.nx-manual-financials .small-stat strong {
  font-size: 16px;
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.nx-manual-financial-compact {
  display: block;
  line-height: 1.65;
  overflow-wrap: anywhere;
  margin-top: 5px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #faf8fc;
  border: 1px solid #f0eaf5;
  color: var(--muted, #685e74);
  font-variant-numeric: tabular-nums;
}
.nx-manual-after-history {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
}
.nx-manual-return-table { min-width: 560px; }
.nx-manual-return-inputs { min-width: 680px; }
.nx-manual-return-inputs td,
.nx-manual-return-table td {
  max-width: 260px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.nx-manual-return-inputs small,
.nx-manual-return-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted, #685e74);
  font-size: 12px;
  line-height: 1.65;
}
.nx-manual-return-inputs input {
  width: 100px;
  font-variant-numeric: tabular-nums;
}
.nx-manual-after-confirm {
  align-items: flex-start;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #faf8fc;
  border: 1px solid #eee8f2;
  line-height: 1.7;
}
.nx-manual-after-confirm input { margin-top: 3px; }
#merchant-action-form .modal-actions,
#manual-return-form .modal-actions {
  flex-wrap: wrap;
}

@media(max-width:700px) {
  .nx-manual-financials .product-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #merchant-action-form .modal-actions,
  #manual-return-form .modal-actions { gap: 7px; }
  #merchant-action-form .modal-actions button,
  #manual-return-form .modal-actions button { padding: 8px 12px; font-size: 12px; min-height: 36px; }
}
