/* Exchange badges stay beside the document number in desktop tables and mobile cards. */
.document-list-exchange{display:inline-block;vertical-align:middle;margin:0 0 0 6px;font-size:12px;font-weight:400;line-height:1.4}
.document-exchange-badge{display:inline-block;padding:2px 7px;border-radius:5px;white-space:nowrap;font-size:12px;font-weight:500}
.document-exchange-done{color:#17623a;background:#e8f5ec}
.document-exchange-waiting{color:#805500;background:#fff3cd}
.document-exchange-warning{color:#805500;background:#fff3cd}
.document-exchange-error{color:#a51d2d;background:#fde8eb}
.document-list-exchange summary{cursor:pointer;list-style:none;width:fit-content}
.document-list-exchange summary::-webkit-details-marker{display:none}
.document-list-exchange summary:focus-visible{outline:2px solid #0d6efd;outline-offset:2px;border-radius:5px}
.document-exchange-detail{margin-top:6px;max-width:280px;white-space:normal;overflow-wrap:anywhere;color:#526175;font-size:12px;font-weight:400}
@media(max-width:767px){
 #orders-table td.order-number-cell:has(.document-list-exchange){flex-wrap:wrap}
 #orders-table td.order-number-cell .document-list-exchange{flex-basis:100%;margin:0;text-align:left}
}
@media(min-width:768px){
 td.document-posted-cell{white-space:nowrap}
 td.document-posted-cell .document-list-exchange{margin:0 6px 0 0;text-align:left}
}
