.exchange-shell { --tracking-primary: #bd8fe5; --tracking-accent: #6f2c91; }
.exchange-result { display: grid; gap: 12px; }
.exchange-order-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; padding: 16px 0; border-top: 1px solid #eceef2; border-bottom: 1px solid #eceef2; }
.exchange-order-meta > div { display: grid; gap: 5px; min-width: 0; }
.exchange-order-meta span, .exchange-customer { color: #77808e; font-size: 12px; }
.exchange-order-meta strong { color: #202431; font-size: 14px; overflow-wrap: anywhere; }
.exchange-customer { margin: 0; }
.exchange-items { display: grid; gap: 9px; }
.exchange-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px; border: 1px solid #eceef2; border-radius: 7px; }
.exchange-item img { width: 54px; height: 54px; border-radius: 5px; object-fit: contain; background: #f6f7f9; }
.exchange-item strong, .exchange-item small { display: block; overflow-wrap: anywhere; }
.exchange-item strong { font-size: 13px; }
.exchange-item small { margin-top: 4px; color: #77808e; font-size: 11px; }
.exchange-item-price { text-align: right; font-size: 12px; font-weight: 700; white-space: nowrap; }
.exchange-eligibility { margin-top: 5px; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--tracking-primary), white 55%); border-radius: 7px; background: color-mix(in srgb, var(--tracking-primary), white 92%); color: #303747; font-size: 13px; line-height: 1.5; }
.exchange-eligibility[data-state="available"] { border-color: #b6e3cc; background: #effaf4; color: #176b3d; }
.exchange-eligibility[data-state="pending"] { border-color: #f0dfaa; background: #fff9e8; color: #745500; }
.exchange-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.exchange-actions button, .exchange-actions a { display: grid; place-items: center; min-height: 46px; margin: 0; padding: 9px 12px; border-radius: 6px; text-align: center; text-decoration: none; font: inherit; font-size: 13px; font-weight: 700; }
.exchange-actions button { background: var(--tracking-accent); color: #fff; }
.exchange-actions button:disabled { background: #e6e7eb; color: #777e89; opacity: 1; cursor: not-allowed; }
.exchange-actions .exchange-whatsapp { grid-column: 1 / -1; border: 1px solid #16a765; background: #effaf4; color: #137a49; }
@media (max-width: 560px) {
  .exchange-order-meta { grid-template-columns: 1fr 1fr; }
  .exchange-order-meta > div:last-child { grid-column: 1 / -1; }
  .exchange-item { grid-template-columns: 44px minmax(0, 1fr); }
  .exchange-item img { width: 44px; height: 44px; }
  .exchange-item-price { grid-column: 2; text-align: left; }
}
