/* ============================================================================
   深色模式适配层（自动生成，请勿手改）
   ----------------------------------------------------------------------------
   来源：public/styles.css 中的浅色硬编码（共解析 891 条规则，含 @media 内部）
   作用：把遗留的浅色底/字色/描边映射到深色等价色，使深色主题不留白块。
   生成器：C:\Users\JGL\.codex\.tmp\jiema-dev\gen-dark-shim.mjs
   ========================================================================== */

/* 背景：30 组映射 */
  [data-theme="dark"] .agent-topbar,
  [data-theme="dark"] .auto-block-empty,
  [data-theme="dark"] .auto-block-project-search input,
  [data-theme="dark"] .auto-block-rule,
  [data-theme="dark"] .auto-block-rule .auto-block-input-wrap input[type="number"],
  [data-theme="dark"] .auto-block-settings-head .icon-button,
  [data-theme="dark"] .batch-user-result table,
  [data-theme="dark"] .check-line,
  [data-theme="dark"] .compact-filter-bar,
  [data-theme="dark"] .endless-connection-candidate,
  [data-theme="dark"] .filter-bar,
  [data-theme="dark"] .manager-template-option,
  [data-theme="dark"] .manager-template-preview,
  [data-theme="dark"] .modal-panel,
  [data-theme="dark"] .monitor-task,
  [data-theme="dark"] .notice-bar,
  [data-theme="dark"] .page-header,
  [data-theme="dark"] .pagination-button,
  [data-theme="dark"] .pagination-jump input,
  [data-theme="dark"] .pagination-size-select,
  [data-theme="dark"] .phone-filter-switch::after,
  [data-theme="dark"] .phone-filter-wallet,
  [data-theme="dark"] .project-check-list,
  [data-theme="dark"] .project-dropdown,
  [data-theme="dark"] .project-request-composer,
  [data-theme="dark"] .project-request-file-preview,
  [data-theme="dark"] .project-request-list-item,
  [data-theme="dark"] .project-request-message-images a,
  [data-theme="dark"] .project-select-btn,
  [data-theme="dark"] .quick-entry,
  [data-theme="dark"] .stat-item,
  [data-theme="dark"] .status-filter,
  [data-theme="dark"] .template-user-row,
  [data-theme="dark"] .template-users-drawer,
  [data-theme="dark"] .usdt-qr,
  [data-theme="dark"] .user-disable-popover,
  [data-theme="dark"] .user-project-popover,
  [data-theme="dark"] input,
  [data-theme="dark"] select,
  [data-theme="dark"] textarea {
    background: var(--surface);
  }

  [data-theme="dark"] .address-row code,
  [data-theme="dark"] .agent-profit-order-editor,
  [data-theme="dark"] .agent-profit-summary,
  [data-theme="dark"] .api-profile,
  [data-theme="dark"] .audio-toggle,
  [data-theme="dark"] .batch-user-section,
  [data-theme="dark"] .catfee-order-summary,
  [data-theme="dark"] .client-balance-summary,
  [data-theme="dark"] .client-meta div,
  [data-theme="dark"] .code-box,
  [data-theme="dark"] .copy-template-source,
  [data-theme="dark"] .manager-template-select,
  [data-theme="dark"] .monitor-close:hover,
  [data-theme="dark"] .monitor-empty,
  [data-theme="dark"] .monitor-task-grid div,
  [data-theme="dark"] .openapi-endpoint-list pre,
  [data-theme="dark"] .openapi-key-meta,
  [data-theme="dark"] .pagination-inline,
  [data-theme="dark"] .pagination-jump-button,
  [data-theme="dark"] .phone-check-empty,
  [data-theme="dark"] .phone-check-facts > div,
  [data-theme="dark"] .phone-filter-card,
  [data-theme="dark"] .project-check-item,
  [data-theme="dark"] .project-option,
  [data-theme="dark"] .project-request-conversation-messages,
  [data-theme="dark"] .project-request-list,
  [data-theme="dark"] .project-select-btn:hover,
  [data-theme="dark"] .record-amount-badge.is-zero,
  [data-theme="dark"] .segmented-control,
  [data-theme="dark"] .template-preview-item,
  [data-theme="dark"] .template-users-pagination,
  [data-theme="dark"] .template-users-trigger,
  [data-theme="dark"] .usdt-close-button:hover,
  [data-theme="dark"] .user-project-popover-list > span,
  [data-theme="dark"] th {
    background: var(--surface-sunken);
  }

  [data-theme="dark"] .agent-profit-settlement-cell,
  [data-theme="dark"] .agent-profit-settlement-head,
  [data-theme="dark"] .audio-toggle:has(input:checked),
  [data-theme="dark"] .auto-block-settings-head .icon-button:hover,
  [data-theme="dark"] .auto-block-settings-summary,
  [data-theme="dark"] .catfee-product-note,
  [data-theme="dark"] .manager-template-option.selected,
  [data-theme="dark"] .manager-template-option:hover,
  [data-theme="dark"] .project-request-message.is-mine,
  [data-theme="dark"] .project-request-message.is-super,
  [data-theme="dark"] .status-filter.active,
  [data-theme="dark"] .status-filter:hover,
  [data-theme="dark"] .template-users-trigger:hover,
  [data-theme="dark"] .user-project-preview:focus,
  [data-theme="dark"] .user-project-preview:hover {
    background: rgba(19, 114, 236, 0.16);
  }

  [data-theme="dark"] #announcementSaveBtn:disabled,
  [data-theme="dark"] #announcementSaveBtn:disabled:hover,
  [data-theme="dark"] #projectSaveBtn:disabled,
  [data-theme="dark"] #projectSaveBtn:disabled:hover,
  [data-theme="dark"] #templateSaveBtn:disabled,
  [data-theme="dark"] #templateSaveBtn:disabled:hover,
  [data-theme="dark"] #userSaveBtn:disabled,
  [data-theme="dark"] #userSaveBtn:disabled:hover,
  [data-theme="dark"] .secondary:hover {
    background: var(--line-strong);
  }

  [data-theme="dark"] .announcement-editor,
  [data-theme="dark"] .openapi-one-time-key,
  [data-theme="dark"] .phone-check-state.locked,
  [data-theme="dark"] .phone-filter-toggle.blocked .phone-filter-switch,
  [data-theme="dark"] .role-badge.demo,
  [data-theme="dark"] .status.pending,
  [data-theme="dark"] .warning-copy {
    background: rgba(236, 193, 19, 0.16);
  }

  [data-theme="dark"] .pagination-jump-button:hover,
  [data-theme="dark"] .phone-check-state.old,
  [data-theme="dark"] .profit-source-system,
  [data-theme="dark"] .project-request-list-item:hover,
  [data-theme="dark"] .record-amount-badge.is-charged,
  [data-theme="dark"] .role-badge.manager {
    background: rgba(19, 112, 236, 0.16);
  }

  [data-theme="dark"] .danger-button,
  [data-theme="dark"] .danger-button:hover,
  [data-theme="dark"] .endless-connection-candidate.over-cost,
  [data-theme="dark"] .phone-check-state.banned,
  [data-theme="dark"] .profit-source-refund,
  [data-theme="dark"] .status.disabled {
    background: rgba(236, 19, 19, 0.16);
  }

  [data-theme="dark"] .badge,
  [data-theme="dark"] .project-option.active,
  [data-theme="dark"] .project-option:hover {
    background: rgba(19, 104, 236, 0.16);
  }

  [data-theme="dark"] .phone-filter-switch,
  [data-theme="dark"] .secondary,
  [data-theme="dark"] .secondary:disabled:hover {
    background: var(--surface-hover);
  }

  [data-theme="dark"] .phone-check-state.new,
  [data-theme="dark"] .status {
    background: rgba(20, 235, 94, 0.16);
  }

  [data-theme="dark"] .project-request-message.is-other,
  [data-theme="dark"] .project-request-message.is-user {
    background: rgba(30, 225, 90, 0.16);
  }

  [data-theme="dark"] .demo-account-notice,
  [data-theme="dark"] .preview-mode-badge {
    background: rgba(236, 140, 19, 0.16);
  }

  [data-theme="dark"] .profit-source-manual,
  [data-theme="dark"] .role-badge.user {
    background: rgba(236, 143, 19, 0.16);
  }

  [data-theme="dark"] .phone-check-match.missed,
  [data-theme="dark"] .qqzc-auth-alert {
    background: rgba(236, 19, 35, 0.16);
  }

  [data-theme="dark"] .auto-block-settings-head {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(19, 91, 236, 0.16) 100%);
  }

  [data-theme="dark"] .role-badge.card-store {
    background: rgba(227, 28, 142, 0.16);
  }

  [data-theme="dark"] .admin-reference .content {
    background: linear-gradient(145deg, rgba(19, 77, 236, 0.16), var(--surface) 42%, rgba(19, 81, 236, 0.16));
  }

  [data-theme="dark"] .notice-bar {
    background: rgba(236, 201, 19, 0.16);
  }

  [data-theme="dark"] .api-provider-badge {
    background: rgba(19, 68, 236, 0.16);
  }

  [data-theme="dark"] #settingsSaveBtn.saved {
    background: rgba(19, 115, 236, 0.16);
  }

  [data-theme="dark"] .phone-check-match.matched {
    background: rgba(24, 231, 134, 0.16);
  }

  [data-theme="dark"] .template-user-row:hover {
    background: rgba(19, 91, 236, 0.16);
  }

  [data-theme="dark"] .agent-profit-logic-note {
    background: rgba(46, 116, 209, 0.16);
  }

  [data-theme="dark"] .usdt-calculation {
    background: rgba(19, 149, 236, 0.16);
  }

  [data-theme="dark"] .auto-block-settings-panel {
    background: rgba(64, 106, 191, 0.16);
  }

  [data-theme="dark"] .auto-block-rule.is-enabled {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(19, 106, 236, 0.16) 100%);
  }

/* 描边：1 组映射 */
  [data-theme="dark"] .agent-profit-logic-note,
  [data-theme="dark"] .announcement-editor,
  [data-theme="dark"] .audio-toggle:has(input:checked),
  [data-theme="dark"] .auto-block-empty,
  [data-theme="dark"] .auto-block-rule,
  [data-theme="dark"] .auto-block-rule.is-enabled,
  [data-theme="dark"] .auto-block-rule:hover,
  [data-theme="dark"] .auto-block-settings-head .icon-button,
  [data-theme="dark"] .auto-block-settings-head .icon-button:hover,
  [data-theme="dark"] .auto-block-settings-summary,
  [data-theme="dark"] .catfee-product-note,
  [data-theme="dark"] .client-balance-summary,
  [data-theme="dark"] .compact-filter-bar,
  [data-theme="dark"] .demo-account-notice,
  [data-theme="dark"] .endless-connection-candidate.over-cost,
  [data-theme="dark"] .manager-template-option,
  [data-theme="dark"] .manager-template-option.selected,
  [data-theme="dark"] .manager-template-option:hover,
  [data-theme="dark"] .manager-template-pagination,
  [data-theme="dark"] .manager-template-preview,
  [data-theme="dark"] .notice-bar,
  [data-theme="dark"] .pagination-button,
  [data-theme="dark"] .pagination-inline,
  [data-theme="dark"] .pagination-jump input,
  [data-theme="dark"] .pagination-jump-button,
  [data-theme="dark"] .pagination-jump-button:hover,
  [data-theme="dark"] .pagination-size-select,
  [data-theme="dark"] .phone-filter-card,
  [data-theme="dark"] .phone-filter-switch,
  [data-theme="dark"] .phone-filter-toggle.blocked .phone-filter-switch,
  [data-theme="dark"] .phone-filter-wallet,
  [data-theme="dark"] .project-check-item,
  [data-theme="dark"] .project-request-file-preview,
  [data-theme="dark"] .project-request-list-item,
  [data-theme="dark"] .project-request-list-item:hover,
  [data-theme="dark"] .project-request-message,
  [data-theme="dark"] .project-request-message-images a,
  [data-theme="dark"] .project-request-message.is-mine,
  [data-theme="dark"] .project-request-message.is-other,
  [data-theme="dark"] .project-request-message.is-super,
  [data-theme="dark"] .project-request-message.is-user,
  [data-theme="dark"] .qqzc-auth-alert,
  [data-theme="dark"] .record-amount-badge.is-charged,
  [data-theme="dark"] .record-amount-badge.is-zero,
  [data-theme="dark"] .stat-item.profit-detail-entry:focus-visible,
  [data-theme="dark"] .stat-item.profit-detail-entry:hover,
  [data-theme="dark"] .status-filter.active,
  [data-theme="dark"] .status-filter:hover,
  [data-theme="dark"] .template-preview-item,
  [data-theme="dark"] .template-user-row,
  [data-theme="dark"] .template-users-trigger,
  [data-theme="dark"] .template-users-trigger:hover,
  [data-theme="dark"] .usdt-calculation,
  [data-theme="dark"] .user-disable-popover,
  [data-theme="dark"] .user-project-popover,
  [data-theme="dark"] .user-project-popover-list > span,
  [data-theme="dark"] .user-project-preview:focus,
  [data-theme="dark"] .user-project-preview:hover,
  [data-theme="dark"] .warning-copy {
    border-color: var(--line);
  }

/* 文字：29 组映射 */
  [data-theme="dark"] .agent-profit-logic-note,
  [data-theme="dark"] .auto-block-empty strong,
  [data-theme="dark"] .auto-block-project-search > span,
  [data-theme="dark"] .auto-block-rule label,
  [data-theme="dark"] .auto-block-settings-head .icon-button,
  [data-theme="dark"] .auto-block-settings-summary,
  [data-theme="dark"] .check-line,
  [data-theme="dark"] .copy-template-source,
  [data-theme="dark"] .field-title,
  [data-theme="dark"] .pagination-button,
  [data-theme="dark"] .pagination-current,
  [data-theme="dark"] .pagination-jump input,
  [data-theme="dark"] .pagination-jump-button,
  [data-theme="dark"] .pagination-size-select,
  [data-theme="dark"] .project-request-composer label > span,
  [data-theme="dark"] .project-request-list-item,
  [data-theme="dark"] .project-request-message,
  [data-theme="dark"] .radio-line,
  [data-theme="dark"] .secondary,
  [data-theme="dark"] .segmented-control button,
  [data-theme="dark"] .stat-item strong,
  [data-theme="dark"] .status-filter,
  [data-theme="dark"] .template-preview-head strong,
  [data-theme="dark"] .template-users-search,
  [data-theme="dark"] .template-users-trigger,
  [data-theme="dark"] .ttkka-candidate-rate,
  [data-theme="dark"] .ttkka-stats-inline-head > span,
  [data-theme="dark"] .ttkka-stats-table th,
  [data-theme="dark"] .usdt-close-button:hover,
  [data-theme="dark"] .user-project-popover-list > span,
  [data-theme="dark"] label span,
  [data-theme="dark"] th {
    color: var(--text-secondary);
  }

  [data-theme="dark"] #settingsSaveBtn.saved,
  [data-theme="dark"] .agent-profit-settlement-cell strong,
  [data-theme="dark"] .auto-block-settings-head .icon-button:hover,
  [data-theme="dark"] .auto-block-settings-summary strong,
  [data-theme="dark"] .badge,
  [data-theme="dark"] .client-balance-summary strong,
  [data-theme="dark"] .hidden-balance-preview,
  [data-theme="dark"] .pagination-jump-button:hover,
  [data-theme="dark"] .phone-check-state.old,
  [data-theme="dark"] .phone-filter-status.checking,
  [data-theme="dark"] .phone-filter-wallet > div strong,
  [data-theme="dark"] .profit-source-system,
  [data-theme="dark"] .project-option.active,
  [data-theme="dark"] .project-option:hover,
  [data-theme="dark"] .project-request-list-item-meta b,
  [data-theme="dark"] .record-amount-badge.is-charged,
  [data-theme="dark"] .role-badge.manager,
  [data-theme="dark"] .settings-save-status.pending,
  [data-theme="dark"] .template-users-trigger strong {
    color: rgb(134, 160, 234);
  }

  [data-theme="dark"] #announcementSaveBtn:disabled,
  [data-theme="dark"] #announcementSaveBtn:disabled:hover,
  [data-theme="dark"] #projectSaveBtn:disabled,
  [data-theme="dark"] #projectSaveBtn:disabled:hover,
  [data-theme="dark"] #reportHead button.report-sort-button,
  [data-theme="dark"] #templateSaveBtn:disabled,
  [data-theme="dark"] #templateSaveBtn:disabled:hover,
  [data-theme="dark"] #userSaveBtn:disabled,
  [data-theme="dark"] #userSaveBtn:disabled:hover,
  [data-theme="dark"] .agent-profit-terminal-cell,
  [data-theme="dark"] .auto-block-empty,
  [data-theme="dark"] .auto-block-input-wrap b,
  [data-theme="dark"] .auto-block-rule-project small,
  [data-theme="dark"] .pagination-jump,
  [data-theme="dark"] .record-amount-badge.is-zero,
  [data-theme="dark"] .usdt-close-button {
    color: var(--muted);
  }

  [data-theme="dark"] .agent-profit-range-summary small.error,
  [data-theme="dark"] .danger-button,
  [data-theme="dark"] .phone-check-state.banned,
  [data-theme="dark"] .profit-negative,
  [data-theme="dark"] .profit-source-refund,
  [data-theme="dark"] .settings-save-status.error,
  [data-theme="dark"] .status.disabled {
    color: rgb(234, 134, 134);
  }

  [data-theme="dark"] .openapi-one-time-key span,
  [data-theme="dark"] .role-badge.demo,
  [data-theme="dark"] .status.pending,
  [data-theme="dark"] .warning-copy {
    color: rgb(234, 171, 134);
  }

  [data-theme="dark"] #reportHead button.report-sort-button.active,
  [data-theme="dark"] #reportHead button.report-sort-button:hover,
  [data-theme="dark"] .template-user-open,
  [data-theme="dark"] .user-project-count {
    color: rgb(134, 165, 234);
  }

  [data-theme="dark"] .phone-filter-preview-note,
  [data-theme="dark"] .preview-mode-badge,
  [data-theme="dark"] .profit-source-manual,
  [data-theme="dark"] .role-badge.user {
    color: rgb(234, 163, 134);
  }

  [data-theme="dark"] .phone-check-match.matched,
  [data-theme="dark"] .phone-filter-status.matched > span:last-child {
    color: rgb(134, 234, 205);
  }

  [data-theme="dark"] .ghost-button,
  [data-theme="dark"] .nav-button,
  [data-theme="dark"] .result-box {
    color: var(--text-faint);
  }

  [data-theme="dark"] .auto-block-rule-project strong,
  [data-theme="dark"] .user-project-popover {
    color: var(--text);
  }

  [data-theme="dark"] .agent-profit-logic-note strong,
  [data-theme="dark"] .catfee-product-note {
    color: rgb(146, 178, 221);
  }

  [data-theme="dark"] .phone-check-state.new,
  [data-theme="dark"] .profit-positive {
    color: rgb(134, 234, 171);
  }

  [data-theme="dark"] .qqzc-auth-alert,
  [data-theme="dark"] .qqzc-auth-alert span {
    color: rgb(234, 134, 161);
  }

  [data-theme="dark"] .api-provider-badge {
    color: rgb(149, 145, 223);
  }

  [data-theme="dark"] .phone-check-state.locked {
    color: rgb(234, 193, 134);
  }

  [data-theme="dark"] .phone-check-match.missed,
  [data-theme="dark"] .phone-filter-status.missed > span:last-child {
    color: rgb(234, 134, 158);
  }

  [data-theme="dark"] .demo-account-notice {
    color: rgb(234, 159, 134);
  }

  [data-theme="dark"] .role-badge.card-store {
    color: rgb(234, 134, 174);
  }

  [data-theme="dark"] .notice-bar {
    color: rgb(234, 206, 134);
  }

  [data-theme="dark"] .notice-bar span {
    color: rgb(222, 205, 145);
  }

  [data-theme="dark"] .phone-filter-toggle.blocked {
    color: rgb(234, 177, 134);
  }

  [data-theme="dark"] .template-user-row {
    color: rgb(157, 174, 211);
  }

  [data-theme="dark"] .agent-profit-cost-cell {
    color: rgb(234, 187, 134);
  }

  [data-theme="dark"] .usdt-calculation strong {
    color: rgb(134, 199, 234);
  }


