.shipping-catalog,.shipping-workspace,.shipping-preview,.shipping-saved,.shipping-history{margin:22px 0;min-width:0;overflow:hidden}
.shipping-catalog,.shipping-history{padding:26px}
.shipping-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;flex-wrap:wrap}
.shipping-catalog>.shipping-heading,.shipping-history>.shipping-heading{padding:0 0 20px}
.shipping-heading h2{font-size:24px;font-weight:500;margin:8px 0;overflow-wrap:anywhere}
.shipping-heading p{font-size:14px;line-height:1.7;color:var(--muted);max-width:760px;margin:0}
.shipping-catalog-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.shipping-catalog-tools .search{flex:1 1 260px;max-width:440px;color:var(--ink)}
.shipping-catalog-tools>span{font-size:13px;color:var(--muted)}
.shipping-product-list{border-top:1px solid var(--line)}
.shipping-product-row{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}
.shipping-product-row h3{font-size:16px;font-weight:500;margin:0 0 4px;overflow-wrap:anywhere}
.shipping-product-row small{font-size:12px;color:var(--muted)}
.shipping-product-row>strong{font-size:17px;font-weight:500}
.shipping-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.shipping-actions .btn,.shipping-filter-footer .btn,.shipping-pagination .btn{min-height:44px}
.shipping-pagination{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px;font-size:13px;color:var(--muted)}
.shipping-filter{padding:24px}
.shipping-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:20px}
.shipping-filter-footer>span{font-size:13px;color:var(--muted)}
.shipping-empty{padding:26px;font-size:14px;line-height:1.7;color:var(--muted)}
.shipping-lines{min-width:650px}
.shipping-lines th,.shipping-lines td{padding:16px 22px}
.shipping-lines td{vertical-align:top}
.shipping-lines td:first-child{max-width:420px;overflow-wrap:anywhere}
.shipping-lines th:not(:first-child),.shipping-lines td:not(:first-child){text-align:right;white-space:nowrap}
.shipping-tracking{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.7}
.shipping-tracking summary{cursor:pointer}
.shipping-tracking p{white-space:normal;overflow-wrap:anywhere;max-width:420px}
.shipping-total{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:22px 24px;background:#08a6df0c}
.shipping-total span{font-size:14px;color:var(--muted)}
.shipping-total strong{font-size:24px;font-weight:500}
.shipping-footer{padding:22px 24px}
.shipping-footer>span{font-size:12px;line-height:1.7;color:var(--muted)}
.shipping-warning,.shipping-error{margin:18px 24px;padding:16px;border:1px solid #dda65666;background:#dda65614;border-radius:12px;font-size:14px;line-height:1.7;color:#98601e}
.shipping-warning .tiny-link{display:inline-block;margin:6px 0 0}
.shipping-missing{color:#a66720;font-size:13px}
.shipping-form-error{color:#ca5d50;font-size:14px;line-height:1.7}
.shipping-form-error:empty{display:none}
.shipping-history-row{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.shipping-history-row b{font-weight:500;font-size:15px;overflow-wrap:anywhere}
.shipping-history-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.shipping-workspace>.toolbar .tabs{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}
.parcel-stage-tabs{flex-wrap:wrap;gap:5px}
[data-theme=dark] .shipping-product-list,[data-theme=dark] .shipping-product-row,[data-theme=dark] .shipping-history-row{border-color:#345367}
[data-theme=dark] .shipping-warning,[data-theme=dark] .shipping-error,[data-theme=dark] .shipping-missing{color:#f4ca83}
[data-theme=dark] .shipping-form-error{color:#ffb7ab}
[data-theme=dark] .shipping-filter .field>label{color:#d2e6f2}
@media(max-width:900px){.shipping-product-row{grid-template-columns:minmax(0,1fr) auto}.shipping-product-row .shipping-actions{grid-column:1 / -1}}
@media(max-width:600px){.shipping-catalog,.shipping-history{padding:18px}.shipping-heading,.shipping-filter{padding:19px}.shipping-heading h2{font-size:22px}.shipping-catalog>.shipping-heading,.shipping-history>.shipping-heading{padding:0 0 18px}.shipping-catalog-tools{align-items:stretch}.shipping-catalog-tools .search{max-width:none;flex-basis:100%}.shipping-product-row{gap:12px;padding:16px 0}.shipping-product-row>strong{font-size:16px}.shipping-product-row .shipping-actions .btn{flex:1}.shipping-pagination{justify-content:space-between;gap:8px}.shipping-filter-footer{align-items:stretch;flex-direction:column}.shipping-filter-footer .btn{width:100%}.shipping-total{padding:18px}.shipping-total strong{font-size:21px}.shipping-footer{padding:18px}.shipping-footer .btn{flex:1 1 145px}.shipping-warning,.shipping-error{margin:16px 18px}.shipping-history-row{gap:12px}.shipping-history-row>div{width:100%}.shipping-lines td,.shipping-lines th{padding:13px 16px}}
