.order-main{padding-bottom:70px}.order-intro{margin-bottom:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.order-eyebrow{color:#888;font-size:9px;font-weight:800;letter-spacing:.1em}.order-intro h2{margin:5px 0 4px;font-size:27px;letter-spacing:-.035em}.order-intro p{margin:0;color:#777;font-size:11px}.order-site-picker{min-width:220px;padding:7px 8px 7px 12px;border:1px solid #dcdcd7;border-radius:11px;background:#fff;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px}.order-site-picker span{color:#777;font-size:9px;font-weight:750}.order-site-picker select{min-width:0;height:34px;padding:0 28px 0 10px;border:0;border-radius:8px;background:#f3f3f0;color:#111;font-size:11px;font-weight:750;outline:none}.order-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.order-metrics article{min-width:0;padding:15px;border:1px solid #e0e0dc;border-radius:14px;background:#fff;display:flex;align-items:center;gap:11px}.metric-icon{flex:0 0 auto;width:40px;height:40px;border-radius:11px;display:grid;place-items:center}.metric-icon svg{width:18px;height:18px}.metric-icon.blue{background:#edf3ff;color:#3768b4}.metric-icon.green{background:#eaf7f0;color:#26835c}.metric-icon.amber{background:#fff4df;color:#a66a16}.metric-icon.violet{background:#f1edff;color:#7351b6}.order-metrics small,.order-metrics strong,.order-metrics em{display:block}.order-metrics small{color:#777;font-size:9px}.order-metrics strong{margin:3px 0;font-size:18px}.order-metrics em{color:#999;font-size:8px;font-style:normal}.priority-orders{margin-top:18px}.section-title h3,.order-browser-head h3{margin:0;font-size:16px}.section-title p,.order-browser-head p{margin:4px 0 0;color:#858580;font-size:9.5px}.priority-grid{margin-top:11px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.priority-card{min-height:108px;padding:13px;border:1px solid #deded9;border-radius:13px;background:#fff;text-align:left;cursor:pointer;transition:.18s}.priority-card:hover,.priority-card.active{border-color:#111;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.07)}.priority-card>span{width:31px;height:31px;border-radius:9px;background:#f1f1ee;display:grid;place-items:center}.priority-card svg{width:15px}.priority-card strong,.priority-card small{display:block}.priority-card strong{margin-top:12px;font-size:10.5px}.priority-card small{margin-top:4px;color:#888;font-size:8.5px}.priority-card b{float:right;color:#111;font-size:15px}.order-browser{margin-top:18px;padding:18px}.order-browser-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.order-search{width:min(340px,100%);height:40px;padding:0 11px;border:1px solid #deded9;border-radius:10px;background:#fafaf8;display:flex;align-items:center;gap:8px}.order-search svg{width:16px;color:#777}.order-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:10.5px}.status-filter-wrap{position:relative;margin-top:16px;padding:0 30px}.status-filters{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}.status-filters::-webkit-scrollbar{display:none}.status-filter{flex:0 0 auto;min-height:35px;padding:0 11px;border:1px solid #deded9;border-radius:9px;background:#fff;color:#555;font-size:9px;font-weight:750;white-space:nowrap;cursor:pointer}.status-filter:hover,.status-filter.active{border-color:#111;background:#111;color:#fff}.status-filter b{margin-left:5px}.filter-scroll-arrow{position:absolute;top:0;z-index:2;width:27px;height:35px;border:1px solid #deded9;border-radius:8px;background:#fff;font-size:20px;cursor:pointer}.filter-scroll-arrow.previous{left:0}.filter-scroll-arrow.next{right:0}.order-list-head{margin-top:16px;padding:13px 2px 9px;border-bottom:1px solid #e5e5e1;display:flex;justify-content:space-between}.order-list-head strong{font-size:12px}.order-list-head span{color:#888;font-size:9px}.orders-list{display:grid}.order-card{padding:14px 3px;border-bottom:1px solid #ecece8;display:grid;grid-template-columns:minmax(150px,.9fr) minmax(180px,1.2fr) minmax(140px,.8fr) auto;align-items:center;gap:13px}.order-id strong,.order-product strong,.order-payment strong{display:block;font-size:11px}.order-id small,.order-product small,.order-payment small{display:block;margin-top:4px;color:#888;font-size:9px}.order-channel{display:inline-flex!important;width:max-content;padding:3px 7px;border-radius:6px;background:#eaf7f0!important;color:#267655!important;font-weight:750}.payment-status{display:inline-flex!important;width:max-content;padding:4px 7px;border-radius:6px;background:#fff1ef;color:#a44d43!important;font-weight:750}.order-product{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:9px}.product-thumb{width:40px;height:40px;border-radius:9px;background:linear-gradient(145deg,#e2c8ba,#7d5247);display:grid;place-items:center;color:#fff;font-size:8px;font-weight:800}.order-manage{min-width:92px}.order-empty{padding:42px 15px;text-align:center;color:#777;font-size:11px}
@media(max-width:980px){.order-metrics{grid-template-columns:repeat(2,1fr)}.priority-grid{grid-template-columns:repeat(3,1fr)}.order-card{grid-template-columns:1fr 1fr}.order-card .order-manage{width:100%}}
@media(max-width:600px){.order-main{padding:13px 10px 70px}.order-intro{align-items:stretch;flex-direction:column}.order-intro h2{font-size:23px}.order-site-picker{width:100%;min-width:0}.order-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-metrics article{padding:11px;align-items:flex-start;flex-direction:column}.metric-icon{width:34px;height:34px}.order-metrics strong{font-size:15px}.priority-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.priority-card{min-height:100px}.priority-card:last-child{grid-column:1/-1}.order-browser{padding:13px}.order-browser-head{align-items:stretch;flex-direction:column}.order-search{width:100%}.status-filter-wrap{padding:0}.filter-scroll-arrow{display:none}.status-filters{padding-bottom:4px}.order-card{padding:13px 2px;grid-template-columns:1fr;gap:10px}.order-product{grid-template-columns:44px 1fr}.product-thumb{width:44px;height:44px}.order-manage{width:100%;min-height:40px}.order-list-head{align-items:center}}

/* Clear status navigation and packed-order label printing. */
.priority-card strong{font-size:13px}.priority-card small{font-size:10px}.priority-card b{font-size:18px}.order-head-actions{display:flex;align-items:center;gap:8px}.print-label-mode{min-height:40px;white-space:nowrap}.print-label-mode svg{width:15px}.order-search{border-color:#bdbdb7;background:#fff}.status-filter-wrap{padding:0}.order-status-dropdown{position:relative;width:min(390px,100%)}.order-status-trigger{width:100%;min-height:52px;padding:7px 13px;border:1px solid #aaa;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.order-status-trigger small,.order-status-trigger strong{display:block}.order-status-trigger small{color:#777;font-size:8px;font-weight:800;letter-spacing:.07em}.order-status-trigger strong{margin-top:3px;font-size:13px}.order-status-trigger i{width:8px;height:8px;border-right:2px solid #222;border-bottom:2px solid #222;transform:rotate(45deg);transition:.2s}.order-status-dropdown.open .order-status-trigger i{transform:rotate(225deg)}.order-status-dropdown .status-filters{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;max-height:340px;padding:7px;border:1px solid #ccc;border-radius:12px;background:#fff;box-shadow:0 18px 40px rgba(0,0,0,.16);overflow-y:auto;overflow-x:hidden;display:none;grid-template-columns:1fr 1fr;gap:4px}.order-status-dropdown.open .status-filters{display:grid}.order-status-dropdown .status-filter{min-height:39px;padding:6px 9px;border:0;border-radius:8px;background:#fff;color:#333;font-size:10px;font-weight:700;text-align:left;white-space:normal}.order-status-dropdown .status-filter:hover,.order-status-dropdown .status-filter.active{background:#111;color:#fff}.order-status-dropdown .status-filter b{float:right}.filter-scroll-arrow{display:none}.print-label-toolbar{margin-top:14px;padding:11px 12px;border:1px solid #e1c17d;border-radius:11px;background:#fff7df;display:none;align-items:center;justify-content:space-between;gap:12px}.print-label-toolbar.visible{display:flex}.print-label-toolbar label,.print-label-toolbar>div{display:flex;align-items:center;gap:9px}.print-label-toolbar label{font-size:10px;font-weight:750}.print-label-toolbar input,.label-select{width:17px;height:17px;accent-color:#111}.print-label-toolbar strong{font-size:10px}.label-select{display:none}.order-card.print-mode{grid-template-columns:auto minmax(150px,.9fr) minmax(180px,1.2fr) minmax(140px,.8fr) auto}.order-card.print-mode .label-select{display:block}.order-id strong,.order-product strong,.order-payment strong{font-size:12px}.order-id small,.order-product small,.order-payment small{font-size:10px}
@media(max-width:600px){.order-head-actions{align-items:stretch;flex-direction:column}.print-label-mode{width:100%}.order-status-dropdown .status-filters{grid-template-columns:1fr;max-height:55vh}.print-label-toolbar,.print-label-toolbar>div{align-items:stretch;flex-direction:column}.print-label-toolbar .button{width:100%}.order-card.print-mode{grid-template-columns:auto 1fr}.order-card.print-mode>*:not(.label-select){grid-column:2}.priority-card{min-height:106px}}
@media print{.sidebar,.top-header,.order-intro,.order-metrics,.priority-orders,.order-browser-head,.status-filter-wrap,.print-label-toolbar,.order-list-head,.order-manage{display:none!important}.main-content,.order-browser{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.order-card{display:none!important}.order-card.print-mode:has(.label-select:checked){display:grid!important;grid-template-columns:1fr 1.4fr .8fr!important;break-inside:avoid;padding:18px;border:1px solid #bbb;margin-bottom:12px}.order-card .label-select{display:none!important}.orders-list{display:block!important}}
.payment-status.is-paid{background:#eaf7f0!important;color:#237653!important}.order-product-count{color:#333!important;font-weight:750}.priority-orders{margin-top:0}
.shipment-settings-panel{margin-top:14px;padding:15px;border:1px solid #cfcfca;border-radius:13px;background:#fafaf8}.shipment-settings-panel[hidden]{display:none!important}.shipment-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.shipment-settings-head h4{margin:0;font-size:14px}.shipment-settings-head p{margin:4px 0 0;color:#777;font-size:9px}.shipment-settings-head>button{width:31px;height:31px;border:1px solid #d5d5d0;border-radius:8px;background:#fff;font-size:18px}.shipment-setting-toggle{margin-top:12px;padding:11px;border:1px solid #deded9;border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px}.shipment-setting-toggle input{position:absolute;opacity:0}.shipment-setting-toggle>i{position:relative;flex:0 0 auto;width:38px;height:22px;border-radius:20px;background:#ccc;transition:.2s}.shipment-setting-toggle>i:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}.shipment-setting-toggle input:checked+i{background:#111}.shipment-setting-toggle input:checked+i:after{transform:translateX(16px)}.shipment-setting-toggle strong,.shipment-setting-toggle small{display:block}.shipment-setting-toggle strong{font-size:10.5px}.shipment-setting-toggle small{margin-top:3px;color:#777;font-size:8.5px}.shipment-setting-field{margin-top:11px;display:grid;gap:6px}.shipment-setting-field>span{font-size:9.5px;font-weight:750}.shipment-setting-field select,.shipment-setting-field input{width:100%;height:40px;padding:0 10px;border:1px solid #ccc;border-radius:9px;background:#fff;font-size:10px}.shipment-setting-field select:disabled{background:#eee;color:#999}.auto-delivery-days>div{display:grid;grid-template-columns:100px auto;align-items:center;gap:8px}.auto-delivery-days b{font-size:10px}.shipment-settings-actions{margin-top:13px;display:flex;justify-content:flex-end}.bulk-shipment-toolbar{margin-top:14px;padding:11px 12px;border:1px solid #b8d4c4;border-radius:11px;background:#edf8f2;display:none;align-items:center;justify-content:space-between;gap:12px}.bulk-shipment-toolbar.visible{display:flex}.bulk-shipment-toolbar label,.bulk-shipment-toolbar>div{display:flex;align-items:center;gap:9px}.bulk-shipment-toolbar input{width:17px;height:17px;accent-color:#111}.bulk-shipment-toolbar strong{font-size:10px}
@media(max-width:600px){.shipment-settings-actions .button{width:100%}.bulk-shipment-toolbar,.bulk-shipment-toolbar>div{align-items:stretch;flex-direction:column}.bulk-shipment-toolbar .button{width:100%}}

/* Keep order actions compact and readable across screen sizes. */
.order-head-actions>.button{white-space:nowrap}
@media(max-width:600px){
  .order-browser-head .order-head-actions{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
  }
  .order-head-actions #shipmentSettingsButton,
  .order-head-actions .order-search{
    grid-column:1/-1;
  }
  .order-head-actions #bulkShipmentButton,
  .order-head-actions #printLabelMode{
    width:100%;
    min-width:0;
    padding:0 7px;
    font-size:9.5px;
    white-space:nowrap;
  }
}
.shiprocket-awb{display:block;width:max-content;max-width:100%;margin-top:5px!important;padding:4px 6px;border:1px solid #bbb;border-radius:6px;background:#f3f3f1;color:#111!important;font-size:7.5px!important;font-weight:800;white-space:nowrap}
.label-type-modal{position:fixed;inset:0;z-index:160;padding:18px;background:rgba(0,0,0,.52);display:grid;place-items:center}.label-type-modal[hidden]{display:none}.label-type-dialog{width:min(520px,100%);padding:18px;border-radius:16px;background:#fff;box-shadow:0 24px 65px rgba(0,0,0,.28)}.label-type-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.label-type-head h3{margin:0;font-size:18px}.label-type-head button{width:32px;height:32px;border:1px solid #ddd;border-radius:8px;background:#fff;font-size:18px;cursor:pointer}.label-type-options{margin-top:14px;display:grid;gap:8px}.label-type-options>button{min-height:75px;padding:11px;border:1px solid #ddd;border-radius:11px;background:#fff;display:grid;grid-template-columns:39px 1fr auto;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:.18s}.label-type-options>button:hover{border-color:#111;background:#f5f5f3;transform:translateY(-1px)}.label-type-options>button>b{width:39px;height:39px;border-radius:9px;background:#111;color:#fff;display:grid;place-items:center;font-size:9px}.label-type-options span strong,.label-type-options span small{display:block}.label-type-options span strong{font-size:11px}.label-type-options span small{margin-top:4px;color:#777;font-size:8.5px}.label-type-options>button>i{font-style:normal;font-size:16px}@media(max-width:480px){.label-type-dialog{padding:14px}.label-type-options>button{grid-template-columns:34px 1fr auto}.label-type-options>button>b{width:34px;height:34px}}
