body.tr-workspace-design .app-shell.page-logistics .logistics-board-panel .logistics-board-head {
  align-items: center;
  gap: 12px;
  padding: 2px 0 12px !important;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-board-panel .logistics-board-head h2 {
  color: #152b46 !important;
  font-size: clamp(20px, 1.6vw, 24px) !important;
  font-weight: 720 !important;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-board-panel .logistics-board-head > b {
  align-self: center;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: #e3ebf7 !important;
  color: #244c7e !important;
  font-weight: 650 !important;
  white-space: nowrap;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-board-panel .logistics-list {
  gap: clamp(18px, 2vw, 28px) !important;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .logistics-order-card {
  border-color: #ccd9ea !important;
  border-radius: 14px !important;
  background: #fff !important;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-order-title {
  align-items: center;
  gap: 16px 24px;
  padding: 16px 18px !important;
  background: #f4f8fe !important;
  border-bottom: 1px solid #dce5f2 !important;
}
body.tr-workspace-design .app-shell.page-logistics .dispatch-order-title .dispatch-order-identity { min-width: 0; }
body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-order-title h3 {
  margin: 5px 0 4px !important;
  color: #142b47 !important;
  font-size: clamp(19px, 1.55vw, 24px) !important;
  line-height: 1.23;
  font-weight: 700 !important;
  overflow-wrap: anywhere;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-invoice > span {
  color: #174887 !important;
  font-weight: 720 !important;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-order-title .order-actions {
  min-width: 0;
  flex-wrap: wrap;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-order-title .total {
  color: #142b47 !important;
  font-variant-numeric: tabular-nums;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-order-title .badge {
  background: #e6eef9 !important;
  color: #244c7e !important;
}

body.tr-workspace-design .app-shell.page-logistics .logistics-list .tr-dispatch-section {
  --tr-dispatch-ink: #235b46;
  --tr-dispatch-fill: #eaf5ef;
  --tr-dispatch-line: #cadfd3;
  --tr-dispatch-marker: #317355;
  margin: 12px 12px !important;
  border: 1px solid var(--tr-dispatch-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .tr-dispatch-section.line-section-supplier {
  --tr-dispatch-ink: #244c80;
  --tr-dispatch-fill: #eaf1fc;
  --tr-dispatch-line: #ccdbee;
  --tr-dispatch-marker: #3d67a7;
}
body.tr-workspace-design .app-shell.page-logistics .logistics-list .tr-dispatch-section .line-section-body {
  min-width: 0;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
  padding: 11px 14px !important;
  border-radius: 9px 9px 0 0;
  background: var(--tr-dispatch-fill) !important;
  border-bottom: 1px solid var(--tr-dispatch-line) !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section-head > .tr-dispatch-section-identity {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tr-dispatch-section-marker {
  display: block;
  flex: 0 0 4px;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  background: var(--tr-dispatch-marker);
}
.tr-dispatch-section-identity h4 {
  margin: 0;
  color: var(--tr-dispatch-ink);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tr-dispatch-section-context {
  display: block;
  margin-top: 2px;
  color: var(--tr-dispatch-ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section-head > .tr-dispatch-section-info {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  min-width: 0;
}
.tr-dispatch-cargo {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 7px;
  padding: 4px 8px;
  border: 1px solid var(--tr-dispatch-line);
  border-radius: 6px;
  background: #fff;
  color: var(--tr-dispatch-ink);
  font-size: 12px;
}
.tr-dispatch-cargo strong { font-weight: 720; }
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .line-section-priority {
  color: var(--tr-dispatch-ink) !important;
  white-space: nowrap;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-note {
  display: grid;
  grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
  align-items: start;
  gap: 4px 10px;
  margin: 8px 10px !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #f6f8fc !important;
  color: #273e5b !important;
  overflow-wrap: anywhere;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-note > strong {
  white-space: pre-wrap;
  font-weight: 520;
}
.tr-dispatch-supplier-details {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-line-status {
  display: inline-block;
  width: fit-content;
  padding: 4px 7px !important;
  border-radius: 7px !important;
  background: #eef2f6 !important;
  color: #445670 !important;
  font-size: 12px !important;
  line-height: 1.3;
  font-weight: 650 !important;
  white-space: normal !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-line-status[data-status="done"] {
  background: #e4f3eb !important;
  color: #225c43 !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-line-status[data-status="pending"] {
  background: #fff0d3 !important;
  color: #704606 !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-driver[data-driver-needed] .apple-select-button:not(:disabled) {
  border-color: #bc873d !important;
  background: #fffbf2 !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section tr:last-child > td {
  border-bottom: 0 !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section td:nth-child(2) > :is(b, .cargo-inline) {
  display: block;
  margin-top: 4px !important;
}
body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .mobile-logistics-lines {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  body.tr-workspace-design .app-shell.page-logistics .logistics-list .dispatch-order-title {
    align-items: stretch;
    padding: 12px !important;
    gap: 8px;
  }
  body.tr-workspace-design .app-shell.page-logistics .logistics-list .tr-dispatch-section { margin: 8px !important; }
  body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-section-head { padding: 8px 9px !important; }
  body.tr-workspace-design .app-shell.page-logistics .tr-dispatch-section .tr-dispatch-note { grid-template-columns: minmax(0, 1fr); }
}
