:root{--ink:#172941;--muted:#718095;--line:#e5ebf1;--bg:#f4f7fb;--primary:#2361d6;--nav:#132b47}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Microsoft YaHei",Arial,sans-serif;font-size:14px}a{color:var(--primary);text-decoration:none}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5}a:focus-visible,button:focus-visible{outline:3px solid #75adff;outline-offset:3px}.shell{display:flex;min-height:100vh}aside{width:232px;background:var(--nav);color:#d0def1;position:fixed;inset:0 auto 0 0;padding:30px 20px}.brand{display:block;color:white;font-size:21px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:2px;margin:10px 0 0 43px;color:#819bbc}.mark{display:inline-grid;place-items:center;background:#3379ee;width:33px;height:33px;border-radius:9px;margin-right:8px}.nav-label{font-size:11px;color:#7f98b7;margin:45px 14px 16px;letter-spacing:2px}nav a{display:flex;align-items:center;color:#b6c9df;border-radius:9px;padding:14px 16px;margin:6px 0;gap:14px}nav a span{font-size:21px;width:24px}nav a.selected,nav a:hover{background:#24496f;color:white}.aside-bottom{position:absolute;bottom:30px;font-size:13px;line-height:2}.aside-bottom small{font-size:11px;color:#7f98b7}.main{margin-left:232px;width:calc(100% - 232px)}header{height:76px;border-bottom:1px solid var(--line);background:white;padding:0 40px;display:flex;align-items:center;justify-content:space-between;color:#63738b}header>div{display:flex;align-items:center;gap:12px}header form{display:inline}.avatar{background:#e8effb;color:var(--primary);display:inline-grid;place-items:center;border-radius:50%;width:32px;height:32px;font-size:13px}main{padding:36px 40px;max-width:1540px;margin:auto}footer{padding:12px 40px 28px;color:#9ba7b6;font-size:11px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7a91b1}h1{font-size:29px;letter-spacing:-1px;margin:10px 0 10px}h2{font-size:18px;margin:0}h3{font-size:15px;margin:0}.muted{color:var(--muted);line-height:1.7;margin:0}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:white;border:1px solid var(--primary);border-radius:8px;padding:12px 20px;font-weight:600;white-space:nowrap;min-height:43px}.button.secondary{background:white;color:var(--primary);border-color:#d4e0f3}.text-btn{border:0;background:none;color:#7890af;padding:8px}.hero{background:#e6effd;display:flex;justify-content:space-between;border-radius:14px;padding:30px 36px;margin-bottom:25px;overflow:hidden;min-height:245px}.hero .eyebrow{color:#5179b9}.hero h2{font-size:30px;line-height:1.5;letter-spacing:-1px;margin:10px 0;color:#183c70}.hero p{color:#6081af;font-size:13px}.hero a{display:inline-block;font-weight:700;margin-top:10px}.parcel-art{position:relative;width:290px;display:grid;place-items:center}.box{width:130px;height:130px;background:linear-gradient(135deg,#c6daf7,#77a0e7);transform:rotate(-9deg);border-radius:20px;box-shadow:20px 22px 0 #d3e1f6;font-size:72px;color:white;display:grid;place-items:center}.art-caption{position:absolute;bottom:5px;font-size:10px;letter-spacing:3px;color:#6281ad}.route-dot{width:16px;height:16px;border:4px solid white;background:#477bd7;box-shadow:0 0 0 9px #cfdef4;border-radius:50%;position:absolute}.route-dot.a{top:12px;left:15px}.route-dot.b{right:5px;bottom:40px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:26px}.stats article{padding:23px 26px;border:1px solid var(--line);background:white;border-radius:12px}.stats article>span{color:var(--muted);font-size:12px}.stats strong{display:block;font-size:29px;margin:12px 0;font-weight:650}.stats em{font-style:normal;font-size:12px;font-weight:400;color:var(--muted)}.stats small{color:#99a6b6;font-size:11px}.card{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;overflow:hidden}.card-title{display:flex;justify-content:space-between;align-items:center;padding:24px 26px}.card-title a{font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f8fafc;color:#7c8ca3;font-size:11px;font-weight:500;padding:14px 24px}td{padding:21px 24px;border-bottom:1px solid #edf1f5;font-size:12px}td strong{font-size:12px;display:block;font-weight:600}td small{display:block;margin-top:7px;color:#92a0b4;font-size:11px}.country{border:1px solid #e3e9f2;border-radius:4px;padding:4px 7px}.badge{display:inline-block;padding:5px 9px;border-radius:5px;font-size:11px;background:#e9eef7;color:#5e728e}.badge.submitted{background:#e5f5ef;color:#23806b}.badge.queued,.badge.submitting{background:#e7effd;color:#356ab6}.badge.unknown{background:#fff4da;color:#b88623}.badge.rejected{background:#fbe8e8;color:#be5a5a}.empty{text-align:center;padding:45px 20px;color:#8b9bb1;white-space:normal}.empty strong{font-size:16px;color:#4c6487}.empty p{font-size:12px;line-height:1.7}.tip{font-size:12px;line-height:1.8;color:#788aa5;background:#edf2fa;border-radius:8px;padding:15px 20px;margin-bottom:20px}.notice{padding:16px 20px;border-radius:8px;background:#fff5dc;color:#8a6a26;margin-bottom:20px;line-height:1.8}.notice.success{background:#e5f5ed;color:#277659}.notice.error{background:#fff0ee;color:#a4433a}.form-card{padding:28px}.form-card .card-title{padding:0 0 20px}.section-number{display:inline-block;color:#3a72cf;background:#eaf1fb;font-size:12px;padding:6px 8px;border-radius:5px;margin-right:10px;margin-bottom:15px}.form-card>h2{display:inline-block}.grid-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:10px}label{display:block;color:#536780;font-size:12px}input,select{display:block;width:100%;margin-top:9px;border:1px solid #dfe6ef;border-radius:7px;background:white;color:var(--ink);padding:11px 12px;min-height:43px}input:focus,select:focus{outline:2px solid #a7c6fa;border-color:#5d92e4}label.wide{grid-column:1 / -1}label small{display:block;margin-top:7px;color:#95a3b4}.product-row{background:#f8fafc;padding:22px;border:1px solid #edf1f5;border-radius:8px;margin-bottom:15px}.quote{margin-top:20px;color:#316bbc;background:#eff5ff;padding:16px;border-radius:7px;font-size:13px}.submit-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 0 30px}.submit-bar p{color:#60738e;line-height:1.7}.submit-bar small{font-size:11px}.details{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.details dt{color:#8a9ab0;font-size:12px;margin-bottom:10px}.details dd{margin:0;font-size:14px}.actions{display:flex;gap:14px;margin-top:25px}.timeline{padding:15px 8px}.timeline article{padding:0 0 30px 28px;position:relative;border-left:1px solid #dce7f5;margin-left:5px}.timeline-dot{position:absolute;left:-5px;top:4px;width:9px;height:9px;background:#4685e0;border-radius:50%}.timeline time{font-size:11px;color:#8a9ab0}.timeline h3{margin-top:9px}.timeline p{font-size:12px;color:#8597af}.search{display:flex;gap:10px;padding:20px 26px}.search input{max-width:340px;margin:0}.pagination{padding:20px;text-align:right}.pagination nav{display:flex;justify-content:flex-end;gap:12px}.positive{color:#188c71}.negative{color:#bc6570}.balance-heading{font-size:30px}.auth-container{min-height:100vh;display:grid;place-content:center;padding:30px;background:radial-gradient(ellipse at 10% 10%,#d9e8fe,transparent 55%),var(--bg)}.auth-card{width:440px;max-width:100%;padding:40px;background:white;border:1px solid #e0e9f5;border-radius:16px;box-shadow:0 20px 65px #172d4d0a}.auth-card h1{line-height:1.5;font-size:30px;margin:17px 0}.auth-card form{margin-top:24px}.auth-card label{margin-bottom:17px}.auth-card .full{width:100%;margin-top:7px}.auth-links{display:flex;justify-content:space-between;margin:24px 0;font-size:12px}@media(max-width:1050px){aside{width:190px}.main{margin-left:190px;width:calc(100% - 190px)}main{padding:28px 24px}.grid-fields{grid-template-columns:repeat(2,1fr)}.hero{padding:24px}.parcel-art{width:210px}.stats{gap:12px}.stats article{padding:20px}}@media(max-width:720px){aside{position:static;width:100%;padding:18px}.shell{display:block}.brand small,.nav-label,.aside-bottom{display:none}nav{display:flex;margin-top:18px;overflow:auto;gap:6px}nav a{white-space:nowrap;font-size:12px;padding:9px 12px;margin:0}nav a span{display:none}.main{margin:0;width:100%}header{height:60px;padding:0 20px;font-size:11px}main{padding:25px 16px}.page-heading{align-items:flex-start;gap:12px}h1{font-size:24px}.page-heading>.button{padding:10px 12px;font-size:11px}.hero h2{font-size:25px}.parcel-art{display:none}.stats{grid-template-columns:1fr}.stats strong{font-size:24px}.stats article{padding:18px 22px}.grid-fields,.details{grid-template-columns:1fr}.form-card{padding:22px}.submit-bar{display:block}.submit-bar .button{width:100%}.auth-card{width:100%;padding:26px}.auth-container{display:block;padding:30px 16px}.balance-heading{font-size:22px}.card-title{padding:20px}.actions{flex-wrap:wrap}th,td{padding:15px}footer{padding:10px 20px}}

.search{flex-wrap:wrap}.search select{width:auto;max-width:180px;margin:0}.search input[name=country]{max-width:150px}

.stage-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:24px}.stage-grid a{background:#f4f7fb;border:1px solid #e3eaf4;border-radius:8px;padding:18px;text-align:center}.stage-grid strong{display:block;font-size:28px;margin-bottom:9px}.stage-grid span{font-size:12px;color:#63738b}.quick-links{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.quick-links a{background:white;border:1px solid #dce5f2;border-radius:8px;padding:14px 22px}.search label input{margin-top:4px}.search label{min-width:150px}@media(max-width:720px){.stage-grid{grid-template-columns:repeat(2,1fr)}.quick-links a{flex:1;white-space:nowrap}}

/* Client workspace v31 */
.brand{font-size:18px;white-space:nowrap}.mark-yk{font-size:14px;letter-spacing:-1px;font-weight:800;vertical-align:middle}.dashboard-heading{display:grid;grid-template-columns:minmax(170px,1fr) minmax(260px,2fr) auto;align-items:start}.dashboard-announcements{margin:0;padding:16px 20px;min-width:0;max-height:200px;overflow:auto}.dashboard-announcements h2{font-size:15px}.dashboard-announcements h3{font-size:13px}.dashboard-announcements p{overflow-wrap:anywhere}.dashboard-announcements article{padding:10px 0!important}.shipment-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.recent-metrics-title{margin:0 0 14px}.orders-workspace{min-width:0;max-width:100%}.orders-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px}.orders-workspace .search{flex-wrap:wrap;align-items:end}.orders-workspace .search>input,.orders-workspace .search>select{width:auto;max-width:280px;min-width:140px}.orders-workspace .search input[type=checkbox]{width:auto;min-width:0}.orders-workspace .actions{flex-wrap:wrap;padding:0 24px 16px;align-items:center;margin-top:0}.orders-workspace .table-wrap{max-width:100%;overflow:auto}.orders-workspace.is-expanded{position:fixed;inset:0;width:100vw;height:100dvh;max-width:100vw;z-index:80;margin:0;border-radius:0;display:flex;flex-direction:column;background:white;overflow:auto}.orders-workspace.is-expanded .orders-workspace-toolbar{flex-shrink:0;position:sticky;top:0;z-index:3;background:white;border-bottom:1px solid var(--line)}.orders-workspace.is-expanded .table-wrap{flex:1;min-height:160px;overflow:auto}.orders-workspace.is-expanded .table-wrap table{width:max-content;min-width:100%}.orders-workspace.is-expanded .table-wrap th{position:sticky;top:0;z-index:2}.orders-workspace.is-expanded .pagination{flex-shrink:0;background:white;margin-top:auto}.orders-workspace.is-expanded td{max-width:300px;white-space:normal;overflow-wrap:anywhere}.orders-workspace.is-expanded td:first-child{min-width:200px}.orders-workspace.is-expanded th{white-space:nowrap}.client-orders-expanded{overflow:hidden}
@media(max-width:1100px){.dashboard-heading{grid-template-columns:minmax(170px,1fr) minmax(220px,1.5fr)}.dashboard-heading>.button{grid-column:1/-1;justify-self:end}}@media(max-width:720px){.brand{font-size:17px}.dashboard-heading{grid-template-columns:1fr}.dashboard-heading>.button{grid-column:auto}.shipment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-workspace-toolbar,.orders-workspace .search{padding:12px}.orders-workspace .actions{padding:0 12px 12px}.orders-workspace .search>input,.orders-workspace .search>select{max-width:100%;width:100%}.orders-workspace.is-expanded .table-wrap{min-height:180px}}

.metric-filter{display:block;color:inherit;text-decoration:none;border-radius:14px}.metric-filter article{height:100%;box-sizing:border-box}.metric-filter:hover,.metric-filter:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.metric-filter.is-active article{border:2px solid #2563eb;background:#eff6ff}

/* Fullscreen panel is mounted on body, so parent layout cannot clip it. */
.orders-workspace.is-expanded{width:100%;max-width:100%;height:100vh;height:100dvh;overflow:hidden;box-sizing:border-box}.orders-workspace.is-expanded>.search{flex:0 0 auto;max-height:30vh;overflow:auto;margin:0}.orders-workspace.is-expanded>form[id=batch-orders]{flex:0 0 auto;max-height:18vh;overflow:auto}.orders-workspace.is-expanded .table-wrap{min-height:0;min-width:0;flex:1 1 0;overscroll-behavior:contain}.orders-workspace.is-expanded td:first-child{min-width:unset}.orders-workspace.is-expanded input[type=checkbox]{width:16px;height:16px;min-width:0}.order-remark{min-width:160px;max-width:240px;white-space:pre-wrap;overflow-wrap:anywhere}.orders-workspace.is-expanded .pagination{margin-top:0;padding:12px}.orders-workspace.is-expanded .orders-workspace-toolbar{padding:12px 16px}
@media(max-width:720px){.orders-workspace.is-expanded .search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.orders-workspace.is-expanded .search>*{min-width:0!important;max-width:100%!important;width:100%!important}.orders-workspace.is-expanded .search>input[name=search]{grid-column:1/-1}.orders-workspace.is-expanded .search label{min-width:0}.orders-workspace.is-expanded .search input{min-width:0;width:100%}.orders-workspace.is-expanded .actions{gap:8px;padding-bottom:8px}.orders-workspace.is-expanded .button{font-size:12px;padding:8px}.orders-workspace.is-expanded .table-wrap{min-height:0}}

.shipment-section>summary{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700;cursor:pointer}.shipment-section>summary small{margin-left:auto;font-size:12px;color:var(--muted)}.shipment-section[open]>summary{margin-bottom:24px}.shipment-section>summary .section-number{margin:0}.protection-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.protection-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:16px;cursor:pointer}.protection-option input[type=radio]{appearance:none;width:20px;height:20px;flex:0 0 20px;border:2px solid #8a9ab0;border-radius:4px;margin:0}.protection-option input:checked{background:#2361d6;border-color:#2361d6;box-shadow:inset 0 0 0 3px white}.protection-option:has(input:checked){border-color:#2361d6;background:#eff6ff}.protection-option small{display:block;margin-top:8px}.protection-section>label input{max-width:300px}@media(max-width:720px){.protection-options{grid-template-columns:1fr}}

.protection-options{gap:16px}.protection-option{position:relative;align-items:flex-start;min-height:120px;padding:22px;border:1px solid #dce5f2;background:linear-gradient(145deg,#fff,#f6f9fe);transition:border-color .15s,box-shadow .15s}.protection-option:hover{border-color:#93b8ef;box-shadow:0 6px 20px #172d4d0a}.protection-option span{flex:1;min-width:0}.protection-option strong{font-size:15px;line-height:1.5}.protection-option em{display:block;font-style:normal;color:#718095;font-size:11px;margin:5px 0 12px}.protection-option small{font-size:12px;line-height:1.7;color:#315d91}.protection-option input[type=radio]{width:20px;height:20px;min-height:20px;padding:0;flex:0 0 20px;margin-top:3px}.protection-option:has(input:checked){background:linear-gradient(145deg,#eef5ff,#f8fbff);box-shadow:0 0 0 1px #2361d6}.attachment-drop{border:2px dashed #cbd9ed;border-radius:12px;padding:24px;background:#f7faff;text-align:center;margin:20px 0}.attachment-drop.is-dragging{border-color:#2361d6;background:#eaf3ff}.attachment-drop input{margin:12px auto 0;max-width:100%;height:auto}.attachment-file{padding:10px 14px;margin:6px 0;background:#f3f7fd;border-radius:8px;overflow-wrap:anywhere;font-size:13px}

/* Consistent order controls across the client dashboard and list. */
.order-action-grid{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;width:264px;align-items:start}
.order-action-items{display:contents}
.order-action-grid>a,.order-action-grid>button,.order-action-grid>details>summary,.order-action-grid>form>button,.order-action-grid .order-action-items>form>button,.order-action-grid .order-cancel-action>summary{display:flex;align-items:center;justify-content:center;min-height:36px;width:100%;margin:0;padding:7px 10px;border:1px solid #dbe3ef;border-radius:6px;background:#f5f8fd;color:#245de5;font-size:13px;line-height:1.4;text-decoration:none;white-space:normal;box-sizing:border-box;cursor:pointer}
.order-action-grid form{margin:0;min-width:0}.order-actions-cell{vertical-align:top}.order-action-grid .order-cancel-action{grid-column:1/-1}.order-cancel-action>form{display:grid;gap:8px;padding:8px 0}.order-action-grid input{width:100%;min-width:0}.order-action-grid button:hover,.order-action-grid>a:hover{background:#eaf1ff}.order-action-grid>form:last-child>button{color:#b42318}

.stats.shipment-stats{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1100px){.stats.shipment-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.stats.shipment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.saved-product-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px;margin:20px 0 24px}.saved-product-toolbar>label{display:flex;flex-direction:column;gap:8px;min-width:0}.saved-product-toolbar select,.saved-product-toolbar>.button{width:100%;height:48px;min-height:48px;max-height:48px;box-sizing:border-box;margin:0;font-size:14px;border-radius:8px}.saved-product-toolbar>.button{display:flex;align-items:center;justify-content:center;padding:8px 12px;line-height:1.25;text-align:center;text-decoration:none;white-space:normal}.saved-product-toolbar select{padding:8px 12px}@media(max-width:720px){.saved-product-toolbar{grid-template-columns:1fr;gap:12px}}

.stats.shipment-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.orders-workspace .order-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.orders-workspace .order-filter-grid>input,.orders-workspace .order-filter-grid>select,.orders-workspace .order-filter-grid>.button{width:100%;max-width:none;min-width:0;height:46px;box-sizing:border-box;margin:0}.order-filter-grid>label{display:flex;flex-direction:column;gap:6px;min-width:0}.order-filter-grid>label input[type=date]{width:100%;height:46px;box-sizing:border-box}.order-filter-grid>label:has(input[type=checkbox]){flex-direction:row;align-items:center;height:46px}.parcel-packaging{margin-top:20px}.parcel-weight-mode input[type=checkbox]{width:18px;height:18px;margin:8px 0;display:block}.parcel-packaging .grid-fields{align-items:start}@media(max-width:1000px){.orders-workspace .order-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.stats.shipment-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-workspace .order-filter-grid{grid-template-columns:1fr}}

/* Client order controls v49: equal labelled fields and a two by two action grid. */
.orders-workspace .order-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.orders-workspace .order-filter-grid>label{margin:0;min-width:0;gap:8px}.orders-workspace .order-filter-grid>label>input,.orders-workspace .order-filter-grid>label>select{width:100%;min-width:0;max-width:none;height:46px;margin:0;box-sizing:border-box}.order-action-grid .order-cancel-action{grid-column:auto;min-width:0}.order-action-grid .order-cancel-action[open]{grid-column:1/-1}.waybill-detail-link{display:block;line-height:1.5}.waybill-detail-link:hover{text-decoration:underline}@media(max-width:1100px){.orders-workspace .order-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.orders-workspace .order-filter-grid{grid-template-columns:1fr}}

/* Equal-width vertical shipment controls and route information. */
.order-action-grid{grid-template-columns:minmax(0,1fr);width:180px;gap:8px}.order-action-grid .order-copy-action{order:1}.order-action-grid .order-label-action{order:2}.order-action-grid .order-cancel-action{order:3;grid-column:auto}.order-action-grid .order-delete-action{order:4}.order-action-grid .order-cancel-action[open]{grid-column:auto}.order-action-grid>a,.order-action-grid .order-action-items>form>button,.order-action-grid .order-cancel-action>summary{min-height:38px}.order-route-cell,.order-actions-cell{vertical-align:top}.order-route-stack{display:grid;grid-template-columns:minmax(0,1fr);width:180px;gap:8px;white-space:normal;overflow-wrap:anywhere}.order-route-stack>strong,.order-route-stack>span{display:block;line-height:1.6;padding:8px 10px;border-radius:6px;background:#f5f8fd}.order-route-stack>small{display:block;margin:0;line-height:1.6;padding:0 10px;color:var(--muted)}.order-route-stack>a,.order-route-stack>form>button{display:flex;align-items:center;justify-content:center;width:100%;min-height:38px;border:1px solid #dbe3ef;border-radius:6px;background:#f5f8fd;color:#245de5;padding:7px 10px!important;font-size:13px;line-height:1.4;box-sizing:border-box}.order-route-stack>form{margin:0}

/* Equal-height route and action stacks with evenly distributed controls. */
.order-action-grid,.order-route-stack{display:flex;flex-direction:column;justify-content:space-between;min-height:176px;gap:8px}.order-action-grid .order-action-items{display:contents}.order-action-grid .order-copy-action,.order-action-grid .order-delete-action,.order-action-grid .order-cancel-action,.order-action-grid .order-label-action{flex:0 0 auto;width:100%}.order-route-stack>form,.order-route-stack>a{flex:0 0 auto}.order-action-grid .order-cancel-action>summary{height:38px}.order-route-stack>small{flex:0 0 auto}

.product-library-heading{display:flex;align-items:center;gap:20px;padding:18px 24px;flex-wrap:wrap}.product-library-heading strong{flex:1;min-width:160px;overflow-wrap:anywhere}.product-library-heading form{margin:0}.product-library-number{color:var(--muted);font-size:12px}.product-library-details>summary,.product-library-new>summary{cursor:pointer;color:var(--primary);font-weight:600;padding:16px 24px}.product-library-details>summary{border-top:1px solid var(--line);background:#f8fafc}.product-library-body{padding:24px}.product-library-new{padding:0}.product-library-body form>label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;margin:20px 0}.product-library-body input[type=checkbox]{width:18px;height:18px}.product-library-row{margin-bottom:14px}@media(max-width:720px){.product-library-heading{gap:12px;padding:16px}.product-library-body{padding:16px}}

.pickup-address{min-width:220px;max-width:340px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}

.pickup-saved-address{display:block;margin:20px 0}.pickup-date-selection{border:1px solid var(--line);border-radius:10px;padding:18px;margin:24px 0}.pickup-date-selection legend{padding:0 8px}.pickup-date-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.pickup-date-grid label{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.pickup-date-grid input,.pickup-save-option input{width:18px;height:18px;margin:0;flex:0 0 18px}.pickup-date-grid small{display:block;margin-top:5px;color:var(--muted)}.pickup-date-grid label:has(input:checked){background:#eff6ff;border-color:var(--primary)}.pickup-save-option{display:flex;align-items:center;gap:10px;margin:18px 0}@media(max-width:720px){.pickup-date-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v56 compact shipment rows */
.order-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:216px;min-height:0;gap:4px;align-content:start;justify-content:normal}
.order-action-grid>a,.order-action-grid .order-action-items>form>button,.order-action-grid .order-cancel-action>summary{min-height:26px;height:26px;padding:3px 5px;font-size:12px;white-space:nowrap}
.order-action-grid .order-cancel-action[open]{grid-column:1/-1}.order-action-grid .order-cancel-action>form{padding:4px 0}
.order-route-stack{display:grid;grid-template-columns:1fr 1fr;width:240px;min-height:0;gap:2px 6px;align-content:start;justify-content:normal;font-size:12px}
.order-route-stack>strong,.order-route-stack>span{grid-column:1/-1;background:transparent;padding:0;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-route-stack>small{grid-column:1/-1;padding:0;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-route-stack>a,.order-route-stack>form>button{min-height:22px;height:22px;padding:2px 4px!important;font-size:12px;line-height:16px}
.order-route-cell,.order-actions-cell{vertical-align:middle}.orders-workspace tbody td{padding-top:8px;padding-bottom:8px}.order-page-size{display:flex;align-items:center;gap:12px}.order-page-size label{display:flex;align-items:center;gap:6px;margin:0}.order-page-size select{width:auto;margin:0;padding:5px 8px}.orders-workspace .pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

.shipment-type-switch{display:flex;gap:16px;flex-wrap:wrap;background:#102748;color:#fff;padding:18px;border-radius:12px;margin-bottom:20px}.shipment-type-switch label{display:flex;align-items:center;gap:10px;margin:0;cursor:pointer}.shipment-type-switch input{width:18px;margin:0}.recipient-library{display:flex;gap:12px;align-items:end;margin:16px 0}.recipient-library label{flex:1;margin:0}.recipient-library button{margin-bottom:0}.shipment-filter{display:flex;align-items:end;gap:12px;margin-bottom:20px}.shipment-filter label{flex:1;margin:0}.badge.fba{background:#102748;color:white;font-size:11px;padding:2px 6px}#recipient-address-dialog{width:min(800px,90vw);border:0;border-radius:12px;padding:24px;max-height:90vh;overflow:auto}#recipient-address-dialog::backdrop{background:#10274899}.fba-box{padding:12px;background:#f4f7fc;border-radius:8px;margin:12px 0}[hidden]{display:none!important}

.shipment-type-switch{background:#fff;color:#172b4d;border:1px solid #e5eaf2}.shipment-type-switch label{padding:10px 16px;border-radius:8px;background:#f4f7fc}.shipment-type-switch label:has(input:checked){background:#e8f0fc;color:#183e71;box-shadow:inset 0 0 0 1px #9ab8e5}[data-fba-section] .form-card{box-shadow:none;margin:16px 0;border:1px solid #e5eaf2}

.fba-destination-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fba-destination-options label{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #dce4ef;border-radius:8px;background:#f7f9fc}.fba-destination-options input{width:18px;height:18px;appearance:none;border:1px solid #aab8ca;border-radius:4px;margin:0}.fba-destination-options input:checked{background:#244d7a;border-color:#244d7a}.fba-destination-options input:checked:after{content:"✓";display:block;color:white;text-align:center;line-height:16px}.fba-destination-options label:has(input:checked){background:#eaf1fa;border-color:#91accd}[data-fba-channel-slot]{margin-top:10px}@media(max-width:700px){.fba-destination-options{grid-template-columns:repeat(2,1fr)}}

.fba-destination{margin:14px 0 18px}.fba-destination-options{display:flex;flex-wrap:nowrap;gap:12px}.fba-destination-options label{flex:1;min-width:0;white-space:nowrap}[data-fba-channel-slot]:empty{display:none}[data-fba-order-fields]>label[hidden]{display:none!important}@media(max-width:600px){.fba-destination-options{gap:5px;overflow-x:auto}.fba-destination-options label{font-size:12px;padding:10px 6px;flex:0 0 auto}}

.fba-destination-options{gap:10px}.fba-destination-options label{flex:0 0 auto;padding:6px 12px;font-size:14px;font-weight:400;line-height:20px;gap:6px}.fba-destination-options input{width:15px;height:15px}.fba-destination-options input:checked:after{line-height:13px;font-size:12px}.fba-destination-options span{font-size:inherit;font-weight:400}@media(max-width:600px){.fba-destination-options label{font-size:14px;padding:6px 8px}}

/* Compact shipment and destination selectors. */
.shipment-type-switch{background:#fff!important;color:#243449;padding:10px 12px;gap:6px;border:1px solid #e4e9f0;border-radius:10px;flex-wrap:wrap}.shipment-type-switch label{padding:8px 14px;gap:7px;background:#f1f4f8;color:#526176;font-size:14px;font-weight:500;border-radius:7px;transition:background .15s,color .15s}.shipment-type-switch label:has(input:checked){background:#193c65!important;color:#fff!important;box-shadow:none}.shipment-type-switch input{width:14px;height:14px;accent-color:#193c65}.shipment-type-switch label:has(input:checked) input{accent-color:#fff}.fba-destination{display:flex;align-items:center;gap:12px;margin:12px 0;padding:0}.fba-destination>p{margin:0!important;font-size:14px;font-weight:400;color:#6a7789;white-space:nowrap}.fba-destination-options{display:flex;flex:0 1 auto;gap:6px;flex-wrap:nowrap;overflow-x:auto}.fba-destination-options label{flex:0 0 auto;min-height:0;margin:0!important;padding:5px 8px;border-radius:6px;background:#f6f8fb;border:1px solid #e1e7ef;gap:5px;font-size:14px;font-weight:400;line-height:20px}.fba-destination-options label:has(input:checked){background:#edf3fa;border-color:#94adc9;color:#193c65}.fba-destination-options input{width:13px;height:13px;min-width:13px;margin:0!important}.fba-destination-options input:checked:after{font-size:10px;line-height:11px}.fba-destination-options span{font-size:14px;font-weight:400}@media(max-width:650px){.fba-destination{align-items:flex-start;flex-direction:column;gap:6px}.fba-destination-options{width:100%}.fba-destination-options label{font-size:14px;padding:5px 7px}}

.fba-destination-options input[type=radio]{min-height:13px!important;max-height:13px!important;height:13px!important;width:13px!important;min-width:13px!important;padding:0!important;flex:0 0 13px;border-radius:3px;box-sizing:border-box}.shipment-type-switch input[type=radio]{min-height:14px!important;max-height:14px!important;height:14px!important;padding:0!important}

.required-field{position:relative}.required-star{color:#dc2626;float:right;font-weight:700}.fba-packing{margin:16px 0;border:1px solid #e2e8f0;border-radius:10px;padding:14px}.fba-packing>summary{cursor:pointer;font-weight:600}.fba-packing>summary small{float:right;color:#64748b;font-weight:400}.attachment-file{display:flex;justify-content:space-between;align-items:center;gap:12px}

.recharge-method{display:flex;align-items:center;justify-content:space-between;gap:24px}.recharge-method>div:first-child{flex:1;min-width:0}.recharge-qr{flex:0 0 168px;text-align:center}.recharge-qr img{width:160px;height:160px;object-fit:contain;border:1px solid #e2e8f0;border-radius:8px;background:white;padding:6px}.recharge-qr small{display:block;color:#64748b;margin-top:6px}@media(max-width:640px){.recharge-method{flex-wrap:wrap}.recharge-qr{flex-basis:100%}}
