/* Canlı Paket Atama Merkezi — kompakt bekleyen paket satırları ve ödeme rozeti. */
@media (min-width: 1051px) {
  .pb-dispatch-board {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow-x:auto;
  }
  #pbDispatchCenter .pb-dispatch-lane { padding:18px 10px; overflow-x:auto; }
  #pbDispatchCenter .pb-dispatch-list { padding-right:0; }
}

.pb-dispatch-lane-head {
  margin-bottom: 12px;
}

.pb-dispatch-list {
  gap: 5px;
}

.pb-dispatch-order-columns,
.pb-dispatch-order-row {
  grid-template-columns: 96px minmax(160px, 1fr) minmax(160px, 1fr) minmax(100px, .42fr) 92px;
  column-gap: 12px;
  row-gap: 6px;
}

.pb-dispatch-order-columns {
  padding: 0 9px 6px;
}

.pb-dispatch-order-row {
  padding: 8px 9px;
  border-radius: 10px;
}

.pb-dispatch-order-payment {
  min-width: 0;
  display: flex;
  align-items: center;
}

.pb-dispatch-payment {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--soft) !important;
  font-size: 8px !important;
  font-weight: 900;
  text-transform: capitalize;
}

.pb-dispatch-payment.cash {
  border-color: rgba(52, 215, 123, .2);
  background: rgba(52, 215, 123, .1);
  color: #48dc88 !important;
}

.pb-dispatch-payment.card {
  border-color: rgba(90, 167, 255, .2);
  background: rgba(90, 167, 255, .1);
  color: #8bc2ff !important;
}

.pb-dispatch-payment.online {
  border-color: rgba(168, 85, 247, .2);
  background: rgba(168, 85, 247, .1);
  color: #c99cff !important;
}

.pb-dispatch-assigned-package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 82px 100px;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  max-width: 100%;
}

.pb-dispatch-packages {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.pb-dispatch-package-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px 104px;
  align-items: center;
  gap: 6px;
  overflow: visible;
}

.pb-dispatch-package-summary {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(72px, .8fr) minmax(72px, 1fr);
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.pb-dispatch-package-code {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  color: #8bc2ff;
  font-weight: 950;
}

/* Inline phone and proxy code; never replaces the neighbourhood or full-address tooltip. */
#pbDispatchCenter .pb-dispatch-customer-phone {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
#pbDispatchCenter .pb-dispatch-customer-phone > * {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: inherit;
  line-height: 1.4;
  text-align: left;
}
#pbDispatchCenter .pb-dispatch-phone-label { color: var(--soft); font-weight: 500; }
#pbDispatchCenter .pb-dispatch-phone-number,
#pbDispatchCenter .pb-dispatch-phone-code {
  color: var(--text);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pb-dispatch-pid-copy {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 46px;
  margin-top: 2px;
  padding: 2px 8px;
  border: 1px solid rgba(246, 210, 10, .28);
  border-radius: 6px;
  background: rgba(246, 210, 10, .07);
  color: #d8b900;
  font: 800 8px/1.2 inherit;
  cursor: pointer;
  vertical-align: middle;
}

.pb-dispatch-pid-copy span {
  flex: 0 0 auto;
  color: var(--soft);
  font-size: 7px !important;
  letter-spacing: .08em;
}

.pb-dispatch-pid-copy b {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-dispatch-pid-copy i {
  flex: 0 0 auto;
  font-size: 9px;
  font-style: normal;
  opacity: .72;
}

.pb-dispatch-pid-copy:hover {
  border-color: rgba(246, 210, 10, .62);
  background: rgba(246, 210, 10, .13);
  color: var(--yellow);
}

.pb-dispatch-pid-popover {
  --pb-pid-arrow-x: 26px;
  position: fixed;
  z-index: 10120;
  overflow: visible;
  padding: 0;
  border: 1px solid rgba(246, 210, 10, .42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(246, 210, 10, .13), transparent 42%),
    linear-gradient(155deg, #1b1b19, #111214 72%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  color: var(--text);
  animation: pbPidPopoverIn .16s ease-out both;
}

.pb-dispatch-pid-popover::before,
.pb-dispatch-pid-popover::after {
  position: absolute;
  left: var(--pb-pid-arrow-x);
  width: 0;
  height: 0;
  border: 8px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.pb-dispatch-pid-popover[data-placement="bottom"]::before {
  bottom: 100%;
  border-bottom-color: rgba(246, 210, 10, .42);
}

.pb-dispatch-pid-popover[data-placement="bottom"]::after {
  bottom: calc(100% - 1px);
  border-bottom-color: #1b1b19;
  border-width: 7px;
}

.pb-dispatch-pid-popover[data-placement="top"]::before {
  top: 100%;
  border-top-color: rgba(246, 210, 10, .42);
}

.pb-dispatch-pid-popover[data-placement="top"]::after {
  top: calc(100% - 1px);
  border-top-color: #111214;
  border-width: 7px;
}

.pb-dispatch-pid-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 17px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.pb-dispatch-pid-head > div {
  display: grid;
  gap: 4px;
}

.pb-dispatch-pid-head span {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .16em;
}

.pb-dispatch-pid-head strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.pb-dispatch-pid-head button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: var(--soft);
  font-size: 18px;
  cursor: pointer;
}

.pb-dispatch-pid-field {
  display: grid;
  gap: 7px;
  padding: 14px 17px 8px;
}

.pb-dispatch-pid-field > span {
  color: var(--soft);
  font-size: 9px;
  font-weight: 800;
}

.pb-dispatch-pid-field input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid rgba(246, 210, 10, .36);
  border-radius: 10px;
  outline: none;
  background: rgba(246, 210, 10, .065);
  color: #ffe95b;
  font: 800 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .01em;
}

.pb-dispatch-pid-field input:focus {
  border-color: rgba(246, 210, 10, .78);
  box-shadow: 0 0 0 3px rgba(246, 210, 10, .09);
}

.pb-dispatch-pid-status {
  min-height: 16px;
  padding: 0 17px 12px;
  color: var(--soft);
  font-size: 9px;
  line-height: 1.45;
}

.pb-dispatch-pid-status.is-success { color: #4ade80; }
.pb-dispatch-pid-status.is-error { color: #ff7b7b; }

.pb-dispatch-pid-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 17px 15px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.pb-dispatch-pid-actions button {
  min-width: 90px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.pb-dispatch-pid-actions button.is-primary {
  border-color: rgba(246, 210, 10, .52);
  background: linear-gradient(135deg, #f6d20a, #d8b500);
  color: #111;
}

.pb-dispatch-pid-actions button.is-primary.is-copied {
  border-color: rgba(52, 215, 123, .45);
  background: linear-gradient(135deg, #46de87, #24b968);
}

.light-mode .pb-dispatch-pid-popover {
  background: linear-gradient(155deg, #fffdf1, #fff 72%);
  box-shadow: 0 24px 70px rgba(60, 43, 0, .2);
}

.light-mode .pb-dispatch-pid-popover[data-placement="bottom"]::after { border-bottom-color: #fffdf1; }
.light-mode .pb-dispatch-pid-popover[data-placement="top"]::after { border-top-color: #fff; }

@keyframes pbPidPopoverIn {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
  .pb-dispatch-pid-popover { max-width: calc(100vw - 24px); }
  .pb-dispatch-pid-actions button { flex: 1; }
}

.pb-dispatch-assigned-business {
  overflow: hidden;
  color: var(--text);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-dispatch-address-hover {
  position: relative;
  display: inline-flex;
  min-width: 0;
  cursor: help;
  outline: none;
  z-index: 20;
}

.pb-dispatch-address-hover > small {
  overflow: hidden;
  max-width: 150px;
  text-decoration: underline dotted rgba(255, 255, 255, .42);
  text-underline-offset: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-dispatch-address-tooltip {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 120;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: min(340px, 42vw);
  padding: 9px 11px;
  border: 1px solid rgba(246, 210, 10, .38);
  border-radius: 9px;
  background: #111315;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .48);
  color: #f3f3f3;
  font-size: 10px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.pb-dispatch-address-tooltip::before {
  position: absolute;
  bottom: 100%;
  left: 17px;
  border: 6px solid transparent;
  border-bottom-color: rgba(246, 210, 10, .38);
  content: "";
}

.pb-dispatch-address-tooltip b {
  color: var(--yellow);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pb-dispatch-address-tooltip span {
  overflow-wrap: anywhere;
}

.pb-dispatch-address-hover:hover .pb-dispatch-address-tooltip,
.pb-dispatch-address-hover:focus-visible .pb-dispatch-address-tooltip {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.pb-dispatch-courier-card:nth-last-child(-n + 2) .pb-dispatch-address-tooltip {
  top: auto;
  bottom: calc(100% + 9px);
}

.pb-dispatch-courier-card:nth-last-child(-n + 2) .pb-dispatch-address-tooltip::before {
  top: 100%;
  bottom: auto;
  border-top-color: rgba(246, 210, 10, .38);
  border-bottom-color: transparent;
}

.pb-dispatch-pickup-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px 5px;
  border-radius: 999px;
  font-size: 7px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.pb-dispatch-pickup-state.waiting-pickup {
  background: rgba(246, 210, 10, .12);
  color: var(--yellow);
}

.pb-dispatch-pickup-state.picked-up {
  background: rgba(52, 215, 123, .14);
  color: #48dc88;
}

.pb-dispatch-assigned-payment {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 7px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
  cursor: help;
  z-index: 20;
}

.pb-dispatch-payment-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-dispatch-payment-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 130;
  display: grid;
  gap: 3px;
  width: max-content;
  min-width: 125px;
  padding: 8px 10px;
  border: 1px solid rgba(246, 210, 10, .38);
  border-radius: 9px;
  background: #111315;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .48);
  color: #f3f3f3;
  font-size: 10px;
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  visibility: hidden;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.pb-dispatch-payment-tooltip b {
  color: var(--yellow);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pb-dispatch-assigned-payment:hover .pb-dispatch-payment-tooltip,
.pb-dispatch-assigned-payment:focus-visible .pb-dispatch-payment-tooltip {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (max-width: 720px) {
  .pb-dispatch-package-chip {
    grid-template-columns: minmax(0, 1fr) 94px 94px;
  }
}

.pb-dispatch-assigned-payment.cash {
  border-color: rgba(52, 215, 123, .24);
  background: rgba(52, 215, 123, .1);
  color: #48dc88;
}

.pb-dispatch-assigned-payment.credit-card {
  border-color: rgba(90, 167, 255, .24);
  background: rgba(90, 167, 255, .1);
  color: #8bc2ff;
}

.pb-dispatch-assigned-payment.online {
  border-color: rgba(168, 85, 247, .24);
  background: rgba(168, 85, 247, .1);
  color: #c99cff;
}

.pb-dispatch-deliver-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid rgba(52, 215, 123, .36);
  border-radius: 999px;
  background: rgba(52, 215, 123, .11);
  color: #48dc88;
  font-size: 7px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
  width: 100%;
}

.pb-dispatch-deliver-btn:hover {
  border-color: #48dc88;
  background: rgba(52, 215, 123, .18);
}

.pb-dispatch-deliver-btn b { font-size: 8px; }
.pb-dispatch-deliver-btn:disabled { opacity: .58; cursor: wait; }

.pb-dispatch-unassign-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 20px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 159, 67, .38);
  border-radius: 999px;
  background: rgba(255, 159, 67, .1);
  color: #ffb26b;
  font-size: 7px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
  width: 100%;
}

@media (min-width: 1051px) and (max-width: 1350px) {
  .pb-dispatch-assigned-package {
    grid-template-columns: minmax(0, 1fr) 76px 76px 100px;
  }
}

.pb-dispatch-unassign-btn:hover {
  border-color: #ffb26b;
  background: rgba(255, 159, 67, .18);
}

.pb-dispatch-unassign-btn b { font-size: 8px; }

.pb-courier-live-map-card {
  margin-top: 14px;
  overflow: hidden;
}

.pb-courier-live-map-card > summary {
  cursor: pointer;
  list-style: none;
}

.pb-courier-live-map-card > summary::-webkit-details-marker { display: none; }

body:not(.light) .pb-courier-live-map-card,
body:not(.light) .pb-courier-live-map-card > summary {
  background: #111;
  color: #fff;
}

body.light .pb-courier-live-map-card,
body.light .pb-courier-live-map-card > summary {
  background: #fff;
  color: #111;
}

.pb-courier-live-map-subtitle {
  margin-top: 3px;
  color: var(--soft);
  font-size: 10px;
}

.pb-courier-live-map-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--soft);
  font-size: 9px;
}

.pb-courier-live-map-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d77b;
  box-shadow: 0 0 10px #34d77b;
}

.pb-courier-live-map-status strong { color: #48dc88; }

.pb-courier-live-map {
  width: 100%;
  height: 360px;
  border-top: 1px solid var(--line);
  background: #101214;
}

body.light .pb-courier-live-map { background: #fff; }

.pb-dash-live-empty {
  padding: 18px 14px;
  color: var(--soft);
  font-size: 11px;
  text-align: center;
}

.pb-courier-live-map .pb-dispatch-empty {
  height: 100%;
  border: 0;
  border-radius: 0;
}

@media (max-width: 720px) {
  .pb-courier-live-map { height: 300px; }
  .pb-courier-live-map-status { align-items: flex-end; flex-direction: column; }
}
.pb-dispatch-unassign-btn:disabled { opacity: .58; cursor: wait; }

/* Approved compact dispatch row: PID styling intentionally unchanged. */
#pbDispatchCenter .pb-dispatch-assigned-package { display:flex; align-items:center; gap:6px; min-width:970px; }
#pbDispatchCenter .pb-dispatch-package-chip,
#pbDispatchCenter .pb-dispatch-package-summary { display:contents; }
#pbDispatchCenter .pb-dispatch-package-code { flex:0 0 42px; }
#pbDispatchCenter .pb-dispatch-assigned-business { flex:0 0 132px; color:#f7f9fa; }
#pbDispatchCenter .pb-dispatch-address-hover { flex:0 0 132px; margin-left:10px; }
#pbDispatchCenter .pb-dispatch-address-hover > small { max-width:132px; color:#d6dbdf; }
#pbDispatchCenter .pb-dispatch-assigned-package .pb-dispatch-customer-phone,
#pbDispatchCenter .pb-dispatch-pickup-state,
#pbDispatchCenter .pb-dispatch-assigned-payment,
#pbDispatchCenter .pb-dispatch-deliver-btn,
#pbDispatchCenter .pb-dispatch-unassign-btn {
  box-sizing:border-box; flex:0 0 96px; width:96px; height:31px; min-height:31px;
  padding:1px 4px; border-radius:999px; display:flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:950; text-shadow:none;
  box-shadow:0 0 4px color-mix(in srgb, currentColor 16%, transparent);
}
#pbDispatchCenter .pb-dispatch-assigned-package .pb-dispatch-customer-phone {
  margin-left:0; flex-basis:198px; width:198px; background:#23313a;
  border:1px solid #567381; color:#eef7ff; font-size:11.5px; text-shadow:none;
}
#pbDispatchCenter .pb-dispatch-pickup-state { border:1px solid #525839; }
#pbDispatchCenter .pb-dispatch-pickup-state.picked-up { border-color:#347451; }
#pbDispatchCenter .pb-dispatch-assigned-package * { text-shadow:none; }
#pbDispatchCenter .pb-dispatch-lane { overflow-x:auto; }
#pbDispatchCenter .pb-dispatch-courier-card {
  position:relative; width:100%; min-width:1326px; box-sizing:border-box;
  grid-template-columns:42px minmax(0, 1fr); align-self:stretch;
}
#pbDispatchCenter .pb-dispatch-courier-top { padding-right:40px; }
#pbDispatchCenter .pb-dispatch-capacity { position:absolute; top:10px; right:12px; }
#pbDispatchCenter .pb-dispatch-assigned-package {
  width:max-content; max-width:none; min-width:0; flex-wrap:nowrap;
}
#pbDispatchCenter .pb-dispatch-order-columns { display:none; }
#pbDispatchCenter .pb-dispatch-waiting-package {
  width:100%; min-width:760px; padding:6px 10px; min-height:48px; font-size:8px; box-sizing:border-box; align-self:stretch;
  background:rgba(35,49,58,.65); border:1px solid rgba(72,220,136,.18); border-radius:12px;
}
/* Fixed business and channel columns keep stacked waiting rows aligned (28 Oct 2026). */
#pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-assigned-business {
  flex:0 0 190px; width:190px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
#pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-channel {
  flex:0 0 118px; width:118px; box-sizing:border-box; padding:3px 8px; border-radius:999px; text-align:center;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; font-weight:800;
  color:#f6d20a; background:rgba(246,210,10,.08); border:1px solid rgba(246,210,10,.32);
}
body.light #pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-channel { color:#6b5600; background:#fff7d6; border-color:#d9bf55; }
#pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-address-hover { flex:1 1 0; min-width:0; }
#pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-address-hover > small {
  display:block; max-width:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
#pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-assign-btn {
  margin:0; background:#f6d20a; border-color:#f6d20a; color:#171700;
}
#pbDispatchCenter .pb-dispatch-waiting-package .pb-dispatch-wait-time { font-size:8px; }
#pbDispatchCenter .pb-dispatch-package-age {
  flex:0 0 64px; width:64px; box-sizing:border-box; text-align:center;
  white-space:nowrap; font-size:10px; font-weight:800; font-variant-numeric:tabular-nums;
  color:#f6d20a;
}
body.light #pbDispatchCenter .pb-dispatch-package-age { color:#806700; }
/* 3 Nov 2026 (user): customer's name between the business and the minutes. */
#pbDispatchCenter .pb-dispatch-customer-name {
  flex:0 0 120px; width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:10px; font-weight:800; color:#fb923c;
}
body.light #pbDispatchCenter .pb-dispatch-customer-name { color:#c2410c; }
/* Narrower phone (number above the call code), business, customer and
   address so the courier cards fit without scrolling sideways (user, 3 Nov 2026). */
#pbDispatchCenter .pb-dispatch-assigned-package .pb-dispatch-customer-phone { flex-basis:124px; width:124px; }
#pbDispatchCenter .pb-dispatch-assigned-package .pb-dispatch-customer-phone.has-code {
  flex-direction:column; gap:0; font-size:10px; line-height:1.15;
}
#pbDispatchCenter .pb-dispatch-customer-phone.has-code > * { line-height:1.15; }
#pbDispatchCenter .pb-dispatch-customer-phone.has-code > span[aria-hidden] { display:none; }
#pbDispatchCenter .pb-dispatch-assigned-business { flex-basis:116px; }
#pbDispatchCenter .pb-dispatch-courier-card .pb-dispatch-customer-name { flex-basis:96px; width:96px; }
#pbDispatchCenter .pb-dispatch-courier-card .pb-dispatch-address-hover { flex-basis:120px; margin-left:4px; }
#pbDispatchCenter .pb-dispatch-courier-card .pb-dispatch-address-hover > small { max-width:120px; }
#pbDispatchCenter .pb-dispatch-courier-card .pb-dispatch-package-age { flex-basis:48px; width:48px; }
#pbDispatchCenter .pb-dispatch-courier-card .pb-dispatch-assigned-package { gap:5px; }
#pbDispatchCenter .pb-dispatch-courier-card { min-width:0; }
#pbDispatchCenter .pb-dispatch-courier-card .pb-dispatch-total-row { padding-left:297px; gap:5px; }
body.light #pbDispatchCenter .pb-dispatch-assigned-business,
body.light #pbDispatchCenter .pb-dispatch-address-hover > small { color:#222; }

@media (max-width: 720px) {
  .pb-dispatch-order-payment {
    align-self: center;
  }

  .pb-dispatch-payment {
    font-size: 9px !important;
  }
}

@media (min-width: 721px) and (max-width: 1250px) {
  .pb-dispatch-order-columns,
  .pb-dispatch-order-row {
    grid-template-columns: 88px minmax(130px, 1fr) minmax(140px, 1fr) 94px 86px;
    column-gap: 8px;
  }
}

/* Courier earning per assigned package, between neighbourhood and phone (27 Oct 2026). */
#pbDispatchCenter .pb-dispatch-assigned-package .pb-dispatch-courier-earning {
  box-sizing:border-box; flex:0 0 96px; width:96px; height:31px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(72,220,136,.10); border:1px solid #2f7a52; color:#7ef0ac;
}
#pbDispatchCenter .pb-dispatch-courier-earning b { font-size:12px; font-weight:950; }
body.light #pbDispatchCenter .pb-dispatch-courier-earning { background:#e9f7ef; border-color:#9fd3b5; color:#17643b; }
#pbDispatchCenter .pb-dispatch-assigned-package .pb-dispatch-restaurant-fee {
  box-sizing:border-box; flex:0 0 96px; width:96px; height:31px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(96,165,250,.10); border:1px solid #3b6aa0; color:#9cc8ff;
}
#pbDispatchCenter .pb-dispatch-restaurant-fee b { font-size:12px; font-weight:950; }
body.light #pbDispatchCenter .pb-dispatch-restaurant-fee { background:#eaf2fd; border-color:#a9c6ea; color:#1d4f8a; }
/* Anasayfa a little farther away so the assigned rows, with restaurant fee and courier earning,
   fit without scrolling sideways (user, 27 Oct 2026). */
#dashboard.page { zoom:.85; }
/* Courier totals above the fee and earning columns, one row pitch (36 px) above the first package: code 42 + business 132 + age 64 + address 10+132 + gaps (27 Oct 2026). */
#pbDispatchCenter .pb-dispatch-courier-main { position:relative; }
#pbDispatchCenter .pb-dispatch-total-row { position:absolute; top:0; left:0; display:flex; align-items:center; gap:6px; padding-left:250px; pointer-events:auto; }
#pbDispatchCenter .pb-dispatch-total-label { width:148px; text-align:right; color:#9aa5ad; font-size:10px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
#pbDispatchCenter .pb-dispatch-total-row .is-total { box-sizing:border-box; flex:0 0 96px; width:96px; height:31px; border-radius:999px; display:flex; align-items:center; justify-content:center; }
#pbDispatchCenter .pb-dispatch-total-row .pb-dispatch-restaurant-fee.is-total { background:#3b6aa0; border:1px solid #6d9fd8; color:#fff; }
#pbDispatchCenter .pb-dispatch-total-row .pb-dispatch-courier-earning.is-total { background:#2f7a52; border:1px solid #5fbf8a; color:#fff; }
#pbDispatchCenter .pb-dispatch-total-row b { font-size:12px; font-weight:950; }
body.light #pbDispatchCenter .pb-dispatch-total-label { color:#5b6b78; }
