/* ops-dark-pages.css —— FW5（2026-10-17）独立页暗色模板。第一段由 tools/gen_dark.py 从亮色样式生成，
   第二段（dark_manual.css）手写：页底 / 顶栏 / logo / 控件细节。改颜色请改生成脚本或手写段，不要直接改第一段。 */
/* ================= 第一段：自动映射 ================= */
/* ---- 来自 styles.css（只转独立页用到的类） ---- */
html.ops-dark body.dispatch-page .language-toggle button.active {
  color: #ffffff;
}
html.ops-dark body.dispatch-page .primary-button {
  color: #ffffff;
}
html.ops-dark body.dispatch-page .secondary-button {
  background: #13161e;
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .danger-button,
html.ops-dark body.dispatch-page .secondary-button.danger-button {
  color: #e2938d;
  background: #0e1117;
  border-color: #673732;
}
html.ops-dark body.dispatch-page .danger-button:hover,
html.ops-dark body.dispatch-page .secondary-button.danger-button:hover {
  background: #321c1a;
}
html.ops-dark body.dispatch-page .warning-button,
html.ops-dark body.dispatch-page .secondary-button.warning-button {
  color: #e4c095;
  background: #322b1a;
  border-color: #675332;
}
html.ops-dark body.dispatch-page .warning-button:hover,
html.ops-dark body.dispatch-page .secondary-button.warning-button:hover {
  background: #322b1a;
}
html.ops-dark body.dispatch-page #backendView .panel {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .warning-button {
  color: #e4c095;
  background: #322c1a;
  border-color: #675532;
}
html.ops-dark body.dispatch-page .danger-button {
  color: #e2938d;
  background: #0e1117;
  border-color: #673732;
}
html.ops-dark body.dispatch-page .drawer-backdrop {
  background: rgba(15, 23, 38, 0.38);
}
html.ops-dark body.dispatch-page .side-drawer {
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.18);
}
html.ops-dark body.dispatch-page {
  --bg: #0e1117;
  --ink: #edf6fb;
  --muted: #a8b9c7;
  --line: #243142;
  --soft: #13161e;
  --accent: #1d7085;
  --accent-dark: #155769;
  --surface: #0e1117;
  --surface-muted: #13161e;
  --focus: rgba(29, 112, 133, 0.24);
  --shadow-xs: 0 1px 2px rgba(23, 50, 74, 0.04);
  --shadow-sm: 0 4px 14px rgba(23, 50, 74, 0.05);
  --shadow-md: 0 14px 36px rgba(23, 50, 74, 0.10);
  --ops-ui-canvas: #0e1117;
  --ops-ui-surface: #0e1117;
  --ops-ui-soft: #13161e;
  --ops-ui-ink: #edf6fb;
  --ops-ui-muted: #a8b9c7;
  --ops-ui-line: #243142;
  --ops-ui-accent: #1d7085;
  --ops-ui-accent-strong: #155769;
  --ops-ui-success: #286b56;
  --ops-ui-warning: #e2be8d;
  --ops-ui-danger: #d99797;
  --ops-ui-focus: rgba(29, 112, 133, 0.24);
  --ops-ui-shadow-low: 0 4px 14px rgba(23, 50, 74, 0.05);
  --ops-ui-shadow-raised: 0 14px 36px rgba(23, 50, 74, 0.10);
}
/* ---- 来自 ops-shell-v2.css（只转独立页用到的类） ---- */

/* ---- 来自 ops-layout-v3.css（只转独立页用到的类） ---- */

/* ---- 来自 backend-hotfix.css（只转独立页用到的类） ---- */
html.ops-dark body.dispatch-page #sideInventoryBtn.secondary-button,
html.ops-dark body.dispatch-page #sideComboQueryBtn.secondary-button,
html.ops-dark body.dispatch-page #sideComboAddBtn.secondary-button {
  border-color: #243142 !important;
  background: #13161e !important;
  color: #95d4e4 !important;
}
html.ops-dark body.dispatch-page #sideInventoryBtn.secondary-button:disabled,
html.ops-dark body.dispatch-page #sideInventoryBtn.secondary-button[disabled],
html.ops-dark body.dispatch-page #sideComboQueryBtn.secondary-button:disabled,
html.ops-dark body.dispatch-page #sideComboQueryBtn.secondary-button[disabled],
html.ops-dark body.dispatch-page #sideComboAddBtn.secondary-button:disabled,
html.ops-dark body.dispatch-page #sideComboAddBtn.secondary-button[disabled] {
  border-color: #243142 !important;
  background: #13161e !important;
  color: #95d6e4 !important;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-table th,
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-table td {
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-table th {
  background: #0e1117;
  color: #a8b5c7;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-block {
  color: #e2938d;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-ok {
  color: #95e4c3;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-warn {
  color: #e2ac8d;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-muted {
  color: #adb6c2;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-msg.ok {
  color: #95e4c3;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-summary > div {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-summary span {
  color: #adb7c3;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-pre {
  background: #0e1117;
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-cipl-sheet {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-download {
  border: 1px solid #1f6f78;
  color: #96dce4;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-download:hover {
  background: #13161e;
}
html.ops-dark body.dispatch-page #transferKingdeePanel .tkw-reason {
  color: #e2a78d;
}
/* ---- 来自 dispatch_page.css ---- */
html.ops-dark body.dispatch-page,
html.ops-dark body.dispatch-page {
  background: #13161e;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-page-topbar {
  border-bottom: 1px solid #243142;
  background: #0e1117;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}
html.ops-dark body.dispatch-page .dispatch-page-mark {
  background: #24758a;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .dispatch-page-kicker {
  color: #aeb9c1;
}
html.ops-dark body.dispatch-page .dispatch-page-identity strong {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-page-workspace span {
  color: #a9bac6;
}
html.ops-dark body.dispatch-page .dispatch-page-workspace select {
  border: 1px solid #477168;
  background: #0e1117;
  color: #9cd4dd;
}
html.ops-dark body.dispatch-page .dispatch-page-quick-view .dispatch-grid-quick-view-control > span {
  color: #a9bac6;
}
html.ops-dark body.dispatch-page .dispatch-page-quick-view select {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-page-account {
  border: 1px solid #243142;
  background: #13161e;
  color: #9fdbca;
}
html.ops-dark body.dispatch-page .dispatch-page-language {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-page-language button,
html.ops-dark body.dispatch-page .dispatch-page-back,
html.ops-dark body.dispatch-page #dispatchProductPolicyButton,
html.ops-dark body.dispatch-page .secondary-button,
html.ops-dark body.dispatch-page .primary-button {
  border: 1px solid #243142;
  background: #0e1117;
  color: #9cd4dd;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-dialog {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}
html.ops-dark body.dispatch-page .dispatch-product-policy-dialog::backdrop {
  background: rgba(17, 35, 52, 0.38);
}
html.ops-dark body.dispatch-page .dispatch-product-policy-dialog-head {
  border-bottom: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-dialog-head span {
  color: #acb9c4;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-dialog-head button {
  background: #13161e;
  color: #a7bbc8;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-search {
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-search input,
html.ops-dark body.dispatch-page .dispatch-product-policy-form input[type="text"],
html.ops-dark body.dispatch-page .dispatch-product-policy-form select,
html.ops-dark body.dispatch-page .dispatch-product-policy-search button,
html.ops-dark body.dispatch-page .dispatch-product-policy-form button {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-search button,
html.ops-dark body.dispatch-page .dispatch-product-policy-form button {
  background: #24758a;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-form {
  border-bottom: 1px solid #243142;
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-form label > span {
  color: #a9bac6;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-message {
  color: #df9590;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-list > button {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-list > button:hover {
  border-color: #3f6c78;
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-product-policy-list em,
html.ops-dark body.dispatch-page .dispatch-product-policy-list small {
  color: #a9bcc6;
}
html.ops-dark body.dispatch-page .dispatch-page-language button.active {
  background: #24758a;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .dispatch-page-language button:focus-visible,
html.ops-dark body.dispatch-page .dispatch-page-back:focus-visible {
  outline: 3px solid rgba(36, 117, 138, 0.30);
}
html.ops-dark body.dispatch-page .dispatch-page-guard {
  border: 1px solid #8a6d2e;
  background: #322c1a;
  color: #e4c995;
}
/* ---- 来自 dispatch_grid.css ---- */
html.ops-dark body.dispatch-page .dispatch-grid-shell {
  --dispatch-grid-paper: #0e1117;
  --dispatch-grid-ink: #edf6fb;
  --dispatch-grid-route: #8ed0e1;
  --dispatch-grid-selection: #1a2932;
  --dispatch-grid-warning: #e2bf8d;
  --dispatch-grid-shortage-color: #e2928d;
  --dispatch-grid-line: #243142;
  --dispatch-grid-soft: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-heading {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-heading p {
  color: #acb9c4;
}
html.ops-dark body.dispatch-page .dispatch-grid-authority {
  border: 1px solid #243142;
  background: #13161e;
  color: #9fdbca;
}
html.ops-dark body.dispatch-page .dispatch-grid-freeze-toggle[aria-pressed="true"] {
  border-color: #3a6f7e;
  background: #13161e;
  color: #95d4e4;
}
html.ops-dark body.dispatch-page .dispatch-grid-view-controls label > span {
  color: #a9bac6;
}
html.ops-dark body.dispatch-page .dispatch-grid-view-controls select,
html.ops-dark body.dispatch-page .dispatch-grid-view-controls input,
html.ops-dark body.dispatch-page .dispatch-grid-filter-popover select,
html.ops-dark body.dispatch-page .dispatch-grid-filter-popover input,
html.ops-dark body.dispatch-page .dispatch-grid-node-inline-editor input,
html.ops-dark body.dispatch-page .dispatch-grid-shipping-inline-editor input,
html.ops-dark body.dispatch-page .dispatch-grid-shipping-inline-editor select {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-chips {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-caption {
  color: #acb9c4;
}
html.ops-dark body.dispatch-page .dispatch-grid-chip-list button {
  border: 1px solid #325667;
  background: #13161e;
  color: #9cd0de;
}
html.ops-dark body.dispatch-page .dispatch-grid-chip-list .dispatch-grid-clear-filters {
  color: #c6a9b3;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-popover {
  border: 1px solid #446574;
  background: #0e1117;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.14);
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-popover-head button {
  color: #acb9c3;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-sort button,
html.ops-dark body.dispatch-page .dispatch-grid-filter-tabs button,
html.ops-dark body.dispatch-page .dispatch-grid-filter-value-tools button {
  border: 1px solid #243142;
  background: #0e1117;
  color: #a1bcce;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-tabs button.is-active {
  border-color: #3a6f7e;
  background: #13161e;
  color: #95d4e4;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-option-list {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-option:hover {
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-option em {
  color: #adb9c2;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-popover label span,
html.ops-dark body.dispatch-page .dispatch-grid-node-inline-editor label span {
  color: #a9bac6;
}
html.ops-dark body.dispatch-page .dispatch-grid-message {
  background: #13161e;
  color: #a2d7c6;
}
html.ops-dark body.dispatch-page .dispatch-grid-message.error {
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-message.warning {
  background: #322a1a;
  color: #e2c28d;
}
html.ops-dark body.dispatch-page .dispatch-grid-scroll {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-table th,
html.ops-dark body.dispatch-page .dispatch-grid-table td {
  border-bottom: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-table thead th {
  background: #13161e;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr:hover > td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-button {
  color: #a9b9c6;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-button:hover,
html.ops-dark body.dispatch-page .dispatch-grid-filter-button.active {
  border-color: #416777;
  background: #1e3c48;
  color: #95d4e4;
}
html.ops-dark body.dispatch-page .dispatch-grid-column-resizer:hover::after,
html.ops-dark body.dispatch-page .dispatch-grid-column-resizer:focus-visible::after,
html.ops-dark body.dispatch-page .is-resizing-column .dispatch-grid-column-resizer::after {
  background: #24758a;
}
html.ops-dark body.dispatch-page .dispatch-grid-select-column {
  background: #0e1117 !important;
}
html.ops-dark body.dispatch-page .dispatch-grid-table thead .dispatch-grid-select-column {
  background: #13161e !important;
}
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-sticky-allocation_date,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-sticky-customer,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-sticky-pi_number,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-sticky-ean,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-sticky-description,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-sticky-ordered_qty {
  background: #0e1117;
  box-shadow: 1px 0 0 #d5e0e7;
}
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-table thead .dispatch-grid-sticky-allocation_date,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-table thead .dispatch-grid-sticky-customer,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-table thead .dispatch-grid-sticky-pi_number,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-table thead .dispatch-grid-sticky-ean,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-table thead .dispatch-grid-sticky-description,
html.ops-dark body.dispatch-page .is-identity-frozen .dispatch-grid-table thead .dispatch-grid-sticky-ordered_qty {
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr.dispatch-grid-pi-boundary > td {
  border-top: 3px solid #4a606d;
}
html.ops-dark body.dispatch-page .dispatch-grid-merge-product {
  background: #0e1117 !important;
}
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr > td.dispatch-grid-shortage-cell {
  background: #321a1a !important;
  color: #e28d8d;
}
html.ops-dark body.dispatch-page .dispatch-grid-merge-batch[data-column="batch_label"] {
  background: #0e1117 !important;
  color: #9ad0df;
}
html.ops-dark body.dispatch-page .dispatch-grid-merge-batch[data-column="batch_label"]::before {
  background: #243c42;
}
html.ops-dark body.dispatch-page .dispatch-grid-muted {
  color: #acb9c4;
}
html.ops-dark body.dispatch-page .dispatch-grid-ci strong {
  color: #95d5e4;
}
html.ops-dark body.dispatch-page .dispatch-grid-ci em {
  background: #13161e;
  color: #a2b5ce;
}
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr > td.dispatch-grid-so-closed-state-yes {
  background: #13161e;
  color: #9ae0c8;
}
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr > td.dispatch-grid-so-closed-state-no,
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr > td.dispatch-grid-so-closed-state-blank,
html.ops-dark body.dispatch-page .dispatch-grid-table tbody tr > td.dispatch-grid-so-closed-state-conflict {
  background: #321b1a;
  color: #e2918e;
}
html.ops-dark body.dispatch-page .dispatch-grid-so-closed-state-yes strong {
  color: #9ae0c8;
}
html.ops-dark body.dispatch-page .dispatch-grid-so-closed-state-no strong,
html.ops-dark body.dispatch-page .dispatch-grid-so-closed-state-blank strong,
html.ops-dark body.dispatch-page .dispatch-grid-so-closed-state-conflict strong {
  color: #e2918e;
}
html.ops-dark body.dispatch-page .dispatch-grid-node-cell.is-empty {
  color: #abbac4;
}
html.ops-dark body.dispatch-page .dispatch-grid-node-cell:hover {
  border-color: #416877;
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-node-inline-editor {
  border: 1px solid #456573;
  background: #0e1117;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
html.ops-dark body.dispatch-page .dispatch-grid-shipping-cell.is-empty {
  color: #abbac4;
}
html.ops-dark body.dispatch-page .dispatch-grid-shipping-cell:hover {
  border-color: #416877;
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-shipping-inline-editor {
  border: 1px solid #456573;
  background: #0e1117;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
html.ops-dark body.dispatch-page .dispatch-grid-shipping-inline-editor label span {
  color: #a9bac6;
}
html.ops-dark body.dispatch-page .dispatch-grid-product-policy {
  border: 1px solid #243142;
  background: #13161e;
  color: #9ddcc9;
}
html.ops-dark body.dispatch-page .dispatch-grid-product-policy.is-no {
  border-color: #243142;
  background: #13161e;
  color: #acbac4;
}
html.ops-dark body.dispatch-page .dispatch-grid-product-policy-unconfigured {
  border-color: #673532;
  background: #13161e;
  color: #e2918d;
}
html.ops-dark body.dispatch-page .dispatch-grid-ci-remark-cell.is-empty {
  color: #abbac4;
}
html.ops-dark body.dispatch-page .dispatch-grid-ci-remark-cell:hover {
  border-color: #416877;
  background: #13161e;
}
html.ops-dark body.dispatch-page .dispatch-grid-ci-remark-inline-editor {
  border: 1px solid #456573;
  background: #0e1117;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
html.ops-dark body.dispatch-page .dispatch-grid-ci-remark-inline-editor textarea {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .dispatch-grid-empty {
  color: #acb9c3;
}
html.ops-dark body.dispatch-page .dispatch-grid-footer {
  background: #0e1117;
  color: #acb9c3;
}
html.ops-dark body.dispatch-page .dispatch-grid-page-number {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .dispatch-grid-filter-loading {
  color: #adb9c2;
}
html.ops-dark body.dispatch-page .dispatch-grid-selection-bar {
  border: 1px solid #456573;
  background: #0e1117;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.14);
}
html.ops-dark body.dispatch-page .dispatch-grid-selection-summary > span {
  border-right: 1px solid #243142;
}
html.ops-dark body.dispatch-page .dispatch-grid-selection-summary small {
  color: #aeb9c1;
}
html.ops-dark body.dispatch-page .dispatch-grid-shell button:focus-visible,
html.ops-dark body.dispatch-page .dispatch-grid-shell input:focus-visible,
html.ops-dark body.dispatch-page .dispatch-grid-shell select:focus-visible {
  outline: 3px solid rgba(36, 117, 138, 0.30);
}
@media (max-width: 620px) {
  html.ops-dark body.dispatch-page .dispatch-grid-selection-summary > span {
    border-bottom: 1px solid #243142;
  }
}
/* ---- 来自 inventory_shadow.css ---- */
html.ops-dark body.dispatch-page .inventory-shadow-panel {
  --inventory-paper: #0e1117;
  --inventory-grid: #243142;
  --inventory-stock: #4a441c;
  --inventory-authority: #8daae2;
  --inventory-danger: #e2938d;
  --inventory-ok: #8de2c3;
  --inventory-shadow-line: #243142;
  --inventory-shadow-ink: #edf6fb;
  --inventory-shadow-muted: #acb8c3;
  --inventory-shadow-blue: #13161e;
  --inventory-shadow-green: #13161e;
  --inventory-shadow-amber: #322c1a;
  --inventory-shadow-red: #13161e;
}
html.ops-dark body.dispatch-page .side-drawer.inventory-priority-drawer,
html.ops-dark body.dispatch-page .inventory-priority-modal {
  --inventory-paper: #0e1117;
  --inventory-grid: #243142;
  --inventory-stock: #4a441c;
  --inventory-authority: #8daae2;
  --inventory-danger: #e2938d;
  --inventory-ok: #8de2c3;
}
html.ops-dark body.dispatch-page .inventory-authority-panel {
  border: 1px solid #4c6b58;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-heading {
  border-bottom: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-toolbar {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-toolbar label > span {
  color: #adc2b7;
}
html.ops-dark body.dispatch-page .inventory-authority-toolbar input,
html.ops-dark body.dispatch-page .inventory-authority-toolbar select {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-provenance i.physical {
  background: #3e8a61;
}
html.ops-dark body.dispatch-page .inventory-authority-provenance i.catalog {
  border-left: 3px dashed #515f66;
}
html.ops-dark body.dispatch-page .inventory-authority-table-wrap {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-table-wrap:focus-visible {
  outline: 2px solid #3d768f;
}
html.ops-dark body.dispatch-page .inventory-authority-table th:nth-child(1),
html.ops-dark body.dispatch-page .inventory-authority-table td:nth-child(1) {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-table th:nth-child(2),
html.ops-dark body.dispatch-page .inventory-authority-table td:nth-child(2) {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-table th:nth-child(3),
html.ops-dark body.dispatch-page .inventory-authority-table td:nth-child(3) {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-table thead th {
  background: #13161e;
  color: #a3d7bc;
}
html.ops-dark body.dispatch-page .inventory-authority-table thead th:first-child {
  background: #293d30;
}
html.ops-dark body.dispatch-page .inventory-authority-table thead th:nth-child(2),
html.ops-dark body.dispatch-page .inventory-authority-table thead th:nth-child(3) {
  background: #13161e;
}
html.ops-dark body.dispatch-page .inventory-authority-table tbody tr:hover td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-row--physical td:first-child {
  box-shadow: inset 3px 0 #3e8a61;
}
html.ops-dark body.dispatch-page .inventory-authority-row--catalog td {
  background: #0e1117;
  color: #adbac2;
}
html.ops-dark body.dispatch-page .inventory-authority-row--catalog td:first-child {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-row--catalog td:nth-child(2),
html.ops-dark body.dispatch-page .inventory-authority-row--catalog td:nth-child(3) {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-row--catalog td:first-child {
  box-shadow: inset 3px 0 #a4b0b6;
}
html.ops-dark body.dispatch-page .inventory-authority-sku code {
  color: #95cae4;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--editable {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--source {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--calculated {
  background: #0e1117;
  color: #b1a8c8;
}
html.ops-dark body.dispatch-page .inventory-authority-edit-trigger > span,
html.ops-dark body.dispatch-page .inventory-authority-cell--source button > span,
html.ops-dark body.dispatch-page .inventory-authority-cell--calculated > small {
  color: #b0c0b8;
}
html.ops-dark body.dispatch-page .inventory-authority-history-trigger {
  color: #b0c0b8;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--editable:hover .inventory-authority-edit-trigger,
html.ops-dark body.dispatch-page .inventory-authority-edit-trigger:focus-visible {
  border-color: #4a6e58;
  background: #13161e;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--source button {
  color: #91c5de;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--source button:hover {
  background: #13161e;
}
html.ops-dark body.dispatch-page .inventory-authority-editor {
  border: 2px solid #337f57;
  background: #0e1117;
  color: #9fdabd;
}
html.ops-dark body.dispatch-page .inventory-authority-editor[aria-invalid="true"] {
  border-color: #8a342e;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-edit-trigger:focus-visible,
html.ops-dark body.dispatch-page .inventory-authority-history-trigger:focus-visible,
html.ops-dark body.dispatch-page .inventory-authority-cell--source button:focus-visible,
html.ops-dark body.dispatch-page .inventory-authority-editor:focus-visible {
  outline: 2px solid #2f728e;
}
html.ops-dark body.dispatch-page .inventory-authority-cell.saving {
  background: #13161e;
  box-shadow: inset 0 0 0 1px #77a68a;
}
html.ops-dark body.dispatch-page .inventory-authority-cell.saving .inventory-authority-edit-trigger::after {
  color: #a0cfb5;
}
html.ops-dark body.dispatch-page .inventory-authority-cell.stale,
html.ops-dark body.dispatch-page .inventory-authority-edit-trigger.stale {
  background: #322c1a;
  color: #e4ce95;
}
html.ops-dark body.dispatch-page .inventory-authority-cell--held {
  background: #13161e;
  box-shadow: inset 0 0 0 1px #dda19c;
  color: #dd9793;
}
html.ops-dark body.dispatch-page .inventory-authority-history th,
html.ops-dark body.dispatch-page .inventory-authority-history td {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .inventory-authority-history th {
  background: #13161e;
  color: #a9d1bb;
}
html.ops-dark body.dispatch-page .inventory-authority-history-loading,
html.ops-dark body.dispatch-page .inventory-authority-history-empty,
html.ops-dark body.dispatch-page .inventory-authority-history-error {
  color: #aab8cc;
}
html.ops-dark body.dispatch-page .inventory-authority-history-error {
  color: #e2918d;
}
html.ops-dark body.dispatch-page .inventory-authority-occupancy {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-occupancy button {
  color: #8dabe2;
}
html.ops-dark body.dispatch-page .inventory-authority-occupancy button:hover {
  border-color: #324467;
  background: #1a2232;
}
html.ops-dark body.dispatch-page .inventory-authority-occupancy button:disabled {
  color: #aeb6c1;
}
html.ops-dark body.dispatch-page .inventory-priority-loading,
html.ops-dark body.dispatch-page .inventory-priority-empty,
html.ops-dark body.dispatch-page .inventory-priority-status {
  background: #0e1117;
  color: #abb6c4;
}
html.ops-dark body.dispatch-page .inventory-priority-status.ok {
  border-color: #326753;
}
html.ops-dark body.dispatch-page .inventory-priority-status.stale {
  border-color: #8a712e;
  background: #322d1a;
  color: #e4cf95;
}
html.ops-dark body.dispatch-page .inventory-priority-status.held {
  border-color: #673732;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-priority-evidence {
  color: #a9b6c6;
}
html.ops-dark body.dispatch-page .inventory-priority-rail {
  border-left: 2px solid #324467;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-dot {
  box-shadow: 0 0 0 1px #86a6e0;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-item.warning .inventory-priority-rail-dot {
  background: #c28b13;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-item header strong {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-item header code {
  color: #aeb7c1;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-item dl > div,
html.ops-dark body.dispatch-page .inventory-priority-preview-breakdown > div {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-item dt,
html.ops-dark body.dispatch-page .inventory-priority-preview-breakdown dt {
  color: #adb6c2;
}
html.ops-dark body.dispatch-page .inventory-priority-rail-item dd,
html.ops-dark body.dispatch-page .inventory-priority-preview-breakdown dd {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-priority-age-warning {
  color: #e4cd95;
}
html.ops-dark body.dispatch-page .inventory-priority-audit {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-priority-audit th {
  background: #13161e;
  color: #a4b4cb;
}
html.ops-dark body.dispatch-page .inventory-priority-form {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-priority-form label {
  color: #aab6c5;
}
html.ops-dark body.dispatch-page .inventory-priority-form input,
html.ops-dark body.dispatch-page .inventory-priority-form select {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-priority-modal-backdrop {
  background: rgba(15, 27, 44, 0.46);
}
html.ops-dark body.dispatch-page .inventory-priority-modal {
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}
html.ops-dark body.dispatch-page .inventory-priority-modal > header,
html.ops-dark body.dispatch-page .inventory-priority-modal > footer {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-priority-modal > header h2 {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-priority-preview {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-authority-order-detail summary {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-authority-order-detail summary:focus-visible {
  outline: 2px solid #3d768f;
}
html.ops-dark body.dispatch-page .inventory-shadow-heading {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-kicker {
  color: #93cadd;
}
html.ops-dark body.dispatch-page .inventory-shadow-source {
  border: 1px solid #243142;
  color: #9fdbb9;
}
html.ops-dark body.dispatch-page .inventory-shadow-source.stale {
  border-color: #8a712e;
  color: #e4cb95;
}
html.ops-dark body.dispatch-page .inventory-shadow-notice {
  border: 1px solid #32674a;
  background: #13161e;
  color: #a2d7bb;
}
html.ops-dark body.dispatch-page .inventory-shadow-notice.stale {
  border-color: #8a722e;
  color: #e4cc95;
}
html.ops-dark body.dispatch-page .inventory-shadow-notice.held {
  border-color: #673632;
  color: #e2918d;
}
html.ops-dark body.dispatch-page .inventory-shadow-toolbar {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-toolbar label > span {
  color: #a5baca;
}
html.ops-dark body.dispatch-page .inventory-shadow-toolbar input,
html.ops-dark body.dispatch-page .inventory-shadow-toolbar select {
  border: 1px solid #325167;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-legend i {
  background: #2f8055;
}
html.ops-dark body.dispatch-page .inventory-shadow-legend i.is-stale {
  background: #d99a13;
}
html.ops-dark body.dispatch-page .inventory-shadow-legend i.is-held {
  background: #bf3b35;
}
html.ops-dark body.dispatch-page .inventory-shadow-table-wrap {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-table thead th {
  background: #13161e;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-shadow-table thead .inventory-shadow-groups th {
  background: #203746;
}
html.ops-dark body.dispatch-page .inventory-shadow-table tbody tr:hover td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-table tbody tr.held td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-ean code {
  color: #95c7e4;
}
html.ops-dark body.dispatch-page .inventory-shadow-number {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-shadow-number:hover,
html.ops-dark body.dispatch-page .inventory-shadow-number:focus-visible {
  border-color: #3c667b;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.shortage {
  border-color: #673532;
  color: #e2908d;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.held,
html.ops-dark body.dispatch-page .inventory-shadow-number:disabled {
  color: #c8a7ac;
}
html.ops-dark body.dispatch-page .inventory-shadow-badge.current {
  color: #a0d9ba;
}
html.ops-dark body.dispatch-page .inventory-shadow-badge.stale {
  color: #e4cd95;
}
html.ops-dark body.dispatch-page .inventory-shadow-badge.held {
  color: #e2908d;
}
html.ops-dark body.dispatch-page .inventory-shadow-badge-button:hover,
html.ops-dark body.dispatch-page .inventory-shadow-badge-button:focus-visible {
  outline: 2px solid #a62e29;
}
html.ops-dark body.dispatch-page .inventory-shadow-footer {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-loading,
html.ops-dark body.dispatch-page .inventory-shadow-drawer-empty,
html.ops-dark body.dispatch-page .inventory-shadow-drawer-error {
  border: 1px solid #243142;
  background: #0e1117;
  color: #a8bac7;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-error.held {
  border-color: #673632;
  color: #e2918d;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-warning {
  border: 1px solid #8a712e;
  color: #e4cc95;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-summary > div {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-summary span,
html.ops-dark body.dispatch-page .inventory-shadow-drawer-group small {
  color: #acb9c3;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-summary strong {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-group {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-group > header {
  border-bottom: 1px solid #243142;
  background: #13161e;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-group > header strong {
  background: #1a2a32;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-table th,
html.ops-dark body.dispatch-page .inventory-shadow-drawer-table td {
  border-right: 1px solid #243142;
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-table th {
  background: #0e1117;
  color: #a7bac8;
}
html.ops-dark body.dispatch-page .inventory-shadow-drawer-evidence {
  color: #aeb9c2;
}
html.ops-dark body.dispatch-page .inventory-order-ci {
  color: #e4ba95;
}
html.ops-dark body.dispatch-page .inventory-order-none {
  color: #adc2b7;
}
html.ops-dark body.dispatch-page .inventory-order-action-card {
  border: 1px solid #243142;
  background: #0e1117;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}
html.ops-dark body.dispatch-page .inventory-order-action-card > header span,
html.ops-dark body.dispatch-page .inventory-order-action-quantities span {
  color: #adb9c2;
}
html.ops-dark body.dispatch-page .inventory-order-action-card > header strong {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-order-action-card > header small {
  color: #adb9c2;
}
html.ops-dark body.dispatch-page .inventory-order-action-quantities > div {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-order-action-quantities strong {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-order-action-toolbar .danger-button {
  border: 1px solid #673632;
  background: #0e1117;
  color: #e2908d;
}
html.ops-dark body.dispatch-page .inventory-order-action-toolbar .warning-button {
  border: 1px solid #8a722e;
  background: #322c1a;
  color: #e4cc95;
}
html.ops-dark body.dispatch-page .inventory-order-action-hold {
  border: 1px solid #8a722e;
  color: #e4cc95;
}
html.ops-dark body.dispatch-page .inventory-order-action-history {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inventory-order-action-history summary {
  background: #13161e;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inventory-order-action-field {
  color: #a0bcd0;
}
html.ops-dark body.dispatch-page .inventory-order-action-field small {
  color: #adb9c2;
}
html.ops-dark body.dispatch-page .inventory-order-action-preview {
  border: 1px solid #326748;
  color: #a2d7bb;
}
html.ops-dark body.dispatch-page .inventory-order-action-preview-lines > div {
  border-top: 1px solid rgba(40, 94, 65, 0.16);
}
html.ops-dark body.dispatch-page .inventory-shadow-period-hint {
  color: #a5baca;
}
html.ops-dark body.dispatch-page .inventory-shadow-period-hint.held {
  color: #e2938d;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.muted {
  color: #8aa0b3;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.live {
  box-shadow: inset 0 0 0 2px #1f7a5a;
}
html.ops-dark body.dispatch-page .inventory-shadow-live-dot {
  background: #1f7a5a;
  color: #ffffff;
}
/* ---- 来自 ledger_page.css ---- */
html.ops-dark body.dispatch-page .ledger-page-source {
  color: #acb6c3;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table-wrap {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table th,
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table td {
  border-right: 1px solid #243142;
  border-bottom: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead th {
  background: #13161e;
  color: #edf6fb;
  box-shadow: inset 0 -2px 0 #c9d8e3;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead .inventory-shadow-groups th {
  background: #203746;
  box-shadow: inset 0 -1px 0 #b9cbd8;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead .inventory-shadow-groups th:nth-child(2) {
  background: #293d33;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead .inventory-shadow-groups th:nth-child(3) {
  background: #13161e;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead .inventory-shadow-groups th:nth-child(4) {
  background: #4a361c;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead tr:not(.inventory-shadow-groups) th:nth-child(3),
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table td:nth-child(3) {
  box-shadow: 6px 0 8px -6px rgba(0, 0, 0, 0.25);
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table tbody tr:nth-child(even) td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table tbody tr:hover td {
  background: #13161e;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table tbody tr.held td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table-wrap::-webkit-scrollbar-track,
html.ops-dark body.dispatch-page.ledger-page .od-tablewrap::-webkit-scrollbar-track,
html.ops-dark body.dispatch-page.ledger-page .ledger-hscroll::-webkit-scrollbar-track {
  background: #13161e;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table-wrap::-webkit-scrollbar-thumb,
html.ops-dark body.dispatch-page.ledger-page .od-tablewrap::-webkit-scrollbar-thumb,
html.ops-dark body.dispatch-page.ledger-page .ledger-hscroll::-webkit-scrollbar-thumb {
  background: #4f6f8f;
  border: 3px solid #243142;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table-wrap::-webkit-scrollbar-thumb:hover,
html.ops-dark body.dispatch-page.ledger-page .ledger-hscroll::-webkit-scrollbar-thumb:hover {
  background: #1c425e;
}
html.ops-dark body.dispatch-page.ledger-page .ledger-hscroll {
  background: #13161e;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table td.inventory-shadow-logic {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table td.inventory-shadow-logic.warn {
  color: #e2b28d;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-gap {
  background: #321c1a;
  color: #e2938d;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table .inventory-shadow-pair-start {
  border-left: 2px solid #79663e;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table .inventory-shadow-pair-end {
  border-right: 2px solid #79663e;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead th.inventory-shadow-pair-start,
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead th.inventory-shadow-pair-end {
  background: #4a381c;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.transit {
  color: #e4c995;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.transit.warn {
  color: #e2918d;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.office {
  color: #a2a5cd;
}
html.ops-dark body.dispatch-page .inventory-shadow-flag {
  background: rgba(179, 38, 30, 0.12);
  color: #e2918d;
}
html.ops-dark body.dispatch-page .inventory-shadow-gap.out {
  background: rgba(138, 90, 0, 0.14);
  color: #e4c995;
}
html.ops-dark body.dispatch-page .inventory-shadow-gap.out.warn {
  background: rgba(179, 38, 30, 0.12);
  color: #e2918d;
}
html.ops-dark body.dispatch-page .inventory-shadow-number.office.warn {
  color: #e2918d;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-number.lark {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-gap.lark-zero {
  background: #13161e;
  color: #aab8cc;
}
html.ops-dark body.dispatch-page.ledger-page .od-subnav .ledger-help-btn {
  background: #0e1117;
  color: #edf6fb;
  border-color: #324867;
}
html.ops-dark body.dispatch-page.ledger-page .od-subnav .ledger-help-btn:hover {
  background: #1a2332;
  border-color: #2e4d8a;
}
html.ops-dark body.dispatch-page .ledger-help-dialog {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
html.ops-dark body.dispatch-page .ledger-help-dialog::backdrop {
  background: rgba(15, 35, 80, 0.35);
}
html.ops-dark body.dispatch-page .ledger-help-panel {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .ledger-help-panel header {
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page .ledger-help-panel h3 {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .ledger-help-close {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .ledger-help-body th,
html.ops-dark body.dispatch-page .ledger-help-body td {
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page .ledger-help-body th {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .ledger-help-body td {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table thead tr:not(.inventory-shadow-groups) th:nth-child(2):hover::after {
  border-right-color: #324867;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table.ledger-col-resizing thead tr:not(.inventory-shadow-groups) th:nth-child(2)::after {
  border-right-color: #2e4d8a;
}
html.ops-dark body.dispatch-page.ledger-page .od-subnav .ledger-region-btn {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page.ledger-page .od-subnav .ledger-region-btn.active {
  background: #0f2350;
  color: #ffffff;
  border-color: #0f2350;
}
html.ops-dark body.dispatch-page.ledger-page .od-subnav .ledger-region-btn:hover:not(.active) {
  border-color: #445973;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table .inventory-shadow-number.wms {
  color: #95e4bf;
}
html.ops-dark body.dispatch-page.ledger-page .inventory-shadow-table .inventory-shadow-number.wms.stale {
  color: #e4c995;
}
/* ---- 来自 inbound_page.css ---- */
html.ops-dark body.dispatch-page .inbound-page-source {
  color: #acb6c3;
}
html.ops-dark body.dispatch-page .inbound-page-source b {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inbound-grid-shell {
  background: #0e1117;
  border: 1px solid #445973;
}
html.ops-dark body.dispatch-page .inbound-grid-toolbar {
  border-bottom: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inbound-grid-chips button {
  border: 1px solid #243142;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inbound-grid-chips button b {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .inbound-grid-chips button.active {
  background: #0f2350;
  border-color: #0f2350;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .inbound-grid-chips button.active b {
  color: #cfe0ff;
}
html.ops-dark body.dispatch-page .inbound-grid-search input {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .inbound-grid-search button {
  background: #0f2350;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .inbound-grid-search button.ghost {
  background: #0e1117;
  color: #aab5c5;
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .inbound-grid-message {
  color: #e2b28d;
  background: #13161e;
}
html.ops-dark body.dispatch-page table.inbound-grid-table th,
html.ops-dark body.dispatch-page table.inbound-grid-table td {
  border-bottom: 1px solid #243142;
  border-right: 1px solid #243142;
}
html.ops-dark body.dispatch-page table.inbound-grid-table th {
  background: #13161e;
  color: #a6b5ca;
  border-bottom: 2px solid #445973;
}
html.ops-dark body.dispatch-page table.inbound-grid-table tbody tr:hover td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page table.inbound-grid-table td.muted {
  color: #c6cfdb;
}
html.ops-dark body.dispatch-page table.inbound-grid-table .stock-chip {
  background: #1a2332;
  color: #8dafe2;
}
html.ops-dark body.dispatch-page table.inbound-grid-table .sn {
  color: #aab5c5;
}
html.ops-dark body.dispatch-page table.inbound-grid-table th.stick1,
html.ops-dark body.dispatch-page table.inbound-grid-table td.stick1 {
  background: #0e1117;
}
html.ops-dark body.dispatch-page table.inbound-grid-table th.stick1 {
  background: #0e1117;
}
html.ops-dark body.dispatch-page table.inbound-grid-table tbody tr:hover td.stick1 {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inbound-grid-footer {
  border-top: 1px solid #243142;
  background: #0e1117;
  color: #aab5c5;
}
html.ops-dark body.dispatch-page .inbound-grid-pagination button {
  border: 1px solid #243142;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inbound-grid-page-number {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page table.inbound-grid-table tbody tr.ib-pi-break > td {
  border-top: 2px solid #445973;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .inbound-grid-shell {
  border-color: #445973;
}
html.ops-dark body.dispatch-page #inboundTable th.ib-gutter,
html.ops-dark body.dispatch-page #inboundTable td.ib-gutter {
  background: var(--surface, #0e1117);
}
html.ops-dark body.dispatch-page .ib-rownum {
  color: #94a3b8;
}
html.ops-dark body.dispatch-page .ib-tag-manual {
  background: #1a2532;
  color: #8da3e2;
}
html.ops-dark body.dispatch-page .ib-tag-doc {
  background: #4a411c;
  color: #e2b28d;
}
html.ops-dark body.dispatch-page .ib-tag-live {
  background: #1a3222;
  color: #95e4b3;
}
html.ops-dark body.dispatch-page .ib-tag-lark {
  background: #4a411c;
  color: #e2b28d;
}
html.ops-dark body.dispatch-page .ib-tag-live-split {
  background: #1a2032;
  color: #948ee1;
}
html.ops-dark body.dispatch-page .ib-tag-live-unmatched {
  background: #321a1a;
  color: #e28d8d;
}
html.ops-dark body.dispatch-page .ib-live-hint {
  color: #aab8cc;
}
html.ops-dark body.dispatch-page .ib-live-hint-on {
  color: #95e4b3;
}
html.ops-dark body.dispatch-page .ib-tag-edited {
  background: #1f1a32;
  color: #ae8de2;
}
html.ops-dark body.dispatch-page .ib-rowdel {
  color: #cbd5e1;
}
html.ops-dark body.dispatch-page .ib-rowdel:hover {
  color: #e28d8d;
}
html.ops-dark body.dispatch-page #inboundTable td.ib-cell-edit:hover {
  background: #0e1117;
}
html.ops-dark body.dispatch-page #inboundTable td.ib-cell-patched {
  background: #0e1117;
}
html.ops-dark body.dispatch-page #inboundTable td.ib-cell-patched::before {
  border-color: #502e8a transparent transparent transparent;
}
html.ops-dark body.dispatch-page .ib-editor {
  border: 1px solid #2e4b8a;
  background: #0e1117;
}
html.ops-dark body.dispatch-page #inboundTable tr.ib-row-manual > td {
  background: #13161e;
}
html.ops-dark body.dispatch-page #inboundTable tr.ib-row-live > td {
  background: #0e1117;
}
html.ops-dark body.dispatch-page #inboundTable tr.ib-row-draft > td {
  background: #13161e;
}
html.ops-dark body.dispatch-page .ib-draft-save {
  background: #2563eb;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .ib-draft-cancel {
  background: #13161e;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .ib-conflict {
  border: 1px solid #8a6a2e;
  background: #0e1117;
}
html.ops-dark body.dispatch-page .ib-conflict-head {
  color: #e4c995;
}
html.ops-dark body.dispatch-page .ib-conflict-list {
  color: #abb6c5;
}
html.ops-dark body.dispatch-page .ib-conflict-list .cf-was {
  color: #93a3b8;
}
html.ops-dark body.dispatch-page .ib-conflict-list .cf-mine {
  color: #ae8de2;
}
html.ops-dark body.dispatch-page .ib-conflict-list .cf-lark {
  color: #e2b28d;
}
html.ops-dark body.dispatch-page .ib-tag-suspended {
  background: #321a1a;
  color: #e2938d;
}
html.ops-dark body.dispatch-page .ib-tag-dup {
  background: #13161e;
  color: #aab5c5;
}
html.ops-dark body.dispatch-page .ib-conflict-list .cf-stop {
  color: #e2938d;
}
html.ops-dark body.dispatch-page .ib-rebind,
html.ops-dark body.dispatch-page .ib-discard {
  border: 1px solid #243142;
  background: #0e1117;
  color: #aab5c5;
}
html.ops-dark body.dispatch-page .ib-rebind:hover {
  border-color: #2e4b8a;
  color: #8da8e2;
}
html.ops-dark body.dispatch-page .ib-discard:hover {
  border-color: #b42318;
  color: #e2938d;
}
html.ops-dark body.dispatch-page table.inbound-grid-table th:hover .ib-col-resize {
  border-right-color: #324867;
}
html.ops-dark body.dispatch-page #inboundTable th.ib-gutter {
  background: #13161e;
}
html.ops-dark body.dispatch-page table.inbound-grid-table td.ib-first {
  background: var(--surface, #0e1117);
}
html.ops-dark body.dispatch-page .ib-topscroll {
  border-bottom: 1px solid #243142;
}
/* ---- 来自 sku_master.html <style> ---- */
html.ops-dark body.dispatch-page .sku-sync-info {
  color: #acb6c3;
}
html.ops-dark body.dispatch-page .sku-sync-info.bad {
  color: #e2b28d;
}
html.ops-dark body.dispatch-page table.inbound-grid-table td.sku-logic {
  color: #edf6fb;
}
html.ops-dark body.dispatch-page table.inbound-grid-table td.sku-seed {
  color: #aab5c5;
}
html.ops-dark body.dispatch-page table.inbound-grid-table td.sku-lark-changed {
  box-shadow: inset 0 0 0 2px #f59e0b;
}
html.ops-dark body.dispatch-page .sku-filter-btn {
  color: #aab5c5;
}
html.ops-dark body.dispatch-page .sku-filter-btn:hover {
  border-color: #324967;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .sku-filter-btn.on {
  background: #0f2350;
  color: #ffffff;
  border-color: #0f2350;
}
html.ops-dark body.dispatch-page .sku-filter-pop {
  background: #0e1117;
  border: 1px solid #243142;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-search {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-all {
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-item:hover {
  background: #0e1117;
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-n {
  color: #94a3b8;
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-none {
  color: #94a3b8;
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-actions button {
  background: #0f2350;
  color: #ffffff;
}
html.ops-dark body.dispatch-page .sku-filter-pop .sku-f-actions button.ghost {
  background: #0e1117;
  color: #aab5c5;
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page #skuRowCount.sku-incomplete {
  color: #e2b28d;
}
html.ops-dark body.dispatch-page .sku-clear-filters {
  border: 1px solid #0f2350;
  background: #0e1117;
  color: #edf6fb;
}
html.ops-dark body.dispatch-page .sku-lang {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .inbound-grid-search .sku-lang button {
  background: #0e1117;
  color: #aab5c5;
}
html.ops-dark body.dispatch-page .inbound-grid-search .sku-lang button.active {
  background: #0f2350;
  color: #ffffff;
}
/* ---- 来自 transfer_kingdee.html <style> ---- */
html.ops-dark body.dispatch-page .tk-card {
  background: #0e1117;
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .tk-row label {
  color: #a8b5c7;
}
html.ops-dark body.dispatch-page .tk-row input[type=text] {
  border: 1px solid #243142;
}
html.ops-dark body.dispatch-page .tk-table th,
html.ops-dark body.dispatch-page .tk-table td {
  border-bottom: 1px solid #243142;
}
html.ops-dark body.dispatch-page .tk-table th {
  background: #0e1117;
  color: #a8b5c7;
}
html.ops-dark body.dispatch-page .tk-block {
  color: #e2938d;
}
html.ops-dark body.dispatch-page .tk-ok {
  color: #95e4c3;
}
html.ops-dark body.dispatch-page .tk-warn {
  color: #e2ac8d;
}
html.ops-dark body.dispatch-page .tk-muted {
  color: #adb6c2;
}
html.ops-dark body.dispatch-page .tk-pre {
  background: #0e1117;
  border: 1px solid #243142;
}
/* ================= 第二段：手写细节 ================= */
/* 色板 = 工作台暗色模板（styles.css 末尾 jonathan-workspace:not(.jonathan-light)）：
   页底 #070b11 · 面板 #0e1117 · 边线 #243142 · 正文 #edf6fb · 次要 #aab8cc · 输入底 #080d14 · 点缀 #67d4e8 */
html.ops-dark body.dispatch-page {
  color-scheme: dark;
  background: #070b11 !important;
  color: #edf6fb !important;
}
html.ops-dark body.dispatch-page .dispatch-page-shell,
html.ops-dark body.dispatch-page .dispatch-page-main {
  background: #070b11 !important;
}
html.ops-dark body.dispatch-page .dispatch-page-topbar {
  border-bottom: 1px solid #243142 !important;
  background: #0e1117 !important;
  box-shadow: none !important;
}
/* 顶栏 logo：换掉「AX」方块 */
html.ops-dark body.dispatch-page .dispatch-page-mark {
  display: none !important;
}
html.ops-dark body.dispatch-page .dispatch-page-logo {
  display: block;
  height: 22px;
  width: auto;
  flex: 0 0 auto;
  margin-right: 4px;
}
html.ops-dark body.dispatch-page .dispatch-page-kicker {
  color: #aab8cc !important;
}
html.ops-dark body.dispatch-page .dispatch-page-identity strong {
  color: #f8fbff !important;
}
html.ops-dark body.dispatch-page .dispatch-page-account {
  border-color: #243142 !important;
  background: #0e1117 !important;
  color: #edf6fb !important;
}
/* 顶栏 / 工具条按钮：照工作台右上角的描边按钮 */
html.ops-dark body.dispatch-page .dispatch-page-actions button,
html.ops-dark body.dispatch-page .dispatch-page-actions a,
html.ops-dark body.dispatch-page .dispatch-page-language button,
html.ops-dark body.dispatch-page .dispatch-page-back,
html.ops-dark body.dispatch-page .secondary-button,
html.ops-dark body.dispatch-page .dispatch-grid-toolbar button,
html.ops-dark body.dispatch-page .dispatch-grid-pagination button {
  border: 1px solid #243142 !important;
  background: #0e1117 !important;
  color: #edf6fb !important;
  box-shadow: none !important;
}
html.ops-dark body.dispatch-page .dispatch-page-actions button:hover,
html.ops-dark body.dispatch-page .dispatch-page-actions a:hover,
html.ops-dark body.dispatch-page .secondary-button:hover,
html.ops-dark body.dispatch-page .dispatch-grid-toolbar button:hover,
html.ops-dark body.dispatch-page .dispatch-grid-pagination button:hover {
  border-color: rgba(103, 212, 232, 0.52) !important;
  background: #121d2b !important;
}
html.ops-dark body.dispatch-page .dispatch-page-language button.active,
html.ops-dark body.dispatch-page .dispatch-page-language button[aria-pressed="true"] {
  border-color: #1f5f73 !important;
  background: #16404d !important;
  color: #f8fbff !important;
}
html.ops-dark body.dispatch-page .primary-button,
html.ops-dark body.dispatch-page button.primary-button {
  border: 1px solid #1f5f73 !important;
  background: #16404d !important;
  color: #f8fbff !important;
  box-shadow: none !important;
}
html.ops-dark body.dispatch-page .primary-button:hover {
  background: #1b5163 !important;
}
html.ops-dark body.dispatch-page button:disabled,
html.ops-dark body.dispatch-page .secondary-button:disabled,
html.ops-dark body.dispatch-page .primary-button:disabled {
  border-color: #2c3b4f !important;
  background: #151e29 !important;
  color: #91a2b8 !important;
  opacity: 0.82 !important;
}
/* 输入 / 下拉 */
html.ops-dark body.dispatch-page input,
html.ops-dark body.dispatch-page select,
html.ops-dark body.dispatch-page textarea {
  border-color: #33465c !important;
  background: #080d14 !important;
  color: #f8fbff !important;
}
html.ops-dark body.dispatch-page input::placeholder,
html.ops-dark body.dispatch-page textarea::placeholder {
  color: #738299 !important;
}
html.ops-dark body.dispatch-page input[type="checkbox"],
html.ops-dark body.dispatch-page input[type="date"] {
  color-scheme: dark;
}
/* 滚动条跟暗色走 */
html.ops-dark body.dispatch-page ::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
html.ops-dark body.dispatch-page ::-webkit-scrollbar-track {
  background: #0b0f16;
}
html.ops-dark body.dispatch-page ::-webkit-scrollbar-thumb {
  border: 3px solid #0b0f16;
  border-radius: 8px;
  background: #2a3648;
}
html.ops-dark body.dispatch-page ::-webkit-scrollbar-thumb:hover {
  background: #3a4a60;
}
/* 守卫 / 提示 */
html.ops-dark body.dispatch-page .dispatch-page-guard {
  border-color: #243142 !important;
  background: #0e1117 !important;
  color: #edf6fb !important;
}
html.ops-dark body.dispatch-page .dispatch-page-logo-on-light {
  display: none !important;
}
html.ops-dark body.dispatch-page .dispatch-page-logo-on-dark {
  display: block !important;
}

