.oz-orders { color: #22352c; min-width: 0; }
.oz-orders button { cursor: pointer; }
.oz-orders button:disabled { cursor: not-allowed; opacity: .55; }
.oz-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.oz-orders-heading h2 { margin: 2px 0 0; font-size: 24px; line-height: 1.35; }
.oz-order-heading-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oz-orders .primary, .oz-orders .export { min-height: 36px; padding: 7px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.oz-orders .primary { background: #af3b29; border: 1px solid #af3b29; color: #fff; }
.oz-orders .primary:hover:not(:disabled), .oz-orders .primary:focus-visible { background: #942a1b; border-color: #942a1b; }
.oz-orders .export { background: #fff; border: 1px solid #b4c2b9; color: #294437; }
.oz-orders .export:hover:not(:disabled), .oz-orders .export:focus-visible { background: #f8ece7; border-color: #af3b29; color: #942a1b; }
.oz-orders-tabs { display: inline-flex; border: 1px solid #b9c8bf; border-radius: 6px; overflow: hidden; margin-bottom: 15px; }
.oz-orders-tabs button { min-width: 76px; height: 36px; border: 0; background: #fff; color: #394c41; font-weight: 650; }
.oz-orders-tabs button + button { border-left: 1px solid #b9c8bf; }
.oz-orders-tabs button.is-active { background: #af3b29; color: #fff; }
.oz-orders-tabs button:hover:not(.is-active), .oz-orders-tabs button:focus-visible:not(.is-active) { background: #f8ece7; color: #942a1b; }
.oz-orders-filters { display: grid; grid-template-columns: minmax(160px,1.3fr) minmax(150px,1fr) minmax(130px,.8fr) repeat(2,minmax(130px,.8fr)) minmax(180px,1.2fr); gap: 10px; margin-bottom: 14px; }
.oz-orders-filters label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 12px; font-weight: 650; color: #405548; }
.oz-orders-filters input, .oz-orders-filters select { width: 100%; min-width: 0; height: 37px; border: 1px solid #bdcbc1; border-radius: 6px; padding: 6px 9px; color: #20352a; background: #fff; font-size: 13px; }
.oz-orders-filters select[multiple] { height: 37px; overflow: auto; }
.oz-orders-filters input:focus-visible, .oz-orders-filters select:focus-visible, .oz-orders button:focus-visible { outline: 2px solid #af3b29; outline-offset: 2px; }
.oz-order-notice { padding: 10px 12px; margin: 0 0 14px; border-left: 3px solid #af3b29; background: #f8ece7; color: #6f281e; font-size: 13px; }
.oz-order-history { padding: 16px 0; margin: 0 0 18px; border-top: 1px solid #cad5ce; border-bottom: 1px solid #cad5ce; }
.oz-order-history-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.oz-order-history-head h3, .oz-order-history h4 { margin: 0; font-size: 16px; }
.oz-order-history-lists { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.oz-order-history h4 { font-size: 13px; margin-bottom: 9px; color: #3c5847; }
.oz-order-log { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 9px 0; border-top: 1px solid #d7dfd9; font-size: 12px; }
.oz-order-log strong { font-size: 13px; }
.oz-order-log span { color: #54675c; }
.oz-order-log p, .oz-order-log small, .oz-order-log button { grid-column: 1 / -1; margin: 0; }
.oz-order-log small { color: #53675a; line-height: 1.5; }
.oz-order-log button { justify-self: start; }
.oz-orders-count { display: flex; gap: 10px; align-items: baseline; margin: 0 0 9px; }
.oz-orders-count strong { font-size: 15px; }
.oz-orders-count span, .oz-orders-count small { color: #506358; font-size: 12px; }
.oz-orders-table-wrap { width: 100%; overflow-x: auto; border-top: 1px solid #bdcbbf; border-bottom: 1px solid #bdcbbf; }
.oz-orders-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 980px; background: #fff; }
.oz-orders-table th { height: 42px; padding: 8px 10px; background: #e4ebe5; color: #314c3a; text-align: left; font-size: 12px; font-weight: 700; }
.oz-orders-table th:nth-child(1) { width: 16%; }
.oz-orders-table th:nth-child(2) { width: 12%; }
.oz-orders-table th:nth-child(3) { width: 14%; }
.oz-orders-table th:nth-child(4) { width: 27%; }
.oz-orders-table th:nth-child(5) { width: 7%; }
.oz-orders-table th:nth-child(6) { width: 12%; }
.oz-orders-table th:nth-child(7) { width: 12%; }
.oz-orders-table td { padding: 10px; border-top: 1px solid #dae1db; vertical-align: middle; font-size: 13px; overflow-wrap: anywhere; }
.oz-orders-table tbody tr:hover:not(.oz-order-detail-row), .oz-orders-table tbody tr.is-selected { background: #f9eee9; }
.oz-orders-table td small { display: block; color: #53675c; font-size: 11px; margin-top: 4px; }
.oz-order-number { display: block; padding: 0; border: 0; background: none; color: #263c30; font: inherit; font-weight: 700; text-align: left; overflow-wrap: anywhere; }
.oz-order-number:hover, .oz-order-number:focus-visible { color: #a63221; text-decoration: underline; }
.oz-order-products { line-height: 1.5; }
.oz-order-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.oz-order-readonly { color: #52645a; font-size: 12px; }
.oz-order-status { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.oz-order-status.tone-pending { background: #fff0d7; color: #82500e; }
.oz-order-status.tone-progress { background: #e3edf8; color: #285374; }
.oz-order-status.tone-success { background: #e2f1e5; color: #27623b; }
.oz-order-status.tone-error { background: #f9e3df; color: #972b23; }
.oz-order-status.tone-unknown { background: #edf0ed; color: #43564b; }
.oz-order-detail-row { background: #f4f7f3; }
.oz-order-detail { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 8px 4px; }
.oz-order-detail strong { flex-basis: 100%; }
.oz-order-detail ul { flex-basis: 100%; margin: 0; padding-left: 18px; }
.oz-order-detail li { margin: 3px 0; }
.oz-order-empty { margin: 8px 0; color: #52655a; font-size: 13px; }
.oz-order-table-empty { padding: 24px 12px; background: #fff; text-align: center; }
.oz-orders-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 12px; }
@media (max-width: 1200px) { .oz-orders-filters { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 680px) { .oz-orders-heading { align-items: flex-start; flex-direction: column; } .oz-order-heading-actions { width: 100%; } .oz-orders-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } .oz-orders-filters .oz-order-search { grid-column: 1 / -1; } .oz-order-history-lists { grid-template-columns: 1fr; } }
@media (max-width: 410px) { .oz-orders-filters { grid-template-columns: 1fr; } .oz-orders-filters .oz-order-search { grid-column: auto; } }
.oz-orders .primary { background:#32684f; border-color:#32684f; }
.oz-orders .primary:hover:not(:disabled), .oz-orders .primary:focus-visible { background:#9b302c; border-color:#9b302c; }
.oz-orders-tabs button.is-active { background:#32684f; }
.oz-order-guide { font-size:12px; line-height:1.8; color:#415647; margin:4px 0 14px; }
.oz-order-status-tabs { display:flex; gap:4px; flex-wrap:wrap; border-bottom:1px solid #bdcbbf; margin-bottom:16px; }
.oz-order-status-tabs button { padding:10px 14px; border:0; border-bottom:3px solid transparent; background:transparent; color:#415647; font-weight:600; }
.oz-order-status-tabs button.is-active { border-bottom-color:#32684f; color:#285d3f; }
.oz-order-status-tabs button:hover, .oz-order-status-tabs button:focus-visible { color:#9b302c; background:#f8e7df; border-bottom-color:#9b302c; }
.oz-order-pack-dialog { max-width:520px; width:calc(100vw - 32px); color:#22352c; }
.oz-order-pack-dialog p { line-height:1.7; font-size:13px; }
.oz-order-pack-dialog .oz-order-heading-actions { justify-content:flex-end; margin-top:18px; }
.ink-shell.v40-shell .oz-orders .oz-orders-table th { background:#e4ebe5; color:#314c3a; }
.ink-shell.v40-shell .oz-orders .oz-orders-table td { background:#fffef6; color:#22352c; }
.ink-shell.v40-shell .oz-orders .oz-orders-table tbody tr:is(:hover,.is-selected)>td { background:#f8e7df; }
.ink-shell.v40-shell .oz-orders .oz-orders-table .oz-order-detail-row>td { background:#f1f5ed; }

/* v49: compact store select, independent product image/SKU column and nonblocking batch actions. */
.oz-orders-table { min-width: 1200px; }
.oz-orders-table th:nth-child(1) { width: 40px; }
.oz-orders-table th:nth-child(2) { width: 15%; }
.oz-orders-table th:nth-child(3) { width: 9%; }
.oz-orders-table th:nth-child(4) { width: 14%; }
.oz-orders-table th:nth-child(5) { width: 86px; }
.oz-orders-table th:nth-child(6) { width: 28%; }
.oz-orders-table th:nth-child(7) { width: 5%; }
.oz-orders-table th:nth-child(8) { width: 9%; }
.oz-orders-table th:nth-child(9) { width: 85px; }
.oz-order-check input { width: 17px; height: 17px; accent-color: #375e47; cursor: pointer; }
.oz-order-batch { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:12px 14px; background:#eef2ec; border:1px solid #c9d4c8; border-radius:6px; margin:12px 0; font-size:13px; }
.oz-order-batch small { color:#4b6153; }
.oz-orders-table .oz-order-products { white-space:normal; overflow:visible; }
.oz-order-product-line { min-height:80px; display:flex; flex-direction:column; justify-content:center; gap:5px; padding:6px 0; }
.oz-order-product-line + .oz-order-product-line { border-top:1px solid #dfe6df; }
.oz-order-images img { width:64px; height:64px; object-fit:contain; border:1px solid #d9e0d8; border-radius:5px; background:#fff; }
.oz-order-no-image { display:flex; align-items:center; justify-content:center; width:64px; height:64px; background:#f0f2ec; border:1px dashed #c3cdc0; border-radius:5px; color:#586858; font-size:11px; }
.oz-order-offer { font-size:14px; line-height:1.4; color:#263d2f; overflow-wrap:anywhere; }
.oz-order-offer span { font-size:12px; color:#536454; font-weight:normal; }
.oz-order-product-name { color:#4a5d50; line-height:1.5; font-size:12px; overflow-wrap:anywhere; }
.oz-order-confirm-list { max-height:240px; overflow:auto; }
.oz-order-confirm-list small { display:block; }
.oz-order-history-lists { max-height:420px; overflow:auto; }
.oz-order-log { overflow-wrap:anywhere; }
@media(max-width:760px) { .oz-order-batch small { flex-basis:100%; } .oz-order-history-lists { max-height:350px; } }
/* v49 shares the catalog's three-step selection panel. */
.oz-orders .oz-order-filter-panel { margin-top:8px; }
.oz-orders .seller-workflow-row .oz-orders-tabs { margin:0; }
.oz-orders .seller-workflow-row .oz-orders-tabs button { min-width:52px; height:34px; font-size:11px; }
.oz-orders .seller-workflow-row .oz-orders-tabs button.is-active { background:#32684f; }
.oz-orders .seller-store-filter>strong { margin-right:3px; }
.oz-orders .seller-workflow-row .seller-search { max-width:310px; }
.oz-orders .seller-warehouse-options { box-sizing:border-box; }
.oz-orders .seller-filter-panel { z-index:8; }
@media(max-width:680px){
 .oz-orders .seller-filter-panel { padding:13px; }
 .oz-orders .seller-warehouse-filter { min-width:0; width:100%; }
 .oz-orders .seller-warehouse-options { width:100%; max-width:100%; }
 .oz-orders .seller-workflow-row .seller-search { flex-basis:100%; max-width:none; }
 .oz-orders .seller-attribute-filters>label { max-width:100%; }
}

/* v49: align the orders workspace with the catalog's page margins and separate surfaces. */
.ink-shell.v40-shell .ozon-v49.oz-orders { padding:28px 20px 32px; box-sizing:border-box; }
.oz-orders .oz-orders-heading { margin-bottom:24px; gap:24px; }
.oz-orders .oz-orders-heading h2 { margin:10px 0 12px; font-size:28px; }
.oz-orders .oz-order-description { margin:0; color:#617260; font-size:13px; line-height:1.8; }
.oz-orders .oz-order-heading-actions { gap:10px; }
.oz-orders .oz-order-filter-panel { margin:0 0 22px; padding:20px; border-radius:8px; }
.oz-orders .seller-store-filter { gap:10px; margin-bottom:20px; }
.oz-orders .seller-workflow-row { gap:12px; margin-top:16px; }
.oz-orders .seller-workflow-row .seller-search { max-width:420px; }
.oz-orders .oz-order-board { border:1px solid #cbd6c0; border-radius:8px; background:#fffdf6; box-shadow:0 3px 12px #3d554608; overflow:hidden; }
.oz-orders .oz-order-guide { padding:16px 20px 0; margin:0 0 10px; color:#71816e; font-size:11px; }
.oz-orders .oz-order-status-tabs { padding:0 14px; margin:0; gap:12px; background:transparent; }
.oz-orders .oz-order-status-tabs button { padding:16px 12px; font-size:15px; }
.oz-orders .oz-order-batch { margin:0; padding:16px 20px; border:0; border-bottom:1px solid #e3e9dd; border-radius:0; background:#f8faf3; gap:12px; }
.oz-orders .oz-order-batch small { margin-left:auto; max-width:420px; font-size:11px; line-height:1.8; }
.oz-orders .oz-orders-count { margin:0; padding:18px 20px; gap:14px; }
.oz-orders .oz-orders-table { min-width:1180px; }
.oz-orders .oz-orders-table th { height:46px; padding:12px; }
.oz-orders .oz-orders-table td { padding:18px 12px; line-height:1.7; }
.oz-orders .oz-orders-table th:nth-child(1) { width:44px; }
.oz-orders .oz-orders-table th:nth-child(2) { width:17%; }
.oz-orders .oz-orders-table th:nth-child(3) { width:116px; }
.oz-orders .oz-orders-table th:nth-child(4) { width:14%; }
.oz-orders .oz-orders-table th:nth-child(5) { width:96px; }
.oz-orders .oz-orders-table th:nth-child(6) { width:30%; }
.oz-orders .oz-orders-table th:nth-child(7) { width:50px; }
.oz-orders .oz-orders-table th:nth-child(8) { width:10%; }
.oz-orders .oz-orders-table th:nth-child(9) { width:92px; }
.oz-orders .oz-order-product-line { min-height:82px; gap:8px; }
.oz-orders .oz-order-images img,.oz-orders .oz-order-no-image { width:72px; height:72px; }
.oz-orders .oz-order-product-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.oz-orders .oz-order-product-price { color:#365b45; font-size:12px; font-weight:600; }
.oz-orders .oz-order-total-price { display:block; margin-top:5px; color:#365b45; font-size:11px; white-space:nowrap; }
.oz-orders .oz-order-print-count { color:#2563ae; font-size:11px; font-weight:600; white-space:nowrap; margin-top:9px; }
.oz-orders .oz-order-label-failed { display:block; color:#a33428; font-size:11px; font-weight:700; white-space:nowrap; margin-top:7px; }
.oz-orders .oz-orders-pagination { margin:0; padding:18px 20px; }
.oz-order-skeleton { display:grid; gap:15px; padding:18px; }
.oz-order-skeleton i { display:block; height:14px; border-radius:4px; background:#edf1e8; }
.oz-order-skeleton i:nth-child(2) { width:80%; }
.oz-order-skeleton i:nth-child(3) { width:60%; }
@media(max-width:760px){
 .ink-shell.v40-shell .ozon-v49.oz-orders { padding:20px 12px; }
 .oz-orders .oz-order-filter-panel { padding:14px; }
 .oz-orders .oz-order-batch small { margin-left:0; max-width:none; }
 .oz-orders .oz-order-status-tabs { gap:0; }
 .oz-orders .oz-order-status-tabs button { padding:12px 10px; font-size:13px; }
 .oz-orders .oz-orders-heading h2 { font-size:25px; }
 .oz-orders .seller-workflow-row .seller-search { max-width:100%; }
}
