.exchange-page { max-width: 820px; }
.exchange-form, .exchange-record { border-top: 1px solid #dce3ee; padding: 1rem 0; }
.exchange-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.exchange-field-wide { grid-column: 1 / -1; }
.exchange-fields label { display: grid; gap: .25rem; min-width: 0; color: #435570; font-size: .85rem; font-weight: 650; }
.exchange-fields :is(input, select) { min-width: 0; width: 100%; min-height: 42px; padding: .45rem .6rem; border: 1px solid #cdd8e7; border-radius: 6px; background: #fff; color: #15233b; font: inherit; }
.exchange-form-actions, .exchange-links { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; }
.exchange-form-actions { padding: 1rem 0; }
.exchange-totals { display: grid; gap: .25rem; }
.exchange-catalog-picker, .exchange-variant { display: grid; gap: .45rem; min-width: 0; }
.exchange-search { display: flex; align-items: end; gap: .6rem; }
.exchange-search label { flex: 1; }
.exchange-search .order-button { min-height: 42px; }
.exchange-search-status { color: #435570; font-size: .8rem; }
.exchange-product-matches { list-style: none; margin: 0; padding: 0; max-height: 16rem; overflow: auto; border: 1px solid #cdd8e7; border-radius: 6px; background: #fff; }
.exchange-product-matches li + li { border-top: 1px solid #e0e7f1; }
.exchange-product-matches button { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 44px; padding: .45rem .7rem; background: #fff; border: 0; color: #15233b; text-align: left; cursor: pointer; }
.exchange-product-matches button:hover, .exchange-product-matches button:focus-visible { background: #ecf2ff; }
.exchange-product-matches button:focus-visible { outline-offset: -2px; }
.exchange-product-matches button span { display: grid; gap: .12rem; overflow-wrap: anywhere; }
.exchange-product-matches button small { color: #435570; }
.exchange-product-matches .app-icon { width: 16px; height: 16px; flex: none; color: var(--brand-blue); }
.exchange-product-choice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .7rem; color: #15233b; font-size: .85rem; overflow-wrap: anywhere; }
.exchange-original-product { border: 0; padding: .35rem 0; background: none; color: var(--brand-blue); font: inherit; font-weight: 700; cursor: pointer; }
.refund-entries { margin-top: 1rem; }
.refund-confirm { display: flex; align-items: start; gap: .45rem; margin: .75rem 0; }
.exchange-fields .refund-confirm { display: flex; align-items: center; margin: 0; }
.exchange-links { justify-content: flex-start; }
.exchange-record { display: grid; gap: .45rem; min-width: 0; }
.exchange-record small { color: #435570; }
.exchange-record details { padding: .4rem 0; }
.exchange-record summary { cursor: pointer; color: var(--brand-blue); font-weight: 650; margin-bottom: .45rem; }
.exchange-record details .order-button { margin-top: .7rem; }
.exchange-message { margin-top: .65rem; padding: .65rem .8rem; color: #75292e; background: #fff0ee; border-radius: 6px; }
@media (max-width: 620px) { .exchange-fields { grid-template-columns: minmax(0, 1fr); } }
