body.dashboard-body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(103, 184, 255, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(139, 255, 176, 0.12), transparent 22%),
        linear-gradient(180deg, #eef5ff 0%, #e5eef9 100%);
    color: #0b1727;
    font-family: 'Space Grotesk', sans-serif;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 100vh;
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(circle at top right, rgba(103, 184, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #09111f 0%, #07101c 100%);
    color: #f4f7fb;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.dashboard-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 26px;
}

.dashboard-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-sidebar-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #f4f7fb;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.dashboard-brand img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.dashboard-brand-name {
    display: block;
    font-weight: 800;
}

.dashboard-brand-tag,
.dashboard-user-label,
.dashboard-kicker,
.withdraw-history-stat-label,
.plan-stat-label,
.footer-label {
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.dashboard-brand-tag,
.dashboard-user-card span,
.dashboard-muted,
.empty-state,
.activity-list li,
.status-list li,
.tx-row,
.deposit-history-note,
.plan-referral-empty,
.email-user-meta {
    color: #6f8095;
}

.dashboard-sidebar .dashboard-brand-tag,
.dashboard-sidebar .dashboard-user-label,
.dashboard-sidebar .dashboard-user-card span,
.dashboard-sidebar .dashboard-kicker {
    color: rgba(224, 234, 246, 0.76);
}

.dashboard-user-card {
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-sidebar .dashboard-user-card strong {
    color: #f7fbff;
}

.dashboard-user-card strong,
.dashboard-user-card span {
    display: block;
}

.dashboard-nav {
    display: grid;
    gap: 8px;
    flex: 0 1 auto;
    min-height: auto;
    align-content: start;
    overflow: visible;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 231, 167, 0.42) rgba(255, 255, 255, 0.05);
}

.dashboard-nav::-webkit-scrollbar {
    width: 8px;
}

.dashboard-nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.dashboard-nav::-webkit-scrollbar-thumb {
    background: rgba(126, 231, 167, 0.42);
    border-radius: 999px;
}

.dashboard-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(126, 231, 167, 0.62);
}

.dashboard-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #c8d4e3;
    font-weight: 700;
    line-height: 1.35;
}

.dashboard-nav a.is-active,
.dashboard-nav a:hover {
    background: rgba(103, 184, 255, 0.14);
    color: #ffffff;
}

.dashboard-sidebar-footer {
    display: grid;
    gap: 10px;
    margin-top: auto;
    flex-shrink: 0;
    position: sticky;
    bottom: calc(env(safe-area-inset-bottom, 0px) * -1);
    padding-top: 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(7, 16, 28, 0) 0%, rgba(7, 16, 28, 0.92) 22%, rgba(7, 16, 28, 1) 100%);
}

.dashboard-sidebar-footer .button {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.dashboard-sidebar-footer .button-ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f7fb;
}

.dashboard-sidebar-footer .button-ghost:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-sidebar-footer .button-primary {
    box-shadow: 0 14px 28px rgba(78, 177, 255, 0.2);
}

.dashboard-main-area {
    padding: 24px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.dashboard-topbar-main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dashboard-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(11, 23, 39, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(15, 23, 36, 0.08);
    color: #0b1727;
}

.dashboard-menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
}

.dashboard-sidebar-overlay {
    display: none;
}

.dashboard-kicker {
    color: #6c8098;
    margin: 0 0 10px;
}

.dashboard-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.06em;
}

.dashboard-topbar-link {
    color: #0550ae;
    font-weight: 700;
}

.dashboard-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-mobile-actions {
    display: none;
    position: relative;
    margin-left: auto;
}

.dashboard-mobile-actions-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(11, 23, 39, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(15, 23, 36, 0.08);
    cursor: pointer;
    list-style: none;
}

.dashboard-mobile-actions-toggle::-webkit-details-marker {
    display: none;
}

.dashboard-mobile-actions-toggle__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #0b1727;
}

.dashboard-mobile-actions-toggle__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dashboard-mobile-actions-toggle__label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0b1727;
}

.dashboard-mobile-actions-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    gap: 6px;
    min-width: 170px;
    padding: 10px;
    border: 1px solid rgba(11, 23, 39, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 36, 0.16);
}

.dashboard-mobile-actions-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #0b1727;
    font-weight: 700;
    line-height: 1.3;
}

.dashboard-mobile-actions-menu__icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #0550ae;
}

.dashboard-mobile-actions-menu__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dashboard-mobile-actions-menu a:hover {
    background: rgba(103, 184, 255, 0.12);
}

.dashboard-theme-toggle {
    min-height: 44px;
}

.orbit-translate-dashboard {
    min-width: 160px;
}

.dashboard-content,
.dashboard-grid,
.dashboard-stats-grid,
.dashboard-two-col,
.dashboard-form-grid,
.dashboard-table-wrap,
.stat-subgrid,
.activity-list,
.status-list,
.invest-list,
.footer-links,
.profile-row,
.deposit-history-stats,
.withdraw-history-stats,
.commission-levels-box,
.kyc-form-all,
.p2p-page,
.investment-plans,
.invest-summary-layout,
.panel-stack,
.plan-stat-grid,
.plan-referral-list,
.auth-form-grid,
#userList {
    display: grid;
    gap: 18px;
}

.dashboard-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-two-col {
    grid-template-columns: 1.18fr 0.82fr;
}

.dashboard-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-card,
.panel,
.wallet-hero,
.stat,
.contact-card,
.copy-block,
.table-card,
.auth-card,
.balance-card-left,
.balance-card-right,
.plan-card,
.deposit-history-stat,
.withdraw-history-stat,
.summary-tile,
.m-users-modal-content {
    padding: 22px;
    border: 1px solid rgba(11, 23, 39, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(15, 23, 36, 0.06);
}

.wallet-hero,
.balance-card-left,
.balance-card-right,
.stat.gradient-orange {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.stat-value,
.wallet-balance-amount,
.dashboard-big-number,
.deposit-history-stat strong,
.withdraw-history-stat strong {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.15;
    white-space: nowrap;
    scrollbar-width: thin;
}

.stat-value::-webkit-scrollbar,
.wallet-balance-amount::-webkit-scrollbar,
.dashboard-big-number::-webkit-scrollbar,
.deposit-history-stat strong::-webkit-scrollbar,
.withdraw-history-stat strong::-webkit-scrollbar {
    height: 6px;
}

.stat-value::-webkit-scrollbar-thumb,
.wallet-balance-amount::-webkit-scrollbar-thumb,
.dashboard-big-number::-webkit-scrollbar-thumb,
.deposit-history-stat strong::-webkit-scrollbar-thumb,
.withdraw-history-stat strong::-webkit-scrollbar-thumb {
    background: rgba(108, 128, 152, 0.35);
    border-radius: 999px;
}

.table-card {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.panel > table,
.table-card > table,
.m-invest-table {
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(11, 23, 39, 0.08);
    text-align: left;
    vertical-align: top;
}

th {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c8098;
}

.dark-table tbody tr:hover,
table tbody tr:hover {
    background: rgba(37, 141, 255, 0.04);
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(11, 23, 39, 0.14);
    border-radius: 14px;
    background: #ffffff;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.auth-layout {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(580px, 100%);
}

.auth-utility-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.auth-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(11, 23, 39, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #0550ae;
    font-weight: 700;
}

.auth-home-link:hover {
    background: #ffffff;
}

.auth-btn,
button,
.m-users-btn,
.cancel-deposit-btn,
.delete-deposit-btn,
.withdraw-approve-btn,
.withdraw-reject-btn,
.approve-deposit,
.reject-deposit,
.delete-deposit,
.copy-tr,
.transfer-commission-btn,
.transfer-all-btn,
.p2p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #7ee7a7 0%, #9ff7be 36%, #6ebdff 100%);
    color: #07111d;
    font-weight: 700;
    cursor: pointer;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.profile-status-row,
.commission-summary-row,
.p2p-balance,
.withdraw-summary,
.deposit-summary,
.email-user-option,
.deposit-method,
.withdraw-method {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(11, 23, 39, 0.08);
    border-radius: 16px;
    background: #ffffff;
}

.referral-link-row {
    align-items: flex-start;
}

.referral-link-value {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.55;
}

.referral-link-row button {
    flex: 0 0 auto;
}

.deposit-methods,
.withdraw-methods,
.investment-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.deposit-method,
.withdraw-method,
.email-user-option {
    cursor: pointer;
}

.deposit-method.selected,
.withdraw-method.selected {
    border-color: #258dff;
    box-shadow: 0 0 0 3px rgba(37, 141, 255, 0.12);
}

.profile-status-pending,
.warn,
.withdraw-status-pending,
.deposit-history-table-status {
    color: #b45309;
}

.profile-status-verified,
.ok,
.green,
.withdraw-status-completed {
    color: #1a7f37;
}

.red,
.withdraw-status-rejected {
    color: #cf222e;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.badge-success { color: #055d20; background: #dafbe1; }
.badge-warning { color: #9a6700; background: #fff8c5; }
.badge-danger { color: #a40e26; background: #ffebe9; }
.badge-secondary { color: #57606a; background: #f6f8fa; }

#countryList,
#userList {
    padding: 0;
    margin: 0;
    list-style: none;
}

.email-broadcast-panel {
    align-content: start;
}

.email-user-item { list-style: none; }

.email-user-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.email-user-option input[type='checkbox'] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 2px;
    accent-color: #258dff;
}

.email-user-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.email-user-name {
    color: #0b1727;
    font-weight: 700;
    word-break: break-word;
}

.email-user-item-master .email-user-option {
    background: linear-gradient(180deg, #f4fbff 0%, #eef6ff 100%);
    border-color: rgba(37, 141, 255, 0.16);
}

.email-user-empty {
    padding: 16px;
    border: 1px dashed rgba(11, 23, 39, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #d0d7de;
    transition: 0.2s;
}

.slider:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: 0.2s;
}

.switch input:checked + .slider {
    background-color: #258dff;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round { border-radius: 999px; }
.slider.round:before { border-radius: 50%; }

.m-users-dropdown { position: relative; }
.m-users-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(11, 23, 39, 0.12);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 36, 0.12);
    overflow: hidden;
    z-index: 40;
}

.m-users-dropdown.open-up .m-users-dropdown-content {
    top: auto;
    bottom: calc(100% + 6px);
}

.m-users-dropdown-content a {
    display: block;
    padding: 12px 14px;
    color: #0b1727;
}

#m-users-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.m-users-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 17, 29, 0.42);
}

.m-users-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px;
}

.plan-card.dashboard-form-grid {
    padding: 18px;
    border: 1px solid rgba(11, 23, 39, 0.08);
    border-radius: 18px;
    background: #fff;
}

.plan-topline,
.plan-head,
.plan-cta,
.footer-contact {
    display: flex;
    gap: 12px;
}

.plan-topline,
.plan-head {
    align-items: center;
    justify-content: space-between;
}

.plan-pill,
.plan-duration {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.68rem;
}

.plan-pill { background: rgba(126, 231, 167, 0.18); color: #067647; }
.plan-duration { background: rgba(110, 189, 255, 0.12); color: #0550ae; }
.plan-head { align-items: flex-start; justify-content: flex-start; }
.plan-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef8ff 0%, #f8fffb 100%);
    font-size: 1.4rem;
}
.plan-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.plan-sub { color: #6f8095; }
.plan-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-stat {
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(11, 23, 39, 0.08);
}
.plan-stat-value { font-size: 1.08rem; font-weight: 700; }
.plan-referral {
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(11, 23, 39, 0.08);
}
.plan-referral-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
}

.kyc-upload-box { display: grid; gap: 8px; }
.kyc-upload-file { color: #6f8095; font-size: 0.92rem; }

.d-none { display: none !important; }

@media (max-width: 1100px) {
    body.dashboard-body.dashboard-menu-open { overflow: hidden; }

    .dashboard-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 60;
        display: flex;
        flex-direction: column;
        width: min(320px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        height: 100vh;
        transform: translateX(-108%);
        transition: transform 0.24s ease;
        box-shadow: 0 24px 60px rgba(15, 23, 36, 0.28);
        overflow-y: auto;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .dashboard-shell.sidebar-open .dashboard-sidebar {
        transform: translateX(0);
    }

    .dashboard-sidebar-close {
        display: inline-flex;
    }

    .dashboard-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 50;
        border: 0;
        padding: 0;
        background: rgba(7, 17, 29, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease;
    }

    .dashboard-shell.sidebar-open .dashboard-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .dashboard-main-area { padding: 18px; }
    .dashboard-topbar { gap: 14px; align-items: flex-start; }
    .dashboard-topbar-main { flex: 1; min-width: 0; }
    .dashboard-menu-toggle { display: inline-flex; flex: 0 0 auto; }
    .dashboard-nav {
        flex: 0 0 auto;
        min-height: auto;
        overflow: visible;
        padding-bottom: 8px;
    }
    .dashboard-sidebar-footer {
        position: static;
        margin-top: auto;
        padding-top: 8px;
        padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
        background: transparent;
    }
    .dashboard-stats-grid,
    .deposit-history-stats,
    .withdraw-history-stats,
    .dashboard-two-col,
    .dashboard-form-grid,
    .deposit-methods,
    .withdraw-methods,
    .investment-plans,
    .plan-stat-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .table-card,
    .panel { overflow: visible; }

    .table-card > table,
    .panel > table,
    .m-invest-table,
    .dark-table,
    table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .table-card thead,
    .panel thead,
    .m-invest-table thead,
    .dark-table thead,
    table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
        white-space: nowrap;
    }

    .table-card tbody,
    .panel tbody,
    .m-invest-table tbody,
    .dark-table tbody,
    table tbody {
        display: grid;
        gap: 12px;
    }

    .table-card tr,
    .panel tr,
    .m-invest-table tr,
    .dark-table tr,
    table tr {
        display: block;
        padding: 14px;
        border: 1px solid rgba(11, 23, 39, 0.08);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(15, 23, 36, 0.05);
    }

    .table-card td,
    .panel td,
    .m-invest-table td,
    .dark-table td,
    table td {
        display: grid;
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 10px 0;
        border-bottom: 1px solid rgba(11, 23, 39, 0.06);
        white-space: normal;
        word-break: break-word;
    }

    .table-card td:last-child,
    .panel td:last-child,
    .m-invest-table td:last-child,
    .dark-table td:last-child,
    table td:last-child { border-bottom: 0; }

    .table-card td::before,
    .panel td::before,
    .m-invest-table td::before,
    .dark-table td::before,
    table td::before {
        content: attr(data-label);
        font-family: 'IBM Plex Mono', monospace;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #6c8098;
    }

    .table-card td[colspan],
    .panel td[colspan],
    .m-invest-table td[colspan],
    .dark-table td[colspan],
    table td[colspan] {
        display: block;
        padding: 0;
        border-bottom: 0;
    }

    .table-card td[colspan]::before,
    .panel td[colspan]::before,
    .m-invest-table td[colspan]::before,
    .dark-table td[colspan]::before,
    table td[colspan]::before { content: none; }
}

@media (max-width: 720px) {
    .dashboard-topbar,
    .profile-status-row,
    .commission-summary-row,
    .p2p-balance,
    .withdraw-summary,
    .deposit-summary,
    .m-users-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-topbar-link { align-self: flex-start; }

    .dashboard-mobile-actions {
        display: block;
    }

    .orbit-translate-dashboard {
        width: 100%;
        min-width: 0;
    }

    .dashboard-card,
    .panel,
    .wallet-hero,
    .stat,
    .contact-card,
    .copy-block,
    .table-card,
    .auth-card,
    .balance-card-left,
    .balance-card-right,
    .plan-card,
    .deposit-history-stat,
    .withdraw-history-stat,
    .summary-tile,
    .m-users-modal-content {
        padding: 18px;
        border-radius: 18px;
    }

    th,
    td { padding: 12px 10px; }

    .dashboard-sidebar {
        width: min(328px, calc(100vw - 10px));
        max-width: calc(100vw - 10px);
        padding-inline: 12px;
    }

    .dashboard-nav {
        order: 3;
        gap: 4px;
        padding-right: 0;
        padding-bottom: 4px;
    }

    .dashboard-nav a {
        padding: 10px 12px;
        font-size: 0.91rem;
    }

    .dashboard-user-card {
        padding: 14px;
        margin-bottom: 14px;
    }

    .dashboard-sidebar-footer {
        display: none;
    }

    .dashboard-topbar-actions {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .dashboard-sidebar {
        width: calc(100vw - 6px);
        max-width: calc(100vw - 6px);
        padding-top: 18px;
        padding-inline: 10px;
    }

    .dashboard-brand {
        gap: 10px;
        margin-bottom: 18px;
    }

    .dashboard-brand img {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .dashboard-brand-name {
        font-size: 0.96rem;
    }

    .dashboard-brand-tag,
    .dashboard-user-label,
    .dashboard-kicker {
        font-size: 0.68rem;
    }

    .dashboard-nav a {
        padding: 9px 11px;
        font-size: 0.88rem;
    }

    .dashboard-mobile-actions-toggle {
        min-width: 40px;
        height: 40px;
        padding-inline: 10px;
        border-radius: 12px;
        gap: 6px;
    }

    .dashboard-mobile-actions-toggle__label {
        font-size: 0.62rem;
    }

    .dashboard-mobile-actions-menu {
        min-width: 156px;
        padding: 8px;
    }

    .dashboard-mobile-actions-menu a {
        padding: 9px 10px;
        font-size: 0.88rem;
    }
}

:root[data-theme='dark'] body.dashboard-body {
    background:
        radial-gradient(circle at top left, rgba(103, 184, 255, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(139, 255, 176, 0.12), transparent 22%),
        linear-gradient(180deg, #07111d 0%, #09131f 100%);
    color: #ecf4ff;
}

:root[data-theme='dark'] .dashboard-sidebar {
    background:
        radial-gradient(circle at top right, rgba(103, 184, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #09111f 0%, #07101c 100%);
    color: #f4f7fb;
    border-right-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme='dark'] .dashboard-brand-tag,
:root[data-theme='dark'] .dashboard-user-card span,
:root[data-theme='dark'] .dashboard-muted,
:root[data-theme='dark'] .empty-state,
:root[data-theme='dark'] .activity-list li,
:root[data-theme='dark'] .status-list li,
:root[data-theme='dark'] .tx-row,
:root[data-theme='dark'] .deposit-history-note,
:root[data-theme='dark'] .plan-referral-empty,
:root[data-theme='dark'] .email-user-meta,
:root[data-theme='dark'] .plan-sub,
:root[data-theme='dark'] .kyc-upload-file,
:root[data-theme='dark'] .dashboard-kicker,
:root[data-theme='dark'] th,
:root[data-theme='dark'] .table-card td::before,
:root[data-theme='dark'] .panel td::before,
:root[data-theme='dark'] .m-invest-table td::before,
:root[data-theme='dark'] .dark-table td::before,
:root[data-theme='dark'] table td::before {
    color: #8ea3bb;
}

:root[data-theme='dark'] .dashboard-nav a {
    color: #cbd8e7;
}

:root[data-theme='dark'] .dashboard-nav a.is-active,
:root[data-theme='dark'] .dashboard-nav a:hover {
    background: rgba(103, 184, 255, 0.16);
    color: #ffffff;
}

:root[data-theme='dark'] .dashboard-sidebar .dashboard-brand-tag,
:root[data-theme='dark'] .dashboard-sidebar .dashboard-user-label,
:root[data-theme='dark'] .dashboard-sidebar .dashboard-user-card span,
:root[data-theme='dark'] .dashboard-sidebar .dashboard-kicker {
    color: rgba(220, 232, 246, 0.78);
}

:root[data-theme='dark'] .dashboard-sidebar-footer .button-ghost {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #eff6ff;
}

:root[data-theme='dark'] .dashboard-sidebar-footer .button-ghost:hover {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.12);
}

:root[data-theme='dark'] .dashboard-mobile-actions-toggle {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(12, 20, 34, 0.96);
}

:root[data-theme='dark'] .dashboard-mobile-actions-toggle span {
    background: none;
}

:root[data-theme='dark'] .dashboard-mobile-actions-toggle__icon,
:root[data-theme='dark'] .dashboard-mobile-actions-toggle__label {
    color: #ecf4ff;
}

:root[data-theme='dark'] .dashboard-mobile-actions-menu {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(9, 17, 31, 0.98);
    box-shadow: 0 18px 40px rgba(3, 8, 16, 0.34);
}

:root[data-theme='dark'] .dashboard-mobile-actions-menu a {
    color: #ecf4ff;
}

:root[data-theme='dark'] .dashboard-mobile-actions-menu__icon {
    color: #8dc7ff;
}

:root[data-theme='dark'] .dashboard-mobile-actions-menu a:hover {
    background: rgba(103, 184, 255, 0.16);
}

:root[data-theme='dark'] .dashboard-main-area {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 220px);
}

:root[data-theme='dark'] .dashboard-menu-toggle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(10, 18, 32, 0.88);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    color: #f4f7fb;
}

:root[data-theme='dark'] .dashboard-sidebar-close {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #f4f7fb;
}

:root[data-theme='dark'] .dashboard-topbar-link,
:root[data-theme='dark'] .auth-home-link {
    color: #9fd4ff;
}

:root[data-theme='dark'] .dashboard-card,
:root[data-theme='dark'] .panel,
:root[data-theme='dark'] .wallet-hero,
:root[data-theme='dark'] .stat,
:root[data-theme='dark'] .contact-card,
:root[data-theme='dark'] .copy-block,
:root[data-theme='dark'] .table-card,
:root[data-theme='dark'] .auth-card,
:root[data-theme='dark'] .balance-card-left,
:root[data-theme='dark'] .balance-card-right,
:root[data-theme='dark'] .plan-card,
:root[data-theme='dark'] .deposit-history-stat,
:root[data-theme='dark'] .withdraw-history-stat,
:root[data-theme='dark'] .summary-tile,
:root[data-theme='dark'] .m-users-modal-content,
:root[data-theme='dark'] .profile-status-row,
:root[data-theme='dark'] .commission-summary-row,
:root[data-theme='dark'] .p2p-balance,
:root[data-theme='dark'] .withdraw-summary,
:root[data-theme='dark'] .deposit-summary,
:root[data-theme='dark'] .email-user-option,
:root[data-theme='dark'] .deposit-method,
:root[data-theme='dark'] .withdraw-method,
:root[data-theme='dark'] .plan-card.dashboard-form-grid,
:root[data-theme='dark'] .plan-stat,
:root[data-theme='dark'] .plan-referral,
:root[data-theme='dark'] .m-users-dropdown-content,
:root[data-theme='dark'] .table-card tr,
:root[data-theme='dark'] .panel tr,
:root[data-theme='dark'] .m-invest-table tr,
:root[data-theme='dark'] .dark-table tr,
:root[data-theme='dark'] table tr {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(10, 18, 32, 0.82);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

:root[data-theme='dark'] .wallet-hero,
:root[data-theme='dark'] .balance-card-left,
:root[data-theme='dark'] .balance-card-right,
:root[data-theme='dark'] .stat.gradient-orange,
:root[data-theme='dark'] .email-user-item-master .email-user-option,
:root[data-theme='dark'] .plan-icon {
    background: linear-gradient(180deg, rgba(16, 29, 49, 0.98) 0%, rgba(11, 21, 36, 0.92) 100%);
}

:root[data-theme='dark'] input,
:root[data-theme='dark'] select,
:root[data-theme='dark'] textarea,
:root[data-theme='dark'] .auth-home-link,
:root[data-theme='dark'] .email-user-empty {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(7, 17, 29, 0.88);
    color: #ecf4ff;
}

:root[data-theme='dark'] .stat-value::-webkit-scrollbar-thumb,
:root[data-theme='dark'] .wallet-balance-amount::-webkit-scrollbar-thumb,
:root[data-theme='dark'] .dashboard-big-number::-webkit-scrollbar-thumb,
:root[data-theme='dark'] .deposit-history-stat strong::-webkit-scrollbar-thumb,
:root[data-theme='dark'] .withdraw-history-stat strong::-webkit-scrollbar-thumb {
    background: rgba(159, 176, 200, 0.38);
}

:root[data-theme='dark'] .deposit-method.selected,
:root[data-theme='dark'] .withdraw-method.selected {
    border-color: #67b8ff;
    box-shadow: 0 0 0 3px rgba(103, 184, 255, 0.18);
}

:root[data-theme='dark'] th,
:root[data-theme='dark'] td,
:root[data-theme='dark'] .table-card td,
:root[data-theme='dark'] .panel td,
:root[data-theme='dark'] .m-invest-table td,
:root[data-theme='dark'] .dark-table td,
:root[data-theme='dark'] table td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme='dark'] .dark-table tbody tr:hover,
:root[data-theme='dark'] table tbody tr:hover {
    background: rgba(103, 184, 255, 0.08);
}

:root[data-theme='dark'] .slider {
    background-color: #334155;
}

:root[data-theme='dark'] .switch input:checked + .slider {
    background-color: #67b8ff;
}

:root[data-theme='dark'] .m-users-dropdown-content a,
:root[data-theme='dark'] .email-user-name,
:root[data-theme='dark'] .plan-stat-value,
:root[data-theme='dark'] .dashboard-title,
:root[data-theme='dark'] label {
    color: #ecf4ff;
}

:root[data-theme='dark'] .badge-secondary {
    color: #d1dae5;
    background: rgba(148, 163, 184, 0.16);
}

:root[data-theme='dark'] .m-users-modal-backdrop,
:root[data-theme='dark'] .dashboard-sidebar-overlay {
    background: rgba(2, 8, 16, 0.62);
}

:root[data-theme='dark'] .plan-pill {
    background: rgba(126, 231, 167, 0.12);
    color: #9df0bb;
}

:root[data-theme='dark'] .plan-duration {
    background: rgba(110, 189, 255, 0.12);
    color: #b9deff;
}

:root[data-theme='dark'] .auth-btn,
:root[data-theme='dark'] button,
:root[data-theme='dark'] .m-users-btn,
:root[data-theme='dark'] .cancel-deposit-btn,
:root[data-theme='dark'] .delete-deposit-btn,
:root[data-theme='dark'] .withdraw-approve-btn,
:root[data-theme='dark'] .withdraw-reject-btn,
:root[data-theme='dark'] .approve-deposit,
:root[data-theme='dark'] .reject-deposit,
:root[data-theme='dark'] .delete-deposit,
:root[data-theme='dark'] .copy-tr,
:root[data-theme='dark'] .transfer-commission-btn,
:root[data-theme='dark'] .transfer-all-btn,
:root[data-theme='dark'] .p2p-btn {
    color: #04111d;
}
