:root[data-workspace-theme="dark"]{--ink:#e6eeed;--muted:#9aafb0;--line:#2b4146;--paper:#0c191e;--white:#14262c;--positive:#b1dd85;--negative:#ffa6a1;color-scheme:dark;background:#0c191e;color:#e6eeed}
[data-workspace-theme="dark"] body{background:var(--paper);color:var(--ink)}
[data-workspace-theme="dark"] .workspace{background:#0c191e}
[data-workspace-theme="dark"] .sidebar{background:#0e1e24;color:#9bb1b6;border-right:1px solid #273b40}
[data-workspace-theme="dark"] .topbar,[data-workspace-theme="dark"] .metrics,[data-workspace-theme="dark"] .panel{background:#14262c;border-color:#2b4146}
[data-workspace-theme="dark"] .metric-label,[data-workspace-theme="dark"] .metric-note,[data-workspace-theme="dark"] .chart-caption,[data-workspace-theme="dark"] .chart-periods button,[data-workspace-theme="dark"] .company-desc,[data-workspace-theme="dark"] td small,[data-workspace-theme="dark"] .ticket-note,[data-workspace-theme="dark"] .dashboard-footer{color:#9aafb0}
[data-workspace-theme="dark"] .metric,[data-workspace-theme="dark"] .divider,[data-workspace-theme="dark"] .settings-section,[data-workspace-theme="dark"] .dashboard-footer,[data-workspace-theme="dark"] .tabs,[data-workspace-theme="dark"] .review-line,[data-workspace-theme="dark"] .notification-item{border-color:#2b4146}
[data-workspace-theme="dark"] .divider{background:#2b4146}
[data-workspace-theme="dark"] .btn{background:#b9f36a;color:#172b20}
[data-workspace-theme="dark"] .btn:hover{background:#a9e35b}
[data-workspace-theme="dark"] .btn.ghost{background:transparent;color:#d8e5e4;border-color:#3b555c}
[data-workspace-theme="dark"] .btn.ghost:hover{background:#223a41}
[data-workspace-theme="dark"] .btn.danger{background:#4b2b2c;color:#ffc1b8}
[data-workspace-theme="dark"] .btn.light{background:#d8e8e3;color:#172b20}
[data-workspace-theme="dark"] .icon-btn{color:#b2c5c6}
[data-workspace-theme="dark"] .icon-btn:hover{background:#263e45;color:#f1f6f5}
[data-workspace-theme="dark"] .search-trigger,[data-workspace-theme="dark"] .table-toolbar .search-input,[data-workspace-theme="dark"] .field input,[data-workspace-theme="dark"] .field textarea,[data-workspace-theme="dark"] .field select,[data-workspace-theme="dark"] .search-input{background:#0f2026;border-color:#3a535a;color:#e0eae8}
[data-workspace-theme="dark"] input::placeholder,[data-workspace-theme="dark"] textarea::placeholder{color:#869da2}
[data-workspace-theme="dark"] .tag{background:#263e45;color:#c1d1d3}
[data-workspace-theme="dark"] .tag.active,[data-workspace-theme="dark"] .tag.green,[data-workspace-theme="dark"] .tag.filled,[data-workspace-theme="dark"] .tag.approved,[data-workspace-theme="dark"] .tag.paid{background:#244331;color:#c3e9a6}
[data-workspace-theme="dark"] .tag.pending,[data-workspace-theme="dark"] .tag.open{background:#453c29;color:#edcf8c}
[data-workspace-theme="dark"] .tag.rejected,[data-workspace-theme="dark"] .tag.suspended{background:#472e32;color:#f8b1ad}
[data-workspace-theme="dark"] .tag.cancelled,[data-workspace-theme="dark"] .tag.closed{background:#2a3e47;color:#b5c7d1}
[data-workspace-theme="dark"] .mode-notice,[data-workspace-theme="dark"] .security-banner,[data-workspace-theme="dark"] .form-hint,[data-workspace-theme="dark"] .insight-strip,[data-workspace-theme="dark"] .inline-notice{background:#1b322c;border-color:#365043;color:#b4c6b3}
[data-workspace-theme="dark"] .mode-notice strong,[data-workspace-theme="dark"] .security-banner h3,[data-workspace-theme="dark"] .security-banner>.icon,[data-workspace-theme="dark"] .insight-strip>.icon{color:#c0e99b}
[data-workspace-theme="dark"] .insight-strip p,[data-workspace-theme="dark"] .form-hint small{color:#acc0ad}
[data-workspace-theme="dark"] .positive,[data-workspace-theme="dark"] .text-btn{color:#b1dd85}
[data-workspace-theme="dark"] .negative{color:#ffa6a1}
[data-workspace-theme="dark"] thead th{background:#102127;color:#a1b7bd;border-color:#2b4146}
[data-workspace-theme="dark"] tbody td{border-color:#293e44}
[data-workspace-theme="dark"] tbody tr:hover{background:#1b3239}
[data-workspace-theme="dark"] .filter-btn{background:#12252b;border-color:#344e56;color:#c0d0d2}
[data-workspace-theme="dark"] .filter-btn.active,[data-workspace-theme="dark"] .chart-periods button.active,[data-workspace-theme="dark"] .settings-nav a.active{background:#29432f;color:#c8e7aa;border-color:#47633b}
[data-workspace-theme="dark"] .tabs button{color:#a8bab8}
[data-workspace-theme="dark"] .tabs button.active{color:#c0e79e}
[data-workspace-theme="dark"] .company-logo{background:#2c4248;color:#dce7e5}
[data-workspace-theme="dark"] .company-logo.NVDA{background:#344628;color:#c5e890}
[data-workspace-theme="dark"] .company-logo.MSFT{background:#284356;color:#afd3ee}
[data-workspace-theme="dark"] .company-logo.TSLA{background:#4c3036;color:#f5b5b2}
[data-workspace-theme="dark"] .company-logo.AMZN{background:#493f2c;color:#efcf91}
[data-workspace-theme="dark"] .company-logo.GOOGL{background:#2d4636;color:#bddab5}
[data-workspace-theme="dark"] .avatar{background:#304a38;color:#d6edb8}
[data-workspace-theme="dark"] .chart-grid{stroke:#2b4146}
[data-workspace-theme="dark"] .chart-axis{fill:#97adb1}
[data-workspace-theme="dark"] .side-toggle{background:#102128}
[data-workspace-theme="dark"] .side-toggle button{color:#a3b7b5}
[data-workspace-theme="dark"] .side-toggle button.active{background:#2a4431;color:#c8e9ab}
[data-workspace-theme="dark"] .side-toggle button.active.sell{background:#4b3034;color:#ffb9b0}
[data-workspace-theme="dark"] .wallet-balance{background:#213e32;border:1px solid #3a5741}
[data-workspace-theme="dark"] .wallet-address{background:#10242b;color:#c5dfcb;border-color:#496353}
[data-workspace-theme="dark"] .empty-state .empty-icon{background:#253c31;color:#bcda9e}
[data-workspace-theme="dark"] .empty-state h3{color:#dae8dd}
[data-workspace-theme="dark"] .provider-chart{background:#14262c;border-color:#2b4146}
[data-workspace-theme="dark"] .provider-header{border-color:#2b4146}
[data-workspace-theme="dark"] .tradingview-widget-copyright{color:#b6c8b7}
[data-workspace-theme="dark"] dialog{background:#14262c;color:#e6eeed;border-color:#3a535b}
[data-workspace-theme="dark"] dialog::backdrop{background:#030c12c9}
[data-workspace-theme="dark"] .modal-head{border-color:#2b4146}
[data-workspace-theme="dark"] .form-error{background:#492d31;color:#ffc1b7}
[data-workspace-theme="dark"] .message{background:#1d353c}
[data-workspace-theme="dark"] .message.admin{background:#294333}
[data-workspace-theme="dark"] .message-head{color:#afc5b0}
[data-workspace-theme="dark"] .notification-dot{border-color:#14262c}
.appearance-options{display:flex;gap:12px;flex-wrap:wrap}.theme-toggle{flex-shrink:0}.factor-qr{width:228px;max-width:100%;margin:20px auto;background:#fff;border-radius:10px;padding:7px}.factor-qr svg{display:block;width:100%;height:auto}.factor-secret code{letter-spacing:.06em}.factor-code{letter-spacing:.1em}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:22px 0}.recovery-code{border:1px solid var(--line);border-radius:6px;padding:11px 8px;background:var(--paper);font-size:.77rem;text-align:center;overflow-wrap:anywhere;color:var(--ink)}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>nav,.sidebar-bottom,.sidebar>.brand{flex-shrink:0}
.wallet-totals{margin:0 0 22px}.wallet-totals>div{display:flex;justify-content:space-between;align-items:start;gap:14px;border-bottom:1px solid var(--line);padding:16px 0;font-size:.8rem}.wallet-totals>div:first-child{padding-top:0}.wallet-totals dt{color:var(--muted)}.wallet-totals dd{margin:0;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.wallet-totals small{display:block;font-size:.66rem;line-height:1.6;margin-top:5px}.wallet-breakdown>.panel-head>.icon{color:var(--muted)}#deposit-section,#withdraw-section{scroll-margin-top:24px}.wallet-breakdown .btn{font-size:.8rem}
.practice-details{margin-top:26px;border-top:1px solid var(--line)}.practice-details>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;cursor:pointer;list-style:none}.practice-details>summary::-webkit-details-marker{display:none}.practice-details>summary strong{display:block;font-size:.9rem}.practice-details>summary small{display:block;margin-top:7px;font-size:.75rem;color:var(--muted)}.practice-details>summary>.icon{transition:transform .2s}.practice-details[open]>summary>.icon{transform:rotate(180deg)}.practice-details>summary:hover strong{color:var(--positive)}.practice-details>summary:focus-visible{outline:2px solid var(--positive);outline-offset:4px}.practice-details-body{padding-top:4px}.practice-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-caption{font-size:.76rem}
@media(max-width:800px){.practice-metrics{grid-template-columns:1fr;gap:20px}.practice-metrics>.metric{border:0}.practice-details .panel-head{flex-wrap:wrap}.practice-notice{align-items:start}.practice-caption{font-size:.67rem}}
@media(max-height:900px){.sidebar-note{display:none}.sidebar-bottom{padding-top:16px}.sidebar .brand{margin-bottom:26px}.nav-label{margin-top:14px}.side-link{padding-top:11px;padding-bottom:11px}}
@media(max-width:640px){.topbar-actions>.tag{display:none}.recovery-codes{grid-template-columns:1fr}.recovery-code{font-size:.85rem}.theme-toggle{height:35px;width:35px}.topbar-actions{gap:3px}}
