/* NexoraHost V122 — complete client/admin dark-surface audit */
:root {
  --nx122-bg: #050d18;
  --nx122-bg-soft: #071320;
  --nx122-surface: #0d1a2c;
  --nx122-surface-2: #12243a;
  --nx122-surface-3: #182d47;
  --nx122-line: #21364f;
  --nx122-line-strong: #304b6b;
  --nx122-text: #edf4ff;
  --nx122-text-2: #c5d1e1;
  --nx122-muted: #8294ad;
  --nx122-violet: #7c6bf2;
  --nx122-violet-soft: #a79cff;
  --nx122-cyan: #27c8dd;
  --nx122-green: #35d492;
  --nx122-amber: #f3b94f;
  --nx122-rose: #ed5f8d;
  --nx122-danger: #ff6f83;
  --nx122-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

/* The old V112/V113 layers forced white pages even when dark was selected. */
.dashboard-body[data-theme="dark"].client-mode,
.dashboard-body[data-theme="dark"].admin-mode {
  --nx-bg: var(--nx122-bg) !important;
  --nx-surface: var(--nx122-surface) !important;
  --nx-surface-2: var(--nx122-surface-2) !important;
  --nx-surface-3: var(--nx122-surface-3) !important;
  --nx-border: var(--nx122-line) !important;
  --nx-border-strong: var(--nx122-line-strong) !important;
  --nx-text: var(--nx122-text) !important;
  --nx-text-2: var(--nx122-text-2) !important;
  --nx-muted: var(--nx122-muted) !important;
  color: var(--nx122-text) !important;
  background: var(--nx122-bg) !important;
}
.dashboard-body[data-theme="dark"] :is(.dashboard, .main, .content) {
  color: var(--nx122-text) !important;
  background: var(--nx122-bg) !important;
}
.dashboard-body[data-theme="dark"] .content {
  background-image:
    radial-gradient(circle at 92% 1%, rgba(124, 107, 242, .07), transparent 28%),
    radial-gradient(circle at 2% 82%, rgba(39, 200, 221, .035), transparent 24%) !important;
  background-attachment: fixed !important;
}
.dashboard-body[data-theme="dark"] :is(h1, h2, h3, h4, h5, h6) { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] :is(p, small, .muted, .field-help, .form-help) { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] a { text-decoration-color: rgba(167, 156, 255, .35); }

/* Sidebar, desktop top bars and account controls */
.dashboard-body[data-theme="dark"] .sidebar,
.dashboard-body[data-theme="dark"].client-mode .sidebar,
.dashboard-body[data-theme="dark"].client-mode .sidebar-foot {
  border-color: rgba(255, 255, 255, .075) !important;
  background: linear-gradient(180deg, #0a1728, #050d18) !important;
}
.dashboard-body[data-theme="dark"] .sidebar .brand-copy strong { color: #f5f7ff !important; }
.dashboard-body[data-theme="dark"] .sidebar .brand-copy small { color: #697c95 !important; }
.dashboard-body[data-theme="dark"] .sidebar .brand-mark { color: #fff !important; opacity: 1 !important; }
.dashboard-body[data-theme="dark"] .sidebar .brand-mark img { filter: brightness(1.15) saturate(1.1); }
.dashboard-body[data-theme="dark"] :is(.workspace-card, .v24-profile-box, .system-mini, .v21-side-search) {
  border-color: rgba(255, 255, 255, .08) !important;
  color: var(--nx122-text-2) !important;
  background: rgba(255, 255, 255, .038) !important;
}
.dashboard-body[data-theme="dark"] .side-label { color: #586b84 !important; }
.dashboard-body[data-theme="dark"] .side-link,
.dashboard-body[data-theme="dark"].client-mode .side-link { color: #8fa0b7 !important; background: transparent !important; }
.dashboard-body[data-theme="dark"] .side-link:hover,
.dashboard-body[data-theme="dark"].client-mode .side-link:hover { color: #fff !important; background: rgba(255, 255, 255, .06) !important; }
.dashboard-body[data-theme="dark"] .side-link.active,
.dashboard-body[data-theme="dark"].client-mode .side-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(124, 107, 242, .28), rgba(124, 107, 242, .13)) !important;
  box-shadow: inset 0 0 0 1px rgba(167, 156, 255, .13) !important;
}
.dashboard-body[data-theme="dark"] .side-icon,
.dashboard-body[data-theme="dark"].client-mode .side-icon { color: #9d92fa !important; background: transparent !important; }
.dashboard-body[data-theme="dark"] .side-link.active .side-icon { color: #c0b8ff !important; background: transparent !important; }

.dashboard-body[data-theme="dark"] .dash-top,
.dashboard-body[data-theme="dark"].client-mode .dash-top {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text) !important;
  background: rgba(8, 21, 36, .94) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .13) !important;
}
.dashboard-body[data-theme="dark"] .breadcrumb :is(span, strong),
.dashboard-body[data-theme="dark"].client-mode .breadcrumb strong { color: #91a2b9 !important; }
.dashboard-body[data-theme="dark"].client-mode .nx113-store-link { color: #9eb0c7 !important; }
.dashboard-body[data-theme="dark"].client-mode .nx113-balance-chip {
  border-color: rgba(53, 212, 146, .24) !important;
  color: #8ae2bc !important;
  background: rgba(53, 212, 146, .09) !important;
}
.dashboard-body[data-theme="dark"].client-mode :is(.notification-button, .user-chip) {
  color: #b9c7d9 !important;
  background: transparent !important;
}
.dashboard-body[data-theme="dark"].client-mode .user-copy strong { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"].client-mode .user-copy small { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] :is(.user-dropdown, .command-panel, .command-search),
.dashboard-body[data-theme="dark"].client-mode .user-dropdown {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text) !important;
  background: var(--nx122-surface) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .42) !important;
}
.dashboard-body[data-theme="dark"] :is(.user-dropdown, .command-panel) a { color: var(--nx122-text-2) !important; }

/* Shared surfaces across every client/admin route and legacy module version. */
.dashboard-body[data-theme="dark"] :is(
  .card, .table-card, .stat, .stat-card, .box, .action-card, .advanced-box, .sticky-card,
  .module-panel, .currency-bank-card, .fx-center-card, .assigned-box, .announcement-card,
  article[class*="-card"]:not(.nx113-profile-card):not(.nx113-welcome-banner):not(.nx111-alert-card),
  section[class*="-panel"], article[class*="-panel"], div[class*="-panel"]:not(.v74-domain-panel),
  details[class*="-settings"], section[class*="-section"]
) {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text) !important;
  background: linear-gradient(145deg, var(--nx122-surface), #091727) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16) !important;
}
.dashboard-body[data-theme="dark"] :is(article[class*="-card"], section[class*="-panel"], article[class*="-panel"], div[class*="-panel"], .card, .table-card)
  :is(h2, h3, h4, strong) { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] :is(article[class*="-card"], section[class*="-panel"], article[class*="-panel"], div[class*="-panel"], .card, .table-card)
  :is(p, small) { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] :is(.card-head, .card-header, .table-head, .panel-head, .section-title-row, [class*="-section-head"], [class*="-card-head"]) {
  border-color: var(--nx122-line) !important;
  background: transparent !important;
}
.dashboard-body[data-theme="dark"] :is(.detail-item, [class*="-meta"] > div, [class*="-facts"] > div, [class*="-usage"] > div, .preview-stat) {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text-2) !important;
  background: var(--nx122-surface-2) !important;
}
.dashboard-body[data-theme="dark"] :is(.detail-item, [class*="-meta"] > div, [class*="-facts"] > div, [class*="-usage"] > div) strong { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] :is(.tabs, [class*="-tabs"]) {
  border-color: var(--nx122-line) !important;
  background: #091727 !important;
}
.dashboard-body[data-theme="dark"] :is(.tab, [class*="-tabs"] .tab, [class*="-tabs"] a) {
  border-color: transparent !important;
  color: #93a5bc !important;
  background: transparent !important;
}
.dashboard-body[data-theme="dark"] :is(.tab.active, [class*="-tabs"] .active) {
  border-color: rgba(167, 156, 255, .16) !important;
  color: #fff !important;
  background: rgba(124, 107, 242, .16) !important;
}

/* Forms, buttons, tables, lists and feedback. */
.dashboard-body[data-theme="dark"] :is(.input, .select, .textarea),
.dashboard-body[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
.dashboard-body[data-theme="dark"] select,
.dashboard-body[data-theme="dark"] textarea {
  border-color: #29415e !important;
  color: var(--nx122-text) !important;
  background: #081727 !important;
}
.dashboard-body[data-theme="dark"] :is(.input, .select, .textarea):focus,
.dashboard-body[data-theme="dark"] :is(input, select, textarea):focus {
  border-color: rgba(167, 156, 255, .72) !important;
  box-shadow: 0 0 0 4px rgba(124, 107, 242, .12) !important;
}
.dashboard-body[data-theme="dark"] :is(.form-label, label, legend) { color: #b9c7d9 !important; }
.dashboard-body[data-theme="dark"] .btn-primary {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c6bf2, #5846d3) !important;
  box-shadow: 0 10px 24px rgba(88, 70, 211, .22) !important;
}
.dashboard-body[data-theme="dark"] :is(.btn-ghost, .btn-secondary) {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text-2) !important;
  background: var(--nx122-surface-2) !important;
}
.dashboard-body[data-theme="dark"] :is(.btn-ghost, .btn-secondary):hover {
  border-color: var(--nx122-line-strong) !important;
  color: #fff !important;
  background: var(--nx122-surface-3) !important;
}
.dashboard-body[data-theme="dark"] :is(.table-wrap, .table-responsive, .preview-table) {
  border-color: var(--nx122-line) !important;
  background: var(--nx122-surface) !important;
}
.dashboard-body[data-theme="dark"] table { color: var(--nx122-text-2) !important; background: transparent !important; }
.dashboard-body[data-theme="dark"] .table th {
  border-color: var(--nx122-line) !important;
  color: #8b9db5 !important;
  background: var(--nx122-surface-2) !important;
}
.dashboard-body[data-theme="dark"] .table td {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text-2) !important;
  background: var(--nx122-surface) !important;
}
.dashboard-body[data-theme="dark"] .table tbody tr:hover td { background: #14253b !important; }
.dashboard-body[data-theme="dark"] :is([class*="-row"], .detail-item) { border-color: var(--nx122-line) !important; }
.dashboard-body[data-theme="dark"] :is([class*="-row"]:hover, .command-list a:hover) { background-color: rgba(255, 255, 255, .025) !important; }
.dashboard-body[data-theme="dark"] :is(.empty, [class*="-empty"]) {
  border-color: var(--nx122-line-strong) !important;
  color: var(--nx122-muted) !important;
  background: rgba(255, 255, 255, .015) !important;
}
.dashboard-body[data-theme="dark"] :is(.empty, [class*="-empty"]) strong { color: var(--nx122-text-2) !important; }
.dashboard-body[data-theme="dark"] .alert { border-color: var(--nx122-line) !important; color: var(--nx122-text-2) !important; background: var(--nx122-surface-2) !important; }
.dashboard-body[data-theme="dark"] .alert-success { border-color: rgba(53, 212, 146, .24) !important; background: rgba(53, 212, 146, .085) !important; }
.dashboard-body[data-theme="dark"] .alert-warning { border-color: rgba(243, 185, 79, .25) !important; background: rgba(243, 185, 79, .085) !important; }
.dashboard-body[data-theme="dark"] .alert-danger { border-color: rgba(255, 111, 131, .25) !important; background: rgba(255, 111, 131, .085) !important; }
.dashboard-body[data-theme="dark"] .alert-info { border-color: rgba(39, 200, 221, .24) !important; background: rgba(39, 200, 221, .08) !important; }
.dashboard-body[data-theme="dark"] :is(.badge-success, .success) { color: #88e4bd !important; }
.dashboard-body[data-theme="dark"] :is(.badge-warning, .warning) { color: #f4c66f !important; }
.dashboard-body[data-theme="dark"] :is(.badge-danger, .danger, .text-danger) { color: #ff8da0 !important; }

/* Client landing page from the supplied screenshot. */
.dashboard-body[data-theme="dark"].client-mode[data-route="/client"] .content,
.dashboard-body[data-theme="dark"].client-mode .content:has(> .nx113-client-home) { background: var(--nx122-bg) !important; }
.dashboard-body[data-theme="dark"] .nx113-client-home { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx113-page-heading h1 { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx113-page-heading p { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] .nx113-profile-card {
  border: 1px solid rgba(167, 156, 255, .18) !important;
  background:
    radial-gradient(circle at 92% 105%, rgba(39, 200, 221, .18), transparent 43%),
    linear-gradient(135deg, #4035a8, #251c69 55%, #101d32) !important;
  box-shadow: 0 18px 44px rgba(29, 21, 91, .34) !important;
}
.dashboard-body[data-theme="dark"] .nx113-profile-card:after { background: rgba(4, 9, 28, .2) !important; }
.dashboard-body[data-theme="dark"] .nx113-profile-card :is(strong, span, p, small, b) { color: #fff !important; }
.dashboard-body[data-theme="dark"] .nx113-profile-balance { border-color: rgba(255, 255, 255, .17) !important; }
.dashboard-body[data-theme="dark"] .nx113-payment-notice {
  border-color: rgba(243, 185, 79, .24) !important;
  background: rgba(243, 185, 79, .075) !important;
}
.dashboard-body[data-theme="dark"] .nx113-payment-notice.success {
  border-color: rgba(53, 212, 146, .24) !important;
  background: rgba(53, 212, 146, .075) !important;
}
.dashboard-body[data-theme="dark"] .nx113-payment-notice :is(strong, p) { color: var(--nx122-text-2) !important; }
.dashboard-body[data-theme="dark"] .nx113-payment-notice > a { color: #e5bd6f !important; }
.dashboard-body[data-theme="dark"] .nx113-payment-notice.success > a { color: #80ddba !important; }
.dashboard-body[data-theme="dark"] .nx113-notice-icon { background: rgba(243, 185, 79, .12) !important; color: #f3c66f !important; }
.dashboard-body[data-theme="dark"] .nx113-payment-notice.success .nx113-notice-icon { background: rgba(53, 212, 146, .12) !important; color: #7fe0b7 !important; }
.dashboard-body[data-theme="dark"] .nx113-welcome-banner {
  border: 1px solid rgba(124, 107, 242, .18) !important;
  background:
    radial-gradient(circle at 89% 35%, rgba(39, 200, 221, .12), transparent 31%),
    linear-gradient(110deg, #111e33, #182a44 50%, #382b7d) !important;
  box-shadow: var(--nx122-shadow) !important;
}
.dashboard-body[data-theme="dark"] .nx113-welcome-banner :is(strong, span) { color: #fff !important; }
.dashboard-body[data-theme="dark"] .nx113-welcome-banner > a { color: #fff !important; background: linear-gradient(135deg, #7c6bf2, #5b49d7) !important; }
.dashboard-body[data-theme="dark"] .nx113-metric-card {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text) !important;
  background: linear-gradient(145deg, var(--nx122-surface), #091727) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16) !important;
}
.dashboard-body[data-theme="dark"] .nx113-metric-card:hover { border-color: rgba(167, 156, 255, .34) !important; box-shadow: 0 18px 38px rgba(0, 0, 0, .26) !important; }
.dashboard-body[data-theme="dark"] .nx113-metric-card > span { color: #a99eff !important; background: rgba(124, 107, 242, .12) !important; }
.dashboard-body[data-theme="dark"] .nx113-metric-card.amber > span { color: #f4c66f !important; background: rgba(243, 185, 79, .11) !important; }
.dashboard-body[data-theme="dark"] .nx113-metric-card.wine > span { color: #ef86a7 !important; background: rgba(237, 95, 141, .11) !important; }
.dashboard-body[data-theme="dark"] .nx113-metric-card > strong { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx113-metric-card > small { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] .nx113-services-panel {
  border-color: var(--nx122-line) !important;
  background: linear-gradient(145deg, var(--nx122-surface), #091727) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .17) !important;
}
.dashboard-body[data-theme="dark"] .nx113-services-panel > header { border-color: var(--nx122-line) !important; }
.dashboard-body[data-theme="dark"] .nx113-services-panel > header strong,
.dashboard-body[data-theme="dark"] .nx113-services-empty strong,
.dashboard-body[data-theme="dark"] .nx113-service-row strong { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx113-services-panel > header a,
.dashboard-body[data-theme="dark"] .nx113-services-empty a { color: var(--nx122-violet-soft) !important; }
.dashboard-body[data-theme="dark"] .nx113-services-empty > span,
.dashboard-body[data-theme="dark"] .nx113-service-icon { color: var(--nx122-violet-soft) !important; background: rgba(124, 107, 242, .12) !important; }
.dashboard-body[data-theme="dark"] .nx113-service-row { border-color: var(--nx122-line) !important; color: var(--nx122-text-2) !important; }
.dashboard-body[data-theme="dark"] .nx113-service-row:hover { background: rgba(255, 255, 255, .025) !important; }
.dashboard-body[data-theme="dark"] .nx113-service-row small { color: var(--nx122-muted) !important; }

/* Admin dashboard and all administration navigation. */
.dashboard-body[data-theme="dark"].admin-mode {
  --nx111-page: var(--nx122-bg) !important;
  --nx111-card: var(--nx122-surface) !important;
  --nx111-border: var(--nx122-line) !important;
  --nx111-text: var(--nx122-text) !important;
  --nx111-muted: var(--nx122-muted) !important;
}
.dashboard-body[data-theme="dark"].admin-mode .v77-admin-topnav {
  border-color: var(--nx122-line) !important;
  background: rgba(9, 22, 37, .97) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .18) !important;
}
.dashboard-body[data-theme="dark"].admin-mode .nx111-admin-brand .brand-copy strong { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"].admin-mode :is(.v77-admin-trigger, .v77-admin-quick) { color: #9aabc0 !important; background: transparent !important; }
.dashboard-body[data-theme="dark"].admin-mode :is(.v77-admin-trigger:hover, .v77-admin-group.active .v77-admin-trigger, .v77-admin-group.open .v77-admin-trigger, .nx111-control-link) {
  color: #c0b8ff !important;
  background: rgba(124, 107, 242, .13) !important;
}
.dashboard-body[data-theme="dark"].admin-mode :is(.v77-admin-dropdown, .nx111-top-user .user-dropdown) {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text) !important;
  background: var(--nx122-surface) !important;
  box-shadow: var(--nx122-shadow) !important;
}
.dashboard-body[data-theme="dark"].admin-mode .v77-admin-link { color: var(--nx122-text-2) !important; }
.dashboard-body[data-theme="dark"].admin-mode .v77-admin-link:hover { background: var(--nx122-surface-2) !important; }
.dashboard-body[data-theme="dark"].admin-mode .v77-admin-link.active { background: rgba(124, 107, 242, .13) !important; box-shadow: inset 0 0 0 1px rgba(167, 156, 255, .13) !important; }
.dashboard-body[data-theme="dark"].admin-mode :is(.v77-admin-link-copy strong, .nx111-top-user .user-copy strong, .nx111-top-user .dropdown-profile strong, .nx111-top-user .user-dropdown a) { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"].admin-mode :is(.v77-admin-link-copy small, .nx111-top-user .user-copy small) { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"].admin-mode[data-route="/admin"] .content,
.dashboard-body[data-theme="dark"].admin-mode .content:has(> .nx111-admin-home) { background: var(--nx122-bg) !important; }
.dashboard-body[data-theme="dark"].admin-mode[data-route="/admin"] .content > .page-head,
.dashboard-body[data-theme="dark"].admin-mode .content:has(> .nx111-admin-home) > .page-head {
  border-color: var(--nx122-line) !important;
  background: var(--nx122-surface) !important;
}
.dashboard-body[data-theme="dark"].admin-mode[data-route="/admin"] .content > .page-head h1 { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx111-top-card,
.dashboard-body[data-theme="dark"] .nx111-stat-strip,
.dashboard-body[data-theme="dark"] .nx111-record-panel {
  border-color: var(--nx122-line) !important;
  color: var(--nx122-text) !important;
  background: linear-gradient(145deg, var(--nx122-surface), #091727) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .17) !important;
}
.dashboard-body[data-theme="dark"] .nx111-top-card:hover { border-color: rgba(167, 156, 255, .32) !important; }
.dashboard-body[data-theme="dark"] .nx111-card-copy small { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] .nx111-alert-card { background: var(--nx111-gradient) !important; box-shadow: 0 16px 34px rgba(0, 0, 0, .26) !important; }
.dashboard-body[data-theme="dark"] .nx111-alert-card :is(strong, span, small) { color: #fff !important; }
.dashboard-body[data-theme="dark"] .nx111-stat-item { border-color: var(--nx122-line) !important; background: transparent !important; }
.dashboard-body[data-theme="dark"] .nx111-stat-item :is(strong, small) { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx111-record-panel > header,
.dashboard-body[data-theme="dark"] .nx111-record-row { border-color: var(--nx122-line) !important; }
.dashboard-body[data-theme="dark"] .nx111-record-panel > header :is(strong, a),
.dashboard-body[data-theme="dark"] .nx111-record-row :is(strong, b) { color: var(--nx122-text) !important; }
.dashboard-body[data-theme="dark"] .nx111-record-panel > header a { color: var(--nx122-violet-soft) !important; }
.dashboard-body[data-theme="dark"] .nx111-record-row { color: var(--nx122-text-2) !important; }
.dashboard-body[data-theme="dark"] .nx111-record-row:hover { background: rgba(255, 255, 255, .025) !important; }
.dashboard-body[data-theme="dark"] .nx111-record-row small,
.dashboard-body[data-theme="dark"] .nx111-empty { color: var(--nx122-muted) !important; }
.dashboard-body[data-theme="dark"] .nx111-status-dot { box-shadow: 0 0 0 5px rgba(237, 95, 141, .13) !important; }

/* Preserve intentional colored command and product heroes. */
.dashboard-body[data-theme="dark"] :is([class*="-hero"], .nx113-profile-card, .nx113-welcome-banner, .nx111-alert-card)
  :is(h1, h2, h3, h4, strong) { color: #fff !important; }
.dashboard-body[data-theme="dark"] :is([class*="-hero"], .nx113-profile-card, .nx113-welcome-banner, .nx111-alert-card)
  :is(p, small) { color: rgba(233, 241, 252, .78) !important; }

@media (max-width: 1180px) {
  .dashboard-body[data-theme="dark"] .page-head { align-items: flex-start !important; }
  .dashboard-body[data-theme="dark"] :is(.v101-stat-grid, .v14-kpi-grid, .v15-stat-grid, .v30-kpi-grid, .v48-kpis, .v55-kpi-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 760px) {
  .dashboard-body[data-theme="dark"] .content { background-attachment: scroll !important; }
  .dashboard-body[data-theme="dark"] .page-head { flex-direction: column !important; }
  .dashboard-body[data-theme="dark"] .page-head > *,
  .dashboard-body[data-theme="dark"] .page-actions { width: 100% !important; }
  .dashboard-body[data-theme="dark"] :is(.actions, .page-actions, .form-actions) { align-items: stretch !important; }
  .dashboard-body[data-theme="dark"] :is(.actions, .page-actions, .form-actions) > :is(.btn, form) { flex: 1 1 150px; }
  .dashboard-body[data-theme="dark"] :is(.actions, .page-actions, .form-actions) form .btn { width: 100%; }
  .dashboard-body[data-theme="dark"] :is(.v101-stat-grid, .v14-kpi-grid, .v15-stat-grid, .v30-kpi-grid, .v48-kpis, .v55-kpi-grid) { grid-template-columns: 1fr !important; }
  .dashboard-body[data-theme="dark"] .nx121-table-ready tbody tr {
    border-color: var(--nx122-line) !important;
    background: linear-gradient(145deg, var(--nx122-surface), #091727) !important;
  }
  .dashboard-body[data-theme="dark"] .nx121-table-ready td { border-color: rgba(255, 255, 255, .065) !important; background: transparent !important; }
}

@media (max-width: 520px) {
  .dashboard-body[data-theme="dark"] .nx113-profile-card { min-height: 225px; }
  .dashboard-body[data-theme="dark"] .nx113-payment-notice { padding: 13px !important; }
  .dashboard-body[data-theme="dark"] .nx113-welcome-banner { padding: 18px !important; }
  .dashboard-body[data-theme="dark"] .nx111-stat-item,
  .dashboard-body[data-theme="dark"] .nx111-stat-item:nth-child(3),
  .dashboard-body[data-theme="dark"] .nx111-stat-item:nth-child(-n+3) {
    border-color: var(--nx122-line) !important;
    background: linear-gradient(145deg, var(--nx122-surface), #091727) !important;
  }
}
