.orders-section #ordersRoot{font:12px/1.3 Arial,sans-serif;color:#1f304d;--order-line:#d5e0ed;--order-blue:#244e91;--order-bg:#f1f6fd}
.orders-section #ordersRoot *{box-sizing:border-box}
.orders-section #ordersRoot button,.orders-section #ordersRoot input,.orders-section #ordersRoot select{font:inherit;min-height:26px;height:28px;margin:0;padding:3px 7px;border:1px solid #b8cbe4;border-radius:4px;box-shadow:none;line-height:1.25}
.orders-section #ordersRoot input,.orders-section #ordersRoot select{background:#fff;color:#1f304d;width:100%;min-width:0;max-width:100%}
.orders-section #ordersRoot button{cursor:pointer;background:#fff;color:#244e91;width:auto;white-space:nowrap}
.orders-section #ordersRoot button:disabled{cursor:default;opacity:.55}
.orders-section #ordersRoot button:focus-visible,.orders-section #ordersRoot input:focus-visible,.orders-section #ordersRoot select:focus-visible,.orders-section #ordersRoot summary:focus-visible{outline:2px solid #3777c9;outline-offset:2px}
.orders-section #ordersRoot [aria-pressed=true]{background:#dce9fb;color:#173b76;border-color:#7ca1d3}
.orders-section #ordersRoot .order-toggle{min-width:40px;padding:3px 8px}
.orders-section #ordersRoot .order-toggle[aria-pressed=true]{background:#26823b;color:#fff;border-color:#247439}
.orders-section #ordersRoot .orders-bar,.orders-section #ordersRoot .orders-search,.orders-section #ordersRoot .orders-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:7px 0}
.orders-section #ordersRoot .orders-bar>div,.orders-section #ordersRoot .orders-return-tabs,.orders-section #ordersRoot .orders-search>div{display:flex;gap:4px;flex-wrap:wrap}
.orders-section #ordersRoot .orders-bar>div{margin-right:auto}
.orders-section #ordersRoot .orders-search input{flex:1;min-width:180px;height:30px}
.orders-section #ordersRoot .orders-footer{justify-content:space-between}
.orders-section #ordersRoot .orders-message{font-size:12px;min-height:0;margin:5px 0;white-space:pre-wrap}
.orders-section #ordersRoot .orders-message:empty{display:none}
.orders-section #ordersRoot .orders-table-wrap{overflow:auto;max-width:100%}
.orders-section #ordersRoot table{border-collapse:collapse;width:100%;white-space:nowrap;font:12px/1.3 Arial,sans-serif;font-variant-numeric:tabular-nums}
.orders-section #ordersRoot th{font-size:11px;font-weight:600;text-align:left;background:#e8eff9;color:#16315a}
.orders-section #ordersRoot td,.orders-section #ordersRoot th{padding:4px 7px;border-bottom:1px solid var(--order-line)}
.orders-section #ordersRoot tbody>tr:not(.orders-detail) td{height:31px}
.orders-section #ordersRoot .order-returned>td{background:#fff0eb}
.orders-section #ordersRoot .order-row-expanded>td{background:#dceafb;border-top:1px solid #80a6df;border-bottom:0}
.orders-section #ordersRoot .orders-warehouse th{padding:6px 7px;font-weight:700;background:#e1eae6;border-top:1px solid #b9c9c1}
.orders-section #ordersRoot .order-audit{display:block;line-height:1.15}
.orders-section #ordersRoot .order-audit small{display:block;font-size:10px;color:#536675}
.orders-section #ordersRoot .order-delivery-status{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.orders-section #ordersRoot .order-expand{border:0;background:transparent;min-width:22px;padding:1px 3px}
.orders-section #ordersRoot .orders-detail>td{padding:0 0 8px;white-space:normal;border:0;background:#fff}
.orders-section #ordersRoot .order-card{width:var(--orders-viewport,100%);position:sticky;left:0;padding:6px 9px 8px;border:1px solid #80a6df;border-top:0;border-radius:0 0 6px 6px;background:linear-gradient(110deg,#f4f8ff,#edf4fd);overflow:visible}
.orders-section #ordersRoot .order-card>header{display:flex;align-items:center;justify-content:space-between;min-height:25px;padding:0 3px 4px;color:#123768}
.orders-section #ordersRoot .order-detail-grid{display:grid;grid-template-columns:1.03fr 1.12fr .82fr 1.1fr;gap:0;align-items:stretch;max-width:none}
.orders-section #ordersRoot .order-zone{min-width:0;padding:0 8px 5px;border-right:1px solid var(--order-line)}
.orders-section #ordersRoot .order-zone:first-child{padding-left:0}
.orders-section #ordersRoot .order-zone:last-child{border-right:0;padding-right:0}
.orders-section #ordersRoot .order-card h3{font-size:12px;font-weight:700;line-height:1.3;color:#173d70;background:#e0eaf8;border-radius:3px;padding:4px 7px;margin:0 0 4px}
.orders-section #ordersRoot .order-zone dl{margin:0;display:block}
.orders-section #ordersRoot .order-data-row{display:grid;grid-template-columns:minmax(75px,.9fr) minmax(0,1.25fr);align-items:center;min-height:23px;padding:2px 6px;gap:5px}
.orders-section #ordersRoot .order-data-row:nth-child(even){background:#e8f0fa}
.orders-section #ordersRoot .order-data-row dt{font-weight:400;color:#42556e;margin:0}
.orders-section #ordersRoot .order-data-row dd{margin:0;min-width:0;overflow-wrap:anywhere}
.orders-section #ordersRoot .order-data-row dd span{font-size:11px}
.orders-section #ordersRoot .order-data-row input{height:25px;min-height:25px;font-size:11px}
.orders-section #ordersRoot .order-product{display:flex;align-items:flex-start;gap:7px;min-height:44px;margin:1px 4px}
.orders-section #ordersRoot .order-product dl{flex:1;min-width:0}
.orders-section #ordersRoot .order-product-photo{object-fit:contain;flex:0 0 48px;background:#fff;border-radius:4px;border:1px solid #d8e1ed}
.orders-section #ordersRoot .order-product .order-data-row{grid-template-columns:48px 1fr}
.orders-section #ordersRoot .order-shipment .order-data-row:last-child dd{font-size:11px;line-height:1.15}
.orders-section #ordersRoot .order-receipt-ok{color:#25723b;font-weight:600;white-space:nowrap}
.orders-section #ordersRoot .order-receipt-input{display:flex;align-items:center;gap:3px;min-width:0}
.orders-section #ordersRoot .order-receipt-input input{flex:1;width:0}
.orders-section #ordersRoot .order-prepayment-input{display:flex;align-items:center;gap:4px;min-width:115px}
.orders-section #ordersRoot .order-prepayment-input>input{flex:1;width:70px;min-width:55px;max-width:100px;text-align:right}
.orders-section #ordersRoot .order-prepayment-preview{max-width:min(90vw,900px);max-height:90vh;padding:12px;border:1px solid #b8cbe4;border-radius:8px}
.orders-section #ordersRoot .order-prepayment-preview img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin-top:8px}
.orders-section #ordersRoot .order-prepayment-preview::backdrop{background:#15294e66}
.orders-section #ordersRoot .order-card-tools{display:flex;align-items:center;gap:6px}
.orders-section #ordersRoot .orders-accounting-controls,.orders-section #ordersRoot .orders-waybill{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0}
.orders-section #ordersRoot .orders-accounting-controls[hidden],.orders-section #ordersRoot .orders-statistics[hidden]{display:none}
.orders-section #ordersRoot .orders-accounting-controls input,.orders-section #ordersRoot .orders-accounting-controls select{width:auto}
.orders-section #ordersRoot .orders-statistics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:6px;margin:8px 0}
.orders-section #ordersRoot .orders-statistics>div{padding:6px 9px;border:1px solid #ccd9eb;border-radius:5px;background:#f2f6fc}
.orders-section #ordersRoot .orders-statistics span{display:block;font-size:11px;color:#526681}.orders-section #ordersRoot .orders-statistics strong{font-size:15px}
.orders-section #ordersRoot .orders-statistics>small{grid-column:1/-1;color:#526681}
.orders-section #ordersRoot .orders-waybill input{width:min(360px,100%)}.orders-section #ordersRoot .orders-waybill-matches{flex-basis:100%;display:flex;flex-wrap:wrap;gap:5px}
.orders-section #ordersRoot .order-attach,.orders-section #ordersRoot .order-proof-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #b8cbe4;border-radius:4px;background:#fff;overflow:hidden}
.orders-section #ordersRoot .order-attach{width:26px;height:25px;flex:0 0 26px}
.orders-section #ordersRoot .order-attach input,.orders-section #ordersRoot .order-proof-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;padding:0;width:100%;height:100%}
.orders-section #ordersRoot .order-events{margin-top:5px}
.orders-section #ordersRoot .order-events h3{margin-bottom:0;padding:3px 6px}
.orders-section #ordersRoot .order-events table{table-layout:fixed;white-space:normal;font-size:10px}
.orders-section #ordersRoot .order-events td,.orders-section #ordersRoot .order-events th{font-size:10px;line-height:1.2;padding:3px 4px;height:21px!important;border:1px solid var(--order-line);font-weight:400}
.orders-section #ordersRoot .order-events thead th{font-weight:600}
.orders-section #ordersRoot .order-events tbody th{background:transparent}
.orders-section #ordersRoot .order-returns{border-top:1px solid var(--order-line);padding-top:6px;margin-top:3px}
.orders-section #ordersRoot .order-return-grid{display:grid;grid-template-columns:.8fr 1.15fr 1.1fr .85fr .65fr .7fr 1.25fr .85fr;gap:0;align-items:start}
.orders-section #ordersRoot .order-return-field{min-width:0;padding:1px 9px;border-right:1px solid var(--order-line)}
.orders-section #ordersRoot .order-return-field:first-child{padding-left:4px}
.orders-section #ordersRoot .order-return-field:last-child{border:0;padding-right:0}
.orders-section #ordersRoot .order-return-field>span{display:block;font-size:10px;line-height:1.2;margin-bottom:4px;min-height:12px;color:#2a4568}
.orders-section #ordersRoot .order-return-field>div{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-height:28px}
.orders-section #ordersRoot .order-return-field small{font-size:10px;color:#526681}
.orders-section #ordersRoot .order-status-received{color:#247537;background:#e0f1e4;padding:4px 6px;border-radius:4px;font-size:11px}
.orders-section #ordersRoot .order-proof-upload{width:43px;height:28px;font-size:20px}
.orders-section #ordersRoot .order-proof-upload img{object-fit:contain;max-height:26px;max-width:40px}
.orders-section #ordersRoot .order-actions{position:relative;font-size:11px}
.orders-section #ordersRoot .order-actions summary{cursor:pointer;list-style:none;border:1px solid #b8cbe4;border-radius:4px;padding:3px 9px;background:#fff}
.orders-section #ordersRoot .order-actions>div{position:absolute;right:0;top:100%;z-index:4;display:grid;gap:3px;padding:5px;background:#fff;box-shadow:0 3px 12px #142d5424;border:1px solid var(--order-line);min-width:180px}
.orders-section #ordersRoot .order-history{font-size:10px;white-space:pre-wrap;max-height:150px;overflow:auto}
.orders-section #ordersRoot .order-history:not(:empty){border-top:1px solid var(--order-line);padding:6px}
.orders-section #ordersRoot [hidden]{display:none!important}
@media(max-width:1100px){.orders-section #ordersRoot .order-detail-grid{grid-template-columns:1fr 1fr;row-gap:8px}.orders-section #ordersRoot .order-zone:nth-child(2){border-right:0}.orders-section #ordersRoot .order-return-grid{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:8px}}
@media(max-width:600px){.orders-section #ordersRoot .order-detail-grid{grid-template-columns:1fr}.orders-section #ordersRoot .order-zone{border-right:0;padding:0 0 6px}.orders-section #ordersRoot .order-return-grid{grid-template-columns:1fr 1fr}.orders-section #ordersRoot .order-card{padding:6px}.orders-section #ordersRoot .orders-search>div{overflow:auto}}

.orders-section #ordersRoot .order-notes-input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:25px;height:25px;margin:0;padding:4px 7px;border:1px solid #b8cbe4;border-radius:4px;background:#fff;color:#1f304d;font:11px/16px Arial,sans-serif;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.orders-section #ordersRoot .order-notes-input:focus-visible{outline:2px solid #3777c9;outline-offset:2px}


/* Order passport theme: scoped to this module, including global table overrides. */
.orders-section.section{padding:12px 14px;border:1px solid #cad9f0;border-radius:8px;background:radial-gradient(ellipse at 20% 10%,#e6efff 0,transparent 55%),linear-gradient(125deg,#f2f6ff,#eaf2ff 65%,#f3f7ff);box-shadow:0 5px 20px #1c427810}
.orders-section>h2{font:700 20px/1.2 Arial,sans-serif;color:#112e64;margin:0 0 9px}
.orders-section #ordersRoot{color:#111d35;--order-line:#cbdcf3;--order-blue:#153fbb;--order-bg:#eaf2ff}
.orders-section #ordersRoot button,.orders-section #ordersRoot input,.orders-section #ordersRoot select,.orders-section #ordersRoot .order-notes-input{border-color:#aabfe9;border-radius:5px;background:linear-gradient(#fff,#f1f6ff);color:#15294e}
.orders-section #ordersRoot button{font-weight:600;box-shadow:inset 0 1px 0 #fff9}
.orders-section #ordersRoot button:hover:not(:disabled){border-color:#426ed0;background:#e0ebff}
.orders-section #ordersRoot button[aria-pressed=true]{background:linear-gradient(#2464f1,#1038ba);border-color:#1c4bce;color:#fff;box-shadow:inset 0 1px 0 #ffffff38,0 1px 3px #173ca12b}
.orders-section #ordersRoot .orders-bar{margin:5px 0 7px;padding:6px 8px;background:linear-gradient(110deg,#203f6c,#132a4c);border:1px solid #17365e;border-radius:6px;box-shadow:inset 0 1px 0 #ffffff20}
.orders-section #ordersRoot .orders-bar button{background:transparent;color:#edf4ff;border-color:transparent;box-shadow:none}
.orders-section #ordersRoot .orders-bar button:hover:not(:disabled){background:#ffffff14;border-color:#6a8bb9}
.orders-section #ordersRoot .orders-bar button[aria-pressed=true]{background:linear-gradient(#2080ec,#0960ba);border-color:#3a92ec;box-shadow:inset 0 1px 0 #ffffff30,0 2px 5px #071b3a66}
.orders-section #ordersRoot .orders-bar button[data-sync],.orders-section #ordersRoot .orders-bar button[data-tracking]{border-color:#5b789f;background:#ffffff09}
.orders-section #ordersRoot .orders-search{margin:5px 0 8px;gap:8px}
.orders-section #ordersRoot .orders-search input{background:#ffffffb8;border-color:#b8cbef}
.orders-section #ordersRoot .orders-table-wrap{border-radius:5px;background:#eef4ff80}
.orders-section #ordersRoot .orders-table-wrap>table{font-size:11px;line-height:1.25;color:#111d35}
.orders-section #ordersRoot .orders-table-wrap>table>thead th{padding:6px 5px;background:linear-gradient(#dce7f8,#d5e2f5);color:#101c34;border:0;border-bottom:1px solid #b7cbeb;font-weight:700}
.orders-section #ordersRoot .orders-table-wrap>table>tbody>tr:not(.orders-detail)>td{height:26px;padding:3px 5px;color:#111d35;border-bottom:1px solid #d4e1f5;background:#edf4ff66}
.orders-section #ordersRoot .orders-table-wrap>table>tbody>tr:not(.orders-detail):nth-child(even)>td{background:#e5effd80}
.orders-section #ordersRoot .orders-table-wrap>table>tbody>tr:not(.orders-detail):hover>td{background:#d6e7ff}
.orders-section #ordersRoot .orders-table-wrap>table>tbody>tr.order-row-expanded>td{background:linear-gradient(#cfe3ff,#c5ddfa);border-top:1px solid #85b2f1;border-bottom:0}
.orders-section #ordersRoot td[data-column="customer"],.orders-section #ordersRoot td[data-column="seller"]{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.orders-section #ordersRoot td[data-column="sourceNumber"],.orders-section #ordersRoot td[data-column="article"],.orders-section #ordersRoot td[data-column="ttn"]{font-weight:600}
.orders-section #ordersRoot .orders-warehouse th{padding:4px 6px;font-size:11px;color:#1b4585;background:linear-gradient(90deg,#ccdff7,#e1ecfc);border-top:1px solid #b5cbed;border-bottom:1px solid #c6d9f2}
.orders-section #ordersRoot .order-expand{height:18px;min-height:18px;min-width:16px;padding:0 2px;font-size:12px;line-height:16px;background:transparent;border:0;box-shadow:none;color:#18355d}
.orders-section #ordersRoot .order-delivery-status{display:inline-block;max-width:100px;font-size:10px;line-height:1.25;padding:2px 6px;border-radius:4px;background:#d5e5fc;color:#21477f}
.orders-section #ordersRoot .order-state-received{background:#d8efdc;color:#226b31}
.orders-section #ordersRoot .order-state-refused{background:#f8deda;color:#9b332b}
.orders-section #ordersRoot .order-state-light_return{background:#fff0d2;color:#885711}
.orders-section #ordersRoot .orders-detail>td{padding:0 0 5px;background:transparent}
.orders-section #ordersRoot .order-card{background:linear-gradient(115deg,#edf4ff,#e3eeff 70%,#edf4ff);border:1px solid #78a1ed;border-top:0;border-radius:0 0 6px 6px;padding:6px 8px 8px;box-shadow:0 2px 4px #274f8f0c}
.orders-section #ordersRoot .order-card>header{color:#102d78;min-height:25px;padding:0 5px 5px}
.orders-section #ordersRoot .order-card>header>strong{font-size:13px}
.orders-section #ordersRoot .order-detail-grid{gap:3px}
.orders-section #ordersRoot .order-zone{padding:0 0 4px;border:1px solid #c4d8f7;border-radius:4px;background:#eef5ff60;overflow:hidden}
.orders-section #ordersRoot .order-zone:first-child,.orders-section #ordersRoot .order-zone:last-child{padding:0 0 4px;border:1px solid #c4d8f7}
.orders-section #ordersRoot .order-card h3{display:flex;align-items:center;gap:6px;font-size:12px;color:#123397;background:linear-gradient(90deg,#d4e3fb,#dce9fd);border-radius:3px 3px 0 0;margin:0 0 3px;padding:4px 7px;line-height:1.25}
.orders-section #ordersRoot .order-card h3:before{content:'';display:inline-block;flex:0 0 16px;width:16px;height:16px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316378d' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M8 3v4m8-4v4M4 11h16m-12 4h3m2 0h3m-8 3h3'/%3E%3C/svg%3E")}
.orders-section #ordersRoot .order-data-row{min-height:22px;padding:2px 6px}
.orders-section #ordersRoot .order-data-row:nth-child(even){background:#dce8f980}
.orders-section #ordersRoot .order-data-row dt{color:#182b4d;font-weight:500}
.orders-section #ordersRoot .order-data-row dd{color:#101d32;font-weight:600}
.orders-section #ordersRoot .order-data-row dd input,.orders-section #ordersRoot .order-data-row dd textarea{font-weight:400}
.orders-section #ordersRoot .order-product{margin:4px 6px}
.orders-section #ordersRoot .order-product-photo{background:#dce7f7;border-color:#c8d8ef}
.orders-section #ordersRoot .order-events{margin:4px 4px 0}
.orders-section #ordersRoot .order-events h3{padding:3px 5px;margin-bottom:0}
.orders-section #ordersRoot .order-events td,.orders-section #ordersRoot .order-events th{color:#162747;background:#eef4ff;border-color:#c7d9f3}
.orders-section #ordersRoot .order-events thead th{background:#d9e7fc;color:#173a83;font-weight:700}
.orders-section #ordersRoot .order-events tbody th{background:#e5eefc}
.orders-section #ordersRoot .order-returns{margin-top:6px;padding-top:0;border:1px solid #c4d8f7;border-radius:4px;background:#eaf2ff90;overflow:hidden}
.orders-section #ordersRoot .order-return-grid{padding:3px 0 4px}
.orders-section #ordersRoot .order-return-field{border-right-color:#a5bfe7;padding-left:8px;padding-right:8px}
.orders-section #ordersRoot .order-return-field>span{color:#16315f;font-weight:600}
.orders-section #ordersRoot .order-toggle[aria-pressed=true]{background:linear-gradient(#299b25,#117b13);border-color:#198119;color:#fff}
.orders-section #ordersRoot .order-receipt-ok{color:#20712a}
.orders-section #ordersRoot .order-create-receipt{white-space:normal;font-size:10px;height:auto;min-height:25px;padding:3px 5px}
.orders-section #ordersRoot .order-actions summary,.orders-section #ordersRoot .order-attach,.orders-section #ordersRoot .order-proof-upload{background:linear-gradient(#fff,#e8f0ff);border-color:#aac2eb;color:#1c3982}
.orders-section #ordersRoot .orders-footer{color:#425b83;font-size:11px}
@media(max-width:1100px){.orders-section #ordersRoot .order-zone:nth-child(2){border-right:1px solid #c4d8f7}}

.orders-section #ordersRoot .order-client h3:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316378d%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D'12'%20cy%3D'7'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2022v-4a8%208%200%200%201%2016%200v4z'%2F%3E%3C%2Fsvg%3E")}
.orders-section #ordersRoot .order-shipment h3:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316378d%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D'M2%205h12v13H2zM14%2010h4l4%204v4h-8'%2F%3E%3Ccircle%20cx%3D'6'%20cy%3D'19'%20r%3D'2'%2F%3E%3Ccircle%20cx%3D'18'%20cy%3D'19'%20r%3D'2'%2F%3E%3C%2Fsvg%3E")}
.orders-section #ordersRoot .order-finance h3:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316378d%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cellipse%20cx%3D'9'%20cy%3D'5'%20rx%3D'6'%20ry%3D'3'%2F%3E%3Cpath%20d%3D'M3%205v12c0%204%2012%204%2012%200V5M3%2010c0%204%2012%204%2012%200M3%2015c0%204%2012%204%2012%200M18%205h3v14h-3'%2F%3E%3C%2Fsvg%3E")}
.orders-section #ordersRoot .order-work h3:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316378d%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Crect%20x%3D'2'%20y%3D'6'%20width%3D'20'%20height%3D'15'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M8%206V3h8v3M2%2012h20M10%2010v5h4v-5'%2F%3E%3C%2Fsvg%3E")}
.orders-section #ordersRoot .order-returns h3:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316378d%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D'M9%204%203%2010l6%206M3%2010h12a6%206%200%200%201%200%2012'%2F%3E%3C%2Fsvg%3E")}
.orders-section #ordersRoot .order-events h3:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316378d%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Crect%20x%3D'4'%20y%3D'5'%20width%3D'16'%20height%3D'16'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M8%203v4m8-4v4M4%2011h16m-12%204h3m2%200h3'%2F%3E%3C%2Fsvg%3E")}

/* Keep the expanded order visibly distinct from its passport and neighbours. */
.orders-section #ordersRoot .orders-table-wrap>table>tbody>tr.order-row-expanded>td{background:linear-gradient(#8fb5ed,#7ea5df);color:#102a52;border-top:1px solid #5988cf;border-bottom:1px solid #6c96d5}
.orders-section #ordersRoot .orders-table-wrap>table>tbody>tr.order-row-expanded:hover>td{background:linear-gradient(#8fb5ed,#7ea5df)}
.orders-section #ordersRoot .order-row-expanded .order-delivery-status{background:#dceaff;color:#16396c}
.orders-section #ordersRoot .order-row-expanded .order-state-received{background:#d8efdc;color:#226b31}
.orders-section #ordersRoot .order-row-expanded .order-state-refused{background:#f8deda;color:#9b332b}
.orders-section #ordersRoot .order-row-expanded .order-state-light_return{background:#fff0d2;color:#885711}

.orders-section #ordersRoot .order-article-photo{display:inline;min-height:0;height:auto;margin:0;padding:0;border:0;border-bottom:1px dotted #718ba9;border-radius:0;background:transparent;color:#254c7e;box-shadow:none;font:inherit;font-weight:700;line-height:inherit;text-align:left;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.orders-section #ordersRoot .order-article-photo:hover:not(:disabled){background:transparent;border-color:#254c7e}

/* Employee collection passport: matches the approved 393px mobile layout. */
.orders-section:has(>.orders-mobile-collection){background:#f5f7fa;box-shadow:none}
.orders-section #ordersRoot.orders-collector{max-width:393px;margin-inline:auto}
.orders-section #ordersRoot.orders-collector .orders-bar,.orders-section #ordersRoot.orders-collector .orders-return-tabs,.orders-section #ordersRoot.orders-collector .orders-search>div{display:none}
.orders-section #ordersRoot.orders-mobile-collection{font:15px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253343}
.orders-section #ordersRoot.orders-mobile-collection .orders-search{margin:0 0 10px}
.orders-section #ordersRoot.orders-mobile-collection .orders-search input{height:44px;min-height:44px;font-size:16px;padding:0 10px;border:1px solid #ccd5df;border-radius:7px;background:#fff;color:#253343}
.orders-section #ordersRoot .collection-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 0;margin:0 0 8px;font-size:13px;color:#5e6d7d}
.orders-section #ordersRoot .collection-counts>span{display:flex;align-items:center;gap:8px}
.orders-section #ordersRoot .collection-counts strong{font-size:18px;font-weight:600;color:#263647;font-variant-numeric:tabular-nums}
.orders-section #ordersRoot .collection-warehouse{font-size:13px;line-height:1.4;font-weight:600;color:#445a70;background:transparent;margin:10px 0 5px;padding:0 2px;border:0}
.orders-section #ordersRoot .collection-order{padding:8px 10px;background:#fff;border:1px solid #dce3eb;border-radius:8px;margin-bottom:7px;min-width:0}
.orders-section #ordersRoot .collection-order>header{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#718092;white-space:nowrap;font-variant-numeric:tabular-nums;padding-bottom:5px;border-bottom:1px solid #edf0f4}
.orders-section #ordersRoot .collection-grid{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:3px 10px;padding:6px 0 5px}
.orders-section #ordersRoot .collection-field{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:20px}
.orders-section #ordersRoot .collection-label{display:block;color:#728092;font-size:11px;letter-spacing:.02em;font-weight:500;line-height:1.4;margin:0}
.orders-section #ordersRoot .collection-article .order-article-photo,.orders-section #ordersRoot .collection-size>strong{font-size:18px;line-height:1.25;font-weight:650}
.orders-section #ordersRoot .collection-ttn{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:10px;padding:4px 0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}
.orders-section #ordersRoot .collection-ttn-number{display:flex;align-items:center;min-height:30px;font-size:16px;line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.orders-section #ordersRoot .collection-ttn-number strong{font-weight:650}
.orders-section #ordersRoot .collection-pack{display:block;width:100%;min-height:30px;height:auto;padding:5px 7px;border:1px solid #d2d9e2;border-radius:6px;background:#e9edf2;color:#405164;font-size:12px;line-height:18px;font-weight:600;box-shadow:none;white-space:nowrap}
.orders-section #ordersRoot .collection-pack:hover:not(:disabled){background:#e1e6ed;border-color:#bdc8d5}
.orders-section #ordersRoot .collection-pack[aria-pressed=true]{background:#dcebdc;border-color:#bfd5bf;color:#365e3b;box-shadow:none}
.orders-section #ordersRoot .collection-notes{display:flex;align-items:baseline;gap:6px;margin-top:5px}
.orders-section #ordersRoot .collection-notes>.collection-label{flex:0 0 auto}
.orders-section #ordersRoot .collection-notes p{margin:0;color:#445465;font-size:13px;line-height:18px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.orders-section #ordersRoot .collection-empty{font-size:14px;color:#617184;padding:12px 0}
@media(max-width:600px){.orders-section.section:has(>.orders-mobile-collection){padding:10px;border-radius:8px}.orders-section:has(>.orders-mobile-collection)>h2{font-size:19px;margin-bottom:6px}}
.orders-entry-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 12px;background:#edf2f7;border:1px solid #ccd7e3;border-radius:8px;color:#34495e;font-size:14px}
.orders-entry-notice[data-phase=ready]{background:#eef5ee;border-color:#c7d8c8;color:#38573b}
.orders-entry-notice[data-phase=error]{background:#fff4e8;border-color:#e6d1b5;color:#725432}
.orders-entry-notice[data-phase=running]>span:before{content:'';display:inline-block;width:12px;height:12px;border:2px solid #b3c4d7;border-top-color:#40678d;border-radius:50%;margin-right:8px;animation:orders-entry-spin 1s linear infinite}
.orders-entry-notice button{min-height:30px;padding:4px 8px;font-size:12px;white-space:nowrap}
.orders-section #ordersRoot .orders-work-area{display:block;width:100%;min-width:0;margin:0;padding:0;border:0}
.orders-section #ordersRoot .orders-work-area:disabled{opacity:.65}
.orders-section #ordersRoot .orders-connection-controls{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;font-size:12px}
.orders-section #ordersRoot .orders-connection-controls a{align-self:center;color:#244e91;text-decoration:underline}
.orders-section #ordersRoot .orders-connection-controls{flex-direction:column;align-items:stretch}
.orders-section #ordersRoot .orders-connection-controls>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.orders-section #ordersRoot .orders-connection-status{margin:0;padding:8px 10px;border:1px solid #cbd7e4;border-radius:6px;background:#edf3f9;color:#36516e;font-size:13px;line-height:1.4}
.orders-section #ordersRoot .orders-connection-status[data-phase=ready]{background:#edf5ed;color:#365e3b;border-color:#c3d7c4}
.orders-section #ordersRoot .orders-connection-status[data-phase=error],.orders-section #ordersRoot .orders-connection-status[data-phase=partial]{background:#fff5e9;color:#775731;border-color:#e5d2b9}
.orders-section #ordersRoot .order-delivery-status.order-state-awaiting_dispatch{background:#fff0d6;color:#805619}
.orders-section #ordersRoot .order-awaiting-dispatch>td:first-child{border-left:3px solid #d8ad63}
.orders-section #ordersRoot .collection-awaiting-dispatch{border-left:3px solid #d8ad63}
.orders-section #ordersRoot .collection-dispatch-label{display:inline-block;margin-top:5px;padding:1px 5px;border-radius:4px;background:#fff0d6;color:#805619;font-size:11px;line-height:1.4}
@keyframes orders-entry-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.orders-entry-notice[data-phase=running]>span:before{animation:none}}
