.shipment-workspace{overflow:hidden}.shipment-filters{display:flex;align-items:end;gap:16px;padding:22px 26px;flex-wrap:wrap}.shipment-filters label{display:grid;gap:8px;color:#486158;font-size:13px}.shipment-filters input,.shipment-filters select{border:1px solid #d8e3df;border-radius:7px;padding:11px;background:#fff;color:#41534d;min-width:150px}.shipment-search{flex:1}.shipment-filters>span{color:#73867d;font-size:13px;margin-bottom:12px}.shipment-notice{background:#f3f8f5;color:#577267;padding:16px 26px;margin:0;font-size:13px;line-height:1.8}.shipment-files-table{min-width:1340px;width:100%;border-collapse:collapse;font-size:13px;color:#455650}.shipment-files-table th{background:#edf4ef;text-align:left;color:#476558;font-weight:600;white-space:nowrap;padding:18px 14px}.shipment-files-table td{padding:22px 14px;border:1px solid #e1e9e5;vertical-align:top;line-height:1.8}.shipment-files-table tr:nth-child(even){background:#f7faf8}.shipment-files-table small{display:block;font-size:11px;color:#7c8e84;margin-top:7px}.shipment-files-table .button{padding:9px 12px;white-space:nowrap;font-size:12px}.shipment-state{display:inline-block;background:#eef2f5;color:#607483;padding:3px 9px;border-radius:5px;white-space:nowrap}.shipment-state.success{background:#e4f4ee;color:#147762}.shipment-state.failure{background:#fff0ee;color:#af514c}.shipment-pagination{display:flex;gap:12px;justify-content:flex-end;align-items:center;padding:20px 26px;font-size:13px;color:#647b6d}.shipment-pagination span{margin-right:auto}.shipment-order-detail{margin:20px 0;border:1px solid #dce7e0;border-radius:8px;overflow:hidden}.shipment-order-detail summary{cursor:pointer;background:#f0f6f2;padding:16px;color:#256d59}.shipment-order-detail dl{padding:18px}.shipment-order-detail td>span,.shipment-order-detail td>img{display:inline-block;vertical-align:middle;margin-right:8px}.shipment-pick-preview table{border-collapse:collapse;min-width:1100px;width:100%;font-size:13px}.shipment-pick-preview th,.shipment-pick-preview td{border:1px solid #dde7e0;padding:12px;text-align:left}.shipment-pick-preview th{background:#edf4ef}.shipment-print-frame{position:fixed;left:-20000px;top:0;width:1100px;height:700px;border:0}
.shipment-filters{border-bottom:1px solid var(--border)}
@media(max-width:700px){.shipment-filters{padding:16px}.shipment-filters label{width:100%}.shipment-search{flex-basis:100%}}

.shipment-date-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex-basis:100%}.shipment-date-shortcuts>span{font-size:13px;color:#486158;margin-right:4px}.shipment-date-shortcuts .button{min-height:36px;padding:8px 13px;font-size:12px}

@media(min-width:1101px){
  .shipment-shop-filters{display:grid;grid-template-columns:max-content 140px 140px minmax(180px,1fr) max-content;gap:12px;padding-block:18px}
  .shipment-shop-filters>.shipment-date-shortcuts{display:grid;grid-template-columns:repeat(3,max-content);gap:8px;flex-basis:auto}
  .shipment-shop-filters>.shipment-date-shortcuts>span{grid-column:1/-1;margin-right:0}
  .shipment-shop-filters>.shipment-date-shortcuts .button{height:42px;min-height:42px;padding-inline:12px}
  .shipment-shop-filters>label{min-width:0}
  .shipment-shop-filters input{width:100%;min-width:0;height:42px;padding:9px}
  .shipment-shop-filters>span{white-space:nowrap;margin-bottom:11px}
}

.shipment-actions{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:8px;min-width:max-content}.shipment-actions>.button,.shipment-actions>div{flex:0 0 auto}.shipment-actions .button{width:auto}
.shipment-actions>[data-shipment="cancel"]{color:#ad4945;border-color:#ebd4d1}.shipment-actions>[data-shipment="cancel"]:hover{background:#fff3f1;border-color:#d9aaa4}
.shipment-pick-preview table{min-width:720px;table-layout:fixed}.shipment-pick-preview td{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.shipment-pick-photos{display:flex;flex-wrap:wrap;gap:6px}.shipment-pick-photos img{width:80px;height:80px;object-fit:contain;border:1px solid #dce7e0;border-radius:4px;background:#fff}
.shipment-pick-dates{margin:12px 0 0;padding-top:12px;border-top:1px solid #dde7e0;font-size:12px;color:#62786c;line-height:1.6}

.shipment-pick-preview td:last-child{white-space:nowrap}

.shipment-global-table{min-width:1340px}.shipment-shop-name{min-width:150px;max-width:200px;overflow-wrap:anywhere}.shipment-shop-name small+small{margin-top:3px}.shipment-shop-name a{color:#147d68;font-weight:600;text-decoration:none}.shipment-shop-name a:hover{text-decoration:underline}.shipment-filters select{min-width:185px;max-width:240px}

@media(min-width:1101px){
  .shipment-global-filters{gap:12px;padding-block:18px}
  .shipment-global-filters>.shipment-date-shortcuts{display:grid;grid-template-columns:repeat(4,max-content);gap:8px;flex:0 0 auto}
  .shipment-global-filters>.shipment-date-shortcuts>span{grid-column:1/-1;margin-right:0}
  .shipment-global-filters>.shipment-date-shortcuts .button{height:42px;min-height:42px;padding-inline:12px}
  .shipment-global-filters>label{min-width:0}
  .shipment-global-filters input,.shipment-global-filters select{height:42px;padding:9px}
  .shipment-global-filters input[type=date]{width:140px;min-width:0}
  .shipment-global-filters select{width:170px;min-width:170px;max-width:170px}
  .shipment-global-filters>.shipment-search{flex:1 1 200px;min-width:200px}
  .shipment-global-filters .shipment-search input{width:100%;min-width:0}
  .shipment-global-filters>span{white-space:nowrap;margin-bottom:11px}
}

.shipment-goods-cell{min-width:170px;max-width:240px;overflow-wrap:anywhere}.shipment-custom-cell{min-width:150px;width:170px}.shipment-goods-line{min-height:58px;display:flex;align-items:center;padding:4px 0;line-height:1.6}.shipment-goods-line+.shipment-goods-line{border-top:1px dashed #e1e9e5}.shipment-custom-cell .order-note-photos{justify-content:flex-start;flex-wrap:wrap;gap:6px}.shipment-custom-cell .order-note-photo{width:44px;height:48px;flex:0 0 44px}.shipment-custom-cell .order-note-photo img{object-fit:contain}

/* Order detail rows share only order-level information; item photos keep their ratio. */
dialog.integration-dialog.shipment-details-dialog{width:min(1520px,calc(100vw - 40px));max-width:1520px}
.shipment-details-dialog .modal-body{padding:20px 24px}
.shipment-detail-scroll{max-height:62vh;border:1px solid var(--border,#dce7e0);border-radius:8px;overflow:auto}
.shipment-detail-scroll:focus-visible{outline:2px solid var(--primary,#187766);outline-offset:3px}
.shipment-detail-table{width:100%;min-width:1080px;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--text-secondary,#455650);font-size:13px;line-height:1.6}
.shipment-detail-table th,.shipment-detail-table td{padding:12px 10px;border-right:1px solid var(--border,#dce7e0);border-bottom:1px solid var(--border,#dce7e0);text-align:left;vertical-align:top;overflow-wrap:anywhere;background:#fff}
.shipment-detail-table thead th{position:sticky;top:0;z-index:1;background:#edf4ef;color:#36594b;font-size:12px;font-weight:600}
.shipment-detail-table tbody:nth-of-type(even) th,.shipment-detail-table tbody:nth-of-type(even) td{background:#f6faf8}
.shipment-detail-table tbody+tbody tr:first-child>*{border-top:1px solid #bdd1c6}
.shipment-detail-table thead th:last-child,.shipment-detail-table .shipment-detail-cod{border-right:0}
.shipment-detail-table tbody:last-child tr:last-child>*,.shipment-detail-table tbody:last-child [rowspan]{border-bottom:0}
.shipment-detail-reference{font-weight:600;color:#27634e}
.shipment-detail-product strong{font-weight:500}.shipment-detail-quantity{display:inline-block;margin-left:5px;white-space:nowrap}
.shipment-detail-table small{display:block;margin-top:5px;color:#61766c;font-size:12px}
.shipment-detail-recipient>strong,.shipment-detail-recipient>span{display:block}.shipment-detail-address{margin-top:6px;white-space:pre-wrap}
.shipment-detail-money{text-align:right!important;font-variant-numeric:tabular-nums}.shipment-detail-amount{white-space:nowrap;font-weight:600}
.shipment-detail-photo .product-thumbnail{display:inline-flex;width:64px;height:64px;max-width:100%;margin:0;vertical-align:top}
.shipment-detail-photo .product-thumbnail img{width:100%;height:100%;object-fit:contain}
.shipment-detail-custom .order-note-photos{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}
.shipment-detail-custom .order-note-photo{width:60px;height:60px;min-width:44px;flex:0 0 auto}
.shipment-detail-custom .order-note-photo img{width:100%;height:100%;object-fit:contain}
@media(max-width:700px){dialog.integration-dialog.shipment-details-dialog{width:calc(100vw - 20px)}.shipment-details-dialog .modal-body{padding:12px}}

.shipment-files-table .shipment-order-reference{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.5}

/* Shipment desk: bounded reading width, compact metadata, generous image space. */
.shipment-page{max-width:1540px;margin-inline:auto;--shipment-secondary:#586e62;--shipment-line:#e0e8e3;--shipment-soft:#f3f7f5;--shipment-hover:#edf6f1}
.shipment-page .page-heading{margin-bottom:16px}
.shipment-page .page-heading h1{font-size:24px;letter-spacing:-.5px}
.shipment-page .page-heading p{font-size:12px;margin-top:5px}
.shipment-page .eyebrow{margin-bottom:5px}
.shipment-page>.demo-notice,.shipment-page>.scope-notice{margin-bottom:16px;padding:10px 14px;font-size:12px}
.shipment-page .shipment-workspace{border-radius:10px;container-type:inline-size;container-name:shipment-desk}
.shipment-page .shipment-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:14px 16px}
.shipment-page .shipment-filters>label{width:auto;min-width:0;display:grid;gap:6px;flex:0 0 auto;font-size:12px;color:var(--shipment-secondary)}
.shipment-page .shipment-filters input,.shipment-page .shipment-filters select{width:124px;min-width:0;max-width:none;height:36px;min-height:36px;padding:7px 9px;font-size:12px;border-radius:6px}
.shipment-page .shipment-filters select{width:140px}
.shipment-page .shipment-filters .shipment-search{flex:1 1 200px;min-width:180px}
.shipment-page .shipment-search input{width:100%}
.shipment-page .shipment-search input::placeholder{color:#617369}
.shipment-page .shipment-filters>span{align-self:flex-end;margin:0 0 9px;white-space:nowrap;font-size:12px;line-height:18px;color:var(--shipment-secondary)}
.shipment-page .shipment-filters .shipment-date-shortcuts{display:grid;grid-template-columns:repeat(3,max-content);gap:6px;flex:0 0 auto}
.shipment-page .shipment-global-filters .shipment-date-shortcuts{grid-template-columns:repeat(4,max-content)}
.shipment-page .shipment-date-shortcuts>span{grid-column:1/-1;margin:0;font-size:12px;color:var(--shipment-secondary)}
.shipment-page .shipment-filters .shipment-date-shortcuts .button{height:36px;min-height:36px;padding:7px 11px;font-size:12px}
.shipment-page .shipment-workspace>.tabs{gap:20px;padding:0 16px}
.shipment-page .shipment-workspace>.tabs .tab{padding:10px 0;font-size:12px}
.shipment-page .shipment-list-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;padding:8px 16px;background:var(--shipment-soft);font-size:12px;line-height:1.5;color:var(--shipment-secondary);border-bottom:1px solid var(--shipment-line)}
.shipment-page .shipment-guidance summary{cursor:pointer;color:var(--accent);white-space:nowrap}
.shipment-page .shipment-guidance[open]{flex-basis:100%}
.shipment-page .shipment-guidance p{margin:8px 0 2px;max-width:100ch;line-height:1.7}
.shipment-page .order-grid-wrap{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#b5c9be var(--shipment-soft)}
.shipment-page .order-grid-wrap::-webkit-scrollbar{height:8px}
.shipment-page .order-grid-wrap::-webkit-scrollbar-track{background:var(--shipment-soft)}
.shipment-page .order-grid-wrap::-webkit-scrollbar-thumb{background:#b5c9be;border:2px solid var(--shipment-soft);border-radius:8px}
.shipment-page .shipment-files-table{width:100%;min-width:1280px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.shipment-page .shipment-col-time{width:192px}
.shipment-page .shipment-col-shop{width:152px}
.shipment-page .shipment-col-goods{width:192px}
.shipment-page .shipment-col-count{width:56px}
.shipment-page .shipment-col-view{width:72px}
.shipment-page .shipment-col-state{width:112px}
.shipment-page .shipment-col-actions{width:304px}
#main-content .shipment-page .shipment-files-table>thead>tr>th{padding:10px;font-size:12px;line-height:1.4;white-space:nowrap;background:#edf4ef;color:#335649;border-bottom:1px solid #d3e1d8}
#main-content .shipment-page .shipment-files-table>tbody>tr>td{padding:8px 10px;font-size:12px;line-height:1.5;white-space:normal;vertical-align:top;border:0;border-right:1px solid var(--shipment-line);border-bottom:1px solid var(--shipment-line)}
#main-content .shipment-page .shipment-files-table>tbody>tr>td:last-child{border-right:0}
.shipment-page .shipment-files-table tbody tr:nth-child(even){background:#f9fbfa}
.shipment-page .shipment-files-table tbody tr:hover{background:var(--shipment-hover)}
.shipment-page .shipment-files-table small{margin-top:3px;font-size:12px;line-height:1.4;color:var(--shipment-secondary)}
.shipment-page .shipment-added-at time{display:block;font-variant-numeric:tabular-nums;white-space:nowrap}
.shipment-page .shipment-files-table .shipment-order-reference{margin-top:5px;font-size:12px;line-height:1.45}
.shipment-page .shipment-shop-name{min-width:0;max-width:none}
.shipment-page .shipment-shop-name strong,.shipment-page .shipment-shop-name a{font-size:12px;font-weight:600;line-height:1.5}
.shipment-page .shipment-goods-cell,.shipment-page .shipment-custom-cell{width:auto;min-width:0;max-width:none}
.shipment-page .shipment-goods-line{min-height:48px;padding:6px 0;gap:6px;line-height:1.5}
.shipment-page .shipment-goods-line-has-photos{min-height:76px}
.shipment-page .shipment-goods-line+.shipment-goods-line{border-color:var(--shipment-line)}
.shipment-page .shipment-item-name{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.shipment-page .shipment-item-quantity{flex:none;white-space:nowrap;padding:1px 5px;border-radius:4px;background:#edf3ef;color:#3d5e4c;font-size:12px;font-variant-numeric:tabular-nums}
.shipment-page .shipment-custom-cell .order-note-photos{gap:8px;min-height:0;max-width:100%}
.shipment-page .shipment-custom-cell .order-note-photo{width:64px;height:64px;flex:0 0 64px;border-radius:6px}
.shipment-page .shipment-custom-cell .order-note-photo img{object-fit:contain}
.shipment-page .shipment-count,.shipment-page .shipment-view{text-align:center}
.shipment-page .shipment-files-table thead th:nth-child(5),.shipment-page .shipment-files-table thead th:nth-child(6){text-align:center}
.shipment-page .shipment-files-table .button{height:34px;min-height:34px;padding:6px 9px;font-size:12px;line-height:20px;border-radius:6px}
.shipment-page .shipment-actions{gap:6px;min-width:0}
.shipment-page .shipment-actions [data-shipment="preview"]{color:var(--accent);border-color:#bbd3c7;background:#f1f8f4}
.shipment-page .shipment-actions [data-shipment="preview"]:hover{background:#e5f1e9;border-color:#8cb7a2}
.shipment-page .shipment-actions>[data-shipment="cancel"]{border-color:transparent;background:transparent}
.shipment-page .shipment-actions>[data-shipment="cancel"]:hover{background:#fff1ef;border-color:#edcbc6}
.shipment-page .shipment-state{max-width:100%;padding:3px 7px;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.shipment-page .shipment-pagination{min-height:56px;padding:10px 16px;gap:8px;border-top:1px solid var(--shipment-line);color:var(--shipment-secondary);font-size:12px}
.shipment-page .shipment-pagination .button{min-height:34px;padding:6px 11px}
@media(max-width:700px){
  .shipment-page .page-heading h1{font-size:21px}
  .shipment-page .shipment-filters{gap:10px;padding:12px}
  .shipment-page .shipment-filters .shipment-date-shortcuts{flex-basis:100%;width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  .shipment-page .shipment-global-filters .shipment-date-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
  .shipment-page .shipment-filters .shipment-date-shortcuts .button{min-width:0;padding-inline:6px;white-space:nowrap}
  .shipment-page .shipment-filters>label{flex:1 1 calc(50% - 5px);width:auto}
  .shipment-page .shipment-filters>.shipment-store-filter{flex-basis:100%}
  .shipment-page .shipment-filters .shipment-search{flex-basis:100%;min-width:0}
  .shipment-page .shipment-filters input,.shipment-page .shipment-filters select{width:100%;font-size:16px}
  .shipment-page .shipment-filters>span{margin:0;font-size:12px}
  .shipment-page .shipment-workspace>.tabs{padding:0 12px}
  .shipment-page .shipment-list-note,.shipment-page .shipment-pagination{padding-inline:12px}
}
@container shipment-desk (min-width:1360px){
  .shipment-page .shipment-filters{align-items:center;padding-block:12px;gap:10px}
  .shipment-page .shipment-filters>label{display:flex;align-items:center;gap:8px;white-space:nowrap}
  .shipment-page .shipment-filters .shipment-date-shortcuts{display:flex;align-items:center;gap:6px}
  .shipment-page .shipment-date-shortcuts>span{margin-right:4px;white-space:nowrap}
  .shipment-page .shipment-filters .shipment-search{min-width:240px;flex-basis:240px}
  .shipment-page .shipment-search input{min-width:0;flex:1;width:0}
  .shipment-page .shipment-filters>span{align-self:center;margin:0}
}
@media(pointer:coarse){
  .shipment-page .shipment-filters .shipment-date-shortcuts .button,.shipment-page .shipment-filters input,.shipment-page .shipment-filters select,.shipment-page .shipment-files-table .button,.shipment-page .shipment-pagination .button{min-height:44px;height:44px}
  .shipment-page .shipment-actions{gap:8px}
}
