#dispatch-section{--dispatch-ink:#192d35;--dispatch-green:#2d6860;color:var(--dispatch-ink);max-width:1550px;margin:0 auto}#dispatch-section p{line-height:1.6}#dispatch-section h2{font-size:1.9rem;letter-spacing:-1px;margin:4px 0 7px}#dispatch-section h3{font-size:.94rem;margin:0 0 7px}.dispatch-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.dispatch-heading p{color:var(--text-muted);font-size:.86rem}.dispatch-eyebrow{font-size:.65rem;font-weight:700;letter-spacing:2px;color:#678179}.dispatch-notice{display:flex;gap:16px;padding:14px 18px;border:1px solid #e5d7b7;border-radius:10px;background:#fbf5e8;font-size:.8rem;margin-bottom:12px}.dispatch-notice strong{white-space:nowrap;color:#756025}#dispatch-message{font-size:.77rem;color:#627171;min-height:24px;margin:5px 0 12px}#dispatch-message.dispatch-error{color:#9d342c;background:#fff0ed;padding:12px;border-radius:8px}.dispatch-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.dispatch-stat{background:#fff;border:1px solid var(--border);border-radius:10px;padding:17px}.dispatch-stat b{display:block;font-size:1.7rem;font-weight:600;margin-bottom:5px}.dispatch-stat span{font-size:.75rem;color:#647876}.dispatch-workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px}.dispatch-queue{min-width:0}.dispatch-controls{display:flex;flex-direction:column;gap:15px}.dispatch-tabs{display:flex;flex-wrap:wrap;gap:5px}.dispatch-tab{padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#536662;cursor:pointer;font:inherit;font-size:.74rem}.dispatch-tab[aria-pressed=true]{background:var(--dispatch-ink);border-color:var(--dispatch-ink);color:#fff}.dispatch-tab small{opacity:.7;margin-left:5px}#dispatch-search{font:inherit;font-size:.8rem;padding:10px 13px;max-width:330px;width:100%;border:1px solid var(--border);border-radius:8px;background:#fff}.dispatch-batch-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:21px 0 13px}.dispatch-batch-heading p{font-size:.73rem;color:#6b7b76}.dispatch-batch-heading button:disabled{opacity:.45;cursor:not-allowed}.dispatch-order{background:#fff;border:1px solid var(--border);border-radius:10px;margin-bottom:9px;overflow:hidden}.dispatch-order summary{display:grid;grid-template-columns:minmax(130px,1fr) 70px 105px 145px;gap:12px;align-items:center;list-style:none;cursor:pointer;padding:16px}.dispatch-order summary::-webkit-details-marker{display:none}.dispatch-order summary:focus-visible{outline:2px solid var(--dispatch-green);outline-offset:-3px}.dispatch-customer{font-size:.83rem;font-weight:600;overflow-wrap:anywhere}.dispatch-order small{display:block;color:#76817e;font-size:.68rem;font-weight:400;margin-top:5px;overflow-wrap:anywhere}.dispatch-size{font-size:.79rem;font-weight:600}.dispatch-destination{font-size:.74rem}.dispatch-status{font-size:.68rem;border-radius:6px;padding:7px 9px;text-align:center;background:#fff3e7;color:#966535}.dispatch-status.matched{background:#edf5f0;color:#367061}.dispatch-order-body{border-top:1px solid #edf0ed;padding:17px;font-size:.78rem}.dispatch-order-body ul{padding-left:20px;line-height:1.85;margin:8px 0 15px}.dispatch-order-body p{margin:8px 0}.dispatch-file{background:#f5f7f5;padding:8px 10px;border-radius:6px;overflow-wrap:anywhere;font-size:.71rem;margin:6px 0}.dispatch-rule{padding:11px;background:#f7f4ed;border-radius:7px;color:#79663e}.dispatch-card{background:#fff;border:1px solid var(--border);border-radius:11px;padding:20px;margin-bottom:14px}.dispatch-card p{font-size:.75rem;color:#647570;margin:10px 0}.dispatch-steps{padding-left:20px;margin:17px 0 10px}.dispatch-steps li{padding-left:5px;margin:0 0 18px;font-size:.78rem;color:var(--dispatch-green)}.dispatch-steps strong{display:block;color:var(--dispatch-ink)}.dispatch-steps span{display:block;color:#75837d;font-size:.72rem;margin-top:5px;line-height:1.6}.dispatch-muted{font-size:.69rem!important;color:#89918a!important}.dispatch-pilot-status{padding:9px;background:#f6f1e7;color:#8a7243;border-radius:6px;font-size:.7rem;line-height:1.6}.dispatch-empty{background:#fff;padding:35px;border:1px dashed #d8dfda;border-radius:10px;font-size:.85rem;line-height:1.7}.dispatch-source{font-size:.73rem;color:#77867c;margin:23px 0}.dispatch-source summary{cursor:pointer}.dispatch-source p{margin:10px 0;max-width:950px}.dispatch-manifest{background:#fff;border:1px solid var(--border);padding:25px;border-radius:12px;font-size:.83rem;line-height:1.8}.dispatch-manifest ol{padding-left:20px;margin:17px 0}.dispatch-manifest button{margin-top:10px}.dispatch-manifest button:disabled{opacity:.45;cursor:not-allowed}@media(min-width:1500px){.dispatch-order summary{grid-template-columns:minmax(160px,1fr) 85px 115px 155px}}@media(max-width:1250px){.dispatch-workspace{grid-template-columns:minmax(0,1fr)}.dispatch-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dispatch-card{padding:16px}.dispatch-notice{flex-wrap:wrap;gap:6px}}@media(max-width:700px){.dispatch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-side{grid-template-columns:1fr}.dispatch-heading{align-items:flex-start}.dispatch-heading h2{font-size:1.6rem!important}.dispatch-order summary{grid-template-columns:minmax(0,1fr) 65px;gap:13px}.dispatch-destination{grid-column:1}.dispatch-status{grid-column:2;min-width:0;overflow-wrap:anywhere;font-size:.6rem}.dispatch-batch-heading{align-items:flex-start;flex-direction:column}.dispatch-card{margin-bottom:0}.dispatch-notice{font-size:.74rem}.dispatch-heading .btn{font-size:.7rem;white-space:nowrap}.dispatch-stats{gap:8px}.dispatch-stat{padding:13px}#dispatch-section{min-width:0}.dispatch-tabs{gap:4px}.dispatch-tab{font-size:.7rem;padding:7px 9px}}
.dispatch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:12px 0 22px}.dispatch-fields div{min-width:0}.dispatch-fields dt{font-size:11px;color:#718177;margin-bottom:5px}.dispatch-fields dd{margin:0;font-size:13px;overflow-wrap:anywhere}.dispatch-rule-applied{background:#eaf5ee;color:#285b43}.dispatch-order-body h4{margin:24px 0 12px;font-size:14px}.dispatch-order-body h4 small{display:block;font-weight:400;font-size:11px;color:#7c877e;margin-top:6px}.dispatch-table-scroll{overflow-x:auto}.dispatch-customs-table{border-collapse:collapse;width:100%;font-size:12px}.dispatch-customs-table th,.dispatch-customs-table td{text-align:left;padding:10px;border-bottom:1px solid #e7ebe7;vertical-align:top;overflow-wrap:anywhere}.dispatch-customs-table th{background:#f5f7f4;font-size:11px;color:#66756a}.dispatch-gift-message{margin:12px 0;padding:16px 20px;background:#f7f4ef;border-left:3px solid #cbb98a;white-space:pre-wrap;overflow-wrap:anywhere}.dispatch-address{font-size:13px}.dispatch-rule small{display:block;color:inherit;font-size:11px}@media(max-width:700px){.dispatch-fields{grid-template-columns:1fr}.dispatch-customs-table th,.dispatch-customs-table td{padding:7px}}

/* Compact shipping queue; order details use a native keyboard-accessible dialog. */
#dispatch-section{max-width:none}.dispatch-heading{margin-bottom:12px}.dispatch-heading p{margin:0}.dispatch-notice{padding:10px 14px}.dispatch-stats{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.dispatch-stat{display:flex;align-items:center;gap:9px;padding:9px 14px;border-radius:5px}.dispatch-stat b{font-size:1.1rem;margin:0}.dispatch-workspace{display:block}.dispatch-workflow-help{font-size:12px;color:#65726e;margin-top:22px}.dispatch-workflow-help summary{cursor:pointer;padding:12px 0}.dispatch-workflow-help .dispatch-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dispatch-controls{gap:10px}.dispatch-tabs{gap:3px}.dispatch-tab{border-radius:4px;padding:8px 11px}.dispatch-filterbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;font-size:12px}.dispatch-filterbar label{display:flex;align-items:center;gap:6px;color:#617071}.dispatch-filterbar select{font:inherit;border:1px solid #d5dce0;padding:7px;background:white;border-radius:4px;max-width:180px}#dispatch-selection{margin-left:auto;color:#697578}.dispatch-batch-heading{margin:15px 0 8px}.dispatch-grid-scroll{overflow:auto;border:1px solid #d3dae0;background:white;border-radius:5px;max-height:68vh}.dispatch-grid{border-collapse:separate;border-spacing:0;min-width:1610px;width:100%;font-size:12px}.dispatch-grid th{position:sticky;top:0;z-index:1;background:#f0f3f6;text-align:left;white-space:nowrap;color:#3f4e5e;font-weight:600;border-bottom:1px solid #c9d2dc;padding:10px 12px}.dispatch-grid td{border-bottom:1px solid #e2e7ed;padding:8px 12px;vertical-align:middle}.dispatch-grid tbody tr:hover{background:#f7faff}.dispatch-grid .dispatch-selected{background:#eaf2fc}.dispatch-grid small{display:block;color:#7b838e;font-size:10px;margin-top:3px}.dispatch-grid input{width:15px;height:15px;accent-color:#2d6860}.dispatch-order-link{border:0;background:none;padding:0;font:inherit;color:#355eae;cursor:pointer;text-align:left;min-width:130px}.dispatch-order-link:hover{text-decoration:underline}.dispatch-order-link:focus-visible{outline:2px solid #355eae;outline-offset:4px}.dispatch-reference{min-width:100px}.dispatch-size-tag{display:inline-block;padding:3px 7px;background:#edf1f6;color:#364d68;border-radius:3px;white-space:nowrap;font-size:11px;font-weight:600}.dispatch-gift-tag{color:#447821;white-space:nowrap}.dispatch-row-status{font-size:11px;white-space:nowrap;color:#64746e}.dispatch-check{color:#a14b31}.dispatch-title-cell{min-width:230px;max-width:350px;line-height:1.5}.dispatch-dialog{width:calc(100vw - 60px);max-width:1440px;height:calc(100vh - 60px);max-height:940px;margin:auto;padding:0;border:1px solid #cbd3dc;border-radius:10px;color:#233445;background:#f5f7fa;box-shadow:0 24px 90px #0004}.dispatch-dialog::backdrop{background:#17202e80}.dispatch-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid #d4dce4;background:#fff}.dispatch-dialog header h2{font-size:17px;margin:0;font-weight:600;overflow-wrap:anywhere}.dispatch-detail-content{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;padding:24px;max-height:calc(100% - 77px);overflow:auto}.dispatch-modal-main{min-width:0}.dispatch-modal-main .dispatch-order-body{background:white;border:1px solid #d5dce3;border-radius:7px;padding:22px}.dispatch-modal-main .dispatch-order-body>.dispatch-rule{display:none}.dispatch-detail-strip{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:12px;margin:0 0 18px}.dispatch-config{align-self:start;background:white;border:1px solid #d5dce3;padding:22px;border-radius:7px;position:sticky;top:0}.dispatch-config h3{margin:0 0 12px;font-size:17px}.dispatch-config p{font-size:12px;line-height:1.65}.dispatch-config h4{margin:20px 0 12px;font-size:13px}.dispatch-config .dispatch-fields{grid-template-columns:1fr}.dispatch-config .dispatch-fields dd{font-size:15px;border:1px solid #d6dde5;border-radius:4px;padding:9px}.dispatch-config button{width:100%;margin-top:14px;opacity:.45;cursor:not-allowed}.dispatch-check-list{padding:14px 20px;background:#fff1e8;border:1px solid #f1d3bc;border-radius:6px;font-size:12px;margin-bottom:14px}.dispatch-check-list ul{margin:8px 0 0;padding-left:18px;line-height:1.7}.dispatch-dialog .dispatch-order-body h4:first-child{margin-top:0}.dispatch-dialog .dispatch-fields dd{line-height:1.5}@media(max-width:900px){.dispatch-detail-content{grid-template-columns:1fr}.dispatch-config{position:static;grid-row:1}.dispatch-dialog{width:calc(100vw - 20px);height:calc(100vh - 20px)}.dispatch-workflow-help .dispatch-side{grid-template-columns:1fr}}@media(max-width:600px){.dispatch-filterbar{align-items:flex-start;flex-direction:column;gap:8px}#dispatch-selection{margin-left:0}.dispatch-dialog header{padding:13px}.dispatch-detail-content{padding:12px;gap:12px}.dispatch-stat{padding:7px 9px}.dispatch-dialog header h2{font-size:14px}.dispatch-dialog .dispatch-fields{grid-template-columns:1fr}}

.dispatch-service{display:flex;align-items:center;gap:9px;min-width:175px;white-space:nowrap}.dispatch-carrier-logo{object-fit:contain;flex-shrink:0}.dispatch-config-logo{object-fit:contain;object-position:left;margin:0 0 10px}.dispatch-tag-chip{display:inline-flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap;margin:2px 5px 2px 0;color:#384853}.dispatch-tag-chip i{display:inline-block;width:8px;height:23px;background:var(--tag-colour);border-radius:4px}.dispatch-age{white-space:nowrap;font-size:12px}.dispatch-age.old{color:#d65a3c}.dispatch-age.due{color:#b78728}.dispatch-age.recent{color:#829b3c}.dispatch-note-icon{border:0;background:none;padding:3px;color:#d5dbe1;vertical-align:middle}.dispatch-note-icon svg,.dispatch-gift-tag svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dispatch-note-icon.has-note{color:#6a7985;cursor:pointer}.dispatch-note-icon.has-note:hover{color:#355eae}.dispatch-notes-cell{white-space:nowrap}.dispatch-gift-tag{display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:12px;border:0;background:none;cursor:pointer;padding:0;color:#54852c}.dispatch-gift-tag:hover{text-decoration:underline}.dispatch-note-unknown{color:#9aa4ad;margin:0 4px}.dispatch-no-data{color:#bcc3c9}.dispatch-filterbar{gap:9px 14px}.dispatch-filterbar label{white-space:nowrap}#dispatch-selection{order:20;flex-basis:100%;margin-left:0;font-size:11px}.dispatch-preferences{position:relative;font-size:12px;white-space:nowrap}.dispatch-preferences summary{cursor:pointer;color:#506179;list-style:none;padding:7px 9px;border:1px solid #d5dce0;background:white;border-radius:4px}.dispatch-preferences summary:after{content:' ▾'}.dispatch-preferences>div{position:absolute;top:100%;right:0;z-index:5;min-width:240px;max-height:400px;overflow:auto;background:white;padding:15px;border:1px solid #cfd7df;box-shadow:0 8px 25px #20304020;border-radius:5px;display:grid;gap:9px;white-space:normal}.dispatch-preferences input:not([type=checkbox]){padding:8px;border:1px solid #d5dce0;border-radius:4px;min-width:0}.dispatch-preferences label{font-size:12px}.dispatch-preferences small{color:#7a858e;font-size:10px}.dispatch-preferences button:disabled{opacity:.4;cursor:not-allowed}.dispatch-grid [hidden]{display:none!important}.dispatch-grid th:first-child,.dispatch-grid td:first-child{position:sticky;left:0;background:inherit;z-index:2}.dispatch-grid th:first-child{background:#f0f3f6;z-index:3}.dispatch-grid{min-width:1850px}.dispatch-order-body .dispatch-fields dd{white-space:pre-wrap}.dispatch-preferences:focus-within{z-index:6}@media(max-width:600px){.dispatch-preferences>div{left:0;right:auto;min-width:220px;max-width:calc(100vw - 125px)}}

/* Keep the shipping queue visible above the fold on office screens. */
#dispatch-section .dispatch-eyebrow{display:none}#dispatch-section .dispatch-heading{margin-bottom:9px}#dispatch-section .dispatch-heading h2{font-size:1.4rem;margin:0}#dispatch-section .dispatch-heading p{display:none}#dispatch-section .dispatch-notice{padding:7px 11px;margin-bottom:5px;font-size:11px}#dispatch-section #dispatch-message{font-size:10px;min-height:0;margin:4px 0 8px}#dispatch-section .dispatch-stats{margin-bottom:10px;gap:7px}#dispatch-section .dispatch-stat{padding:6px 10px}#dispatch-section .dispatch-stat b{font-size:16px}#dispatch-section .dispatch-stat span{font-size:10px}#dispatch-section .dispatch-batch-heading{margin:9px 0 7px}#dispatch-section .dispatch-batch-heading p{margin:0;font-size:10px}#dispatch-section .dispatch-filterbar select{padding:5px;font-size:11px}#dispatch-section .dispatch-preferences summary{padding:6px 8px;font-size:11px}#dispatch-section .dispatch-filterbar .btn{padding:6px 9px;font-size:11px}#dispatch-section #dispatch-selection{font-size:10px}@media(min-width:1100px){#dispatch-section .dispatch-controls{display:grid;grid-template-columns:250px minmax(0,1fr);gap:8px 12px}#dispatch-section .dispatch-tabs{grid-column:1/-1}#dispatch-section #dispatch-search{height:34px;max-width:100%;padding:7px 10px}#dispatch-section .dispatch-filterbar{gap:6px 10px}#dispatch-section .dispatch-filterbar label{font-size:11px;gap:4px}}

.dispatch-tag-picker>div{min-width:290px;padding:0;max-height:460px}.dispatch-tag-picker>div>p{font-size:12px;margin:0;padding:13px 16px;color:#63717d;border-bottom:1px solid #d9dfe5}.dispatch-tag-picker>div>label{padding:12px 16px;border-bottom:1px solid #e0e5e9;gap:14px;display:flex;align-items:center}.dispatch-tag-picker input{width:17px;height:17px;accent-color:#282047;flex-shrink:0}.dispatch-colour-label{display:inline-block;padding:7px 12px;border-radius:5px;font-size:13px;white-space:normal;line-height:1.35}.dispatch-tag-picker label small{margin-left:auto;font-size:11px}.dispatch-tag-picker #dispatch-tags-clear{margin:8px 12px 12px}.dispatch-tag-picker label:hover{background:#f8fafc}


/* Dense shipping table: one line per order, full details in the order dialog. */
#dispatch-section .dispatch-grid{table-layout:fixed;width:1900px;min-width:100%;font-size:12px;line-height:18px}
#dispatch-section .dispatch-grid th{padding:7px 8px;font-size:12px;height:32px;box-sizing:border-box}
#dispatch-section .dispatch-grid td{padding:4px 8px;height:34px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px}
#dispatch-section .dispatch-grid th:first-child{width:34px}
#dispatch-section .dispatch-grid th:nth-child(2){width:155px}
#dispatch-section .dispatch-grid th:nth-child(3){width:158px}
#dispatch-section .dispatch-grid th:nth-child(4){width:65px}
#dispatch-section .dispatch-grid th:nth-child(5){width:75px}
#dispatch-section .dispatch-grid th:nth-child(6){width:70px}
#dispatch-section .dispatch-grid th:nth-child(7){width:88px}
#dispatch-section .dispatch-grid th:nth-child(8){width:62px}
#dispatch-section .dispatch-grid th:nth-child(9){width:98px}
#dispatch-section .dispatch-grid th:nth-child(10){width:190px}
#dispatch-section .dispatch-grid th:nth-child(11){width:132px}
#dispatch-section .dispatch-grid th:nth-child(12){width:35px}
#dispatch-section .dispatch-grid th:nth-child(13){width:130px}
#dispatch-section .dispatch-grid th:nth-child(14){width:70px}
#dispatch-section .dispatch-grid th:nth-child(15){width:100px}
#dispatch-section .dispatch-grid th:nth-child(16){width:125px}
#dispatch-section .dispatch-grid th:nth-child(17){width:220px}
#dispatch-section .dispatch-grid small{display:inline;font-size:10px;margin:0 0 0 5px}
#dispatch-section .dispatch-order-link{min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;line-height:20px}
#dispatch-section .dispatch-grid td:nth-child(2)>small{display:none}
#dispatch-section .dispatch-title-cell{min-width:0;max-width:none;line-height:20px}
#dispatch-section .dispatch-service{min-width:0;gap:5px;line-height:20px}
#dispatch-section .dispatch-service>span{overflow:hidden;text-overflow:ellipsis}
#dispatch-section .dispatch-carrier-logo{width:36px;height:20px}
#dispatch-section .dispatch-note-icon{padding:0 2px;line-height:20px}
#dispatch-section .dispatch-note-icon svg,#dispatch-section .dispatch-gift-tag svg{width:18px;height:18px}
#dispatch-section .dispatch-tag-chip{margin:0 4px 0 0;line-height:20px}
#dispatch-section .dispatch-tag-chip i{height:18px;width:7px}
#dispatch-section .dispatch-size-tag{padding:0 4px;line-height:20px}
#dispatch-section .dispatch-grid input{margin:0;vertical-align:middle}
#dispatch-section .dispatch-grid-scroll{border-radius:2px;max-height:calc(100vh - 280px);min-height:220px}
#dispatch-section .dispatch-stats{gap:14px;margin:5px 0 8px}
#dispatch-section .dispatch-stat{padding:0;border:0;background:none;gap:5px}
#dispatch-section .dispatch-stat b{font-size:13px}
#dispatch-section .dispatch-heading{margin-bottom:5px}
#dispatch-section .dispatch-heading h2{font-size:19px}
#dispatch-section .dispatch-controls{display:flex;flex-direction:column;gap:5px}
#dispatch-section #dispatch-search{max-width:260px;height:28px;padding:4px 8px;font-size:12px;border-radius:3px}
#dispatch-section .dispatch-filterbar{gap:3px 10px;align-items:center;border-top:1px solid #e0e5ea;border-bottom:1px solid #e0e5ea;padding:4px 0}
#dispatch-section .dispatch-filterbar>label{font-size:12px;gap:3px}
#dispatch-section .dispatch-filterbar>label>select{border:0;background:transparent;padding:3px 1px;max-width:115px;font-size:12px}
#dispatch-section .dispatch-preferences summary{border:0;background:transparent;padding:4px 2px;font-size:12px}
#dispatch-section #dispatch-selection{flex-basis:auto;margin-left:auto;font-size:10px}
#dispatch-section .dispatch-batch-heading{margin:5px 0}
#dispatch-section .dispatch-batch-heading h3{font-size:12px;margin:0}
#dispatch-section .dispatch-batch-heading>div{display:flex;align-items:center;gap:10px}
#dispatch-section .dispatch-batch-heading button{padding:5px 9px;font-size:11px}
@media(max-width:700px){#dispatch-section .dispatch-filterbar{flex-direction:row;align-items:center}#dispatch-section .dispatch-batch-heading>div{display:block}#dispatch-section .dispatch-grid-scroll{max-height:65vh}}


/* Hide the sidebar track while retaining wheel, touch and keyboard scrolling. */
.sidebar-nav{scrollbar-width:none;-ms-overflow-style:none}
.sidebar-nav::-webkit-scrollbar{display:none;width:0;height:0}


/* Trial controls save only browser-local settings; carrier actions stay disabled. */
.dispatch-trial-editor{padding:12px;border:1px solid #cfdae6;border-radius:6px;background:#f7faff;font-size:12px}
.dispatch-trial-editor>label{display:block;font-size:12px;font-weight:600;margin:10px 0 4px}
.dispatch-trial-editor>select,.dispatch-trial-editor>input{width:100%;box-sizing:border-box;padding:8px;border:1px solid #b8c6d5;border-radius:4px;background:#fff;color:#233445;font:inherit}
.dispatch-trial-editor>small{display:block;line-height:1.5;color:#657485;margin-top:10px}
.dispatch-trial-editor #dispatch-trial-feedback{font-size:12px;line-height:1.5;color:#365c83}
.dispatch-config .dispatch-trial-actions button{opacity:1;cursor:pointer;padding:8px;font-size:12px;margin-top:8px}
.dispatch-config .dispatch-trial-actions button:focus-visible{outline:2px solid #355eae;outline-offset:2px}
#dispatch-section .dispatch-grid .dispatch-trial-badge{color:#355eae;font-weight:600}

.dispatch-config .dispatch-trial-actions .btn-primary{background:#26344a;border-color:#26344a;color:#fff}


/* Make compact filters visibly interactive without increasing table density. */
#dispatch-section .dispatch-filterbar>label{gap:6px}
#dispatch-section .dispatch-filterbar>label>select{appearance:none;-webkit-appearance:none;height:30px;max-width:155px;padding:4px 28px 4px 9px;border:1px solid #aebccc;border-radius:5px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#415773 50%),linear-gradient(135deg,#415773 50%,transparent 50%);background-position:calc(100% - 13px) 12px,calc(100% - 8px) 12px;background-size:5px 5px;background-repeat:no-repeat;color:#26384b;cursor:pointer;box-shadow:0 1px 2px #2030400a}
#dispatch-section .dispatch-preferences>summary{position:relative;box-sizing:border-box;height:30px;line-height:20px;padding:4px 27px 4px 10px;border:1px solid #aebccc;border-radius:5px;background:#fff;color:#26384b;box-shadow:0 1px 2px #2030400a}
#dispatch-section .dispatch-preferences>summary:after{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:14px;color:#415773;content:'\25be'}
#dispatch-section .dispatch-filterbar>label>select:hover,#dispatch-section .dispatch-preferences>summary:hover{border-color:#667f9b;background-color:#f0f5fc}
#dispatch-section .dispatch-filterbar>label>select:focus-visible,#dispatch-section .dispatch-preferences>summary:focus-visible{outline:2px solid #426ca6;outline-offset:2px}
#dispatch-section .dispatch-preferences[open]>summary{background:#eaf1fb;border-color:#7290b6}


/* Section edits preserve source facts and save trial overrides in this browser. */
.dispatch-shipment-summary{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}
.dispatch-edit-card{border:1px solid #d8e0e8;background:#fff;border-radius:6px;padding:14px;margin-bottom:14px;min-width:0}
.dispatch-edit-card .dispatch-fields{margin-bottom:4px;gap:10px}
.dispatch-edit-card .dispatch-fields dd{font-size:12px}
.dispatch-edit-card .dispatch-address{line-height:1.6}
.dispatch-order-body .dispatch-edit-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:14px;flex-wrap:wrap}
.dispatch-edit-heading .dispatch-order-link{margin-left:auto;min-width:0;font-size:12px;font-weight:500;color:#355eae;text-decoration:underline}
.dispatch-edit-heading small{font-size:10px;color:#355eae;font-weight:400}
.dispatch-original{font-size:12px;color:#6c7d8b;margin:12px 0}
.dispatch-original summary{cursor:pointer}.dispatch-original[open]{padding:10px;background:#f3f6f9;border-radius:4px}
.dispatch-edit-banner{padding:10px 14px;background:#edf4ff;border:1px solid #bfd2ec;border-radius:4px;color:#345578;font-size:12px}
.dispatch-edit-dialog{margin:auto;padding:0;width:min(780px,calc(100vw - 40px));max-height:calc(100vh - 60px);border:1px solid #bac8d7;border-radius:8px;background:#fff;color:#233445;box-shadow:0 24px 80px #0004}
.dispatch-edit-dialog::backdrop{background:#17202e88}
.dispatch-edit-dialog header,.dispatch-edit-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 20px;background:#f8faff;border-bottom:1px solid #d8e0e8}
.dispatch-edit-dialog header h2{font-size:17px;margin:0}.dispatch-edit-dialog footer{border-bottom:0;border-top:1px solid #d8e0e8;position:sticky;bottom:0}
.dispatch-edit-dialog .btn-primary{background:#26344a;color:#fff;border-color:#26344a}
.dispatch-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px}
.dispatch-edit-fields>label,.dispatch-edit-fields fieldset>label{display:block;font-size:12px;font-weight:600}
.dispatch-edit-fields input:not([type=checkbox]),.dispatch-edit-fields select,.dispatch-edit-fields textarea{display:block;width:100%;box-sizing:border-box;font:inherit;font-weight:400;color:#233445;margin-top:5px;padding:8px;border:1px solid #b9c8d8;border-radius:4px;background:white}
.dispatch-edit-fields input[type=checkbox]{margin-right:9px;vertical-align:middle;width:16px;height:16px}
.dispatch-edit-fields input:focus-visible,.dispatch-edit-fields select:focus-visible,.dispatch-edit-fields textarea:focus-visible{outline:2px solid #426ca6;outline-offset:1px}
.dispatch-edit-fields p,.dispatch-edit-wide,.dispatch-edit-fields fieldset{grid-column:1/-1}
.dispatch-edit-fields p{font-size:12px;line-height:1.6;margin:0;color:#657689}
.dispatch-edit-fields fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid #d1dce7;border-radius:5px;padding:12px}
.dispatch-edit-fields legend{font-size:13px;font-weight:600;padding:0 5px}
#dispatch-edit-feedback{padding:0 20px 15px;color:#355878;font-size:12px;line-height:1.5}
@media(max-width:1150px){.dispatch-shipment-summary{grid-template-columns:1fr}.dispatch-shipment-summary .dispatch-fields{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.dispatch-edit-fields,.dispatch-edit-fields fieldset{grid-template-columns:1fr}.dispatch-edit-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}}

/* A single selected order can enter the manual label review without a size batch. */
#dispatch-section .dispatch-label-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#dispatch-section .dispatch-single-label{background:#356c47;color:white;border:1px solid #356c47;border-radius:5px;cursor:pointer}
#dispatch-section .dispatch-single-label span{font-size:9px;margin-left:5px;padding:1px 4px;border:1px solid #ffffff80;border-radius:3px}
#dispatch-section .dispatch-single-label:hover:not(:disabled){background:#285638}
#dispatch-section .dispatch-single-label:disabled{opacity:.45;cursor:not-allowed}
#dispatch-section .dispatch-single-label:focus-visible{outline:2px solid #426ca6;outline-offset:3px}
#dispatch-section .dispatch-single-label[hidden]{display:none}

/* End-of-day view is separate from order counts and remains unconnected. */
#dispatch-section.dispatch-show-manifests>.dispatch-notice,#dispatch-section.dispatch-show-manifests>#dispatch-message,#dispatch-section.dispatch-show-manifests>.dispatch-stats,#dispatch-section.dispatch-show-manifests>.dispatch-workspace,#dispatch-section.dispatch-show-manifests>.dispatch-source{display:none}
.dispatch-manifest-tabs{display:flex;gap:4px;border-bottom:1px solid #cbd5df;margin:18px 0 22px}
.dispatch-manifest-tabs button{background:transparent;border:1px solid transparent;border-bottom:0;border-radius:5px 5px 0 0;padding:12px 16px;font:inherit;font-size:13px;color:#31404d;cursor:pointer}
.dispatch-manifest-tabs button[aria-selected=true]{background:white;border-color:#cbd5df;font-weight:600}
#dispatch-manifest-view h3{font-size:16px;margin:0 0 12px}
.dispatch-manifest-source{font-size:12px;background:#fff9e8;border:1px solid #e6d8b1;padding:10px 12px;border-radius:5px;line-height:1.5}
.dispatch-manifest-filters{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:18px 0 12px;font-size:12px}
.dispatch-manifest-filters label{display:flex;align-items:center;gap:7px}
.dispatch-manifest-filters select,.dispatch-manifest-filters input{padding:6px 8px;border:1px solid #cad4de;border-radius:4px;background:#fff;color:#647281;font:inherit;max-width:150px}
.dispatch-manifest-filters .btn{margin-left:auto;padding:7px 12px;font-size:12px;opacity:.45;cursor:not-allowed}
.dispatch-manifest-table{overflow:auto;background:#fff;border:1px solid #cbd5df;border-radius:4px;min-height:280px}
.dispatch-manifest-table table{width:100%;border-collapse:collapse;font-size:12px;min-width:780px}
.dispatch-manifest-table th{background:#f0f3f6;color:#3f4e5e;font-weight:600;text-align:left;padding:10px;border-bottom:1px solid #cbd5df;white-space:nowrap}
.dispatch-manifest-table td[colspan]{text-align:center;padding:52px 20px;color:#62717e}
.dispatch-manifest-table td strong,.dispatch-manifest-table td span{display:block;margin-top:12px}
.dispatch-manifest-footnote{font-size:12px;color:#62717e;margin:14px 0}
.dispatch-manifest-tabs button:focus-visible{outline:2px solid #426ca6;outline-offset:-2px}

#dispatch-section.dispatch-show-history>.dispatch-notice,#dispatch-section.dispatch-show-history>#dispatch-message,#dispatch-section.dispatch-show-history>.dispatch-stats,#dispatch-section.dispatch-show-history>.dispatch-workspace,#dispatch-section.dispatch-show-history>.dispatch-source{display:none}
.dispatch-manifest-tabs button[aria-pressed=true]{background:white;border-color:#cbd5df;font-weight:600}
#dispatch-history-search{padding:8px 10px;border:1px solid #c3cfdc;border-radius:5px;width:330px;max-width:100%;margin:0 0 14px;font:inherit;font-size:12px}
.dispatch-history-table{max-height:60vh}.dispatch-history-table td{padding:9px 10px;border-bottom:1px solid #e2e7ed;font-size:12px}.dispatch-history-table .btn{font-size:11px;padding:5px 8px}
.dispatch-config .dispatch-reship-button:not(:disabled){opacity:1;cursor:pointer;background:#356c47;color:white}

/* Simplified toolbar: Gary removed Saved filters, Columns, More options and Clear filters. */
#dispatch-section .dispatch-filterbar>.dispatch-preferences:not(.dispatch-tag-picker),
#dispatch-section .dispatch-filterbar>#dispatch-clear{display:none}

/* Keep print size and frame visible beside the order reference. */
#dispatch-section .dispatch-grid th:nth-child(4){width:145px}
#dispatch-section .dispatch-grid th:nth-child(5){width:65px}
#dispatch-section .dispatch-grid th:nth-child(6){width:75px}
#dispatch-section .dispatch-grid th:nth-child(7){width:70px}
#dispatch-section .dispatch-grid th:nth-child(8){width:88px}
#dispatch-section .dispatch-grid th:nth-child(9){width:62px}
#dispatch-section .dispatch-grid th:nth-child(10){width:98px}
#dispatch-section .dispatch-grid th:nth-child(11){width:190px}
#dispatch-section .dispatch-controls{gap:3px}
#dispatch-section .dispatch-filterbar{padding:3px 0;gap:3px 8px}
#dispatch-section .dispatch-batch-heading{margin:3px 0}
#dispatch-section .dispatch-stats{margin:3px 0 5px}
#dispatch-section #dispatch-selection[hidden]{display:none}

/* Reduce empty space between columns while retaining the existing text size. */
#dispatch-section .dispatch-grid{width:1586px}
#dispatch-section .dispatch-grid th,#dispatch-section .dispatch-grid td{padding-left:5px;padding-right:5px}
#dispatch-section .dispatch-grid th:nth-child(1){width:30px}
#dispatch-section .dispatch-grid th:nth-child(2){width:135px}
#dispatch-section .dispatch-grid th:nth-child(3){width:140px}
#dispatch-section .dispatch-grid th:nth-child(4){width:115px}
#dispatch-section .dispatch-grid th:nth-child(5){width:52px}
#dispatch-section .dispatch-grid th:nth-child(6){width:45px}
#dispatch-section .dispatch-grid th:nth-child(7){width:50px}
#dispatch-section .dispatch-grid th:nth-child(8){width:80px}
#dispatch-section .dispatch-grid th:nth-child(9){width:48px}
#dispatch-section .dispatch-grid th:nth-child(10){width:76px}
#dispatch-section .dispatch-grid th:nth-child(11){width:175px}
#dispatch-section .dispatch-grid th:nth-child(12){width:30px}
#dispatch-section .dispatch-grid th:nth-child(13){width:95px}
#dispatch-section .dispatch-grid th:nth-child(14){width:60px}
#dispatch-section .dispatch-grid th:nth-child(15){width:85px}
#dispatch-section .dispatch-grid th:nth-child(16){width:100px}
#dispatch-section .dispatch-grid th:nth-child(17){width:170px}
/* End-of-day review and shared PDF history. */
.dispatch-manifest-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
.dispatch-manifest-actions input{padding:6px;border:1px solid #bdc8d3;border-radius:4px;font:inherit}
#dispatch-manifest-view .dispatch-manifest-table td{padding:9px 10px;border-bottom:1px solid #e0e6ec;vertical-align:middle}
#dispatch-manifest-view .dispatch-manifest-table td .btn{font-size:12px;padding:5px 9px;white-space:nowrap}
.dispatch-manifest-confirm{margin:16px 0;padding:14px;background:white;border:1px solid #bccdc7;border-radius:6px;font-size:13px}
.dispatch-manifest-confirm label{display:flex;align-items:center;gap:10px;margin:10px 0}
.dispatch-manifest-confirm p{color:#586773;font-size:12px}
#dispatch-manifest-view .dispatch-error:empty{display:none}
#dispatch-section.dispatch-show-manifests>#dispatch-run-alert{display:none}
#dispatch-manifest-view .btn-primary{background:#293448;color:#fff}
#dispatch-manifest-view .btn-primary:disabled{opacity:.5;cursor:not-allowed}
#dispatch-manifest-view .dispatch-manifest-table{height:auto;min-height:0;max-height:42vh}
#dispatch-run-alert{margin:8px 0;padding:9px 12px;border:1px solid #e5d7b7;border-radius:6px;background:#fbf5e8;font-size:13px}
.dispatch-print-issues summary,.dispatch-source-status summary{cursor:pointer}
.dispatch-print-issues summary{font-weight:600}
.dispatch-print-issues summary span{font-weight:400;margin-left:8px}
#dispatch-run-alert p{margin:5px 0;font-size:12px}
.dispatch-run-issue{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e5d7b7;padding:8px 0}
.dispatch-run-issue .btn{white-space:nowrap}
.dispatch-source-status{font-size:12px}
#dispatch-section .dispatch-manifest-shortcut{border:1px solid #748c86;background:#fff;color:#294a41}

.dispatch-run-panel{margin:8px 0;padding:10px 12px;border:1px solid #bdcdc6;border-radius:6px;background:#f3f8f5;font-size:13px}
.dispatch-run-panel header{margin-bottom:5px;color:#586773}
.dispatch-run-panel p{margin:5px 0}
.dispatch-run-panel details{margin-top:6px}
.dispatch-run-panel summary{cursor:pointer}
.dispatch-run-panel .dispatch-run-pdf{display:inline-block;margin:3px 16px 3px 0}
.dispatch-run-panel [data-run-connection]:empty{display:none}
.dispatch-run-panel .dispatch-run-history{border-top:1px solid #d8e1db;padding-top:6px}
.dispatch-run-panel .btn{max-width:100%;white-space:normal;text-align:left}
#dispatch-section.dispatch-show-manifests>.dispatch-run-panel{display:none}

#dispatch-section.dispatch-show-completed>.dispatch-notice,#dispatch-section.dispatch-show-completed>#dispatch-message,#dispatch-section.dispatch-show-completed>.dispatch-stats,#dispatch-section.dispatch-show-completed>.dispatch-workspace,#dispatch-section.dispatch-show-completed>.dispatch-source,#dispatch-section.dispatch-show-completed>.dispatch-run-panel,#dispatch-section.dispatch-show-completed>#dispatch-run-alert{display:none}
#dispatch-completed-view .dispatch-grid{width:100%;table-layout:auto}
#dispatch-completed-view .dispatch-grid th{width:auto}

/* Keep the table inside the content column and its horizontal controls reachable. */
#main-content{min-width:0}
#dispatch-section{min-width:0;max-width:100%}
#dispatch-section .dispatch-grid-scroll,#dispatch-section .dispatch-manifest-table{max-width:100%;overflow-x:auto;scrollbar-width:auto;scrollbar-color:#7b8b9b #e8edf3}
#dispatch-section .dispatch-grid-scroll::-webkit-scrollbar,#dispatch-section .dispatch-manifest-table::-webkit-scrollbar{display:block;height:14px;width:14px}
#dispatch-section .dispatch-grid-scroll::-webkit-scrollbar-thumb,#dispatch-section .dispatch-manifest-table::-webkit-scrollbar-thumb{background:#7b8b9b;border:3px solid #e8edf3;border-radius:8px}
#dispatch-section .dispatch-grid-scroll::-webkit-scrollbar-track,#dispatch-section .dispatch-manifest-table::-webkit-scrollbar-track{background:#e8edf3}
.dispatch-column-scroll{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:8px;background:#f3f6fa;border:1px solid #cad4df;border-radius:4px;padding:3px 8px;margin:4px 0;font-size:11px;color:#43576e}
.dispatch-column-scroll[hidden]{display:none}
.dispatch-column-scroll button{padding:0;width:27px;height:24px;flex:0 0 27px;font-size:22px;line-height:20px;border:1px solid #aebccc;border-radius:3px;color:#2c4865;background:white;cursor:pointer}
.dispatch-column-scroll button:disabled{opacity:.4;cursor:default}
.dispatch-column-scroll input[type=range]{appearance:none;-webkit-appearance:none;min-width:0;flex:1;height:22px;margin:0;background:transparent;cursor:ew-resize}
.dispatch-column-scroll input::-webkit-slider-runnable-track{height:12px;background:#dce4ed;border-radius:6px}
.dispatch-column-scroll input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:var(--column-thumb,80px);height:12px;border:1px solid #526b84;border-radius:6px;background:#7088a1}
.dispatch-column-scroll input::-moz-range-track{height:12px;background:#dce4ed;border-radius:6px}
.dispatch-column-scroll input::-moz-range-thumb{width:var(--column-thumb,80px);height:12px;border:1px solid #526b84;border-radius:6px;background:#7088a1}
.dispatch-column-scroll :focus-visible{outline:2px solid #355eae;outline-offset:2px}
