[data-theme="dark"]{
color-scheme:dark;
scrollbar-color:#303541 #111318;
--m-surface:#1b1e26;
--m-surface-raised:#222630;
--m-surface-hover:#2b303b;
--m-control:#151820;
--m-primary:#b5a0ff;
--m-primary-hover:#cbbbff;
--m-lilac:#2c2543;
--m-ink:#f2f3f7;
--m-muted:#adb4c3;
--m-bg:#111318;
--m-line:#303541;
--m-success:#3ecf8e;
--m-warning:#e0a458;
--bg-body:#111318;
--bg-card:#1b1e26;
--bg-card-alpha:rgba(27,30,38,.94);
--bg-sidebar:#1b1e26;
--bg-topbar:rgba(27,30,38,.92);
--bg-input:#151820;
--bg-elevated:#222630;
--bg-hover:rgba(181,160,255,.08);
--card-bg:#1b1e26;
--white:#1b1e26;
--gray-50:#20242d;
--gray-100:#222630;
--gray-200:#303541;
--gray-300:#929bab;
--gray-400:#929bab;
--gray-500:#adb4c3;
--gray-600:#adb4c3;
--gray-700:#d1d6e0;
--gray-800:#f2f3f7;
--gray-900:#fafbff;
--primary:#b5a0ff;
--primary-dark:#5630ce;
--primary-light:#2c2543;
--primary-glow:rgba(105,66,232,.4);
--primary-gradient:linear-gradient(135deg,#6942e8,#7d5cf0);
--accent:#b5a0ff;
--cyan:#5ad0f5;
--cyan-alpha:rgba(90,208,245,.12);
--text:#f2f3f7;
--text-primary:#f2f3f7;
--text-secondary:#adb4c3;
--text-muted:#929bab;
--text-accent:#b5a0ff;
--border:#303541;
--border-md:#444b5c;
--border-focus:#b5a0ff;
--success:#3ecf8e;
--success-light:#123226;
--success-border:rgba(62,207,142,.35);
--warning:#e0a458;
--warning-light:#332614;
--warning-border:rgba(224,164,88,.35);
--danger:#ff7b8a;
--danger-light:#3a1a22;
--danger-border:rgba(255,123,138,.35);
--shadow-sm:0 1px 2px rgba(0,0,0,.16);
--shadow:0 4px 12px rgba(0,0,0,.45);
--shadow-md:0 8px 32px rgba(0,0,0,.55);
--shadow-glow:0 0 40px rgba(181,160,255,.18);
--shadow-card:0 8px 24px rgba(0,0,0,.16)
}

[data-theme="dark"] body{background:var(--m-bg);color:var(--m-ink)}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:var(--m-control);color:var(--m-ink)}
[data-theme="dark"] input:focus,[data-theme="dark"] select:focus,[data-theme="dark"] textarea:focus{outline:3px solid rgba(181,160,255,.24)}
[data-theme="dark"] ::selection{background:#3a2f66;color:#f4f1fb}
[data-theme="dark"]::-webkit-scrollbar,[data-theme="dark"] ::-webkit-scrollbar{width:10px;height:10px}
[data-theme="dark"]::-webkit-scrollbar-track,[data-theme="dark"] ::-webkit-scrollbar-track{background:var(--m-bg)}
[data-theme="dark"]::-webkit-scrollbar-thumb,[data-theme="dark"] ::-webkit-scrollbar-thumb{background:var(--m-line);border-radius:5px}
[data-theme="dark"]::-webkit-scrollbar-thumb:hover,[data-theme="dark"] ::-webkit-scrollbar-thumb:hover{background:var(--border-md)}
[data-theme="dark"] .m-skip{background:var(--m-surface-raised);color:var(--m-ink);border:1px solid var(--m-line)}

[data-theme="dark"] .m-btn-primary{background:#6942e8;color:#fff}
[data-theme="dark"] .m-btn-primary:hover{background:#7d5cf0;color:#fff}
[data-theme="dark"] .m-btn-white{background:var(--m-ink);color:var(--m-bg)}
[data-theme="dark"] .m-btn-white:hover{background:#dcd5ee;color:var(--m-bg)}
[data-theme="dark"] .m-btn-dark{background:var(--m-surface-hover);color:var(--m-ink)}
[data-theme="dark"] .m-btn-dark:hover{background:var(--m-line);color:var(--m-ink)}
[data-theme="dark"] .m-btn-secondary{background:var(--m-surface-raised);border-color:var(--border-md);color:var(--m-ink)}
[data-theme="dark"] .m-btn-secondary:hover{background:var(--m-surface-hover)}
[data-theme="dark"] .m-btn-gray{background:var(--m-control);color:var(--m-muted);border-color:var(--m-line)}
[data-theme="dark"] .m-btn-gray:hover{background:var(--m-surface-hover)}

[data-theme="dark"] .m-badge{background:var(--m-surface-hover);color:#b7aecd}
[data-theme="dark"] .m-badge.violet{background:var(--m-lilac);color:#c3a4f0}
[data-theme="dark"] .m-badge.green{background:#123226;color:#3ecf8e}
[data-theme="dark"] .m-badge.orange{background:#332614;color:#e0a458}
[data-theme="dark"] .m-badge.gray{background:var(--m-control);color:var(--m-muted)}

[data-theme="dark"] .m-sidebar{background:var(--m-surface)}
[data-theme="dark"] .m-team-avatar{background:var(--m-lilac);color:#c3a4f0}
[data-theme="dark"] .m-nav-label{color:var(--text-muted)}
[data-theme="dark"] .m-sidebar nav a{color:var(--m-muted)}
[data-theme="dark"] .m-sidebar nav a:hover{background:var(--m-control);color:var(--m-primary)}
[data-theme="dark"] .m-sidebar nav a[aria-current=page]{background:var(--m-lilac);color:var(--m-primary)}
[data-theme="dark"] .m-sidebar nav a .m-nav-count{background:#2f2750;color:#c3a4f0}
[data-theme="dark"] .m-sidebar-bottom .m-side-help{background:var(--m-surface-raised);color:var(--m-muted)}
[data-theme="dark"] .m-side-help b{color:var(--m-ink)}
[data-theme="dark"] .m-side-site{color:var(--m-muted)}
[data-theme="dark"] .m-topbar{background:var(--m-surface)}
[data-theme="dark"] .m-breadcrumb{color:var(--m-muted)}
[data-theme="dark"] .m-breadcrumb b{color:var(--m-ink)}
[data-theme="dark"] .m-profile-avatar{background:var(--m-lilac);color:#c3a4f0}
[data-theme="dark"] .m-profile small{color:var(--m-muted)}
[data-theme="dark"] .m-reset{color:var(--m-muted)}
[data-theme="dark"] .m-reset:hover{color:var(--m-primary)}
[data-theme="dark"] .m-mobile-toggle{background:var(--m-surface-raised);border-color:var(--m-line)}
[data-theme="dark"] .m-backdrop.open{background:rgba(8,6,14,.62)}

[data-theme="dark"] .m-demo-notice{background:var(--m-lilac);border-color:var(--border-md);color:#c3a4f0}
[data-theme="dark"] .m-demo-notice b{color:#d9c8ff}
[data-theme="dark"] .m-date{background:var(--m-surface-raised);color:var(--m-muted)}
[data-theme="dark"] .m-metric{background:var(--m-surface)}
[data-theme="dark"] .m-metric:not(.balance) .m-metric-label{color:var(--m-muted)}
[data-theme="dark"] .m-metric:not(.balance) .m-metric-value small{color:var(--m-muted)}
[data-theme="dark"] .m-metric.balance .m-metric-label{color:#e6dbfd}
[data-theme="dark"] .m-metric.balance .m-metric-value small{color:#e9dcff}
[data-theme="dark"] .m-metric.balance .m-metric-foot{color:#f2eaff}
[data-theme="dark"] .m-card{background:var(--m-surface)}

[data-theme="dark"] .m-segments button{color:var(--m-muted)}
[data-theme="dark"] .m-segments button[aria-pressed=true]{background:var(--m-lilac);color:var(--m-primary)}
[data-theme="dark"] .m-chart-total small{color:var(--m-muted)}
[data-theme="dark"] .m-chart-legend{border-top-color:var(--m-line)}
[data-theme="dark"] .m-quick-row{border-bottom-color:var(--m-line)}
[data-theme="dark"] .m-quick-icon{background:var(--m-lilac);color:var(--m-primary)}
[data-theme="dark"] .m-help-note{background:var(--m-surface-raised)}
[data-theme="dark"] .m-help-note b{color:var(--gray-700)}
[data-theme="dark"] .m-metric-foot,[data-theme="dark"] .m-chart-description,[data-theme="dark"] .m-chart-dates,[data-theme="dark"] .m-chart-labels,[data-theme="dark"] .m-chart-legend,[data-theme="dark"] .m-table th,[data-theme="dark"] .m-table td small,[data-theme="dark"] .m-table-foot,[data-theme="dark"] .m-definition dt,[data-theme="dark"] .m-detail-sub,[data-theme="dark"] .m-explanation,[data-theme="dark"] .m-quick-row p,[data-theme="dark"] .m-profile small,[data-theme="dark"] .m-team small,[data-theme="dark"] .m-nav-label{color:var(--m-muted)}

[data-theme="dark"] .m-table td{border-bottom-color:var(--m-line)}
[data-theme="dark"] .m-table tbody tr:hover{background:var(--m-surface-raised)}
[data-theme="dark"] .m-table td a{color:var(--m-primary)}
[data-theme="dark"] .m-direction .m-icon{background:var(--m-lilac);color:#c3a4f0}
[data-theme="dark"] .m-bank-dot{background:#123226;color:#3ecf8e}
[data-theme="dark"] .m-tabs a{color:var(--m-muted)}
[data-theme="dark"] .m-detail-total small{color:var(--m-muted)}
[data-theme="dark"] .m-definition div{border-bottom-color:var(--m-line)}
[data-theme="dark"] .m-payment-info{background:var(--m-control);border-color:var(--border-md);color:var(--m-muted)}
[data-theme="dark"] .m-payment-number{color:#c3a4f0}
[data-theme="dark"] .m-payment-number button{background:var(--m-surface-hover);border-color:var(--border-md);color:var(--m-primary)}
[data-theme="dark"] .m-receipt{background:var(--m-surface-raised);border-color:var(--border-md)}
[data-theme="dark"] .m-receipt p{color:var(--m-muted)}
[data-theme="dark"] .m-step-line{border-left-color:var(--border-md)}
[data-theme="dark"] .m-step-line:before{background:var(--border-md);border-color:var(--m-surface);box-shadow:0 0 0 1px var(--border-md)}
[data-theme="dark"] .m-step-line small{color:var(--m-muted)}

[data-theme="dark"] .m-empty{color:var(--m-muted)}
[data-theme="dark"] .m-empty b{color:var(--m-ink)}
[data-theme="dark"] .m-toast{background:var(--m-surface-hover);box-shadow:0 14px 34px rgba(0,0,0,.5)}
[data-theme="dark"] .m-modal{background:var(--m-surface);border-color:var(--m-line)}
[data-theme="dark"] .m-modal::backdrop{background:rgba(8,6,14,.72)}
[data-theme="dark"] .m-modal p{color:var(--m-muted)}
[data-theme="dark"] .m-error{background:#3a1a22;color:#ff7b8a;border-color:#5c2a34}
[data-theme="dark"] .m-error.m-ok{background:#123226;color:#3ecf8e;border-color:#1e4c3a}
[data-theme="dark"] .m-error.m-ok a{color:#3ecf8e}

[data-theme="dark"] .m-auth{background:var(--m-bg)}
[data-theme="dark"] .m-auth-art .m-logo{background:var(--m-surface);color:var(--m-ink)}
[data-theme="dark"] .m-auth-card>p{color:var(--m-muted)}
[data-theme="dark"] .m-auth-footer{color:var(--m-muted)}
[data-theme="dark"] .m-auth-back{color:var(--m-muted)}
[data-theme="dark"] .m-demo-enter{background:var(--m-surface-raised);border-color:var(--m-line)}
[data-theme="dark"] .m-demo-enter p{color:var(--m-muted)}

[data-theme="dark"] .m-simulation{background:var(--m-surface)}
[data-theme="dark"] .m-simulation p{color:var(--m-muted)}
[data-theme="dark"] .m-order-card{background:var(--m-surface)}
[data-theme="dark"] .m-order-card .m-order-action a{color:var(--m-primary)}
[data-theme="dark"] .m-action-group h3{color:var(--gray-700)}
[data-theme="dark"] .m-action-placeholder{background:var(--m-surface-raised);color:var(--m-muted)}
[data-theme="dark"] .m-receipt-upload-dropzone{background:var(--m-surface-raised)}
[data-theme="dark"] .m-receipt-upload-dropzone:hover{background:var(--m-lilac)}
[data-theme="dark"] .m-receipt-upload-dropzone.m-dropzone-drag{background:#332a55}
[data-theme="dark"] .m-dropzone-content p{color:var(--gray-700)}
[data-theme="dark"] .m-dropzone-content small{color:var(--m-muted)}
[data-theme="dark"] .m-receipt-file-info{background:var(--m-surface-raised)}
[data-theme="dark"] .m-receipt-file-size,[data-theme="dark"] .m-receipt-file-type{background:var(--m-surface-hover);color:var(--m-muted)}
[data-theme="dark"] .m-receipt-error{background:#3a1a22;color:#ff7b8a;border-color:#5c2a34}

[data-theme="dark"] .m-verify-gate{background:rgba(10,8,16,.62)}
[data-theme="dark"] .m-verify-card{background:var(--m-surface);border-color:var(--m-line);box-shadow:0 26px 70px rgba(0,0,0,.5)}
[data-theme="dark"] .m-verify-card label{color:var(--m-muted)}
[data-theme="dark"] .m-verify-card input{background:var(--m-control);color:var(--m-ink)}
[data-theme="dark"] .m-verify-card input:focus{background:var(--m-surface-hover)}
[data-theme="dark"] .m-verify-error{background:#3a1a22;color:#ff7b8a;border-color:#5c2a34}
[data-theme="dark"] .m-verify-label{color:var(--m-muted)}
[data-theme="dark"] .m-verify-code{background:var(--m-control);border-color:var(--border-md);color:var(--m-primary)}
[data-theme="dark"] .m-verify-code:hover{background:var(--m-surface-hover)}
[data-theme="dark"] .m-verify-code.m-verify-copied{background:#123226;border-color:#2e7d57;color:#3ecf8e}
[data-theme="dark"] .m-verify-note{color:var(--m-muted)}

[data-theme="dark"] .m-page .table-card thead th{background:var(--m-surface-raised)}
[data-theme="dark"] .m-page table thead th{background:var(--m-surface-raised)}
[data-theme="dark"] .m-page .modal-content{background:var(--m-surface);color:var(--m-ink)}
[data-theme="dark"] .m-page .info-box{background:var(--m-control);border-color:var(--border-md)}
[data-theme="dark"] .m-page .filter-sel{background:var(--m-control)}
[data-theme="dark"] .m-workspace .m-sidebar nav a.active{background:var(--m-lilac);color:var(--m-primary)}
[data-theme="dark"] .modal-overlay{background:rgba(8,6,14,.72)}
[data-theme="dark"] .modal{background:var(--m-surface)}
[data-theme="dark"] .modal-floating-close{background:rgba(27,30,38,.94)}
[data-theme="dark"] .form-control,[data-theme="dark"] .form-input{background:var(--m-control);border-color:var(--border-md);color:var(--m-ink)}
[data-theme="dark"] input:focus,[data-theme="dark"] select:focus,[data-theme="dark"] textarea:focus,[data-theme="dark"] .form-control:focus,[data-theme="dark"] .form-input:focus{border-color:var(--m-primary);box-shadow:0 0 0 3px rgba(181,160,255,.24)}

[data-theme="dark"] .act-badge.login{background:#123226;color:#3ecf8e}
[data-theme="dark"] .act-badge.logout{background:#3a1a22;color:#ff7b8a}
[data-theme="dark"] .act-badge.page_view{background:#17263d;color:#7ec8f5}
[data-theme="dark"] .act-badge.account_created{background:var(--m-lilac);color:#c3a4f0}

[data-theme="dark"] .p2p-nav-btn:hover{background:rgba(255,255,255,.07)}
[data-theme="dark"] .p2p-nav-btn.active{background:var(--m-surface-hover)}
[data-theme="dark"] .p2p-nav-btn .tab-badge{background:#c2374a;color:#fff}
[data-theme="dark"] .user-found-pill{background:#123226;border-color:#1e4c3a}
[data-theme="dark"] .user-error-pill{border-color:rgba(255,123,138,.45)}
[data-theme="dark"] .pending-panel .order-card.urgent{background:#1e1a33;box-shadow:0 0 0 3px rgba(181,160,255,.14)}
[data-theme="dark"] .pending-panel .order-card.urgent-orange{background:#2b2318;box-shadow:0 0 0 3px rgba(224,164,88,.14)}
[data-theme="dark"] .btn-ok{background:#177a52;color:#f2fff9}
[data-theme="dark"] .btn-ok.blue{background:#6942e8;color:#fff}
[data-theme="dark"] .btn-ok.orange{background:#8a5c17;color:#fff6e6}
[data-theme="dark"] .form-footer .btn-create{background:#6942e8;color:#fff}
[data-theme="dark"] .badge-pending{background:#332614;color:#e0a458}
[data-theme="dark"] .badge-uploaded{background:#17263d;color:#7ec8f5}
[data-theme="dark"] .badge-done{background:#123226;color:#3ecf8e}
[data-theme="dark"] .badge-payout{background:#332614;color:#e0a458}
[data-theme="dark"] .badge-paid{background:#123226;color:#3ecf8e}
[data-theme="dark"] .badge-cancel{background:#3a1a22;color:#ff7b8a}
[data-theme="dark"] .receipt-link:hover{background:#2f2750}
[data-theme="dark"] .field input:focus,[data-theme="dark"] .field select:focus,[data-theme="dark"] .field textarea:focus{box-shadow:0 0 0 3px rgba(181,160,255,.24)}
[data-theme="dark"] .copy-btn:hover{background:#6942e8;color:#fff}
[data-theme="dark"] .btn-ghost.red{border-color:rgba(255,123,138,.5)}

[data-theme="dark"] .btn-approve{color:#4ade80}
[data-theme="dark"] .btn-reject{color:#ff9a9a}
[data-theme="dark"] .b-rejected{color:#a8a2b5}

[data-theme="dark"] .label-required{color:#ff7b8a}

[data-theme="dark"] .status-pending{background:#332614;color:#e0a458}
[data-theme="dark"] .status-broadcasted{background:#17263d;color:#7ec8f5}
[data-theme="dark"] .status-failed{background:#3a1a22;color:#ff7b8a}
[data-theme="dark"] .status-default{background:var(--m-control);color:var(--m-muted)}
[data-theme="dark"] .role-warning{color:#ff7b8a}

[data-theme="dark"] .stage-pending{background:#242b38;color:#8b93a5}

[data-theme="dark"] .badge-waiting,[data-theme="dark"] .badge-payout{background:rgba(224,164,88,.12);border-color:rgba(224,164,88,.38);color:#efb45f}
[data-theme="dark"] .badge-done,[data-theme="dark"] .badge-paid{background:rgba(62,207,142,.11);border-color:rgba(62,207,142,.36);color:#4fd7a1}
[data-theme="dark"] .badge-cancel{background:rgba(255,123,138,.11);border-color:rgba(255,123,138,.36);color:#ff8b99}
[data-theme="dark"] .badge-uploaded{background:rgba(90,208,245,.11);border-color:rgba(90,208,245,.36);color:#72d7f7}
[data-theme="dark"] .m-badge{background:var(--m-surface-hover);color:var(--gray-700)}
[data-theme="dark"] .m-badge.violet{background:rgba(181,160,255,.14);color:#c9b5ff}
[data-theme="dark"] .m-badge.green{background:rgba(62,207,142,.12);color:#4fd7a1}
[data-theme="dark"] .m-badge.orange{background:rgba(224,164,88,.13);color:#efb45f}
[data-theme="dark"] .m-badge.gray{background:var(--m-surface-hover);color:var(--m-muted)}
[data-theme="dark"] .m-btn-gray{background:transparent;border-color:var(--m-line);color:var(--m-muted)}
[data-theme="dark"] .m-btn-gray:hover{background:var(--m-control);color:var(--m-ink)}
[data-theme="dark"] .m-demo-notice{background:rgba(181,160,255,.10);border-color:rgba(181,160,255,.30);color:var(--gray-700)}
[data-theme="dark"] .m-table tbody tr:hover td{background:rgba(181,160,255,.05)}
[data-theme="dark"] .m-sidebar nav a[aria-current=page]{background:rgba(181,160,255,.14);color:#c9b5ff}

/* Workspace hierarchy: neutral surfaces, restrained accents, readable data. */
[data-theme="dark"] .m-workspace{--m-radius:16px;--m-font:'DM Sans',Arial,sans-serif;--font-primary:'DM Sans',Arial,sans-serif}
[data-theme="dark"] .m-sidebar,[data-theme="dark"] .m-topbar{background:#16191f}
[data-theme="dark"] .m-card,[data-theme="dark"] .m-metric{box-shadow:var(--shadow-card)}
[data-theme="dark"] .m-theme-toggle,[data-theme="dark"] .m-quick-theme{background:var(--m-surface-raised);border-color:var(--m-line);color:var(--m-muted)}
[data-theme="dark"] .m-theme-toggle:hover,[data-theme="dark"] .m-quick-theme:hover{border-color:var(--m-primary);color:var(--m-primary)}
[data-theme="dark"] .m-metric.balance{background:linear-gradient(125deg,#332657,#242037);border-color:#524075}
[data-theme="dark"] .m-metric.balance:after{width:130px;height:130px;border-width:20px;border-color:rgba(181,160,255,.06)}
[data-theme="dark"] .m-metric-value{font-size:clamp(24px,2.1vw,32px);font-variant-numeric:tabular-nums;letter-spacing:-.7px}
[data-theme="dark"] .m-metric-label{font-size:12px}
[data-theme="dark"] .m-metric-label .m-icon{color:var(--m-primary);opacity:.85}
[data-theme="dark"] .m-metric-foot{font-size:11px}
[data-theme="dark"] .m-page-heading p{font-size:13px}
[data-theme="dark"] .m-card-heading h2{font-size:16px;letter-spacing:-.02em}
[data-theme="dark"] .m-card-heading a{font-size:12px}
[data-theme="dark"] .m-demo-notice{background:var(--m-surface);border-color:var(--m-line);color:var(--m-muted);font-size:11px}
[data-theme="dark"] .m-demo-notice b{color:var(--gray-700)}
[data-theme="dark"] .m-segments{background:var(--m-control)}
[data-theme="dark"] .m-segments button{font-size:11px;padding:6px 10px}
[data-theme="dark"] .m-chart-total{font-size:30px}
[data-theme="dark"] .m-chart-total small,[data-theme="dark"] .m-chart-description,[data-theme="dark"] .m-chart-dates,[data-theme="dark"] .m-chart-labels,[data-theme="dark"] .m-chart-legend{font-size:11px}
[data-theme="dark"] .m-chart-layout{padding-right:46px}
[data-theme="dark"] .m-chart-grid{stroke:var(--m-line)}
[data-theme="dark"] .m-chart-buy{fill:var(--m-primary)}
[data-theme="dark"] .m-chart-sell{fill:#69cbb8}
[data-theme="dark"] .m-chart-legend span:before{background:var(--m-primary);width:8px;height:8px}
[data-theme="dark"] .m-chart-legend span:last-child:before{background:#69cbb8}
[data-theme="dark"] .m-quick-row{padding:12px 0}
[data-theme="dark"] .m-quick-row b{font-size:13px;font-weight:600}
[data-theme="dark"] .m-quick-row p,[data-theme="dark"] .m-help-note{font-size:11px;color:var(--m-muted)}
[data-theme="dark"] .m-quick-row:hover b,[data-theme="dark"] .m-quick-row:hover>span:last-child{color:var(--m-primary)}
[data-theme="dark"] .m-quick-icon{flex:none}
[data-theme="dark"] .m-table{font-size:13px;font-variant-numeric:tabular-nums}
[data-theme="dark"] .m-table td{padding:17px 14px;vertical-align:middle}
[data-theme="dark"] .m-table td small{font-size:11px;color:var(--m-muted)}
[data-theme="dark"] .m-table th{font-size:10px;letter-spacing:.05em;padding:12px 14px;background:var(--m-surface-raised)}
[data-theme="dark"] .m-table tbody tr:hover td{background:var(--m-surface-raised)}
[data-theme="dark"] .m-table .m-money{font-family:var(--m-font);font-weight:600}
[data-theme="dark"] .m-table-foot{font-size:11px;flex-wrap:wrap;gap:8px}
[data-theme="dark"] .m-badge{font-size:11px;padding:5px 9px;border-radius:6px}
[data-theme="dark"] .m-badge:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%;flex:none}
[data-theme="dark"] .m-direction-buy .m-bank-dot{background:rgba(181,160,255,.12);color:var(--m-primary)}
[data-theme="dark"] .m-direction-sell .m-bank-dot{background:rgba(105,203,184,.12);color:#69cbb8}
[data-theme="dark"] .m-filters label{font-size:12px;color:var(--m-muted)}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:var(--text-muted);opacity:1}

@media(min-width:768px){
  [data-theme="dark"] .m-table .m-money,[data-theme="dark"] .m-table .m-money-heading{text-align:right}
  [data-theme="dark"] .m-table .m-money{padding-right:24px}
  [data-theme="dark"] .m-page table:not(.m-table) thead th{padding:13px 14px;background:var(--m-surface-raised);color:var(--m-muted)}
  [data-theme="dark"] .m-page table:not(.m-table) tbody td{padding:14px;vertical-align:middle}
}
@media(max-width:767px){
  [data-theme="dark"] .m-card.m-orders-card{background:transparent;box-shadow:none}
  [data-theme="dark"] .m-orders-card .m-filters{padding:16px;background:var(--m-surface);border:1px solid var(--m-line);border-radius:14px;gap:14px}
  [data-theme="dark"] .m-order-card .m-order-row:first-child .m-order-label{display:block;margin-bottom:5px}
  [data-theme="dark"] .m-order-card .m-order-value small{color:var(--m-muted);font-size:11px}
}
@media(min-width:1001px) and (max-width:1180px){
  [data-theme="dark"] .m-metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:767px){
  [data-theme="dark"] .m-page-heading{flex-wrap:wrap}
  [data-theme="dark"] .m-page-heading h1{font-size:25px}
  [data-theme="dark"] .m-page-heading p{font-size:12px;max-width:none}
  [data-theme="dark"] .m-date{font-size:10px}
  [data-theme="dark"] .m-metric-label,[data-theme="dark"] .m-metric-foot{font-size:10px}
  [data-theme="dark"] .m-metric-value{font-size:clamp(20px,6vw,24px)}
  [data-theme="dark"] .m-metric-value small{font-size:10px}
  [data-theme="dark"] .m-quick-actions{grid-template-columns:1fr}
  [data-theme="dark"] .m-table-responsive tr{padding:18px 0;gap:14px 12px}
  [data-theme="dark"] .m-table-responsive td{padding:0;font-size:12px}
  [data-theme="dark"] .m-table-responsive td:before{color:var(--m-muted);font-size:10px}
  [data-theme="dark"] .m-table-responsive tbody tr:hover td{background:transparent}
  [data-theme="dark"] .m-table-responsive td:first-child{padding-right:22px}
  [data-theme="dark"] .m-table td small{font-size:10px}
  [data-theme="dark"] .m-table th{background:transparent}
  [data-theme="dark"] .m-filters input,[data-theme="dark"] .m-filters select{font-size:13px}
  [data-theme="dark"] .m-order-card .m-order-row .m-order-label{color:var(--m-muted);font-size:11px}
  [data-theme="dark"] .m-order-card .m-order-value{font-size:13px;font-variant-numeric:tabular-nums}
  [data-theme="dark"] .m-order-card .m-order-action a{font-size:12px}
}
