#purchaseResourceLibrary button{border-radius:8px!important;font:inherit;min-height:32px;padding:6px 12px;border:1px solid #cbd9ed;background:#fff;color:#173b68}#purchaseResourceLibrary button.admin-inventory-danger{color:#dc2639;background:#fff5f5;border-color:#f4b4bd}
.flow-hidden{display:none!important}.flow-margin-button{white-space:nowrap}.flow-paused{border:0;border-radius:7px;background:#fff4e7;color:#a75b00;padding:7px 12px;cursor:pointer}.flow-pause-reason{max-width:160px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;margin-top:6px;font-size:12px}.flow-pause-reason[hidden]{display:none}.flow-pencil{margin-left:6px;border:0;background:none;color:#1769ff;cursor:pointer}
#orderManagement .order-status-actions{flex-wrap:wrap;gap:8px!important}#orderManagement .order-compact-actions td:last-child,#orderManagement .order-compact-actions th:last-child{width:120px!important}
#orderDocumentsDialog{width:900px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto}.flow-order-summary{padding:12px;background:#f4f7fc;border-radius:8px}.flow-order-footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:12px;background:white;border-top:1px solid #e3eaf4}.flow-record{padding:10px 0;border-bottom:1px solid #e3eaf4;overflow-wrap:anywhere}.flow-order-footer button,.flow-dialog button{border-radius:8px;min-height:36px;padding:7px 14px}.flow-dialog{max-width:calc(100vw - 24px);width:440px;border:1px solid #dce4ef;border-radius:12px}.flow-dialog label{display:block;margin:12px 0}.flow-dialog input,.flow-dialog textarea{box-sizing:border-box;max-width:100%;width:100%;padding:10px;border:1px solid #cbd9ed;border-radius:8px}
@media(max-width:767px){#orderDocumentsDialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px}.flow-order-footer{flex-wrap:wrap}.flow-pause-reason{max-width:100%}}

.trade-chat-message{border:0!important;box-shadow:none!important}.trade-chat-message>.trade-chat-chip{background:#f04452;color:white;border-radius:50%;font-size:10px;line-height:26px;min-width:26px;padding:0;text-align:center;float:right}.trade-chat-message>.trade-chat-chip:not(:first-child){background:#fff3e0;color:#9c5600;border-radius:6px;padding:0 6px}.trade-chat-message.admin{font-weight:600}
#purchaseResourceLibrary .product-link-btn{border-radius:8px!important}
.flow-pencil{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;border-radius:7px;vertical-align:middle;font-size:18px}.flow-pencil:hover{background:#edf4ff}.flow-record{white-space:pre-line}
.shared-document-row{display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e5edf7}.shared-document-meta{flex:0 1 auto;max-width:calc(100% - 160px);min-width:0}.shared-document-name{display:block;overflow-wrap:anywhere;color:#15355e}.shared-document-date{display:block;font-size:12px;color:#7386a0;margin-top:4px}.shared-document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.shared-product-materials>p:nth-child(2){font-size:12px;color:#7386a0}
.chat-whitelist-dialog{box-sizing:border-box;width:480px;max-width:calc(100vw - 24px);max-height:85dvh;overflow:auto;padding:24px;border:1px solid #d8e3f2;border-radius:14px;background:#fff;color:#15355e;box-shadow:0 20px 60px #0b2a4d30}.chat-whitelist-dialog::backdrop{background:#0b244766}.chat-whitelist-dialog h3{margin:0 0 18px}.chat-whitelist-dialog label{display:block}.chat-whitelist-dialog textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid #cbd9ed;border-radius:8px;font:inherit;resize:vertical}.chat-whitelist-dialog>p{font-size:12px;color:#7386a0;line-height:1.6}.chat-whitelist-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.chat-whitelist-dialog button,.chat-message-menu button{border-radius:8px;min-height:36px}.chat-message-menu{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;padding:10px;border:1px solid #d8e3f2;border-radius:8px;background:#f5f8fc}.chat-whitelist-row{border-bottom:1px solid #e5edf7;padding:12px 0;overflow-wrap:anywhere}.chat-whitelist-row small{color:#7386a0;margin-right:12px}
@media(max-width:767px){.shared-document-meta{max-width:100%;flex-basis:100%}.shared-document-actions{margin-top:0}.flow-pencil{min-width:44px;min-height:44px}.chat-whitelist-dialog{padding:18px}.chat-whitelist-dialog textarea{font-size:16px}.chat-whitelist-dialog button,.chat-message-menu button{min-height:44px}}
