.logistics-workspace *{box-sizing:border-box}.logistics-workspace{margin:0;background:#f4f7fb;color:#27364b;font:14px/1.5 "Microsoft YaHei",sans-serif}.logistics-workspace header{height:64px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e0e7f1;padding:0 32px}.logistics-workspace header div{display:flex;gap:24px;align-items:center}.logistics-workspace a{color:#1764dd;text-decoration:none}.logistics-workspace main{max-width:1440px;margin:auto;padding:28px}.logistics-workspace h1{font-size:24px;margin:0}.logistics-workspace h2{font-size:17px;margin:0}.logistics-workspace h3{font-size:14px;margin:0}.logistics-workspace p{color:#7b899c;margin:6px 0 12px}.logistics-workspace .page-head,.logistics-workspace .section-head,.logistics-workspace .form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.logistics-workspace .page-head{margin-bottom:16px}.logistics-workspace .section-head{margin-bottom:16px}.logistics-workspace .section-head>span,.logistics-workspace .form-footer>span{color:#8491a2;font-size:12px}.logistics-workspace .notice{background:#fff6e4;border:1px solid #f4dfb8;color:#966221;padding:13px 16px;border-radius:8px;margin-bottom:20px}.logistics-workspace .panel{padding:22px;background:#fff;border:1px solid #dde5f0;border-radius:10px;margin-bottom:20px}.logistics-workspace .carrier-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.logistics-workspace .carrier{display:flex;flex-direction:column;align-items:stretch}.logistics-workspace .carrier .section-head{margin-bottom:8px}.logistics-workspace .carrier button{margin-top:auto}.logistics-workspace .badge{font-size:11px!important;background:#eef1f6;padding:3px 8px;border-radius:12px;white-space:nowrap}.logistics-workspace .badge.on{color:#138454;background:#e8f7ef}.logistics-workspace .chips{display:flex;flex-wrap:wrap;gap:5px;min-height:50px;margin-bottom:14px}.logistics-workspace .chips span{padding:3px 7px;background:#f3f6fa;color:#718097;font-size:12px;border-radius:4px;height:fit-content}.logistics-workspace button{height:36px;background:white;color:#1764dd;border:1px solid #cfdcf1;padding:0 14px;border-radius:5px;cursor:pointer;font:inherit;white-space:nowrap}.logistics-workspace button:hover{background:#f2f6ff}.logistics-workspace button:disabled{opacity:.5;cursor:wait}.logistics-workspace .primary{color:white;background:#1764ef;border-color:#1764ef}.logistics-workspace .primary:hover{background:#1157d7}.logistics-workspace .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}.logistics-workspace label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#66758b}.logistics-workspace input,.logistics-workspace select,.logistics-workspace textarea{min-width:0;width:100%;font:inherit;padding:9px 11px;border:1px solid #d3deed;border-radius:5px;background:white;color:#27364b}.logistics-workspace input,.logistics-workspace select{height:39px}.logistics-workspace input:focus,.logistics-workspace select:focus,.logistics-workspace textarea:focus{outline:2px solid #d8e7ff;border-color:#4e8ae8}.logistics-workspace textarea{resize:vertical}.logistics-workspace .wide{grid-column:1/-1}.logistics-workspace .check{display:flex;flex-direction:row;align-items:center;margin-top:16px}.logistics-workspace .check input{width:16px;height:16px}.logistics-workspace .form-footer{margin-top:20px;padding-top:16px;border-top:1px solid #edf1f6}.logistics-workspace .order-picker{max-width:620px;margin-bottom:22px}.logistics-workspace .label-row{border-top:1px solid #edf1f6;margin-top:24px;padding-top:20px;display:flex;align-items:center;gap:16px}.logistics-workspace .label-row input{max-width:340px;height:auto}.logistics-workspace .label-row p{margin:5px 0 0;font-size:12px}.logistics-workspace .table-wrap{overflow:auto}.logistics-workspace table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}.logistics-workspace th{background:#f6f8fc;color:#758298;font-weight:500}.logistics-workspace th,.logistics-workspace td{padding:13px 12px;border-bottom:1px solid #e9eef5}.logistics-workspace small{display:block;color:#8b97a8;margin-top:4px}.logistics-workspace b{font-weight:500}.logistics-workspace .empty{text-align:center;color:#8b97a8;padding:24px}.logistics-workspace .error{color:#c33030}.logistics-workspace .success{color:#138454}.logistics-workspace #message:empty{display:none}@media(max-width:1050px){.logistics-workspace .carrier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.logistics-workspace main{padding:16px}.logistics-workspace header{padding:0 16px}.logistics-workspace .carrier-grid,.logistics-workspace .form-grid{grid-template-columns:1fr}.logistics-workspace .form-footer,.logistics-workspace .label-row{align-items:stretch;flex-direction:column}.logistics-workspace .panel{padding:16px}.logistics-workspace .label-row input{max-width:100%}}
.logistics-workspace{width:100%;min-width:0;background:transparent}.logistics-workspace main{padding:4px 0;max-width:none;margin:0}.logistics-workspace button{width:auto;min-height:36px}.logistics-workspace .primary{width:auto;color:#fff;background:#1764ef}.logistics-workspace [hidden]{display:none!important}

.shipping-label-preview{position:fixed;inset:0;background:#0009;z-index:15000;display:flex;align-items:center;justify-content:center;padding:24px}.shipping-label-preview>section{width:min(1000px,95vw);height:90vh;background:white;border-radius:10px;display:flex;flex-direction:column;overflow:hidden}.shipping-label-preview header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #e4eaf3}.shipping-label-preview button{background:none;border:0;font-size:26px;cursor:pointer}.shipping-label-preview iframe{width:100%;flex:1;border:0}.shipping-label-preview p{padding:20px}.order-detail-section [data-order-shipping]{margin-top:18px;padding-top:16px;border-top:1px solid #e4eaf3}.order-detail-section [data-order-shipping] h3{margin:16px 0 10px}

/* Order detail shipping form */
.order-detail-section [data-order-shipping]{padding-top:0;border-top:0;margin-top:0}
.order-detail-section [data-order-shipping] .shipping-route-row{display:grid;grid-template-columns:minmax(0,180px) minmax(0,320px);gap:8px 12px;align-items:end}
.order-detail-section [data-order-shipping] .form-grid{display:grid;gap:8px 12px}
.order-detail-section [data-order-shipping] [data-shipping-fields="parcel"]{grid-template-columns:repeat(4,minmax(0,1fr));max-width:540px}
.order-detail-section [data-order-shipping] [data-shipping-fields="item"]{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1.4fr) minmax(0,.65fr) minmax(0,1.2fr);max-width:1140px}
.order-detail-section [data-order-shipping] [data-shipping-fields="customs"]{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));max-width:550px}
.order-detail-section [data-order-shipping] label{gap:4px;min-width:0;font-size:12px}
.order-detail-section [data-order-shipping] :is(input,select){height:32px;min-height:32px;padding:0 9px;width:100%;min-width:0}
.order-detail-section [data-order-shipping] h3{margin:10px 0 5px;font-size:13px}
.order-detail-section [data-order-shipping] p{margin:4px 0 6px;font-size:12px}
.order-detail-section [data-order-shipping] p:empty,.order-detail-section [data-order-shipping] [data-result]:empty{display:none}
.order-detail-section [data-order-shipping] .form-grid+.form-grid{margin-top:8px}
.order-detail-section [data-order-shipping] button{min-height:30px;padding:0 10px;font-size:12px;white-space:nowrap}
.order-detail-section [data-order-shipping] .form-footer{margin-top:10px;padding-top:8px;gap:8px}
@media(max-width:1000px){
 .order-detail-section [data-order-shipping] [data-shipping-fields="item"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .order-detail-section [data-order-shipping] [data-shipping-fields="parcel"]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .order-detail-section [data-order-shipping] .shipping-route-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
