/* NEXORA shipping center - v2.4 true application layout, original dark-blue palette */
.ship-page{--s-border:#145177;--s-muted:#8eb7d2;--s-bg:#031b2d;display:grid;gap:14px;min-width:0;padding:15px 0 32px;color:#eaf4ff;font-family:inherit;font-size:12px}
body.route-shipping .main-content{padding-right:17px;padding-left:17px}
.ship-page .icon{width:17px;height:17px}
.ship-head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:51px}
.ship-head h1{font-size:26px;line-height:1.2;font-weight:750;color:#f1f8ff;letter-spacing:.4px}
.ship-head h1>span{font-size:12px;font-weight:400;letter-spacing:.3px;color:#a4cce8;margin-left:14px;vertical-align:4px;white-space:nowrap}
.ship-head p{font-size:11px;color:#78abc9;margin-top:5px}
.ship-head-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}
.ship-live{color:#13d9ac;font-size:11px;border:1px solid #087c72;padding:7px 11px;border-radius:25px;background:#003b3970}
.ship-live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:5px}
.ship-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.ship-metric{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #195a80;border-radius:10px;padding:14px 13px;min-height:98px;min-width:0;background:linear-gradient(125deg,#06314e,#042139 72%,#031b2e);box-shadow:inset 0 1px 0 #1d698a3d;transition:transform .15s,border-color .15s}
.ship-metric:hover{border-color:#4c9dca;transform:translateY(-1px)}
.ship-metric-ico{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#0b3e5d;box-shadow:0 2px 10px #0003}
.ship-metric-ico>.icon{width:26px;height:26px}
.ship-metric-copy{display:grid;gap:3px;min-width:0}
.ship-metric-copy>span{color:#b5d6eb;font-size:13px;white-space:nowrap}
.ship-metric strong{font-size:28px;font-weight:730;line-height:32px;letter-spacing:.4px;color:#f1f7ff}
.ship-tone-gold .ship-metric-ico{color:#ffd478}.ship-tone-blue .ship-metric-ico{color:#70c6fc}.ship-tone-green .ship-metric-ico{color:#10dfb7}
.ship-tabs{display:flex;align-items:stretch;min-height:48px;border:1px solid #145177;border-radius:9px;overflow-x:auto;background:#061e32;scrollbar-width:thin}
.ship-tabs button{font-size:13px;font-weight:620;padding:12px 18px;color:#a8c8e3;white-space:nowrap;flex:1;min-width:95px;border-right:1px solid #143852;position:relative}
.ship-tabs button:last-child{border-right:0}.ship-tabs button.active{color:#ffd17f;background:linear-gradient(#20435a,#0b2e46)}
.ship-tabs button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#f8c06f}
.ship-tabs button small{margin-left:8px;border-radius:10px;background:#114c71;color:#c7e2f4;font-size:10px;padding:2px 7px}
.ship-tabs button:hover{background:#0e3652}
.ship-filters{display:flex;align-items:end;flex-wrap:wrap;gap:11px;border:1px solid #155579;border-radius:9px;padding:12px 13px;background:#03233b}
.ship-filters label{display:grid;gap:5px;font-size:10px;color:#8cb7d7}
.ship-filters select,.ship-filters input,.ship-form input{height:36px;border:1px solid #1a608a;background:#06273e;color:#e0f0ff;border-radius:6px;padding:6px 10px;min-width:0;font-size:12px}
.ship-filters select{min-width:145px;max-width:175px}.ship-filters .ship-search{flex:1;min-width:210px}.ship-search input{width:100%}
.ship-filters .ship-date{display:block}.ship-date>span{display:block;margin-bottom:5px}.ship-date input{width:130px;color-scheme:dark}.ship-date i{font-size:14px;color:#8cc1dc;margin:0 2px;font-style:normal}
.ship-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 12px;border:1px solid #24749b;border-radius:6px;color:#c3e4ff;background:linear-gradient(145deg,#0a4469,#06304f);font-size:11px;white-space:nowrap;transition:background .15s,border-color .15s}
.ship-btn:hover{border-color:#7dc8f5;background:#0b5379}.ship-btn:disabled{opacity:.43;cursor:not-allowed}
.ship-btn.ship-gold{background:linear-gradient(140deg,#ffd28a,#e9a64d);border-color:#edb467;color:#1e3043;font-weight:700}.ship-btn.ship-gold:hover{background:#ffdaa1}
.ship-search-btn{background:#166b9c}.ship-reset{background:#06253a}
.ship-panel{min-width:0;border:1px solid #145378;border-radius:10px;background:#021b2e;overflow:hidden}
.ship-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;min-height:59px;background:linear-gradient(120deg,#062b46,#032238)}
.ship-panel-toolbar>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.ship-panel-toolbar strong{font-size:15px;white-space:nowrap}
.ship-panel-hint{font-size:11px;color:#91b8d7;white-space:nowrap}.ship-toolbar-actions{display:flex;align-items:center;gap:8px}
.ship-overflow{overflow:auto;width:100%;scrollbar-color:#245474 #03182a;max-height:600px}
.ship-table{width:100%;border-collapse:collapse;table-layout:auto;min-width:1250px}
.ship-table th{font-size:11px;text-align:left;font-weight:550;color:#a9cee5;background:#104260;padding:11px 9px;white-space:nowrap;position:sticky;top:0;z-index:1}
.ship-table td{padding:9px 9px;border-bottom:1px solid #12435e;line-height:1.5;vertical-align:middle;white-space:nowrap;font-size:11px}
.ship-table tr:nth-child(even) td{background:#05243a}.ship-table tr:hover td{background:#0a3957}
.ship-table th:first-child,.ship-table td:first-child{width:34px;padding-left:14px}
.ship-table input[type=checkbox]{width:14px;height:14px;accent-color:#e6aa52;cursor:pointer}
.ship-table td small{display:block;font-size:10px;line-height:1.45;margin-top:3px;color:#84afcd;font-weight:400;white-space:nowrap;max-width:240px;overflow:hidden;text-overflow:ellipsis}
.ship-order-no{font-weight:700;color:#f3f8ff;font-size:11.5px}
.ship-product{display:flex;align-items:center;gap:9px;min-width:0;max-width:360px}
.ship-product img,.ship-no-photo{display:flex;flex:none;align-items:center;justify-content:center;width:43px;height:43px;background:#f1f5fb;border-radius:6px;object-fit:contain}
.ship-no-photo{background:#113f5b;color:#82b1d0;font-size:10px}
.ship-product-copy{min-width:0;display:flex;flex-direction:column}.ship-product-copy>b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:600;max-width:230px;color:#d7edfe}
.ship-product-copy small{max-width:230px}
.ship-sku{font-size:11.5px;color:#c5dff5;font-weight:650}.ship-qty{font-weight:720;font-size:13px!important;color:#f8faff}
.ship-stock{white-space:nowrap;display:inline-block;border-radius:5px;font-size:10px;padding:4px 7px;background:#4a2e1655;border:1px solid #8e672d;color:#ffce77}.ship-stock.ok{color:#1ddeb0;background:#02493c55;border-color:#00866d}
.ship-deadline{color:#d0e5f4;font-size:10.5px!important}.ship-deadline small{color:#8fb2c8}.ship-deadline .ship-urgent,.ship-deadline .ship-overdue{color:#ffba66}
.ship-status{display:inline-block;padding:5px 8px;border-radius:5px;border:1px solid #28729d;color:#bde5fa;background:#0b4261;font-size:10.5px;font-weight:600}
.ship-status.purchasing,.ship-status.packing{background:#56371366;border-color:#92632b;color:#fdd28a}
.ship-status.ready{background:#104f7855;border-color:#2c76a4;color:#8bd2ff}.ship-status.pickup{background:#3d391d99;border-color:#857638;color:#ffd778}
.ship-status.delivered{background:#034c3b;border-color:#0d9a75;color:#38f0b8}.ship-status.exception{background:#51263077;border-color:#944351;color:#ff9fa7}
.ship-actions{min-width:148px}.ship-action{font-size:10.5px;min-height:28px;padding:5px 7px;margin-right:5px;background:#073653;color:#9bd4fa;border:1px solid #23688e;border-radius:4px;white-space:nowrap}
.ship-action.primary{background:linear-gradient(#146aa0,#0b4e79);color:#e6f5ff;border-color:#2983b6}.ship-action.quiet{background:transparent;color:#93bad7;border-color:#27516d}
.ship-action:hover{border-color:#9ed2f5}.ship-dim{color:#83a7c1}.ship-empty{padding:46px!important;text-align:center;color:#83acc9;white-space:normal!important}
.ship-pages{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;font-size:11px;color:#8db5d3}.ship-pages>div{display:flex;align-items:center;gap:9px}
.ship-bottom-grid{display:grid;gap:13px}.ship-job-section,.ship-workflow{border:1px solid #14517a;border-radius:10px;background:linear-gradient(110deg,#03243d,#041d31);padding:15px 18px}
.ship-bottom-title{display:flex;justify-content:space-between;gap:12px;align-items:center}.ship-bottom-title h2,.ship-workflow h2{font-size:15px;font-weight:700;display:flex;align-items:center;gap:8px}
.ship-bottom-title>span,.ship-workflow h2 small{color:#85b4d3;font-size:10px;font-weight:400}
.ship-job-list{display:grid;gap:8px;margin-top:10px}.ship-job{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #13506f;padding:9px 0 1px;font-size:11px}
.ship-job-link{color:#70c8f9;font-size:11px;text-decoration:underline;cursor:pointer}.ship-err{color:#ffa0a0}
.ship-workflow h2 small{margin-left:5px}.ship-workflow-items{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}
.ship-workflow-step{display:flex;align-items:center;gap:8px;color:#bad9eb;font-size:11px;white-space:nowrap}.ship-workflow-step .icon{width:24px;height:24px;color:#66c2f1}.ship-workflow-items>b{color:#72a5c3;font-size:19px;font-weight:400}
#ship-dialog[hidden]{display:none}.ship-popup{position:fixed;inset:0;z-index:110;background:#000b;display:flex;align-items:center;justify-content:center;padding:20px}
.ship-dialog{position:relative;max-width:650px;max-height:90vh;overflow:auto;width:100%;background:#062a43;border:1px solid #347ba1;border-radius:12px;padding:24px;display:grid;gap:12px;box-shadow:0 22px 70px #0008}
.ship-dialog h2{font-size:20px}.ship-dialog p{font-size:12px;color:#a5c7e2}.ship-dialog-x{position:absolute;top:6px;right:12px;font-size:24px}.ship-items{padding:12px;background:#032238;border:1px solid #265270;border-radius:6px;display:grid;gap:8px;font-size:12px}.ship-dialog-actions{display:flex;gap:10px;justify-content:flex-end}
.ship-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ship-form label{display:grid;gap:5px;color:#b4d5eb}.ship-form label.ship-full,.ship-form .ship-full{grid-column:1/-1}.ship-form input[type=checkbox]{height:auto;min-height:0}
@media(max-width:1450px){.ship-head h1>span{display:block;margin-left:0;margin-top:3px}.ship-metric{gap:8px;padding:12px 10px}.ship-metric-ico{width:38px;height:38px}.ship-metric-copy>span{font-size:11px}.ship-filters .ship-date input{width:118px}.ship-workflow-step{font-size:10px}}
@media(max-width:1150px){.ship-metrics{grid-template-columns:repeat(3,1fr)}.ship-workflow-items{overflow:auto}.ship-tabs button{padding:12px 11px}}
@media(max-width:700px){.ship-head{align-items:flex-start;flex-direction:column}.ship-head-actions{width:100%;justify-content:space-between}.ship-metrics{grid-template-columns:repeat(2,1fr)}.ship-filters .ship-search{flex:1 1 100%}.ship-filters .ship-date{width:100%}.ship-panel-toolbar{align-items:flex-start;flex-direction:column}.ship-panel-toolbar>div:first-child{flex-wrap:wrap}.ship-workflow-items{min-width:0}.ship-form{grid-template-columns:1fr}}

/* Pending preparation only: no other order status tabs or PDF task history */
.ship-pending-only .ship-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.ship-pending-only .ship-metric{min-height:84px}
.ship-pending-only .ship-table{min-width:1050px}
.ship-pending-only .ship-table th:first-child,.ship-pending-only .ship-table td:first-child{width:auto;padding-left:14px}
.ship-only-note{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #1d5272;border-radius:8px;background:#082940;color:#a7d4ec;font-size:12px}
.ship-only-note .icon{color:#ffd084}
@media(max-width:700px){.ship-pending-only .ship-metrics{grid-template-columns:1fr 1fr}.ship-only-note{font-size:11px}}

/* shipment detail-specific tables */
.ship-six-status .ship-table.ship-table-compact{min-width:900px!important;table-layout:auto}
.ship-six-status .ship-table-compact td{padding-top:13px;padding-bottom:13px;white-space:normal}
.ship-six-status .ship-table-compact td small{max-width:260px;white-space:normal;overflow-wrap:anywhere}
.ship-current-node{color:#2163b5;font-size:12px;font-weight:750;white-space:normal}
.ship-node-time{font-weight:650;font-size:12px;color:#29415d;white-space:normal}
.ship-cancel-reason{font-size:12px;color:#be5c41;overflow-wrap:anywhere}
.ship-row-transit .ship-product,.ship-row-delivered .ship-product,.ship-row-cancelled .ship-product{max-width:320px}
.ship-row-transit .ship-actions,.ship-row-delivered .ship-actions,.ship-row-cancelled .ship-actions{min-width:78px}
.ship-row-transit .ship-actions button,.ship-row-delivered .ship-actions button,.ship-row-cancelled .ship-actions button{margin:0}

/* Ozon batch workflows (2026-11-11): new controls inherit the unified ERP theme. */
.ship-six-status .ship-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.ship-job-results{padding:13px 16px;border-top:1px solid #c9d5e5;border-bottom:1px solid #c9d5e5;background:#f5f8fc;display:grid;gap:9px;color:#294663;font-size:12px}
.ship-job-results>strong{font-size:13px;color:#1b3652}
.ship-job-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:8px;border-bottom:1px solid #e2eaf3;line-height:1.5}
.ship-job-line:last-child{border-bottom:0;padding-bottom:0}
.ship-job-line>a{color:#1463a4;font-weight:650;text-decoration:underline}
.ship-job-line>span{color:#465b73}
.ship-warning{line-height:1.7;padding:11px 12px;border:1px solid #dfbc75;border-radius:7px;background:#fff8ea;color:#8e521a!important}
.ship-six-status .ship-label-pending{display:inline-block;padding:5px 7px;border:1px solid #f0cdb3;border-radius:6px;color:#985b28;background:#fff5eb;font-size:11px}
.ship-six-status .ship-select{width:36px!important;min-width:36px!important;text-align:center}
.ship-six-status .ship-job-line .ship-action{margin-left:auto}
@media(max-width:800px){.ship-six-status .ship-toolbar-actions{justify-content:flex-start}.ship-job-line{align-items:flex-start}.ship-job-line .ship-action{margin-left:0}}

/* Focus the exact posting after real Ozon confirmation without changing existing layout. */
.ship-six-status .ship-follow-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 15px;border-bottom:1px solid #b9d1e9;background:#ecf5ff;color:#225279;font-size:12px}
.ship-six-status .ship-follow-notice strong{color:#155095;font-weight:750}
.ship-six-status .ship-follow-notice .ship-action{margin-left:auto;color:#27609b;border-color:#a5c2db}
.ship-six-status .ship-follow-notice.pending{background:#fff9e9;color:#8f6621;border-color:#ebd9ac}
.ship-six-status .ship-table tr.ship-follow-highlight td{background:#e4f2ff!important;box-shadow:inset 0 1px #aad1f5,inset 0 -1px #aad1f5}
.ship-six-status .ship-table tr.ship-follow-highlight td:first-child{box-shadow:inset 3px 0 #206bcb,inset 0 1px #aad1f5,inset 0 -1px #aad1f5}

/* OGL/other logistics workflow: clear method labels and pickup fields. */
.ship-six-status .ship-logistics-cell{min-width:144px;white-space:normal}
.ship-six-status .ship-logistics-cell small{max-width:195px;white-space:normal;overflow-wrap:anywhere}
.ship-six-status .ship-logistics-type{display:inline-flex;border-radius:6px;border:1px solid #c5d7e8;background:#e9f2fb;color:#22486e;padding:3px 6px;font-size:11px;font-weight:650}
.ship-six-status .ship-logistics-type.ogl{color:#066d53;border-color:#9ddac7;background:#e7f9ef}
.ship-six-status .ship-form select{height:36px;border:1px solid #bad2e4;background:#fff;border-radius:6px;color:#23435c;padding:6px 10px;font-size:12px}
.ship-six-status .ship-form .ship-trusted{display:flex;align-items:flex-start;gap:9px;line-height:1.65}
.ship-six-status .ship-form .ship-trusted input{width:17px;height:17px;flex:none;margin-top:2px}
.ship-carriage-results{padding:12px 15px;background:#f0f7ff;border-bottom:1px solid #cee2f3;display:grid;gap:9px;font-size:12px;color:#24425d}
.ship-carriage-results>strong{font-size:13px}
.ship-six-status .ship-filters select[name="logistics"]{min-width:205px;max-width:320px}
