.reference-order-page .seller-main>.dashboard-content{max-width:none;padding:12px 24px;background:#f7f7f7}
.reference-order-page .seller-section-nav{display:none}
.order-classification,.order-quick-filters{background:#fdfdfd;padding:8px 22px;margin-bottom:8px;font-size:13px;color:#666}
.order-filter-line{display:flex;align-items:flex-start;min-height:30px;gap:18px}
.order-filter-label{width:68px;flex:0 0 68px;text-align:right;line-height:26px;white-space:nowrap}
.order-filter-label{font-weight:600;color:#101010}
.order-filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:4px 18px;min-width:0;min-height:26px}
.order-filter-options>a{display:inline-block;line-height:24px;padding:0 2px;color:#666;white-space:nowrap;text-decoration:none}
.order-filter-options>a:hover{color:#302a93}.order-filter-options>a.selected{background:#dedede;color:#141414}
.order-filter-options .connect-store{display:inline-flex;align-items:center;gap:5px;line-height:21px;border:1px solid #d7d7d7;background:#fff;color:#333;padding:0 5px;margin-left:1px}
.connect-store svg{width:12px;height:12px}
.order-status-filters{display:flex;align-items:center;flex-wrap:wrap;margin-left:86px;gap:12px 4px;color:#666}
.order-status-filters>label{display:flex;align-items:center;gap:4px;white-space:nowrap}
.order-status-filters .field{height:34px;min-height:34px;width:88px;border:1px solid #ccc;border-radius:0;padding:0 10px;color:#555;background:#fff;font-size:13px;box-shadow:none}
.order-status-filters label:nth-child(3) .field{width:102px}.order-status-filters label:last-child .field{width:130px}
.order-date-custom{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 18px 86px}.order-date-custom input{border:1px solid #ccc;padding:5px;min-width:0}
.order-bulk-actions{padding:0 0 6px;background:#fff}
.order-bulk-actions>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:6px}.order-bulk-actions>div:last-child{margin-bottom:0}
.order-bulk-actions .btn{border-radius:0;min-height:32px;height:32px;padding:0 12px;font-size:14px;font-weight:400;white-space:nowrap;border-color:#dedede;color:#444;background:#fff;box-shadow:none}
.order-bulk-actions .btn-primary{background:#352b96;border-color:#352b96;color:#fff}
.order-table-scroll{overflow-x:auto;background:#fff}.order-table-content{min-width:1100px}
.reference-order-columns{display:grid;grid-template-columns:minmax(370px,568fr) minmax(100px,128fr) minmax(155px,276fr) minmax(170px,244fr) minmax(75px,88fr) minmax(130px,158fr) minmax(125px,162fr)}
.reference-order-head{background:#f5f5f5;min-height:34px;align-items:center;font-size:12px;color:#444;margin:0 0 8px}
.reference-order-head>span{text-align:center}.reference-order-head>div{display:flex;align-items:center;gap:10px;padding-left:16px}.reference-order-head label{display:flex;align-items:center;gap:6px}.reference-order-head b{font-weight:400}
.reference-order{border:1px solid #ececec;margin-bottom:10px;font-size:12px;color:#333;background:white}
.reference-order>header{min-height:34px;padding:4px 14px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;background:#f5f5f5;border-bottom:1px solid #ececec;color:#333}
.reference-order input[type=checkbox],.reference-order-head input{accent-color:#352b96;margin:0}
.order-source-badge{font-size:11px;padding:2px 7px;background:#ecf8fc;border:1px solid #c6e2ee;color:#4f88a1}
.reference-order>header>span{display:inline-flex;align-items:center;gap:5px}.reference-order>header a{color:#20485c}
.order-store-name{margin-left:auto}
.order-code-copy{border:0;background:none;display:inline-grid;place-items:center;color:#67608e;padding:0;cursor:pointer}.order-code-copy svg{width:13px;height:13px}
.reference-order>.reference-order-columns>div{padding:13px 14px;min-width:0;border-right:1px solid #eee;overflow-wrap:anywhere;line-height:1.6}
.reference-order>.reference-order-columns>div:last-child{border-right:0}.reference-order p{margin:0 0 4px}
.order-product-line{display:grid;grid-template-columns:98px minmax(0,1fr) minmax(95px,auto);gap:16px;margin-bottom:12px}.order-product-line img{width:98px;height:98px;object-fit:contain}.order-product-line b{display:block;margin-bottom:10px}.order-product-price{text-align:right;white-space:nowrap}
.order-import-info{font:inherit;color:#555;background:white;border:1px solid #ddd;padding:2px 8px;cursor:pointer}
.order-text-action{display:block;font:inherit;text-align:left;line-height:1.6;color:#1668dc;background:none;border:0;padding:0;cursor:pointer}
.order-text-action:hover,.order-single-actions>a:hover{text-decoration:underline}.order-text-action:disabled,.order-action-disabled{color:#1668dc;cursor:not-allowed;text-decoration:none}
.order-text-action.order-action-unavailable{color:#1668dc;cursor:pointer}.order-text-action.order-action-unavailable:hover{color:#0958c7}
.reference-order>header .order-tag{font-size:11px;color:#62578e;border:1px solid #d7d1e7;padding:0 5px;background:#f6f4fa}.order-problem{color:#b42318;margin-top:6px!important;white-space:normal}
.order-operation-dialog .modal{width:min(900px,94vw)}.order-operation-dialog .data-table td{white-space:normal;overflow-wrap:anywhere}.order-operation-dialog details{margin:8px 0}.order-operation-dialog summary{cursor:pointer;color:#62578e}.order-operation-dialog .modal-foot{flex-wrap:wrap}
.waybill-upload-dialog .modal{width:min(520px,94vw);border-radius:2px}
.waybill-upload-dialog .modal-head{height:54px;padding:16px 24px}
.waybill-upload-dialog .modal-head h2{font-size:18px;line-height:22px;font-weight:500}
.waybill-upload-dialog .modal-head button{padding:0;color:#909399;font-size:24px;font-weight:300;line-height:22px}
.waybill-upload-dialog .modal-body{padding:24px 24px 48px}
.waybill-upload-dialog .modal-foot{padding:10px 16px;gap:8px}
.waybill-upload-dialog .btn{height:32px;min-height:32px;min-width:64px;font-size:14px;padding:0 14px;border-radius:2px}
.waybill-upload-form{display:grid;grid-template-columns:1fr;gap:24px;margin:0}
.waybill-upload-form .waybill-field{display:grid;grid-template-columns:71px minmax(0,1fr);align-items:start;gap:8px;min-width:0}
.waybill-upload-form .waybill-field>label{font-size:14px;line-height:32px;text-align:right;white-space:nowrap;color:#444}
.waybill-required{color:#f56c6c;font-weight:400;margin-right:4px}
.waybill-upload-form .field{width:100%;height:32px;min-height:32px;padding:5px 11px;border:1px solid #d9d9d9;border-radius:1px;line-height:20px}
.waybill-upload-form .field::placeholder{color:#bfbfbf}
.waybill-file-control{display:grid;gap:6px;min-width:0}
.waybill-file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:max-content;min-height:32px;padding:0 14px;border:1px solid #d9d9d9;background:#fff;color:#333;cursor:pointer;font-size:14px;line-height:30px}
.waybill-file-button:hover{border-color:#302d98;color:#302d98}.waybill-file-button:focus-within{outline:2px solid #7976c5;outline-offset:1px}
.waybill-file-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.waybill-file-button svg{width:14px;height:14px}
.waybill-file-name{font-size:12px;line-height:18px;overflow-wrap:anywhere;color:#606266}
.waybill-upload-error{font-size:12px;line-height:20px;color:#b42332;margin:0 0 -24px;padding-left:79px}
.order-payment-dialog .modal{width:min(600px,94vw)}.order-payment-dialog .btn:disabled{opacity:.5;cursor:not-allowed}.order-payment-summary{gap:14px;margin:0}.order-payment-summary p,.order-payment-summary .notice{margin:0}.order-payment-error{min-height:0;margin:0;color:#b42332}.order-payment-error:empty{display:none}
.order-payment-methods{border:0;margin:0;padding:0;min-width:0}.order-payment-methods legend{margin:0 0 10px;padding:0;font-size:14px;color:#555}.order-payment-options{display:flex;gap:12px;flex-wrap:wrap}.order-payment-options>label{display:flex;align-items:center;gap:8px;min-height:42px;min-width:160px;padding:8px 14px;border:1px solid #d9d9d9;border-radius:2px;cursor:pointer}.order-payment-options>label:has(input:checked){border-color:#352b96;background:#f7f6ff}.order-payment-options input{margin:0;accent-color:#352b96}.order-payment-options svg{width:20px;height:20px;color:#666}.order-alipay-mark{display:inline-grid;place-items:center;width:22px;height:22px;background:#1677ff;border-radius:3px;color:#fff;font-weight:600;font-size:16px}.order-payment-balance{display:grid;gap:12px}.order-payment-alipay{display:grid;justify-items:center;gap:12px;text-align:center}.order-payment-qr-empty{display:grid;place-content:center;justify-items:center;gap:12px;width:176px;min-height:176px;background:#fafafa;border:1px solid #e5e7eb;color:#777}.order-payment-qr-empty svg{width:44px;height:44px;color:#999}.order-payment-qr-empty strong{font-size:13px;font-weight:400}.order-payment-alipay>.muted{max-width:380px;font-size:13px;line-height:1.7}
.order-single-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.order-single-actions>a{color:#1668dc}
.order-message{margin-top:22px}.order-recipient{line-height:1.8!important}
.order-status-tag{display:inline-block;padding:1px 6px;border:1px solid #e8d3ce;color:#ac7d72;background:#fff7f5;white-space:nowrap}
.order-status-tag.stage-new,.order-status-tag.stage-queued{border-color:#d4dfe8;background:#f4f8ff;color:#49728a}.order-status-tag.stage-production{color:#302a93}.order-status-tag.stage-shipped,.order-status-tag.stage-delivered,.order-status-tag.stage-completed{color:#17813f;border-color:#bce2ca;background:#f2fbf6}.order-status-tag.stage-cancelled{color:#999;border-color:#ddd;background:#fafafa}
.order-logistics-cell{font-size:13px;color:#111;line-height:1.65!important}
.order-logistics-cell p{margin:0 0 2px}.order-logistics-service{font-weight:400}
.order-tracking-number,.order-logistics-link{display:inline;padding:0;border:0;background:none;font:inherit;color:#302d98;cursor:pointer;text-align:left;overflow-wrap:anywhere;text-decoration:none}
.order-tracking-number:hover,.order-logistics-link:hover{text-decoration:underline}
.order-tracking-number:focus-visible,.order-logistics-link:focus-visible,.tracking-icon-button:focus-visible{outline:2px solid #302d98;outline-offset:3px}
.order-shipment-summary+.order-shipment-summary{margin-top:8px;padding-top:8px;border-top:1px solid #ececec}
.order-logistics-state{display:flex;align-items:center;gap:7px}.order-logistics-state svg{width:16px;height:16px;color:#302d98;flex-shrink:0}
.order-logistics-cell .order-reupload-tracking{margin-top:5px;color:#302d98}
.order-delivered-time{color:#555;font-size:12px}
.order-tracking-popover{position:fixed;z-index:800;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:#fff;color:#111;border:1px solid #d9dce3;border-radius:4px;box-shadow:0 6px 24px #18203926;font-size:13px;line-height:1.6}
.order-tracking-popover[hidden]{display:none}
.order-tracking-popover>header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e8e8e8;flex-shrink:0}
.order-tracking-popover>header>strong{font-size:15px;margin-right:auto}.order-tracking-popover [data-tracking-pinned]{font-size:12px;color:#302d98}
.tracking-icon-button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:transparent;color:#666;cursor:pointer}.tracking-icon-button svg{width:16px;height:16px}.tracking-icon-button:hover,.tracking-icon-button[aria-pressed=true]{background:#f0f0f5;color:#302d98}
.tracking-details-body{overflow-y:auto;padding:14px 18px;min-height:0;overscroll-behavior:contain}
.tracking-facts{margin:0 0 18px}.tracking-facts>div{display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;margin-bottom:5px}.tracking-facts dt{color:#777}.tracking-facts dd{margin:0;overflow-wrap:anywhere}.tracking-current-status{font-weight:600}
.tracking-timeline{list-style:none;padding:0 0 0 7px;margin:0 0 16px}.tracking-timeline li{position:relative;border-left:1px solid #dedee7;padding:0 0 20px 18px}.tracking-timeline li:before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#bdbdc9;left:-4px;top:7px}.tracking-timeline li:first-child:before{background:#302d98}.tracking-timeline li:last-child{padding-bottom:0;border-left-color:transparent}.tracking-timeline strong{display:block;font-weight:500}.tracking-timeline time{display:block;color:#777;font-size:12px}.tracking-timeline p{margin:3px 0 0;overflow-wrap:anywhere}.tracking-empty{color:#777}
.order-tracking-popover>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e8e8e8;padding:10px 16px;flex-shrink:0;font-size:12px;color:#777}.order-tracking-popover .has-error{color:#b42318}.order-tracking-popover button:disabled{opacity:.5;cursor:wait}
.order-tracking-popover [data-tracking-refresh]{margin-left:auto}
@media(max-width:760px){.reference-order-page .seller-main>.dashboard-content{padding:12px}.order-classification{padding:8px}.order-filter-line{gap:9px}.order-filter-options{gap:5px 8px}.order-quick-filters{padding:12px 8px}.order-quick-filters .order-filter-line{min-height:32px;margin-bottom:6px}.order-status-filters{margin-left:0;gap:10px 8px}.order-status-filters>label{justify-content:space-between;flex:1 1 150px}.order-status-filters .field{flex:0 0 88px}.order-bulk-actions .btn{padding:0 10px;font-size:12px}.order-date-custom{margin-left:0}.order-date-custom input{width:130px}}
