/* After-sales dispatch master UI on top of full console shell. */

#afterSalesDispatchPanel.active,
#afterSalesDispatchPanel:not([hidden]) {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

#afterSalesDispatchPanel .dispatch-preview-page.after-sales-workspace {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  gap: var(--surface-1-gap, var(--global-gap, 20px)) !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: var(--surface-1-gap, var(--global-gap, 20px)) !important;
  box-sizing: border-box;
}

#afterSalesDispatchPanel .dispatch-toolbar.presale-business-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
  align-items: center !important;
  gap: var(--surface-2-gap, 16px) !important;
  min-height: 0;
  overflow: visible !important;
}

#afterSalesDispatchPanel .dispatch-toolbar.workspace-title-card::before,
#afterSalesDispatchPanel .dispatch-toolbar.workspace-title-card::after {
  pointer-events: none;
}

#afterSalesDispatchPanel .dispatch-toolbar .presale-business-toolbar-main {
  min-width: 0;
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start;
  gap: 14px !important;
  flex-wrap: nowrap !important;
}

#afterSalesDispatchPanel .dispatch-toolbar .presale-business-toolbar-main h3 {
  margin: 0;
  font-size: 28px !important;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 !important;
  line-height: 1.1;
}

#afterSalesDispatchPanel .dispatch-toolbar .presale-business-toolbar-note {
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1.35;
  font-size: 12px !important;
  color: rgba(159, 183, 211, 0.84);
  overflow: hidden;
  text-overflow: ellipsis;
}

#afterSalesDispatchPanel .dispatch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#afterSalesDispatchPanel .dispatch-actions button {
  min-height: 34px;
  flex: 0 1 auto;
}

#afterSalesDispatchPanel .dispatch-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.18);
  box-shadow: none;
  transform: none;
}


#afterSalesDispatchPanel .dispatch-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(126, 194, 255, 0.18);
  border-radius: 14px;
  background: rgba(8, 16, 30, 0.55);
  color: var(--muted, #87a5c7);
  font-size: 14px;
}

#afterSalesDispatchPanel .dispatch-meta-main {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
}

#afterSalesDispatchPanel .dispatch-meta b {
  color: #dff1ff;
  font-weight: 600;
}

#afterSalesDispatchPanel .dispatch-board {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(240px, 0.9fr) !important;
  grid-template-rows: minmax(0, 1fr) minmax(240px, 0.62fr) !important;
  gap: var(--global-gap, 20px) !important;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

#afterSalesDispatchPanel .dispatch-grid,
#afterSalesDispatchPanel .dispatch-bottom {
  display: contents !important;
}

/* Critical: .after-sales-panel defaults to grid-column: span 6 (12-col after-sales grid).
   That blows out this 3-col dispatch grid into stacked/clipped panels. */
#afterSalesDispatchPanel .dispatch-board .after-sales-panel,
#afterSalesDispatchPanel .dispatch-board .dispatch-panel {
  grid-column: auto !important;
  grid-row: auto !important;
}

#afterSalesDispatchPanel .dispatch-panel {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

#afterSalesDispatchPanel .dispatch-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex: 0 0 auto;
}

#afterSalesDispatchPanel .dispatch-panel-head h4 {
  margin: 0;
  font-size: 18px;
}

#afterSalesDispatchPanel .dispatch-panel-sub {
  margin: 4px 0 0;
  color: var(--muted, #87a5c7);
  font-size: 14px;
}

#afterSalesDispatchPanel .dispatch-panel-head--assign {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  margin-bottom: 10px;
}

#afterSalesDispatchPanel .dispatch-assign-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

#afterSalesDispatchPanel .dispatch-panel-title-inline {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 8px 12px;
  min-width: 0;
}

#afterSalesDispatchPanel .dispatch-panel-title-inline h4 {
  flex: 0 1 auto;
  min-width: 0;
}

#afterSalesDispatchPanel .dispatch-panel-title-inline .dispatch-panel-sub {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

#afterSalesDispatchPanel .dispatch-panel-tools.dispatch-panel-tools--assign-search {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 8px;
}

#afterSalesDispatchPanel .dispatch-panel-tools.dispatch-panel-tools--assign-search input {
  width: min(220px, 42vw);
  min-height: 40px !important;
  font-size: 15px;
  padding: 0 12px;
}


#afterSalesDispatchPanel .dispatch-assignee-th {
  padding: 6px 8px;
  min-width: 0;
  overflow: visible;
}

#afterSalesDispatchPanel .dispatch-assignee-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8em;
  min-height: 30px;
  padding: 6px 12px;
  overflow: visible;
  border: 1px solid rgba(132, 181, 216, 0.34);
  border-radius: 8px;
  background-color: rgba(10, 28, 44, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #d7ebf8;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

#afterSalesDispatchPanel .dispatch-assignee-card:hover,
#afterSalesDispatchPanel .dispatch-assignee-card:focus-within {
  border-color: rgba(159, 208, 255, 0.55);
  background-color: rgba(18, 44, 68, 0.98);
}

#afterSalesDispatchPanel .dispatch-assignee-card.is-filtered {
  color: #9fd0ff;
  border-color: rgba(159, 208, 255, 0.7);
}

#afterSalesDispatchPanel .dispatch-assignee-card-label {
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

#afterSalesDispatchPanel .dispatch-assignee-header-select {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: transparent;
}

/* Centered list under the card; option colors match previous native select. */
#afterSalesDispatchPanel .dispatch-assignee-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  min-width: 11em;
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 2px 0;
  border: 1px solid rgba(132, 181, 216, 0.28);
  border-radius: 0;
  background-color: #10263a;
  box-shadow: none;
  color-scheme: dark;
}

#afterSalesDispatchPanel .dispatch-assignee-menu[hidden] {
  display: none !important;
}

#afterSalesDispatchPanel .dispatch-assignee-menu-item,
#afterSalesDispatchPanel .dispatch-assignee-menu-item:where(button) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 5px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #10263a !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #e7f2fb !important;
  font: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.5 !important;
  text-align: center !important;
  cursor: default;
  appearance: none !important;
  -webkit-appearance: none !important;
  transform: none !important;
  filter: none !important;
  position: static !important;
  overflow: visible !important;
}

#afterSalesDispatchPanel .dispatch-assignee-menu-item::before,
#afterSalesDispatchPanel .dispatch-assignee-menu-item::after {
  content: none !important;
  display: none !important;
}

#afterSalesDispatchPanel .dispatch-assignee-menu-item:hover,
#afterSalesDispatchPanel .dispatch-assignee-menu-item:focus-visible {
  background: #1a3a55 !important;
  background-image: none !important;
  outline: none !important;
  transform: none !important;
}

#afterSalesDispatchPanel .dispatch-assignee-menu-item.is-active {
  color: #9fd0ff !important;
  background: #1a3a55 !important;
  background-image: none !important;
}

#afterSalesDispatchPanel .dispatch-panel-tools.dispatch-panel-tools--assign-search button {
  flex: 0 0 auto;
  min-height: 40px;
  white-space: nowrap;
}

#afterSalesDispatchPanel .dispatch-panel-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

#afterSalesDispatchPanel .dispatch-panel-tools input,
#afterSalesDispatchPanel .dispatch-panel-tools select {
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(126, 194, 255, 0.22);
  background: rgba(4, 10, 20, 0.7);
  color: #e8f5ff;
  padding: 0 10px;
  font-size: 14px;
}

#afterSalesDispatchPanel .dispatch-next {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--muted, #87a5c7);
  font-size: 13px;
  line-height: 1.2;
  flex: 0 0 auto;
}

#afterSalesDispatchPanel .dispatch-next strong {
  color: #79b7ff;
  font-size: 17px;
  line-height: 1.2;
}

#afterSalesDispatchPanel .dispatch-table-wrap {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  border: 1px solid rgba(132, 181, 216, 0.16);
  border-radius: 10px;
  background: rgba(4, 10, 20, 0.35);
}

#afterSalesDispatchPanel .dispatch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

#afterSalesDispatchPanel .dispatch-table th,
#afterSalesDispatchPanel .dispatch-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(132, 181, 216, 0.12);
  border-radius: 0 !important;
  text-align: left;
  white-space: nowrap;
  color: #e5f4ff !important;
  opacity: 1 !important;
}

#afterSalesDispatchPanel .dispatch-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #10263a !important;
  color: #b9cddd !important;
}


#afterSalesDispatchPanel .dispatch-log-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid rgba(132, 181, 216, 0.16);
  border-radius: 10px;
  background: rgba(4, 10, 20, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.55;
  color: #c7ddf3;
  white-space: pre-wrap;
}

#afterSalesDispatchPanel .dispatch-stats-body {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(52px, auto);
  align-content: start;
  gap: 8px;
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
  height: 100%;
  /* Center the 12px scrollbar inside the panel right padding gap. */
  margin-right: calc((var(--global-card-pad, 20px) + 12px) / -2);
  padding-right: calc((var(--global-card-pad, 20px) - 12px) / 2);
  scrollbar-gutter: auto;
}

#afterSalesDispatchPanel .dispatch-stat-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(126, 194, 255, 0.16);
  background: rgba(4, 10, 20, 0.45);
  font-size: 16px;
}

#afterSalesDispatchPanel .dispatch-stat-chip > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

#afterSalesDispatchPanel .dispatch-stat-chip strong {
  color: #9fd0ff;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

#afterSalesDispatchPanel .dispatch-skip-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 54px;
  align-content: start;
  align-items: start;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(132, 181, 216, 0.16);
  border-radius: 10px;
  background: rgba(4, 10, 20, 0.35);
}

#afterSalesDispatchPanel .dispatch-skip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(126, 194, 255, 0.14);
  background: rgba(8, 18, 32, 0.55);
  overflow: hidden;
  flex: none;
  align-self: start;
}

#afterSalesDispatchPanel .dispatch-skip-row-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d7e8f8;
  font-size: 15px;
  line-height: 1.35;
}

#afterSalesDispatchPanel .dispatch-skip-row-text strong {
  color: #9fd0ff;
  font-variant-numeric: tabular-nums;
}

#afterSalesDispatchPanel .dispatch-skip-row > button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 30px;
  padding: 0 10px;
}

#afterSalesDispatchPanel .dispatch-skip-empty {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  min-height: 40px;
  padding: 0 4px;
  color: rgba(190, 210, 235, 0.72);
  font-size: 14px;
}

#afterSalesDispatchPanel .dispatch-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid transparent;
}

#afterSalesDispatchPanel .dispatch-tag.is-pending { color: #ffd089; background: rgba(161, 92, 0, 0.18); border-color: rgba(255, 188, 92, 0.28); }
#afterSalesDispatchPanel .dispatch-tag.is-delivered { color: #9be7b0; background: rgba(31, 122, 31, 0.16); border-color: rgba(92, 190, 120, 0.28); }
#afterSalesDispatchPanel .dispatch-tag.is-acked { color: #8ec5ff; background: rgba(11, 95, 255, 0.16); border-color: rgba(100, 168, 255, 0.28); }
#afterSalesDispatchPanel .dispatch-tag.is-online { color: #9be7b0; background: rgba(31, 122, 31, 0.16); }
#afterSalesDispatchPanel .dispatch-tag.is-offline { color: #9eb8d6; background: rgba(87, 105, 130, 0.2); }
#afterSalesDispatchPanel .dispatch-tag.is-rest { color: #ffd089; background: rgba(161, 92, 0, 0.18); }

#afterSalesDispatchPanel .dispatch-roster-row {
  cursor: pointer;
}

#afterSalesDispatchPanel .dispatch-roster-row td {
  background: transparent;
  box-shadow: none !important;
}

#afterSalesDispatchPanel .dispatch-roster-row.is-selected td {
  background: rgba(70, 132, 220, 0.16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#afterSalesDispatchPanel .dispatch-table-wrap,
#afterSalesDispatchPanel .dispatch-log-body,
#afterSalesDispatchPanel .dispatch-skip-body,
#afterSalesDispatchPanel .dispatch-stats-body,
#afterSalesDispatchPanel .dispatch-rest-list {
  scrollbar-width: thin;
  scrollbar-color: #4a6f99 transparent;
}

#afterSalesDispatchPanel .dispatch-table-wrap::-webkit-scrollbar,
#afterSalesDispatchPanel .dispatch-log-body::-webkit-scrollbar,
#afterSalesDispatchPanel .dispatch-skip-body::-webkit-scrollbar,
#afterSalesDispatchPanel .dispatch-stats-body::-webkit-scrollbar,
#afterSalesDispatchPanel .dispatch-rest-list::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

#afterSalesDispatchPanel .dispatch-table-wrap::-webkit-scrollbar-track,
#afterSalesDispatchPanel .dispatch-log-body::-webkit-scrollbar-track,
#afterSalesDispatchPanel .dispatch-skip-body::-webkit-scrollbar-track,
#afterSalesDispatchPanel .dispatch-stats-body::-webkit-scrollbar-track,
#afterSalesDispatchPanel .dispatch-rest-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

#afterSalesDispatchPanel .dispatch-table-wrap::-webkit-scrollbar-thumb,
#afterSalesDispatchPanel .dispatch-log-body::-webkit-scrollbar-thumb,
#afterSalesDispatchPanel .dispatch-skip-body::-webkit-scrollbar-thumb,
#afterSalesDispatchPanel .dispatch-stats-body::-webkit-scrollbar-thumb,
#afterSalesDispatchPanel .dispatch-rest-list::-webkit-scrollbar-thumb {
  background: #4a6f99;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

#afterSalesDispatchPanel .dispatch-table-wrap::-webkit-scrollbar-thumb:hover,
#afterSalesDispatchPanel .dispatch-log-body::-webkit-scrollbar-thumb:hover,
#afterSalesDispatchPanel .dispatch-skip-body::-webkit-scrollbar-thumb:hover,
#afterSalesDispatchPanel .dispatch-stats-body::-webkit-scrollbar-thumb:hover,
#afterSalesDispatchPanel .dispatch-rest-list::-webkit-scrollbar-thumb:hover {
  background: #5d88bb;
}

#afterSalesDispatchPanel .dispatch-table-wrap::-webkit-scrollbar-corner,
#afterSalesDispatchPanel .dispatch-log-body::-webkit-scrollbar-corner,
#afterSalesDispatchPanel .dispatch-skip-body::-webkit-scrollbar-corner,
#afterSalesDispatchPanel .dispatch-stats-body::-webkit-scrollbar-corner,
#afterSalesDispatchPanel .dispatch-rest-list::-webkit-scrollbar-corner {
  background: transparent;
}

@media (max-width: 1280px) {
  #afterSalesDispatchPanel .dispatch-board {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 0.62fr) minmax(240px, 0.62fr) !important;
  }
  #afterSalesDispatchPanel .dispatch-grid > .dispatch-panel:last-child,
  #afterSalesDispatchPanel .dispatch-bottom > .dispatch-panel:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  #afterSalesDispatchPanel .dispatch-preview-page.after-sales-workspace {
    height: auto !important;
    overflow: auto !important;
    grid-template-rows: auto !important;
  }
  #afterSalesDispatchPanel .dispatch-board {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    height: auto;
  }
}

#afterSalesDispatchPanel .dispatch-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(4px);
}

#afterSalesDispatchPanel .dispatch-modal-overlay.is-open {
  display: flex;
}

#afterSalesDispatchPanel .dispatch-modal-card {
  width: min(460px, 94vw);
  max-height: min(84vh, 760px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 185, 235, 0.28);
  background: linear-gradient(165deg, rgba(14, 24, 40, 0.96), rgba(9, 16, 28, 0.96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  color: #e8f1ff;
}

#afterSalesDispatchPanel .dispatch-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#afterSalesDispatchPanel .dispatch-modal-hint {
  margin: 0;
  color: rgba(210, 226, 246, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

#afterSalesDispatchPanel .dispatch-rest-list {
  min-height: 260px;
  max-height: min(56vh, 480px);
  overflow: auto;
  padding: 10px 6px 10px 4px;
  border-radius: 12px;
  border: 1px solid rgba(120, 156, 204, 0.22);
  background: rgba(4, 10, 20, 0.35);
}

#afterSalesDispatchPanel .dispatch-rest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

#afterSalesDispatchPanel .dispatch-rest-item:hover {
  background: rgba(78, 128, 196, 0.16);
}

#afterSalesDispatchPanel .dispatch-rest-item input {
  width: 18px;
  height: 18px;
  accent-color: #5ea1ff;
  flex: 0 0 auto;
}

#afterSalesDispatchPanel .dispatch-rest-item span {
  min-width: 0;
  font-size: 16px;
  line-height: 1.35;
}

#afterSalesDispatchPanel .dispatch-rest-empty {
  padding: 36px 12px;
  text-align: center;
  color: rgba(190, 210, 235, 0.7);
  font-size: 15px;
}

#afterSalesDispatchPanel .dispatch-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#afterSalesDispatchPanel .dispatch-modal-actions button {
  min-height: 38px;
  font-size: 15px;
  padding: 0 14px;
}

#afterSalesDispatchPanel .dispatch-modal-spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

#afterSalesDispatchPanel .dispatch-modal-card--urgent {
  width: min(420px, 94vw);
  max-height: none;
}

#afterSalesDispatchPanel .dispatch-urgent-field {
  display: block;
  margin: 2px 0 0;
  color: rgba(210, 226, 246, 0.86);
  font-size: 14px;
}

#afterSalesDispatchPanel .dispatch-urgent-input {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(126, 194, 255, 0.28);
  background: rgba(4, 10, 20, 0.72);
  color: #e8f5ff;
  padding: 0 12px;
  /* Match ticket-id <input>: global CSS forces mono on textarea. */
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  outline: none;
}

#afterSalesDispatchPanel .dispatch-urgent-input::placeholder,
#afterSalesDispatchPanel .dispatch-urgent-input::-webkit-input-placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  opacity: 1;
  color: rgba(186, 210, 236, 0.58);
}

#afterSalesDispatchPanel .dispatch-urgent-input:focus {
  border-color: rgba(126, 194, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 161, 255, 0.16);
}

#afterSalesDispatchPanel .dispatch-urgent-note {
  min-height: 84px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.4;
  font-family: inherit;
}

#afterSalesDispatchPanel .dispatch-modal-card--skip {
  width: min(340px, 94vw);
  max-height: none;
}

#afterSalesDispatchPanel .dispatch-skip-field {
  display: block;
  margin: 8px 0 0;
  color: rgba(210, 226, 246, 0.86);
  font-size: 14px;
}

#afterSalesDispatchPanel .dispatch-skip-select {
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid rgba(126, 194, 255, 0.28);
  background: rgba(4, 10, 20, 0.72);
  color: #e8f5ff;
  padding: 0 12px;
  font-size: 16px;
  outline: none;
  color-scheme: dark;
}

#afterSalesDispatchPanel .dispatch-skip-select:focus {
  border-color: rgba(126, 194, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 161, 255, 0.16);
}

#afterSalesDispatchPanel .dispatch-skip-current {
  margin-top: 10px;
  color: rgba(190, 210, 235, 0.78);
  font-size: 14px;
  line-height: 1.4;
}
