.trade-return-badge{display:inline-flex;align-items:center;gap:2px;margin-left:5px;padding:0 4px;border:1px solid #e9ad57;border-radius:3px;color:#ad6100;font-size:11px;line-height:16px;white-space:nowrap}
.trade-return-badge svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.modal-card.sale-return-modal{width:min(1160px,95vw);height:min(710px,89vh);max-height:89vh;display:flex;flex-direction:column;overflow:hidden}
.sale-return-modal :is(#modal-body,.modal-body){flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.sale-return-shell{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px 16px}
.sale-return-meta{display:flex;gap:14px;flex-wrap:wrap;padding:8px 10px;border:1px solid #d7e0ed;background:#f7f9fd}
.sale-return-meta span{white-space:nowrap}
.sale-return-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
.sale-return-shell h4{margin:13px 0 5px;font-size:13px}
.sale-return-shell p{margin:0 0 8px}
.sale-return-table{border:1px solid #d7e0ed;overflow:auto;scrollbar-width:thin}
.sale-return-table table{min-width:960px;table-layout:auto}
.sale-return-table th,.sale-return-table td{height:29px;padding:4px 6px;line-height:20px;text-align:center}
.sale-return-table input{width:75px;height:25px;padding:2px 5px;text-align:center}
.sale-return-table select{max-width:105px;height:25px}
.sale-return-fields{display:flex;gap:12px;margin:10px 0}
.sale-return-fields label{display:flex;align-items:center;gap:6px}
.sale-return-fields label:last-child{flex:1;min-width:0}
.sale-return-fields span{flex:none;color:#475467}
.sale-return-fields input{height:30px;padding:4px 7px}
.sale-return-fields input[name="note"]{flex:1;min-width:0}
.sale-return-estimate{display:flex;align-items:center;gap:18px;padding:7px 0;border-top:1px solid #d7e0ed;border-bottom:1px solid #d7e0ed}
.sale-return-estimate button{margin-left:auto}
.sale-return-estimate b{color:#d92d20}
.sale-return-history{padding-bottom:8px}
.sale-return-actions{white-space:nowrap}
.sale-return-actions button{height:24px;padding:1px 5px;margin:0 2px}
.sale-return-shell>.actions{flex:none;margin:0;padding-top:10px}
.sale-return-action-overlay{position:fixed;inset:0;z-index:10010;display:grid;place-items:center;background:#15223899}
.sale-return-action-card{width:min(500px,90vw);max-height:80vh;display:flex;flex-direction:column;background:#fff;border:1px solid #c9d3e1;box-shadow:0 15px 36px #14243a45}
.sale-return-action-card header,.sale-return-action-card footer{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #d7e0ed}
.sale-return-action-card footer{justify-content:flex-end;gap:8px;border-top:1px solid #d7e0ed;border-bottom:0}
.sale-return-action-body{padding:10px 14px;overflow:auto}
.sale-return-action-body label{display:block;margin:10px 0}
.sale-return-action-body label span{display:block;margin-bottom:4px;color:#475467}
.sale-return-action-body :is(input,select,textarea){width:100%}
@media(max-width:760px){.sale-return-shell{padding:8px}.sale-return-meta{gap:6px}.sale-return-meta span{white-space:normal}.sale-return-fields{flex-direction:column}.sale-return-fields label{width:100%}.sale-return-fields input{min-width:0;flex:1}.sale-return-estimate{flex-wrap:wrap;gap:8px}.sale-return-estimate button{width:100%;margin-left:0}}
