html.adm-dark {
  color-scheme: dark;
  --vmx-primary: #3b82f6;
  --vmx-primary-hover: #60a5fa;
  --vmx-text: #e8eef7;
  --vmx-text-muted: #8b9bb4;
  --vmx-text-secondary: #a7b4c8;
  --vmx-border: #2a3548;
  --vmx-placeholder: #6b7a90;
  --vmx-danger: #f87171;
  --vmx-success: #4ade80;
  --vmx-warning: #fbbf24;
  --vmx-info: #a78bfa;
  --vmx-radius: 6px;
  --vmx-radius-card: 10px;
  --vmx-control-height: 32px;
  --vmx-font-size: 14px;
  --vmx-font-size-sm: 13px;
  --vmx-font-size-xs: 12px;
  --vmx-line-height: 1.5;
  --vmx-bg-soft: rgba(59, 130, 246, 0.14);
  --vmx-bg-page: #0b1017;
  --vmx-bg-hover: rgba(148, 163, 184, 0.1);
  --vmx-bg-card: #141b26;
  --vmx-bg-elevated: #1a2332;
  --vmx-bg-muted: #0f1724;
  --vmx-border-soft: #243044;
  --adm-surface: #141b26;
  --adm-surface-2: #1a2332;
  --adm-surface-3: #212c3d;
  --adm-line: #2a3548;
  --adm-line-soft: #243044;
  --adm-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.28);
}
html.adm-dark,
html.adm-dark body {
  background: var(--vmx-bg-page);
  color: var(--vmx-text);
}
html.adm-dark .leftNav {
  background: var(--adm-surface);
  border-right-color: var(--adm-line);
  box-shadow: none;
}
html.adm-dark .leftNav-brand {
  border-bottom-color: var(--adm-line-soft);
}
html.adm-dark .leftNav-brand .brand-logo {
  color: #f1f5f9;
}
html.adm-dark .leftNav-menu::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
}
html.adm-dark .leftNav-footer {
  border-top-color: var(--adm-line-soft);
  background: var(--adm-surface-2);
}
html.adm-dark .leftNav-footer .user-card .avatar {
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}
html.adm-dark .leftNav-footer .user-card .user-meta .name {
  color: #f1f5f9;
}
html.adm-dark .leftNav-footer .user-card .user-meta .tel {
  color: var(--vmx-text-muted);
}
html.adm-dark .leftNav-footer .user-actions .vmc {
  color: var(--vmx-text-secondary);
}
html.adm-dark .leftNav-footer .user-actions .logout-btn {
  color: var(--vmx-text-secondary);
}
html.adm-dark .leftNav-footer .user-actions .logout-btn:hover {
  color: var(--vmx-danger);
  background: rgba(248, 113, 113, 0.12);
}
html.adm-dark .nav-item {
  color: #d7dee9;
}
html.adm-dark .nav-item > i:first-child {
  color: #9aa9bf;
}
html.adm-dark .nav-item .nav-arrow {
  color: #7b8aa3;
}
html.adm-dark .nav-item:hover {
  background: var(--vmx-bg-hover);
  color: var(--vmx-primary-hover);
}
html.adm-dark .nav-item:hover > i:first-child {
  color: var(--vmx-primary-hover);
}
html.adm-dark .nav-item.active {
  background: var(--vmx-bg-soft);
  color: var(--vmx-primary-hover);
}
html.adm-dark .nav-item.active > i:first-child {
  color: var(--vmx-primary-hover);
}
html.adm-dark .nav-son {
  background: transparent;
}
html.adm-dark .leftNavHover,
html.adm-dark .vmx-zz,
html.adm-dark .mobile-vmx-zz {
  background: rgba(2, 6, 14, 0.55);
}
html.adm-dark .mobile-menu {
  background: var(--adm-surface);
  color: var(--vmx-text);
  border-color: var(--adm-line);
}
html.adm-dark .content {
  background: var(--vmx-bg-page);
}
html.adm-dark .card {
  background: var(--adm-surface) !important;
  box-shadow: var(--adm-shadow) !important;
  border: 1px solid var(--adm-line-soft) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .card .card-title,
html.adm-dark .card .card-body {
  color: var(--vmx-text) !important;
  background: transparent !important;
}
html.adm-dark .vmx-list-page {
  background: var(--adm-surface) !important;
  box-shadow: var(--adm-shadow) !important;
  border: 1px solid var(--adm-line-soft) !important;
}
html.adm-dark .vmx-list-page__section {
  border-bottom-color: var(--adm-line-soft) !important;
  background: transparent !important;
}
html.adm-dark .vmx-list-page__stats {
  background: var(--adm-surface-2) !important;
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .bigtitle {
  background: var(--adm-surface) !important;
  color: #f1f5f9 !important;
  box-shadow: none !important;
  border: 1px solid var(--adm-line-soft) !important;
}
html.adm-dark .bigtitle .mininavs li a {
  color: var(--vmx-text-muted);
}
html.adm-dark .bigtitle .mininavs li a:hover {
  color: var(--vmx-primary-hover);
}
html.adm-dark .vmx-layer-form {
  color: var(--vmx-text);
}
html.adm-dark .no-data-box,
html.adm-dark .vmx-empty {
  color: var(--vmx-text-muted);
}
html.adm-dark .vmx-input,
html.adm-dark input.vmx-input,
html.adm-dark textarea.vmx-input,
html.adm-dark select.vmx-input,
html.adm-dark .form-control,
html.adm-dark input[type='text'],
html.adm-dark input[type='password'],
html.adm-dark input[type='number'],
html.adm-dark input[type='search'],
html.adm-dark input[type='email'],
html.adm-dark textarea,
html.adm-dark select {
  background: var(--adm-surface-2) !important;
  color: var(--vmx-text) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .vmx-input:focus,
html.adm-dark input.vmx-input:focus,
html.adm-dark textarea.vmx-input:focus,
html.adm-dark select.vmx-input:focus,
html.adm-dark .form-control:focus,
html.adm-dark input[type='text']:focus,
html.adm-dark input[type='password']:focus,
html.adm-dark input[type='number']:focus,
html.adm-dark input[type='search']:focus,
html.adm-dark input[type='email']:focus,
html.adm-dark textarea:focus,
html.adm-dark select:focus {
  border-color: var(--vmx-primary) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
html.adm-dark .vmx-input-line .inputname {
  color: var(--vmx-text-secondary);
}
html.adm-dark .vmx-btn.btn-w,
html.adm-dark .vmx-btn.btn-default,
html.adm-dark button.vmx-btn:not(.btn-p):not(.btn-d):not(.btn-s) {
  background: var(--adm-surface-3);
  color: var(--vmx-text);
  border-color: var(--adm-line);
}
html.adm-dark .vmx-btn.btn-w:hover,
html.adm-dark .vmx-btn.btn-default:hover,
html.adm-dark button.vmx-btn:not(.btn-p):not(.btn-d):not(.btn-s):hover {
  background: var(--adm-surface-2);
  border-color: #3b4a63;
  color: #fff;
}
html.adm-dark .table,
html.adm-dark table.table {
  color: var(--vmx-text) !important;
  background: transparent !important;
}
html.adm-dark .table > thead > tr > th,
html.adm-dark table.table > thead > tr > th,
html.adm-dark .table > thead > tr > td,
html.adm-dark table.table > thead > tr > td,
html.adm-dark .table > tbody > tr > th,
html.adm-dark table.table > tbody > tr > th,
html.adm-dark .table > tbody > tr > td,
html.adm-dark table.table > tbody > tr > td,
html.adm-dark .table > tfoot > tr > th,
html.adm-dark table.table > tfoot > tr > th,
html.adm-dark .table > tfoot > tr > td,
html.adm-dark table.table > tfoot > tr > td {
  border-color: var(--adm-line-soft) !important;
  color: var(--vmx-text) !important;
  background: transparent !important;
}
html.adm-dark .table > thead > tr > th,
html.adm-dark table.table > thead > tr > th,
html.adm-dark .table > thead > tr > td,
html.adm-dark table.table > thead > tr > td {
  background: var(--adm-surface-2) !important;
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .table > tbody > tr:hover > td,
html.adm-dark table.table > tbody > tr:hover > td,
html.adm-dark .table > tbody > tr:hover > th,
html.adm-dark table.table > tbody > tr:hover > th {
  background: rgba(148, 163, 184, 0.1) !important;
}
html.adm-dark .vmx-table .table > tbody > tr:nth-child(even),
html.adm-dark .vmx-auto-table .table > tbody > tr:nth-child(even),
html.adm-dark .vmx-list-page .table > tbody > tr:nth-child(even),
html.adm-dark .tablex tr:nth-child(even),
html.adm-dark .table > tbody > tr:nth-child(even) {
  background-color: rgba(148, 163, 184, 0.06) !important;
}
html.adm-dark .vmx-table .table > tbody > tr:nth-child(even) > td,
html.adm-dark .vmx-auto-table .table > tbody > tr:nth-child(even) > td,
html.adm-dark .vmx-list-page .table > tbody > tr:nth-child(even) > td,
html.adm-dark .tablex tr:nth-child(even) > td,
html.adm-dark .table > tbody > tr:nth-child(even) > td,
html.adm-dark .vmx-table .table > tbody > tr:nth-child(even) > th,
html.adm-dark .vmx-auto-table .table > tbody > tr:nth-child(even) > th,
html.adm-dark .vmx-list-page .table > tbody > tr:nth-child(even) > th,
html.adm-dark .tablex tr:nth-child(even) > th,
html.adm-dark .table > tbody > tr:nth-child(even) > th {
  background-color: transparent !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .vmx-table .table > tbody > tr:nth-child(odd),
html.adm-dark .vmx-auto-table .table > tbody > tr:nth-child(odd),
html.adm-dark .vmx-list-page .table > tbody > tr:nth-child(odd),
html.adm-dark .table > tbody > tr:nth-child(odd) {
  background-color: transparent !important;
}
html.adm-dark .vmx-table .table > tbody > tr:nth-child(odd) > td,
html.adm-dark .vmx-auto-table .table > tbody > tr:nth-child(odd) > td,
html.adm-dark .vmx-list-page .table > tbody > tr:nth-child(odd) > td,
html.adm-dark .table > tbody > tr:nth-child(odd) > td,
html.adm-dark .vmx-table .table > tbody > tr:nth-child(odd) > th,
html.adm-dark .vmx-auto-table .table > tbody > tr:nth-child(odd) > th,
html.adm-dark .vmx-list-page .table > tbody > tr:nth-child(odd) > th,
html.adm-dark .table > tbody > tr:nth-child(odd) > th {
  background-color: transparent !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .vmx-table .table > tbody > tr:hover,
html.adm-dark .vmx-auto-table .table > tbody > tr:hover,
html.adm-dark .table > tbody > tr:hover {
  background-color: rgba(59, 130, 246, 0.12) !important;
}
html.adm-dark .table-responsive {
  background: transparent;
}
html.adm-dark .boce-page__stat-value {
  color: #f1f5f9 !important;
}
html.adm-dark .boce-page__stat--out .boce-page__stat-value {
  color: #f87171 !important;
}
html.adm-dark .boce-page__stat--in .boce-page__stat-value {
  color: #4ade80 !important;
}
html.adm-dark .boce-page__stat--boce .boce-page__stat-value,
html.adm-dark .boce-page__stat--profit .boce-page__stat-value {
  color: #60a5fa !important;
}
html.adm-dark .boce-page__stat-label {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .imghost-page .imghost-upload-zone {
  background: var(--adm-surface-2) !important;
  border-color: #3b4a63 !important;
}
html.adm-dark .imghost-page .imghost-upload-zone:hover,
html.adm-dark .imghost-page .imghost-upload-zone.is-dragover {
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: var(--vmx-primary) !important;
}
html.adm-dark .imghost-page .imghost-upload-zone__title {
  color: #e2e8f0 !important;
}
html.adm-dark .imghost-page .imghost-upload-zone__hint {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .imghost-page .vmx-tree__count {
  background: var(--adm-surface-3) !important;
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .imghost-page .imghost-tag-item--divider {
  background: var(--adm-line) !important;
}
html.adm-dark .imghost-page .imghost-tag-link {
  color: #d7dee9 !important;
}
html.adm-dark .imghost-page .imghost-tag-link:hover {
  background: var(--vmx-bg-hover) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .imghost-page .imghost-tag-link.is-active {
  background: var(--vmx-bg-soft) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .imghost-page .imghost-tag-link--drop.is-drop-over {
  background: var(--vmx-primary) !important;
  color: #fff !important;
}
html.adm-dark .imghost-page .imghost-toolbar__select-all {
  color: var(--vmx-text) !important;
}
html.adm-dark .imghost-page .imghost-wall__cell {
  background: var(--adm-surface-3) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .imghost-page .imghost-context-menu {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  box-shadow: var(--adm-shadow) !important;
}
html.adm-dark .imghost-page .imghost-context-menu .imghost-context-menu__item {
  color: var(--vmx-text) !important;
}
html.adm-dark .imghost-page .imghost-context-menu .imghost-context-menu__item:hover {
  background: var(--vmx-bg-hover) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .vmx-pagination > a,
html.adm-dark .vmx-pagination > .page-info,
html.adm-dark #pageinfo > a,
html.adm-dark #pageinfo > .page-info {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .vmx-pagination > a.active,
html.adm-dark #pageinfo > a.active {
  background: var(--vmx-primary) !important;
  border-color: var(--vmx-primary) !important;
  color: #fff !important;
}
html.adm-dark .vmx-pagination > a:hover,
html.adm-dark #pageinfo > a:hover {
  background: var(--adm-surface-3) !important;
}
html.adm-dark .vmx-list-page__body > #pageinfo,
html.adm-dark .vmx-list-page__body > .vmx-pagination,
html.adm-dark .vmx-list-page .vmx-pagination,
html.adm-dark .vmx-list-page #pageinfo {
  border-top-color: var(--adm-line) !important;
}
html.adm-dark .vmx-list-page__section {
  border-bottom-color: var(--adm-line-soft) !important;
}
html.adm-dark .vmx-tree__header {
  border-bottom-color: var(--adm-line) !important;
}
html.adm-dark .vmx-tree,
html.adm-dark .vmx-list-page,
html.adm-dark .card,
html.adm-dark .bigtitle {
  border-color: var(--adm-line) !important;
}
html.adm-dark .vmx-tree {
  background: var(--adm-surface);
  border-color: var(--adm-line);
}
html.adm-dark .vmx-tree__header {
  border-bottom-color: var(--adm-line-soft);
  background: var(--adm-surface-2);
}
html.adm-dark .vmx-tree__title {
  color: #f1f5f9;
}
html.adm-dark .vmx-tree__loading,
html.adm-dark .vmx-tree__empty {
  color: var(--vmx-text-muted);
}
html.adm-dark .vmx-tree__row {
  color: var(--vmx-text);
}
html.adm-dark .vmx-tree__row:hover {
  background: var(--vmx-bg-hover);
}
html.adm-dark .vmx-tree__row.is-active {
  background: var(--vmx-bg-soft);
  color: var(--vmx-primary-hover);
}
html.adm-dark .vmx-list-loading {
  color: var(--vmx-text-muted);
}
html.adm-dark .vmx-spin {
  border-color: #334155;
  border-top-color: var(--vmx-primary);
}
html.adm-dark .dash-ops-alerts,
html.adm-dark .dash-remeins-stats {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .dash-ops-alerts__title {
  color: #e2e8f0 !important;
}
html.adm-dark .dash-ops-alerts__title i {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-ops-alerts__meta {
  color: var(--vmx-warning) !important;
}
html.adm-dark .dash-ops-alerts__meta.is-ok {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-ops-chip {
  background: var(--adm-surface-3) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .dash-ops-chip .dash-ops-chip__count {
  color: #f1f5f9 !important;
}
html.adm-dark .dash-ops-chip .dash-ops-chip__hint {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-ops-chip.is-ok {
  background: rgba(74, 222, 128, 0.1) !important;
  border-color: rgba(74, 222, 128, 0.28) !important;
  color: #86efac !important;
}
html.adm-dark .dash-ops-chip.is-ok .dash-ops-chip__count {
  color: #86efac !important;
}
html.adm-dark .dash-ops-chip.is-warn {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
}
html.adm-dark .dash-ops-chip.is-warn .dash-ops-chip__count {
  color: #fbbf24 !important;
}
html.adm-dark .dash-ops-chip.is-danger {
  background: rgba(248, 113, 113, 0.12) !important;
  border-color: rgba(248, 113, 113, 0.3) !important;
  color: #fca5a5 !important;
}
html.adm-dark .dash-ops-chip.is-danger .dash-ops-chip__count {
  color: #fca5a5 !important;
}
html.adm-dark .dash-ops-chip.is-info {
  background: rgba(59, 130, 246, 0.14) !important;
  border-color: rgba(59, 130, 246, 0.32) !important;
  color: #93c5fd !important;
}
html.adm-dark .dash-ops-chip.is-info .dash-ops-chip__count {
  color: #93c5fd !important;
}
html.adm-dark .usetotal-panel,
html.adm-dark .dash-panel {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .usetotal-panel__title,
html.adm-dark .dash-page .usetotal-panel__title,
html.adm-dark .usetotal-page .usetotal-panel__title,
html.adm-dark .info-page .usetotal-panel__title,
html.adm-dark .pv-page .usetotal-panel__title {
  background: var(--adm-surface-2) !important;
  color: #f1f5f9 !important;
  border-bottom-color: var(--adm-line) !important;
}
html.adm-dark .dash-panel__meta {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-panel__body {
  background: transparent !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .dash-balance-card,
html.adm-dark .dash-page .dash-balance-card {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .dash-balance-card.is-loaded,
html.adm-dark .dash-page .dash-balance-card.is-loaded {
  background: var(--adm-surface-2) !important;
}
html.adm-dark .dash-balance-card.is-error,
html.adm-dark .dash-page .dash-balance-card.is-error {
  background: rgba(248, 113, 113, 0.1) !important;
  border-color: rgba(248, 113, 113, 0.35) !important;
}
html.adm-dark .dash-balance-card__label,
html.adm-dark .dash-page .dash-balance-card__label {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-balance-card__value,
html.adm-dark .dash-page .dash-balance-card__value {
  color: #f8fafc !important;
}
html.adm-dark .dash-balance-card__value.is-loading,
html.adm-dark .dash-page .dash-balance-card__value.is-loading {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-todo-item,
html.adm-dark .dash-page .dash-todo-item {
  border-bottom-color: var(--adm-line-soft) !important;
}
html.adm-dark .dash-todo-item:hover,
html.adm-dark .dash-page .dash-todo-item:hover {
  background: var(--vmx-bg-hover) !important;
}
html.adm-dark .dash-todo-index,
html.adm-dark .dash-page .dash-todo-index {
  background: var(--adm-surface-3) !important;
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .dash-todo-text,
html.adm-dark .dash-page .dash-todo-text {
  color: #e2e8f0 !important;
}
html.adm-dark .dash-todo-check {
  color: #64748b !important;
}
html.adm-dark .dash-backup-summary,
html.adm-dark .dash-backup-server__name {
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .dash-backup-tag {
  background: var(--adm-surface-3) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .dash-backup-tag.is-ok {
  background: rgba(74, 222, 128, 0.12) !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
  color: #86efac !important;
}
html.adm-dark .dash-backup-tag.is-bad {
  background: rgba(248, 113, 113, 0.12) !important;
  border-color: rgba(248, 113, 113, 0.3) !important;
  color: #fca5a5 !important;
}
html.adm-dark .usetotal-key {
  border-right-color: var(--adm-line-soft) !important;
}
html.adm-dark .usetotal-key span {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .usetotal-key strong {
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .info-company-card {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .info-company-card__head {
  border-bottom-color: var(--adm-line-soft) !important;
}
html.adm-dark .info-company-card__name {
  color: #f1f5f9 !important;
}
html.adm-dark .info-field {
  border-bottom-color: var(--adm-line-soft) !important;
}
html.adm-dark .info-field dt {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .info-field dd {
  color: var(--vmx-text) !important;
}
html.adm-dark .info-field__value {
  color: #e2e8f0 !important;
}
html.adm-dark .info-field__copy {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .info-code-wrap,
html.adm-dark .info-code {
  background: #0a0e14 !important;
  border-color: var(--adm-line) !important;
  color: #d1d9e6 !important;
}
html.adm-dark .api-workspace,
html.adm-dark .api-page .api-workspace,
html.adm-dark .api-page .vmx-list-page__body.api-workspace,
html.adm-dark .api-vue-loading {
  background: var(--adm-surface) !important;
  color: var(--vmx-text) !important;
  box-shadow: var(--adm-shadow) !important;
}
html.adm-dark .api-page .vmx-list-page {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .boce-page__empty {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .boce-page__empty i {
  color: #64748b !important;
}
html.adm-dark .api-section {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .api-section-head {
  background: var(--adm-surface-3) !important;
  border-bottom-color: var(--adm-line) !important;
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .api-title-row {
  border-bottom-color: var(--adm-line) !important;
}
html.adm-dark .api-title-input {
  background: var(--adm-surface-2) !important;
  color: #f1f5f9 !important;
  border-color: transparent !important;
}
html.adm-dark .api-title-input:hover {
  background: var(--adm-surface-3) !important;
}
html.adm-dark .api-title-input:focus {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .api-title-input::placeholder {
  color: #64748b !important;
}
html.adm-dark .api-title-label {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .api-status-select-box.status-0 {
  background: var(--adm-surface-3) !important;
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .api-tree-children {
  border-left-color: var(--adm-line) !important;
}
html.adm-dark .api-ctx-menu,
html.adm-dark .api-ctx-submenu {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  box-shadow: var(--adm-shadow) !important;
}
html.adm-dark .api-ctx-menu li a,
html.adm-dark .api-ctx-submenu li a {
  color: var(--vmx-text) !important;
}
html.adm-dark .api-ctx-menu li a:hover,
html.adm-dark .api-ctx-submenu li a:hover {
  background: var(--vmx-bg-hover) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .api-response-empty,
html.adm-dark .api-tree-loading,
html.adm-dark .api-tree-empty {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .boce-page__chip,
html.adm-dark .boce-page__stats-wrap,
html.adm-dark .boce-page__stat {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .boce-page__chip.is-active {
  background: var(--vmx-bg-soft) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .boce-page__filter-label,
html.adm-dark .boce-page__hint {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .boce-ctx-menu,
html.adm-dark .blog-ctx-menu,
html.adm-dark .tools-ctx-menu,
html.adm-dark .news-ctx-menu,
html.adm-dark .dash-backup-ctx {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  box-shadow: var(--adm-shadow) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .boce-ctx-menu a,
html.adm-dark .blog-ctx-menu a,
html.adm-dark .tools-ctx-menu a,
html.adm-dark .news-ctx-menu a,
html.adm-dark .dash-backup-ctx a,
html.adm-dark .boce-ctx-menu button,
html.adm-dark .blog-ctx-menu button,
html.adm-dark .tools-ctx-menu button,
html.adm-dark .news-ctx-menu button,
html.adm-dark .dash-backup-ctx button,
html.adm-dark .boce-ctx-menu .boce-ctx-item,
html.adm-dark .blog-ctx-menu .boce-ctx-item,
html.adm-dark .tools-ctx-menu .boce-ctx-item,
html.adm-dark .news-ctx-menu .boce-ctx-item,
html.adm-dark .dash-backup-ctx .boce-ctx-item {
  color: var(--vmx-text) !important;
}
html.adm-dark .boce-ctx-menu a:hover,
html.adm-dark .blog-ctx-menu a:hover,
html.adm-dark .tools-ctx-menu a:hover,
html.adm-dark .news-ctx-menu a:hover,
html.adm-dark .dash-backup-ctx a:hover,
html.adm-dark .boce-ctx-menu button:hover,
html.adm-dark .blog-ctx-menu button:hover,
html.adm-dark .tools-ctx-menu button:hover,
html.adm-dark .news-ctx-menu button:hover,
html.adm-dark .dash-backup-ctx button:hover,
html.adm-dark .boce-ctx-menu .boce-ctx-item:hover,
html.adm-dark .blog-ctx-menu .boce-ctx-item:hover,
html.adm-dark .tools-ctx-menu .boce-ctx-item:hover,
html.adm-dark .news-ctx-menu .boce-ctx-item:hover,
html.adm-dark .dash-backup-ctx .boce-ctx-item:hover {
  background: var(--vmx-bg-hover) !important;
}
html.adm-dark .layui-layer {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
  box-shadow: var(--adm-shadow) !important;
}
html.adm-dark .layui-layer-title {
  background: var(--adm-surface-2) !important;
  color: #f1f5f9 !important;
  border-bottom-color: var(--adm-line) !important;
}
html.adm-dark .layui-layer-content {
  background: var(--adm-surface) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .layui-layer-btn {
  background: var(--adm-surface-2) !important;
  border-top-color: var(--adm-line) !important;
}
html.adm-dark .layui-layer-btn a {
  background: var(--adm-surface-3) !important;
  color: var(--vmx-text) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .layui-layer-btn .layui-layer-btn0 {
  background: var(--vmx-primary) !important;
  color: #fff !important;
  border-color: var(--vmx-primary) !important;
}
html.adm-dark .layui-layer-shade {
  background-color: rgba(2, 6, 14, 0.62) !important;
}
html.adm-dark .select2-container--default .select2-selection--single,
html.adm-dark .select2-dropdown,
html.adm-dark .vmx-select-dropdown {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .select2-container--default .select2-results__option--highlighted[aria-selected],
html.adm-dark .select2-results__option--highlighted {
  background: var(--vmx-bg-soft) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .wxmenu-vue-loading {
  background: var(--adm-surface) !important;
  color: var(--vmx-text-muted) !important;
  box-shadow: var(--adm-shadow) !important;
}
html.adm-dark .wxmenu-loading-hint,
html.adm-dark .wxmenu-loading {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .wxmenu-dirty {
  color: #fb923c !important;
}
html.adm-dark .wxmenu-tree {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .wxmenu-tree__head {
  background: var(--adm-surface-2) !important;
  border-bottom-color: var(--adm-line) !important;
  color: #f1f5f9 !important;
}
html.adm-dark .wxmenu-tree__row {
  color: #d7dee9 !important;
}
html.adm-dark .wxmenu-tree__row:hover {
  background: var(--vmx-bg-hover) !important;
}
html.adm-dark .wxmenu-tree__row.is-active {
  background: var(--vmx-bg-soft) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .wxmenu-tree__icon {
  color: #7b8aa3 !important;
}
html.adm-dark .wxmenu-tree__row.is-active .wxmenu-tree__icon {
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .wxmenu-tree__meta {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .wxmenu-editor {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .wxmenu-editor__toolbar {
  border-bottom-color: var(--adm-line-soft) !important;
}
html.adm-dark .wxmenu-editor__toolbar strong {
  color: #f1f5f9 !important;
}
html.adm-dark .wxmenu-alert {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
}
html.adm-dark .wxmenu-editor .table tbody tr.is-active td {
  background: var(--vmx-bg-soft) !important;
}
html.adm-dark .oss-backup-overview,
html.adm-dark .oss-backup-main-panel {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
  color: var(--vmx-text) !important;
}
html.adm-dark .oss-backup-overview__head {
  background: var(--adm-surface-2) !important;
  border-bottom-color: var(--adm-line) !important;
}
html.adm-dark .oss-backup-overview__head-title {
  color: #f1f5f9 !important;
}
html.adm-dark .oss-backup-overview__head-date,
html.adm-dark .oss-backup-overview__head-cache {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .oss-backup-overview__body {
  color: var(--vmx-text) !important;
}
html.adm-dark .oss-backup-tree-panel {
  background: var(--adm-surface) !important;
  border-color: var(--adm-line) !important;
}
html.adm-dark .oss-backup-tree-title {
  background: var(--adm-surface-2) !important;
  border-bottom-color: var(--adm-line) !important;
  color: #f1f5f9 !important;
}
html.adm-dark .oss-tree-node__row {
  color: #d7dee9 !important;
}
html.adm-dark .oss-tree-node__row:hover {
  background: var(--vmx-bg-hover) !important;
}
html.adm-dark .oss-tree-node__row.is-active {
  background: var(--vmx-bg-soft) !important;
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .oss-tree-node__toggle {
  color: #7b8aa3 !important;
}
html.adm-dark .oss-backup-path {
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .oss-backup-empty,
html.adm-dark .oss-backup-loading {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .oss-backup-server {
  border-bottom-color: var(--adm-line-soft) !important;
}
html.adm-dark .oss-backup-server__title {
  color: #f1f5f9 !important;
}
html.adm-dark .oss-backup-server__title a {
  color: var(--vmx-primary-hover) !important;
}
html.adm-dark .oss-backup-server__label {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .oss-backup-table {
  color: var(--vmx-text) !important;
}
html.adm-dark .oss-backup-table th,
html.adm-dark .oss-backup-table td {
  border-color: var(--adm-line-soft) !important;
  color: var(--vmx-text) !important;
  background: transparent !important;
}
html.adm-dark .oss-backup-table thead th {
  background: var(--adm-surface-2) !important;
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark .oss-backup-ctx {
  background: var(--adm-surface-2) !important;
  border-color: var(--adm-line) !important;
  box-shadow: var(--adm-shadow) !important;
}
html.adm-dark .oss-backup-ctx .oss-backup-ctx__item {
  color: var(--vmx-text) !important;
}
html.adm-dark .oss-backup-ctx .oss-backup-ctx__item:hover {
  background: var(--vmx-bg-hover) !important;
}
html.adm-dark .vmx-input-line .inputname {
  color: var(--vmx-text-secondary) !important;
}
html.adm-dark.login-html,
html.adm-dark .login-page {
  background: var(--vmx-bg-page) !important;
}
html.adm-dark .login-card {
  background: var(--adm-surface) !important;
  border: 1px solid var(--adm-line);
  box-shadow: var(--adm-shadow);
}
html.adm-dark .login-card__aside {
  background: linear-gradient(160deg, #152033 0%, #0f1724 100%) !important;
  border-color: var(--adm-line);
}
html.adm-dark .login-card__brand .brand-logo,
html.adm-dark .login-card__title {
  color: #f8fafc !important;
}
html.adm-dark .login-card__desc,
html.adm-dark .login-card__hint,
html.adm-dark .login-card__footer,
html.adm-dark .login-card__footer a {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .login-card__support {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark .login-card__support-logo {
  opacity: 0.92;
}
html.adm-dark .login-card__main {
  background: var(--adm-surface) !important;
}
html.adm-dark .mobile-table-detail {
  background: var(--adm-surface);
}
html.adm-dark .mobile-table-detail__title {
  color: var(--vmx-text);
}
html.adm-dark .mobile-table-detail__hint,
html.adm-dark .mobile-table-detail__label,
html.adm-dark .mobile-table-detail__empty {
  color: var(--vmx-text-muted);
}
html.adm-dark .mobile-table-detail__row {
  border-bottom-color: var(--adm-line-soft);
}
html.adm-dark .mobile-table-detail__value {
  color: var(--vmx-text);
}
html.adm-dark .mobile-table-detail__actions {
  border-top-color: var(--vmx-bg-page);
}
html.adm-dark .mobile-table-detail .mobile-table-sheet__cancel {
  border-top-color: var(--vmx-bg-page);
  background: var(--adm-surface);
  color: var(--vmx-text-muted);
}
html.adm-dark .mobile-table-detail .mobile-table-sheet__handle {
  background: #4b5563;
}
@media (max-width: 880px) {
  html.adm-dark .vmx-table .table > tbody > tr,
  html.adm-dark .vmx-auto-table .table > tbody > tr,
  html.adm-dark .table-right-menu > tbody > tr,
  html.adm-dark .vmx-table .table > tbody > tr > td,
  html.adm-dark .vmx-auto-table .table > tbody > tr > td,
  html.adm-dark .table-right-menu > tbody > tr > td {
    -webkit-tap-highlight-color: rgba(96, 165, 250, 0.12);
  }
  html.adm-dark .vmx-table .table > tbody > tr.is-row-tap > td,
  html.adm-dark .vmx-auto-table .table > tbody > tr.is-row-tap > td,
  html.adm-dark .table-right-menu > tbody > tr.is-row-tap > td {
    background: var(--vmx-bg-hover) !important;
  }
}
html.adm-dark .goods-tree-node__more,
html.adm-dark .news-tree-node__more {
  color: var(--vmx-text-muted);
}
html.adm-dark .goods-tree-node__more:hover,
html.adm-dark .news-tree-node__more:hover,
html.adm-dark .goods-tree-node__more:focus,
html.adm-dark .news-tree-node__more:focus {
  background: var(--vmx-bg-hover);
  color: var(--vmx-primary);
}
html.adm-dark .goods-tree-node__more:active,
html.adm-dark .news-tree-node__more:active {
  background: var(--adm-surface-3);
}
html.adm-dark .vmx-toast--ok {
  background: var(--vmx-success);
}
html.adm-dark .vmx-toast--fail {
  background: var(--vmx-danger);
}
html.adm-dark .adm-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--adm-line);
  border-radius: 6px;
  background: var(--adm-surface-3);
  color: var(--vmx-text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
html.adm-dark .adm-theme-toggle:hover {
  color: var(--vmx-primary-hover);
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--vmx-bg-soft);
}
html.adm-dark .adm-theme-toggle i {
  font-size: 14px;
  line-height: 1;
}
html.adm-dark .adm-theme-toggle .adm-theme-toggle__sun {
  display: inline-block;
}
html.adm-dark .adm-theme-toggle .adm-theme-toggle__moon {
  display: none;
}
html.adm-dark .text-muted {
  color: var(--vmx-text-muted) !important;
}
html.adm-dark hr {
  border-top-color: var(--adm-line);
}
html.adm-dark .breadcrumb {
  background: transparent;
}
html.adm-dark ::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
}
html.adm-dark ::selection {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}
.adm-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 28px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.adm-theme-toggle:hover {
  color: var(--vmx-primary, #006eff);
  border-color: #bfdbfe;
  background: #eff6ff;
}
.adm-theme-toggle i {
  font-size: 14px;
  line-height: 1;
}
.adm-theme-toggle .adm-theme-toggle__sun {
  display: none;
}
.adm-theme-toggle .adm-theme-toggle__moon {
  display: inline-block;
}
.adm-theme-toggle--login {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.login-card__head {
  position: relative;
}
.login-card__head .adm-theme-toggle {
  position: absolute;
  top: 0;
  right: 0;
}
/* 编辑页 / 项目网格：迁入 adm_add 后的暗色覆盖 */
html.adm-dark .news-edit-title,
html.adm-dark .blog-edit-title {
  color: #e2e8f0;
  border-bottom-color: #334155;
}
html.adm-dark .news-edit-title:focus,
html.adm-dark .blog-edit-title:focus {
  border-bottom-color: var(--vmx-primary, #006eff);
}
html.adm-dark .news-edit-title::placeholder,
html.adm-dark .blog-edit-title::placeholder {
  color: #64748b;
}
html.adm-dark .news-field label,
html.adm-dark .blog-field label {
  color: #94a3b8;
}
html.adm-dark .news-side-section,
html.adm-dark .blog-side-section {
  color: #e2e8f0;
  border-bottom-color: #334155;
}
html.adm-dark .news-cover-preview,
html.adm-dark .blog-cover-preview {
  border-color: #334155;
  background: #0f172a;
}
html.adm-dark .news-cover-preview span,
html.adm-dark .blog-cover-preview span {
  color: #64748b;
}
html.adm-dark .news-meta-row,
html.adm-dark .blog-meta-row {
  color: #94a3b8;
  border-bottom-color: #1e293b;
}
html.adm-dark .news-meta-row b,
html.adm-dark .blog-meta-row b {
  color: #cbd5e1;
}
html.adm-dark .news-actions,
html.adm-dark .blog-actions {
  border-top-color: #334155;
}
html.adm-dark .project-page__card {
  border-color: #334155;
  background: #1e293b;
}
html.adm-dark .project-page__card:hover {
  border-color: #475569;
  box-shadow: none;
}
html.adm-dark .project-page__name {
  color: #e2e8f0;
}
html.adm-dark .project-page__cover {
  color: #64748b;
}
html.adm-dark .brain-report-page .brain-report__hero {
  background: radial-gradient(1000px 160px at 0% 0%, rgba(37, 99, 235, 0.18), transparent 55%), linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: #334155;
}
html.adm-dark .brain-report-page .brain-report__title {
  color: #f8fafc;
}
html.adm-dark .brain-report-page .brain-report__sub,
html.adm-dark .brain-report-page .brain-report__clock {
  color: #94a3b8;
}
html.adm-dark .brain-report-page .brain-report__date {
  color: #e2e8f0;
}
html.adm-dark .brain-report-page .brain-report__kpi,
html.adm-dark .brain-report-page .brain-report__panel,
html.adm-dark .brain-report-page .brain-report__chip,
html.adm-dark .brain-report-page .brain-report__file-metric,
html.adm-dark .brain-report-page .brain-report__status-card {
  background: #1e293b;
  border-color: #334155;
}
html.adm-dark .brain-report-page .brain-report__panel-hd {
  background: #0f172a;
  border-bottom-color: #334155;
}
html.adm-dark .brain-report-page .brain-report__panel-hd h2 {
  color: #e2e8f0;
}
html.adm-dark .brain-report-page .brain-report__panel-hd h2 i {
  color: #94a3b8;
}
html.adm-dark .brain-report-page .brain-report__kpi-value,
html.adm-dark .brain-report-page .brain-report__status-num,
html.adm-dark .brain-report-page .brain-report__file-metric strong,
html.adm-dark .brain-report-page .brain-report__chip strong,
html.adm-dark .brain-report-page .brain-report__rank-name strong,
html.adm-dark .brain-report-page .brain-report__rank-nums b,
html.adm-dark .brain-report-page .brain-report__trend-val {
  color: #f1f5f9;
}
html.adm-dark .brain-report-page .brain-report__bar,
html.adm-dark .brain-report-page .brain-report__trend-bar {
  background: #0f172a;
}
html.adm-dark .brain-report-page .brain-report__rank-idx {
  background: #0f172a;
  color: #94a3b8;
}
html.adm-dark .brain-report-page .brain-report__chip {
  background: #0f172a;
}
html.adm-dark .brain-report-page .brain-report__file-metric {
  background: linear-gradient(180deg, #0f172a, #1e293b);
}
