/* Тёмная тема. Файл собирается tools/build_dark_theme.py — правки вносить в скрипт. */
/* Переключатель темы */
.theme-toggle{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid var(--line,#e5e7eb);border-radius:10px;background:#fff;color:#4b5563;cursor:pointer;flex:none}
.theme-toggle:hover{background:#f3f0ff;color:#6d28d9}
.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* на страницах без верхней панели — в правом нижнем углу (сверху справа там поиск и кнопки страницы) */
.theme-toggle.in-header{margin-left:12px;align-self:center}
.theme-toggle.floating{position:fixed;bottom:16px;right:16px;z-index:1000;box-shadow:0 2px 10px rgba(17,24,39,.12)}
html.theme-dark .theme-toggle{background:#17233a;border-color:#26354f;color:#c9d4e6}
html.theme-dark .theme-toggle:hover{background:#1f2f4d;color:#fff}
html.theme-dark{color-scheme:dark;background:#0a1220}
html.theme-dark body{background:#0a1220;color:#e6ecf5}
html.theme-dark ::selection{background:#2f6fd0;color:#fff}
html.theme-dark ::-webkit-scrollbar-thumb{background:#26354f}
html.theme-dark ::-webkit-scrollbar-track{background:transparent}

/* ---- style.css ---- */
html.theme-dark{--bg:#0c131f;--panel:#111b2b;--ink:#cad1dd;--muted:#8d9cb6;--line:#202b3f;--nav:#1d3a49;--teal:#329a8b;--teal-soft:#223029;--red:#ba6464;--red-soft:#312020;--shadow:0 2px 5px rgba(0,0,0,0.157)}
html.theme-dark input,html.theme-dark select,html.theme-dark textarea{border:1px solid #1f2a3d;background:#111b2b}
html.theme-dark input:focus,html.theme-dark select:focus,html.theme-dark textarea:focus{outline:3px solid rgba(54,176,158,0.094)}
html.theme-dark button:focus-visible,html.theme-dark a:focus-visible,html.theme-dark summary:focus-visible{outline:3px solid #6caa99}
html.theme-dark label{color:#9eabc1}
html.theme-dark .brand{color:#ffffff}
html.theme-dark .brand-symbol{background:#6ab398}
html.theme-dark .sidebar-caption{color:#8998b3}
html.theme-dark .nav-link{color:#6a7ea0}
html.theme-dark .nav-link:hover{background:rgba(17,27,43,0.047);color:#ffffff}
html.theme-dark .nav-link.active{background:#4f7d76}
html.theme-dark .network-caption{color:#7a8caa;border-bottom:1px solid rgba(35,47,67,0.075)}
html.theme-dark .network-caption i{background:#6cb29a}
html.theme-dark .avatar{border:1px solid #52617a}
html.theme-dark .sidebar-user div>span{color:#7c8dab}
html.theme-dark .logout{color:#7385a5}
html.theme-dark .eyebrow{color:#8a9ab4}
html.theme-dark .button.primary{color:#ffffff;box-shadow:0 2px 3px rgba(50,154,139,0.102)}
html.theme-dark .button.primary:hover:not(:disabled){background:#319b8d}
html.theme-dark .button.secondary{background:#111b2b;border-color:#1f2a3d;color:#b3bdcf}
html.theme-dark .button.secondary:hover:not(:disabled){background:#0c131f}
html.theme-dark .button.danger{border-color:#6f2a2a}
html.theme-dark .button.reset-button{color:#91a0b9}
html.theme-dark .metric{background:#111b2b}
html.theme-dark .metric>span{color:#8d9cb6}
html.theme-dark .metric>small{color:#7e8fad}
html.theme-dark .count-badge{background:#1b283d;color:#98a6bd}
html.theme-dark .filter-bar select,html.theme-dark .filter-bar input{background:rgba(17,27,43,0.8)}
html.theme-dark .table-card{background:#111b2b}
html.theme-dark th{color:#8a99b4;background:#0c131f}
html.theme-dark td{border-bottom:1px solid #212c40}
html.theme-dark tbody tr:hover{background:#0c131f}
html.theme-dark .secondary-line{color:#7e8fad}
html.theme-dark .chain-badge:before{background:#3d4b65}
html.theme-dark .badge.income{color:#89d2bd;background:#223027}
html.theme-dark .badge.expense{color:#d08d8b;background:#302322}
html.theme-dark .badge.self{color:#9cacbf;background:#23282f}
html.theme-dark .internal-tag{color:#8797b2}
html.theme-dark .copy-address{color:#a6b2c6}
html.theme-dark .copy-address:after{color:#7487a6}
html.theme-dark .transaction-source{color:#7d8eac}
html.theme-dark .transactions-table select{border-color:#202b3e;background:#0c131f}
html.theme-dark .transactions-table textarea{border-color:#202b3e;background:#0c131f}
html.theme-dark .row-status{color:#8393b0}
html.theme-dark .row-dirty{background:#0c131f!important}
html.theme-dark .table-footer{color:#8696b2}
html.theme-dark .footnote{color:#8394b0}
html.theme-dark .empty-cell{color:#8494b0}
html.theme-dark .empty-cell strong{color:#9daac1}
html.theme-dark .unit-label{color:#8595b1}
html.theme-dark .content-card{background:#111b2b}
html.theme-dark .advanced{color:#8e9db6}
html.theme-dark .wallet-icon{background:#1a263a;color:#92a1b9}
html.theme-dark .wallet-status{color:#8091ae}
html.theme-dark .empty-state{color:#8998b3}
html.theme-dark .card-symbol{background:#0c131f;color:#8b9ab5}
html.theme-dark .card-heading p{color:#8595b1}
html.theme-dark .field-help{color:#8596b1}
html.theme-dark .subtle-status{background:#192538}
html.theme-dark .subtle-status.warning{color:#d1b88a;background:#332c1f}
html.theme-dark .workspace-footer{color:#7588a7}
html.theme-dark .notice.error{color:#ce8c8c;background:#321f1f;border:1px solid #6f2a2a}
html.theme-dark .toast{color:#ffffff;background:#22443a;box-shadow:0 5px 25px rgba(0,0,0,0.333)}
html.theme-dark .toast.error{background:#955151}
html.theme-dark dialog{border:1px solid #202a3d;box-shadow:0 20px 90px rgba(0,0,0,0.471)}
html.theme-dark dialog::backdrop{background:rgba(30,61,72,0.502)}
html.theme-dark .icon-button{color:#8999b4}
html.theme-dark .dialog-help{color:#8595b1}
html.theme-dark .subcategory-chip{background:#0c131f;color:#95a3bb}
html.theme-dark .subcategory-chip button{color:#8394b0}
html.theme-dark .login-body{background:#1a2539}
html.theme-dark .login-shell{box-shadow:0 16px 70px rgba(0,0,0,0.176);background:#111b2b}
html.theme-dark .login-intro{color:#ffffff}
html.theme-dark .login-intro:after{color:rgba(255,255,255,0.012)}
html.theme-dark .login-intro-content .eyebrow{color:#95c6b3}
html.theme-dark .login-intro p{color:#7587a7}
html.theme-dark .login-networks span{color:#9cbfb1;border:1px solid #52617a}
html.theme-dark .login-intro-footer{color:#8b9ab5}
html.theme-dark .login-subtitle{color:#8595b1}
html.theme-dark .login-footnote{color:#7688a7}
html.theme-dark .copy-address:after{box-shadow:2px -2px 0 -1px #111b2b,2px -2px 0 0 currentColor}
html.theme-dark{--bg:#0c131f;--panel:#111b2b;--ink:#cdd3df;--muted:#8897b3;--line:#212c3f;--nav:#111b2b;--shadow:0 2px 8px rgba(0,0,0,0.029)}
html.theme-dark .sidebar{background:#111b2b;color:#c2cad8}
html.theme-dark .brand{color:#cbd2dd}
html.theme-dark .brand-symbol{background:#2a3a57;color:#ffffff}
html.theme-dark .brand-light{color:#8192af}
html.theme-dark .sidebar-caption{color:#7486a6}
html.theme-dark .nav-link{color:#8d9cb6}
html.theme-dark .nav-link:hover{background:#0c131f;color:#c6cdda}
html.theme-dark .nav-link.active{color:#ccd3de;background:#1a2539}
html.theme-dark .network-caption{color:#7f90ad;border-bottom-color:#212d40}
html.theme-dark .network-caption i{background:#3d4c66}
html.theme-dark .avatar{color:#94a2ba;border-color:#202b3e;background:#0c131f}
html.theme-dark .sidebar-user div>span{color:#7a8baa}
html.theme-dark .logout{color:#7e8fad}
html.theme-dark .logout:hover{color:#c9d0dc}
html.theme-dark .eyebrow{color:#7a8caa}
html.theme-dark .page-header p{color:#8494b0}
html.theme-dark label{color:#92a0b9}
html.theme-dark input,html.theme-dark select,html.theme-dark textarea{border-color:#202b3e;color:#bfc8d6}
html.theme-dark input:focus,html.theme-dark select:focus,html.theme-dark textarea:focus{outline:3px solid rgba(82,97,122,0.067);border-color:#52617a}
html.theme-dark button:focus-visible,html.theme-dark a:focus-visible,html.theme-dark summary:focus-visible{outline-color:#52617a}
html.theme-dark .button.primary{background:#2b3d5a;border-color:#52617a;box-shadow:0 2px 4px rgba(0,0,0,0.127)}
html.theme-dark .button.primary:hover:not(:disabled){background:#262f40}
html.theme-dark .button.secondary{border-color:#202b3e;color:#9daac0}
html.theme-dark .button.secondary:hover:not(:disabled){background:#0c131f}
html.theme-dark .button.reset-button{color:#7e8fad}
html.theme-dark .metric{box-shadow:0 3px 14px rgba(0,0,0,0.029)}
html.theme-dark .metric>span{color:#8494b0}
html.theme-dark .metric>small{color:#7385a5}
html.theme-dark .count-badge{background:#1a2539;color:#8393b0}
html.theme-dark th{color:#7f90ad;background:#0c131f}
html.theme-dark td{border-bottom-color:#212d41}
html.theme-dark tbody tr:hover{background:#111b2b}
html.theme-dark .secondary-line{color:#7b8dab}
html.theme-dark .internal-tag{color:#7a8caa}
html.theme-dark .copy-address{color:#93a1ba}
html.theme-dark .transaction-source{color:#7688a7}
html.theme-dark .transactions-table select,html.theme-dark .transactions-table textarea{border-color:#212c40;background:#111b2b}
html.theme-dark .row-status{color:#7d8eac}
html.theme-dark .table-footer{color:#7e8fad}
html.theme-dark .footnote,html.theme-dark .unit-label,html.theme-dark .field-help,html.theme-dark .dialog-help{color:#7c8dab}
html.theme-dark .empty-cell{color:#7c8dab}
html.theme-dark .empty-cell strong{color:#92a1b9}
html.theme-dark .advanced{color:#8494b0}
html.theme-dark .wallet-icon,html.theme-dark .card-symbol{background:#0c131f;color:#7c8dab}
html.theme-dark .wallet-status,html.theme-dark .card-heading p{color:#7b8caa}
html.theme-dark .empty-state{color:#7d8fac}
html.theme-dark .workspace-footer{color:#6d80a1}
html.theme-dark .toast{background:#2e4060}
html.theme-dark dialog{border-color:#202b3e;box-shadow:0 20px 90px rgba(0,0,0,0.314)}
html.theme-dark dialog::backdrop{background:rgba(39,49,63,0.349)}
html.theme-dark .subcategory-chip{background:#0c131f;color:#8b9ab5}
html.theme-dark .subcategory-chip button{color:#7d8eac}
html.theme-dark .login-body{background:#0c131f}
html.theme-dark .login-shell{border:1px solid #202c3f;box-shadow:0 20px 80px rgba(0,0,0,0.078)}
html.theme-dark .login-intro{background:#0c131f;color:#c8cfdc;border-right:1px solid #212c3f}
html.theme-dark .login-intro:after{color:rgba(200,207,220,0.016)}
html.theme-dark .login-intro-content .eyebrow{color:#7588a7}
html.theme-dark .login-intro p{color:#7c8dab}
html.theme-dark .login-networks span{color:#8192af;border-color:#202b3e;background:#111b2b}
html.theme-dark .login-intro-footer{color:#6f82a3}
html.theme-dark .login-form-content h2{color:#c6cedb}
html.theme-dark .login-subtitle{color:#7d8fac}
html.theme-dark .login-footnote{color:#6f82a3}
@media(max-width:580px){html.theme-dark .login-intro{border-bottom:1px solid #212c3f}}
html.theme-dark .exclude-label{color:#99a7be}
html.theme-dark .icon-button{border:1px solid #202b3e;background:#111b2b;color:#a1adc3}
html.theme-dark .icon-button:hover{background:#1a2539;border-color:#1e2839}
html.theme-dark .transactions-table .split-parent td{border-bottom-color:#212d40}
html.theme-dark .transactions-table .split-child td{background:#0c131f;border-bottom:1px solid #212d40}
html.theme-dark .split-label{color:#8191ae}
html.theme-dark .transactions-table .split-amount{border-color:#3b4a5e;background:#111b2b}
html.theme-dark .transactions-table .split-child select,html.theme-dark .transactions-table .split-child textarea{background:#111b2b}
html.theme-dark .transactions-table .split-footer td{background:#0c131f;border-bottom:2px solid #3a495f}
html.theme-dark .split-balance{color:#8495b1}
html.theme-dark .split-balance.error{color:#d08b8b}
html.theme-dark .transactions-table .row-excluded td{background:#0c131f!important}
html.theme-dark .transactions-table .row-excluded .row-action{background:#0c131f}
html.theme-dark .transactions-table .split-parent select:disabled{color:#7789a8;background:#0c131f}
html.theme-dark{--bg:#1c2e4a;--panel:#1c314a;--surface:#252d41;--input:#252d41;--hover:#222e44;--selected:#4d587f;--ink:#ffffff;--muted:#9daabe;--line:#5d6c88;--nav:#1c2e4a;--accent:#1d8ae9;--teal:#338beb;--teal-soft:#1c344a;--red:#eb333d;--red-soft:#412535;--success:#55c994;--shadow:0 5px 24px rgba(0,0,0,0.235)}
html.theme-dark ::selection{background:#1b7bc7;color:#ffffff}
html.theme-dark a{color:#8cbcf6}
html.theme-dark input,html.theme-dark select,html.theme-dark textarea{border-color:#52617a}
html.theme-dark input::placeholder,html.theme-dark textarea::placeholder{color:#8091ae}
html.theme-dark input:focus,html.theme-dark select:focus,html.theme-dark textarea:focus{outline:3px solid rgba(26,139,236,0.161)}
html.theme-dark button:focus-visible,html.theme-dark a:focus-visible,html.theme-dark summary:focus-visible{outline:3px solid #4297f0}
html.theme-dark .brand-symbol{color:#ffffff}
html.theme-dark .nav-link:hover{color:#ffffff}
html.theme-dark .nav-link.active{color:#ffffff}
html.theme-dark .avatar{border-color:#52617a;background:#4d5d7f}
html.theme-dark .logout:hover{color:#ffffff}
html.theme-dark .button.primary{color:#ffffff}
html.theme-dark .button.primary:hover:not(:disabled){background:#1476cb;border-color:#1179d4}
html.theme-dark .button.secondary{border-color:#52617a}
html.theme-dark .button.secondary:hover:not(:disabled){background:#4e5e7e;border-color:#52617a}
html.theme-dark .button.danger{border-color:#915468;color:#f9b1b6}
html.theme-dark .count-badge{background:#1b7dc9;color:#ffffff}
html.theme-dark th{background:#1c304a}
html.theme-dark td{border-color:#566a90}
html.theme-dark tbody tr:hover{background:#1c304a}
html.theme-dark .badge.income{background:#1c4a42}
html.theme-dark .badge.expense{color:#f9b3b7;background:#402635}
html.theme-dark .badge.self{color:#accaf8;background:#1c2f4a}
html.theme-dark .transactions-table select,html.theme-dark .transactions-table textarea{border-color:#52617a}
html.theme-dark .row-dirty{background:#2b3c59!important}
html.theme-dark .wallet-icon,html.theme-dark .card-symbol{background:#466286}
html.theme-dark .subtle-status{background:#1c4a42}
html.theme-dark .subtle-status.warning{background:#3f3327}
html.theme-dark .notice.error{color:#f9b6bb;background:#412535;border-color:#93536c}
html.theme-dark .toast{background:#3a6592;color:#ffffff;border:1px solid #4376a2;box-shadow:0 8px 35px #000000}
html.theme-dark .toast.error{background:#874559;border-color:#9a5868}
html.theme-dark dialog{border-color:#52617a;box-shadow:0 24px 100px #000000}
html.theme-dark dialog::backdrop{background:rgba(28,45,74,0.867)}
html.theme-dark .icon-button{border-color:#52617a}
html.theme-dark .icon-button:hover{background:#4c5d80;border-color:#52617a;color:#ffffff}
html.theme-dark .subcategory-chip{background:#4a5f82}
html.theme-dark .login-body{background:radial-gradient(ellipse at 30% 15%,#1c304a 0%,#1c2e4a 65%)}
html.theme-dark .login-shell{box-shadow:0 24px 90px #000000}
html.theme-dark .login-intro{background:linear-gradient(160deg,#1c314a,#1c2e4a)}
html.theme-dark .login-intro:after{color:rgba(105,171,243,0.035)}
html.theme-dark .login-intro-content .eyebrow{color:#77aff4}
html.theme-dark .login-networks span{background:#1c2f4a;border-color:#586e8d}
html.theme-dark .transactions-table .split-child td,html.theme-dark .transactions-table .split-footer td{background:#1c2f4a;border-color:#596d8c}
html.theme-dark .transactions-table .split-amount,html.theme-dark .transactions-table .split-child select,html.theme-dark .transactions-table .split-child textarea{border-color:#52617a}
html.theme-dark .transactions-table .row-excluded td,html.theme-dark .transactions-table .row-excluded .row-action{background:#262f40!important}
html.theme-dark .transactions-table .split-parent select:disabled{color:#6f82a3;background:#212f45}

/* ---- theme.css ---- */
html.theme-dark{--bg:#0c131f;--panel:#111b2b;--panel-2:#0c131f;--ink:#d3d9e3;--ink-2:#b6c0d0;--muted:#8999b4;--line:#394b60;--line-soft:#212d41;--accent:#3386eb;--accent-2:#3b86e3;--accent-soft:rgba(51,134,235,0.122);--accent-ink:#68a6f3;--good:#20ac7e;--warn:#e09920;--bad:#dc4141;--nav-bg:#1d3149;--nav-bg-2:#1e3148;--rail-ink:#a9b7c8;--rail-active:#111b2b;--shadow:0 1px 2px rgba(0,0,0,0.098),0 8px 24px -12px rgba(0,0,0,0.304);--shadow-lg:0 24px 60px -20px rgba(0,0,0,0.627)}
html.theme-dark ::selection{background:rgba(51,134,235,0.2)}
html.theme-dark .sidebar{background:radial-gradient(120% 60% at 0% 0%,#386194 0%,transparent 55%),linear-gradient(180deg,var(--nav-bg) 0%,var(--nav-bg-2) 100%)!important;box-shadow:4px 0 30px -10px #000000}
html.theme-dark .brand{color:#ffffff!important}
html.theme-dark .brand-symbol{color:#ffffff!important;box-shadow:0 6px 18px -6px rgba(59,134,227,0.667)}
html.theme-dark .brand-light{color:#9dacbe!important}
html.theme-dark .sidebar-caption{color:#9aa7be!important}
html.theme-dark .nav-link:hover{background:rgba(17,27,43,0.051)!important;color:#ffffff!important}
html.theme-dark .nav-link.active{background:linear-gradient(90deg,rgba(51,134,235,0.251),rgba(51,134,235,0.063))!important}
html.theme-dark .network-caption{color:#909eb8!important;border-bottom-color:rgba(35,47,67,0.071)!important}
html.theme-dark .network-caption i{box-shadow:0 0 0 3px rgba(32,172,126,0.2)}
html.theme-dark .sidebar-user strong{color:#e8eef5}
html.theme-dark .sidebar-user div>span{color:#8596b1!important}
html.theme-dark .avatar{background:linear-gradient(135deg,#4a6382,#1f3147)!important;border-color:#547092!important;color:#c9daef!important}
html.theme-dark .logout{color:#8596b1!important}
html.theme-dark .logout:hover{color:#ffffff!important}
html.theme-dark .workspace-footer{color:#6e81a2!important}
html.theme-dark input:hover,html.theme-dark select:hover,html.theme-dark textarea:hover{border-color:#384a61!important}
html.theme-dark .button.primary{color:#ffffff!important;box-shadow:0 8px 20px -8px rgba(51,134,235,0.667)!important}
html.theme-dark .button.primary:hover:not(:disabled){box-shadow:0 10px 26px -8px rgba(51,134,235,0.8)!important}
html.theme-dark .button.secondary:hover:not(:disabled){border-color:#384a61!important}
html.theme-dark .button.danger{background:#302222!important;color:#e87272!important;border-color:#6f2a2a!important}
html.theme-dark button:focus-visible,html.theme-dark a:focus-visible,html.theme-dark summary:focus-visible{outline:3px solid rgba(66,144,240,0.4)!important}
html.theme-dark tbody tr:hover{background:#23282f!important}
html.theme-dark .badge.income{color:#bdc5d4;background:#163b28}
html.theme-dark .badge.expense{color:#ea7171;background:#381919}
html.theme-dark .badge.self{color:#7ea9dd;background:#171f3a}
html.theme-dark .notice.error{background:#302222!important;border-color:#6f2a2a!important;color:#ea7171!important}
html.theme-dark .subtle-status{background:#1f2833!important}
html.theme-dark .subtle-status.warning{background:#34301e!important;color:#f3a468!important}
html.theme-dark .database-connection.connected{color:#bdc5d4!important;background:#163b28!important}
html.theme-dark .database-state-badge[data-state=completed]{background:#163b28!important;color:#bdc5d4!important}
html.theme-dark .database-state-badge[data-state=failed],html.theme-dark .database-state-badge[data-state=interrupted]{background:#381919!important;color:#ea7171!important}
html.theme-dark .database-state-badge[data-state=running],html.theme-dark .database-state-badge[data-state=queued],html.theme-dark .database-state-badge[data-state=saving]{background:#1d2835!important;color:#74a8e6!important}
html.theme-dark .database-service-mark,html.theme-dark .database-report-icon,html.theme-dark .card-symbol,html.theme-dark .wallet-icon{background:linear-gradient(135deg,#1d2835,#222830)!important}
html.theme-dark .toast{background:#233143!important}
html.theme-dark .toast.error{background:#a12b2b!important}
html.theme-dark dialog::backdrop{background:rgba(29,49,73,0.6)!important}
html.theme-dark .login-body{background:radial-gradient(80% 60% at 10% 10%,#1d2835 0%,transparent 60%),radial-gradient(70% 60% at 90% 90%,#182c3a 0%,transparent 60%),var(--bg)!important}
html.theme-dark .login-intro{background:radial-gradient(120% 70% at 0% 0%,#386194 0%,transparent 60%),linear-gradient(160deg,var(--nav-bg),var(--nav-bg-2))!important}
html.theme-dark .login-intro-content .eyebrow{color:#accef8!important}
html.theme-dark .topbar{color:#ffffff}
html.theme-dark .topbar .wordmark{color:#ffffff!important}
html.theme-dark .topbar .wordmark span{color:#a5b7cc!important}
html.theme-dark .topbar .topnav a:hover{color:#ffffff!important;background:rgba(17,27,43,0.063)}
html.theme-dark .topbar .topnav a.active{color:#ffffff!important;background:rgba(51,134,235,0.251)!important}
html.theme-dark .database-tab[aria-selected=true]{background:#1f2833!important}
html.theme-dark .database-column-filter-row th{background:#111b2b!important}
html.theme-dark .database-grid tbody tr:hover td,html.theme-dark .database-grid tbody tr:hover .database-row-number{background:#23282f!important}
html.theme-dark .database-cell.selected{background:#1d2835!important}
html.theme-dark .database-service-mark{border-color:#2a496f!important}
html.theme-dark .database-state-badge{background:#24262e}
html.theme-dark .database-progress{background:#1f2833!important}
html.theme-dark .crm-drawer::backdrop{background:rgba(29,49,73,0.6)!important}
html.theme-dark .crm-drawer .crm-client-avatar{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-money small{color:#f3a468!important}
html.theme-dark .crm-drawer .button,html.theme-dark .crm-drawer .crm-card-links>a{box-shadow:0 1px 2px rgba(0,0,0,0.127)}
html.theme-dark .crm-drawer .button:hover,html.theme-dark .crm-drawer .crm-card-links>a:hover{border-color:rgba(66,144,240,0.333)!important}
html.theme-dark .crm-drawer .button.primary{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-followup-section{background:#222830!important;border-color:rgba(66,144,240,0.251)!important}
html.theme-dark .crm-drawer .crm-brokers-table tr.selected td{background:#202832!important}
html.theme-dark .crm-drawer .crm-deposit-state{background:#192538!important}
html.theme-dark .crm-drawer .crm-deposit-state.positive{background:#173b23!important;color:#bdc5d4!important}
html.theme-dark .crm-drawer .crm-deposit-state.unknown{background:#3b3416!important;color:#f19d6a!important}
html.theme-dark .crm-drawer .crm-broker-warning{color:#f3a468!important}
html.theme-dark .crm-drawer .crm-field-grid .crm-field-issue,html.theme-dark .crm-drawer .crm-card-issues,html.theme-dark .crm-drawer .crm-form-message{color:#f3a468!important}
html.theme-dark .crm-drawer .crm-card-warning{background:#34301e!important;color:#f19d6a!important;border-color:#edc645!important}
html.theme-dark .crm-view-switch button.active{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-metric-deposit::before{background:linear-gradient(180deg,#20ac7e,#18b484)!important}
html.theme-dark .crm-drawer .crm-metric-cpa::before{background:linear-gradient(180deg,#e09920,#c67619)!important}
html.theme-dark .crm-drawer .crm-metric-deposit{background:#0c131f!important}
html.theme-dark .crm-drawer .crm-metric-cpa{background:#312c20!important}
html.theme-dark .crm-drawer .crm-brokers-table th.crm-col-deposit{color:#bdc5d4!important}
html.theme-dark .crm-drawer .crm-brokers-table th.crm-col-cpa{color:#f3a468!important}
html.theme-dark .crm-drawer .crm-brokers-table td.crm-col-deposit{background:#111b2b!important}
html.theme-dark .crm-drawer .crm-brokers-table td.crm-col-cpa{background:#0c131f!important}
html.theme-dark .brand-logo{filter:drop-shadow(0 6px 14px #000000)}
html.theme-dark .logo-mark .rail-logo{filter:drop-shadow(0 4px 10px rgba(0,0,0,0.833))}
html.theme-dark .crm-card-mascot{filter:drop-shadow(0 10px 16px rgba(0,0,0,0.451))}
html.theme-dark .money-throw-note{box-shadow:0 8px 22px #000000}
html.theme-dark .crm-fd-date{background:#1f3229;color:#bdc5d4}
html.theme-dark .sidebar-neon img{box-shadow:0 0 24px -6px rgba(235,51,199,0.4),0 0 30px -10px rgba(52,197,220,0.333)}
html.theme-dark{--project-daniyar:#376ad9;--project-daniyar-soft:#202732;--project-camilo:#e5c02a;--project-camilo-ink:#e9aa72;--project-camilo-soft:#3a3617;--project-simon:#cc3636;--project-simon-soft:#312121}
html.theme-dark .project-chip{background:#192538}
html.theme-dark .project-chip.project-daniyar,html.theme-dark .crm-card-project.project-daniyar{color:#ffffff!important}
html.theme-dark .project-chip.project-simon,html.theme-dark .crm-card-project.project-simon{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-record-delete{color:#677b9e}
html.theme-dark .crm-drawer .crm-record-delete:hover{color:#e87272;background:#312121;border-color:#6f2a2a}
html.theme-dark .crm-drawer .crm-metric-lots::before{background:linear-gradient(180deg,#229ed5,#1480b8)!important}
html.theme-dark .crm-drawer .crm-metric-lots{background:#202a31!important}
html.theme-dark .crm-drawer .crm-brokers-table th.crm-col-lots{color:#68c2f3!important}
html.theme-dark .crm-drawer .crm-brokers-table td.crm-col-lots{background:#0c131f!important}
html.theme-dark .celebrate-layer{background:radial-gradient(circle at 50% 42%,rgba(51,114,235,0.333) 0,rgba(52,97,152,0.6) 45%,rgba(28,49,74,0.8) 100%)}
html.theme-dark .celebrate-hero{filter:drop-shadow(0 18px 24px #000000)}
html.theme-dark .celebrate-layer{background:radial-gradient(circle at 50% 40%,rgba(51,114,235,0.4) 0,rgba(52,97,152,0.733) 42%,rgba(28,49,74,0.902) 100%)!important}
html.theme-dark .client-dot{box-shadow:0 0 0 1.5px #111b2b,0 1px 2px rgba(0,0,0,0.625)}
html.theme-dark .client-dot.vip{background:#26a655}
html.theme-dark .client-dot.fx{background:#376ad9}
html.theme-dark .client-dot.kopi{background:#e5772a}
html.theme-dark .ch-status.sheet{border:1px dashed #384b61;color:#96a4bc}
html.theme-dark .neg-big{color:#e87272!important}
html.theme-dark .crm-drawer .copy-chip.copied{border-color:#21c58e;color:#bdc5d4;background:#1f3229}
html.theme-dark .crm-drawer .copy-chip.copy-failed{border-color:#e25050;color:#ea7171}
html.theme-dark .crm-drawer .crm-broker-row td:first-child{box-shadow:inset 4px 0 0 #212431}
html.theme-dark .crm-drawer .crm-broker-row.broker-bullwaves td:first-child{box-shadow:inset 4px 0 0 #3b7be3}
html.theme-dark .crm-drawer .crm-broker-row.broker-vantage td:first-child{box-shadow:inset 4px 0 0 #e5772a}
html.theme-dark .crm-drawer .crm-broker-row.broker-vt td:first-child{box-shadow:inset 4px 0 0 #000000}
html.theme-dark .crm-drawer .crm-broker-row.broker-startrader td:first-child{box-shadow:inset 4px 0 0 #2f9d5f}
html.theme-dark .crm-drawer .crm-broker-row.broker-fxpro td:first-child{box-shadow:inset 4px 0 0 #4387da}
html.theme-dark .set-user-state{color:#f3a468}
html.theme-dark .set-user-state.on{color:#73e89f}
html.theme-dark .crm-drawer .crm-dep-table tbody tr.crm-broker-row.selected td{background:#1f2833}
html.theme-dark .crm-drawer .crm-dep-table .crm-record-delete{color:#7789a8}
html.theme-dark .crm-drawer .crm-dep-table .crm-record-delete:hover{background:#381919;color:#e87272}

/* ---- crm.css ---- */
html.theme-dark .crm-metric{background:#111b2b}
html.theme-dark .crm-metric:hover{border-color:#1d2637}
html.theme-dark .crm-metric>span{color:#8c9bb5}
html.theme-dark .crm-metric>strong{color:#c5cdda}
html.theme-dark .crm-metric>small{color:#7486a6}
html.theme-dark .crm-metric-attention>strong{color:#d1a78a}
html.theme-dark .crm-metric.selected{border-color:#52617a;background:#111b2b}
html.theme-dark .crm-list-heading p{color:#7f90ad}
html.theme-dark .crm-timezone{color:#788aa9}
html.theme-dark .crm-table-card tbody tr[data-client-id]:hover{background:#0c131f}
html.theme-dark .crm-table-card tbody tr[data-client-id]:focus-visible{outline:2px solid #52617a}
html.theme-dark .crm-client-avatar{background:#0c131f;color:#8696b2}
html.theme-dark .crm-client-name{color:#bec6d5}
html.theme-dark .crm-client-sub{color:#8091ae}
html.theme-dark .crm-stage{background:#0c131f;color:#8e9db7}
html.theme-dark .crm-stage.active{background:#232e28;color:#9bc0ad}
html.theme-dark .crm-stage.closed{background:#1a2539;color:#c1a89a}
html.theme-dark .crm-money{color:#a4b0c5}
html.theme-dark .crm-source-error{color:#cfad8c}
html.theme-dark .crm-source-error small{color:#c1ad9a}
html.theme-dark .crm-due{color:#95a3bb}
html.theme-dark .crm-due.overdue{color:#cea78d}
html.theme-dark .crm-action-preview{color:#7c8dab}
html.theme-dark .crm-vip-badge{background:#0c131f;color:#8494b0}
html.theme-dark .crm-vip-badge.on{background:#242e29;color:#98a6bd}
html.theme-dark .crm-import-report-icon{background:#1a253a;color:#909eb8}
html.theme-dark .crm-import-report p{color:#7d8eac}
html.theme-dark .crm-import-stats{border-top:1px solid #212d40;color:#7d8eac}
html.theme-dark .crm-import-stats strong{color:#a4b0c5}
html.theme-dark .crm-import-report details{color:#8394b0}
html.theme-dark .crm-source-scroll tbody tr[data-source-row]:hover{background:#0c131f}
html.theme-dark .crm-formula-dot{color:#7385a5}
html.theme-dark .crm-drawer{border-left:1px solid #3b495e;box-shadow:-15px 0 80px rgba(0,0,0,0.216)}
html.theme-dark .crm-drawer::backdrop{background:rgba(80,98,124,0.259)}
html.theme-dark .crm-card-identity p{color:#788aa9}
html.theme-dark .crm-card-links>a{border:1px solid #3a495f;color:#8b9ab5;background:#111b2b}
html.theme-dark .crm-card-links>a:hover{background:#0c131f}
html.theme-dark .crm-save-wrap{color:#8192af}
html.theme-dark .crm-save-wrap .error{color:#d09e8b}
html.theme-dark .crm-save-wrap .pending{color:#8999b4}
html.theme-dark .crm-tabs{border-bottom:1px solid #394a60}
html.theme-dark .crm-tabs>button{color:#7a8baa}
html.theme-dark .crm-tabs>button.active{border-bottom-color:#52617a;color:#9aabc1}
html.theme-dark .crm-tabs>button span{background:#0c131f}
html.theme-dark .crm-card-section h3{color:#a0acc2}
html.theme-dark .crm-card-section>p{color:#7b8dab}
html.theme-dark .crm-field-grid label{color:#7f90ad}
html.theme-dark .crm-field-grid input,html.theme-dark .crm-field-grid select,html.theme-dark .crm-field-grid textarea{border-color:#384961;box-shadow:0 1px 3px rgba(0,0,0,0.02);color:#9caabf}
html.theme-dark .crm-field-grid input[readonly],html.theme-dark .crm-field-grid textarea[readonly]{background:#0c131f;color:#8393b0}
html.theme-dark .crm-field-grid .crm-field-hint{color:#7688a7}
html.theme-dark .crm-field-grid .crm-field-issue{color:#caaa91}
html.theme-dark .crm-followup-section{background:#0c131f;border:1px solid #304a69}
html.theme-dark .crm-followup-section h3{color:#909fb8}
html.theme-dark .crm-followup-section .crm-field-grid input,html.theme-dark .crm-followup-section .crm-field-grid select,html.theme-dark .crm-followup-section .crm-field-grid textarea{background:#111b2b}
html.theme-dark .crm-detail-chip{background:#0c131f;border:1px solid #374d62}
html.theme-dark .crm-detail-chip span{color:#7789a8}
html.theme-dark .crm-detail-chip strong{color:#97a5bc}
html.theme-dark .crm-drawer-footer{border-top:1px solid #394a60;background:#111b2b}
html.theme-dark .crm-drawer-footer>span{color:#7285a5}
html.theme-dark .crm-related-card{border:1px solid #364a63}
html.theme-dark .crm-related-card summary{color:#8c9bb5;background:#111b2b}
html.theme-dark .crm-related-card summary strong{color:#a2aec3}
html.theme-dark .crm-related-card summary small{color:#7588a7}
html.theme-dark .crm-details-list dt,html.theme-dark .crm-details-list dd{border-bottom:1px solid #212d40}
html.theme-dark .crm-details-list dt{color:#7587a7}
html.theme-dark .crm-details-list dd{color:#9eabc1}
html.theme-dark .crm-details-list small{color:#7285a5}
html.theme-dark .crm-related-links>a{color:#8a99b4;background:#0c131f}
html.theme-dark .crm-empty{color:#788aa9}
html.theme-dark .crm-empty strong{color:#919fb9}
html.theme-dark .crm-activity-form{background:#0c131f;border:1px solid #344a65}
html.theme-dark .crm-activity-form textarea{border-color:#344965}
html.theme-dark .crm-activity-form-footer span{color:#7486a6}
html.theme-dark .crm-activity-item{border-left:1px solid #324967}
html.theme-dark .crm-activity-dot{background:#7a8da4;border:2px solid #232f43}
html.theme-dark .crm-activity-top strong{color:#91a0b9}
html.theme-dark .crm-activity-top time{color:#7083a4}
html.theme-dark .crm-activity-item p{color:#8595b1}
html.theme-dark .crm-activity-item details{color:#9dacbe}
html.theme-dark .crm-source-field{border-bottom:1px solid #212d40}
html.theme-dark .crm-source-field-header{color:#8a9ab4}
html.theme-dark .crm-source-column{color:#6f82a3;background:#0c131f;border:1px solid #394a60}
html.theme-dark .crm-source-field input,html.theme-dark .crm-source-field textarea{color:#96a4bc;border-color:#324b67}
html.theme-dark .crm-source-field .crm-readonly-value{color:#8393b0;border:1px solid #364a63;background:#0c131f}
html.theme-dark .crm-source-formula{color:#7486a6}
html.theme-dark .crm-source-lock{color:#6f82a3}
html.theme-dark .crm-source-unset{color:#677b9e}
html.theme-dark .crm-source-dialog-warning{color:#caaa91;background:#2f2923}
html.theme-dark .crm-form-message{color:#c7a594}
html.theme-dark .crm-shimmer{color:#7385a5}
html.theme-dark .crm-import-warnings,html.theme-dark .crm-card-issues{color:#c1ad99}
html.theme-dark .crm-import-issues{color:#8191ae}
html.theme-dark .crm-import-issues strong{color:#8e9db6}
html.theme-dark .crm-card-warning{border:1px solid #695030;color:#c2ad99;background:#2e2924}
html.theme-dark .crm-topnav{border-bottom:1px solid #344a65}
html.theme-dark .crm-topnav a{color:#798ba9}
html.theme-dark .crm-topnav a.active,html.theme-dark .crm-topnav a:hover{background:#24282e;color:#9babc0}
html.theme-dark .crm-metric:hover{border-color:#52617a}
html.theme-dark .crm-metric.selected{border-color:#5479a5}
html.theme-dark .crm-table-card tbody tr[data-client-id]:hover,html.theme-dark .crm-source-scroll tbody tr[data-source-row]:hover{background:#1d2f49}
html.theme-dark .crm-table-card tbody tr[data-client-id]:focus-visible{outline-color:#429af0}
html.theme-dark .crm-client-avatar{background:#496183;border:1px solid #5a6d8c}
html.theme-dark .crm-stage{background:#455e87}
html.theme-dark .crm-stage.active{background:#1c4a3d}
html.theme-dark .crm-stage.closed{background:#2d3f5d}
html.theme-dark .crm-vip-badge{background:#4a5e82}
html.theme-dark .crm-vip-badge.on{background:#1c4a3d}
html.theme-dark .crm-import-report-icon{background:#1c4a3d}
html.theme-dark .crm-drawer{border:1px solid #52617a;box-shadow:0 26px 120px #000000}
html.theme-dark .crm-drawer::backdrop{background:rgba(28,45,74,0.8)}
html.theme-dark .crm-drawer .crm-card-identity .eyebrow{color:#91bbf6}
html.theme-dark .crm-card-links>a{border-color:#52617a}
html.theme-dark .crm-card-links>a:hover{background:#4b5f81;color:#ffffff}
html.theme-dark .crm-save-wrap .error{color:#f9b3b7}
html.theme-dark .crm-tabs>button.active{color:#ffffff}
html.theme-dark .crm-tabs>button span{background:#495f83}
html.theme-dark .crm-field-grid input,html.theme-dark .crm-field-grid select,html.theme-dark .crm-field-grid textarea{border-color:#52617a}
html.theme-dark .crm-field-grid input[readonly],html.theme-dark .crm-field-grid textarea[readonly]{background:#212f45}
html.theme-dark .crm-followup-section{background:#1c324a;border-color:#49709c}
html.theme-dark .crm-followup-section h3{color:#b2d1f9}
html.theme-dark .crm-detail-chip{background:#1e2e48;border-color:#596c8c}
html.theme-dark .crm-drawer-footer{background:#1c304a}
html.theme-dark .crm-related-card{border-color:#5b6d8a}
html.theme-dark .crm-related-card summary{background:#1e2e48}
html.theme-dark .crm-related-links>a{background:#446388}
html.theme-dark .crm-activity-form{background:#1c2e4a;border-color:#576b8e}
html.theme-dark .crm-activity-form textarea{border-color:#52617a}
html.theme-dark .crm-activity-item{border-color:#586d8d}
html.theme-dark .crm-activity-dot{background:#3388eb}
html.theme-dark .crm-source-column{background:#476085;border-color:#586c8e}
html.theme-dark .crm-source-field input,html.theme-dark .crm-source-field textarea{border-color:#52617a}
html.theme-dark .crm-source-field .crm-readonly-value{background:#1e3048;border-color:#596c8c}
html.theme-dark .crm-source-dialog-warning,html.theme-dark .crm-card-warning{background:#3d3229;border-color:#8a725b}
html.theme-dark .crm-topnav a.active,html.theme-dark .crm-topnav a:hover{color:#ffffff}
html.theme-dark .crm-drawer .icon-button{border:1px solid #5e6d87}
html.theme-dark .crm-drawer .button{border-color:#52617a}
html.theme-dark .crm-drawer .button.primary{color:#ffffff}
html.theme-dark .crm-drawer .button:hover{background:#4c5f80}
html.theme-dark .crm-drawer .button.primary:hover{background:#1476cb}
html.theme-dark .crm-view-switch{border:1px solid #586d8d;background:#1c2f4a}
html.theme-dark .crm-view-switch button.active{background:#32669a;color:#ffffff}
html.theme-dark .crm-profile-metric{border:1px solid #516f94;background:linear-gradient(115deg,#1c324a,#1c2f4a)}
html.theme-dark .crm-profile-asof{color:#96aac4}
html.theme-dark .crm-brokers-heading p{color:#95aac6}
html.theme-dark .crm-brokers-table-wrap{border:1px solid #546f91}
html.theme-dark .crm-brokers-table th{background:#1c304a}
html.theme-dark .crm-brokers-table td{border-top:1px solid #536d92;background:#1c304a}
html.theme-dark .crm-brokers-table tr.selected td{background:#1c304a}
html.theme-dark .crm-brokers-table td small{color:#92a9c9}
html.theme-dark .crm-deposit-state{background:#496283}
html.theme-dark .crm-deposit-state.positive{background:#1c4a41}
html.theme-dark .crm-deposit-state.unknown{background:#2a3b57}
html.theme-dark .crm-record-link{color:#99caf7}
html.theme-dark .crm-drawer .copy-chip{border:1px solid rgba(82,97,122,0.35)}
html.theme-dark .crm-drawer .crm-record-delete{color:#8091ae}
html.theme-dark .crm-drawer .crm-record-delete:hover{color:#f26969;border-color:rgba(226,80,80,0.4)}
html.theme-dark .crm-drawer .tl-chip{border:1px solid rgba(82,97,122,0.35)}
html.theme-dark .crm-drawer .tl-chip.on{border-color:rgba(81,146,225,0.55);background:rgba(66,135,220,0.08)}
html.theme-dark .crm-drawer .tl-chip>i{background:#7c8ca1}
html.theme-dark .crm-drawer .broker-bullwaves>i{background:#3b7be3}
html.theme-dark .crm-drawer .broker-vantage>i{background:#e5772a}
html.theme-dark .crm-drawer .broker-vt>i{background:#476494}
html.theme-dark .crm-drawer .broker-startrader>i{background:#2f9d5f}
html.theme-dark .crm-drawer .broker-fxpro>i{background:#4387da}
html.theme-dark .crm-drawer .tl-totals .pos,html.theme-dark .crm-drawer .tl-deposit .tl-amount{color:#68f3c8}
html.theme-dark .crm-drawer .tl-totals .neg,html.theme-dark .crm-drawer .tl-withdrawal .tl-amount{color:#e87272}
html.theme-dark .crm-drawer .tl-feed::before{background:rgba(61,76,101,0.25)}
html.theme-dark .crm-drawer .tl-item{border:1px solid rgba(82,97,122,0.22)}
html.theme-dark .crm-drawer .tl-dot{background:#7c8ca1;box-shadow:0 0 0 2px var(--panel,#111b2b)}
html.theme-dark .crm-drawer .tl-deposit .tl-dot{background:#20ac7e}
html.theme-dark .crm-drawer .tl-withdrawal .tl-dot{background:#dc4141}
html.theme-dark .crm-drawer .tl-registration .tl-dot{background:#4287dc}
html.theme-dark .crm-drawer .tl-broker{background:rgba(124,140,161,0.18)}
html.theme-dark .crm-drawer .tl-broker.broker-bullwaves{background:rgba(59,123,227,0.15);color:#6a94f1}
html.theme-dark .crm-drawer .tl-broker.broker-vantage{background:rgba(229,119,42,0.15);color:#f39868}
html.theme-dark .crm-drawer .tl-broker.broker-vt{background:rgba(71,100,148,0.18)}
html.theme-dark .crm-drawer .tl-broker.broker-startrader{background:rgba(47,157,95,0.15);color:#73e89f}
html.theme-dark .crm-drawer .tl-registration{background:rgba(66,135,220,0.05)}
html.theme-dark .left-badge{background:rgba(204,54,54,0.12);color:#e87272;border:1px solid rgba(206,52,52,0.35)}
html.theme-dark td.left-stale{color:#7789a8!important;text-decoration-color:rgba(232,114,114,0.6)}
html.theme-dark .crm-drawer .crm-ch-pill{border:1px solid rgba(82,97,122,0.3)}
html.theme-dark .crm-drawer .crm-ch-pill.in{border-color:rgba(33,197,142,0.45);background:rgba(32,172,126,0.07)}
html.theme-dark .crm-drawer .crm-ch-pill.kopi{border-color:rgba(232,118,39,0.5);background:rgba(229,119,42,0.08)}
html.theme-dark .crm-drawer .crm-ch-pill.keep{border-color:rgba(81,146,225,0.45);background:rgba(66,135,220,0.08)}
html.theme-dark .crm-drawer .crm-ch-pill .client-dot.vip{background:#26a655}
html.theme-dark .crm-drawer .crm-ch-pill .client-dot.fx{background:#376ad9}
html.theme-dark .crm-drawer .crm-ch-pill .client-dot.kopi{background:#e5772a}
html.theme-dark .crm-drawer .crm-ch-pill .client-dot.off{background:#768da7}
html.theme-dark .crm-drawer .crm-ch-remove:hover{color:#e87272;border-color:rgba(206,52,52,0.45);background:rgba(204,54,54,0.08)}
html.theme-dark .crm-drawer .crm-ch-refresh:hover{border-color:rgba(82,97,122,0.45)}
html.theme-dark .crm-drawer .crm-ch-error{color:#e87272}
html.theme-dark .crm-drawer .crm-fd-broker{color:#e87272}
html.theme-dark .vip-crown{filter:drop-shadow(0 0 3px rgba(235,181,50,0.85)) drop-shadow(0 1px 1px rgba(186,96,18,0.45))}
html.theme-dark .tl-drawdown .tl-dot{background:#2f71c1;box-shadow:0 0 0 3px rgba(47,113,193,0.18)}
html.theme-dark .tl-drawdown .tl-amount{color:#ea7190}
html.theme-dark .tl-pct{background:#381921;color:#ea7190}
html.theme-dark .tl-chip.tl-kind-drawdown.on{background:#1c2836;border-color:#2a496f;color:#71a7ea}
html.theme-dark .tl-chat{color:#6ca7f0;background:rgba(68,135,218,0.1)}
html.theme-dark .tl-chat:hover{background:rgba(68,135,218,0.22);color:#74a8e7}
html.theme-dark .message.anchor-highlight{outline:2px solid #eeab31}
html.theme-dark .tl-profit .tl-dot{background:#18b484;box-shadow:0 0 0 3px rgba(24,180,132,0.18)}
html.theme-dark .tl-profit .tl-amount{color:#68f3c8}
html.theme-dark .tl-pct.tl-pct-up{background:#173b23;color:#bdc5d4}
html.theme-dark .tl-chip.tl-kind-profit.on{background:#173b23;border-color:#57db87;color:#bdc5d4}
html.theme-dark .cf-section .cf-event{background:#1d2835;color:#75a8e6}
html.theme-dark .cf-section .cf-row span{color:#7f90ad}
html.theme-dark .cf-section .lead-chip{background:#3b3416;color:#f19d6a}
html.theme-dark .tl-item.tl-subscription .tl-dot{background:#229ed5}
html.theme-dark .tl-item.tl-dialog .tl-dot{background:#3b86e3}
html.theme-dark .tl-chip.tl-kind-subscription.on{background:#182c3a;border-color:#46b6ec;color:#68c2f3}
html.theme-dark .tl-chip.tl-kind-dialog.on{background:#1c2836;border-color:#2a496f;color:#73a8e8}
html.theme-dark .tl-item.tl-withdrawal .tl-main strong{color:#e87272}
html.theme-dark .geo-tag{background:#0c131f;color:#99aac2}
html.theme-dark .geo-tag b{color:#96a4bc}
html.theme-dark .keep-switch{color:#97a5bd}
html.theme-dark .keep-track{background:#202e47}
html.theme-dark .keep-track::after{background:#111b2b;box-shadow:0 1px 2px rgba(0,0,0,0.625)}
html.theme-dark .keep-switch.on .keep-track{background:#26a655}
html.theme-dark .keep-switch.on em{color:#73e89f}
html.theme-dark .keep-switch.vip .keep-track{background:#c39828}
html.theme-dark .keep-switch.vip em{color:#f3ba68}
html.theme-dark .keep-switch input:focus-visible+.keep-track{outline:2px solid #4290f0}
html.theme-dark .crm-ch-row .card-keep{border:1px solid #202b3f;background:#111b2b}
html.theme-dark .crm-drawer .crm-ch-row .card-keep{border:1px solid rgba(82,97,122,0.3)}

/* ---- deposits.css ---- */
html.theme-dark .dep-chip{text-decoration-color:rgba(137,153,180,0.4)}
html.theme-dark .dep-chip .dep-chip-dot{background:#212431}
html.theme-dark .dep-chip.on{background:color-mix(in srgb,var(--chip) 12%,#111b2b)}
html.theme-dark .dep-chip.broker-bullwaves{--chip:#3b7be3}
html.theme-dark .dep-chip.broker-vantage{--chip:#e5772a}
html.theme-dark .dep-chip.broker-vt{--chip:#476494}
html.theme-dark .dep-chip.broker-startrader{--chip:#2f9d5f}
html.theme-dark .dep-chip.broker-fxpro{--chip:#4387da}
html.theme-dark .dep-chip.project-camilo{--chip:#d6a91c}
html.theme-dark .dep-chip.deposit-with{--chip:#20ac7e}
html.theme-dark .dep-chip.deposit-without{--chip:#7c8ca1}
html.theme-dark .dep-chip.mismatch-chip{--chip:#dc4141}
html.theme-dark .dep-table td.mismatch{color:#e87272;background:#312121}
html.theme-dark .dep-table tbody tr:hover td{background:#222830}
html.theme-dark .dep-table tbody tr.project-daniyar td{background:#111b2b}
html.theme-dark .dep-table tbody tr.project-camilo td{background:#2e2d23}
html.theme-dark .dep-table tbody tr.project-simon td{background:#111b2b}
html.theme-dark .dep-table .muted{color:#677b9e}
html.theme-dark .copy-chip.copied{border-color:#21c58e;color:#bdc5d4;background:#1f3229}
html.theme-dark .copy-chip.copy-failed{border-color:#e25050;color:#ea7171}
html.theme-dark .promo-chip{background:#192538}
html.theme-dark .promo-chip.kopi{background:#e5772a;color:#ffffff;box-shadow:0 2px 8px -2px rgba(229,119,42,0.533)}
html.theme-dark .dep-chip.kopi-chip{--chip:#e5772a}
html.theme-dark .region-chip.region-spain{background:#e5c02a;color:#e9aa72}
html.theme-dark .region-chip.region-latam{background:#31b662;color:#ffffff}
html.theme-dark .deptype-chip{background:#192538}
html.theme-dark .deptype-chip.first{background:#26a655;color:#ffffff}
html.theme-dark .deptype-chip.dodep{background:#376ad9;color:#ffffff}
html.theme-dark .dep-chip.deptype-first{--chip:#26a655}
html.theme-dark .dep-chip.deptype-dodep{--chip:#376ad9}
html.theme-dark .dep-table td.date .fd-broker{color:#e87272}
html.theme-dark .dep-table td.date .fd-reg{color:#7688a7}
html.theme-dark .dep-chip.region-spain{--chip:#d6a91c}
html.theme-dark .dep-chip.region-latam{--chip:#31b662}
html.theme-dark .cl-account{border-left:3px solid #3d435c}
html.theme-dark .cl-account.broker-bullwaves{border-color:#4985e8}
html.theme-dark .cl-account.broker-vantage{border-color:#e87627}
html.theme-dark .cl-account.broker-vt{border-color:#52617a}
html.theme-dark .cl-account.broker-startrader{border-color:#33b36a}
html.theme-dark .cl-account.broker-fxpro{border-color:#4187dc}
html.theme-dark .cl-overdue{color:#e87272}
html.theme-dark .wd-table td.wd-amount{color:#ea7171}
html.theme-dark .wd-table tbody tr.wd-huge td{background:#3b1616!important;color:#e17a7a}
html.theme-dark .wd-table tbody tr.wd-huge td.wd-amount{color:#e17a7a}
html.theme-dark .wd-table tbody tr.wd-huge:hover td{background:#e53939!important}
html.theme-dark .wd-unlinked{background:#0c131f;color:#96a4bc}
html.theme-dark .dep-chip.wd-size-s{--chip:#7c8ca1}
html.theme-dark .dep-chip.wd-size-m{--chip:#e5772a}
html.theme-dark .dep-chip.wd-size-l{--chip:#cc3636}
html.theme-dark .wd-early{background:#4287db;color:#ffffff!important}
html.theme-dark .wd-table tr.wd-huge .wd-early{background:#2e609e}
html.theme-dark .left-badge{background:rgba(204,54,54,0.12);color:#e87272;border:1px solid rgba(206,52,52,0.35)}
html.theme-dark td.left-stale{color:#7789a8!important;text-decoration-color:rgba(232,114,114,0.6)}
html.theme-dark .row-chat{color:#68a6f3;background:rgba(51,134,235,0.071)}
html.theme-dark .row-chat:hover{color:#ffffff;background:linear-gradient(135deg,#3386eb,#3b86e3)}
html.theme-dark .lead-chip{background:#3b3416;color:#f19d6a}
html.theme-dark .chatterfy-link{background:#182c3a;color:#68c2f3}
html.theme-dark .chatterfy-link:hover{background:#162f3b}
html.theme-dark .geo-tag{background:#0c131f;color:#99aac2}
html.theme-dark .geo-tag b{color:#96a4bc}
html.theme-dark .qual-chip.qual{background:#173b23;color:#73e89f}
html.theme-dark .qual-chip.nequal{background:#3b2b16;color:#f39068}
html.theme-dark .col-filter{border:1px solid #394560;background:#111b2b;color:#b8c2d2}
html.theme-dark .col-filter.active{border-color:#4290f0;background:#202831;color:#79a8e1}

/* ---- databases.css ---- */
html.theme-dark .database-topnav a.active{color:#ffffff}
html.theme-dark .database-tab:hover{color:#ffffff}
html.theme-dark .database-tab[aria-selected=true]{border-color:#247ac1;background:#1c334a}
html.theme-dark .database-tab-count{color:#9badc0}
html.theme-dark .database-save-status[data-state=busy]{color:#aed0f8}
html.theme-dark .database-filter-count{background:#4a6182}
html.theme-dark .database-advanced{background:#1c304a}
html.theme-dark .database-grid th,html.theme-dark .database-grid td{border-bottom:1px solid #556b91;border-right:1px solid #546d92}
html.theme-dark .database-grid th{background:#1e2e48}
html.theme-dark .database-column-sort:hover{background:#455f87}
html.theme-dark .database-column-sort-mark{color:#7dbaf4}
html.theme-dark .database-column-filter-row th{background:#1c314a}
html.theme-dark .database-column-filter{border-color:#566d8f!important;background:#1c2f4a!important}
html.theme-dark .database-column-filter::placeholder{color:#9cabbf}
html.theme-dark .database-grid .database-row-number{background:#1c304a;color:#8898b3;border-right:1px solid #5a6e8c}
html.theme-dark .database-grid th.database-row-number{background:#1e2e48}
html.theme-dark .database-grid tbody tr:hover td{background:#1c314a}
html.theme-dark .database-grid tbody tr:hover .database-row-number{background:#1e3148}
html.theme-dark .database-cell.selected{background:#1c324a!important}
html.theme-dark .database-cell.readonly .database-cell-value{color:#9baac0}
html.theme-dark .database-cell.modified:after{border-top:6px solid #429ff0}
html.theme-dark .database-cell-copy{background:#1c314a}
html.theme-dark .database-cell-copy:before{box-shadow:2px -2px 0 -1px #000000,2px -2px 0 0 currentColor}
html.theme-dark .database-cell-editor{background:#1c334a!important}
html.theme-dark .database-service-mark{border:1px solid #3775af;background:linear-gradient(145deg,#366996,#1c314a);color:#96c9f6}
html.theme-dark .database-connection.connected{border-color:#50957e;background:#1e4840}
html.theme-dark .database-access-note{color:#98acc3}
html.theme-dark .database-state-badge{background:#1e2f48}
html.theme-dark .database-state-badge[data-state=completed]{background:#1c4a3e}
html.theme-dark .database-state-badge[data-state=failed],html.theme-dark .database-state-badge[data-state=interrupted]{background:#402634;color:#f9b7bb}
html.theme-dark .database-state-badge[data-state=running],html.theme-dark .database-state-badge[data-state=saving],html.theme-dark .database-state-badge[data-state=queued]{background:#1c334a;color:#9ecaf7}
html.theme-dark .database-progress{background:#1c324a}
html.theme-dark .database-progress span{background:#1d8ae9}
html.theme-dark .database-report-icon{background:#1c334a;border:1px solid #4475a1}
html.theme-dark .database-report-icon.media{background:#50647c;border-color:#5d7189;color:#a9c8ef}
html.theme-dark .database-report-card.is-updated{border-color:#559180}
html.theme-dark .database-report-choice{border:1px solid rgba(35,47,67,0.12)}
html.theme-dark .broker-period{border:1px solid rgba(35,47,67,0.12)}
html.theme-dark .broker-summary li[data-state="running"]::before,html.theme-dark .broker-summary li[data-state="saving"]::before,html.theme-dark .broker-summary li[data-state="queued"]::before{color:#f3c168}
html.theme-dark .broker-summary li[data-state="completed"]::before{color:#7eddaa}
html.theme-dark .broker-summary li[data-state="failed"]::before,html.theme-dark .broker-summary li[data-state="interrupted"]::before{color:#f47676}
html.theme-dark .database-cell-link{color:var(--accent,#74a8e6)}
html.theme-dark .auto-update.on{border-color:rgba(66,144,240,0.333);background:#222830}
html.theme-dark .database-service-mark.dup{background:linear-gradient(135deg,#e09920,#dc4141)!important;color:#ffffff!important}
html.theme-dark #duplicates-summary.warn{color:#f3a468}
html.theme-dark .database-service-mark.fxpro{background:#381919;color:#e87272}
html.theme-dark .fxpro-file{border:1px dashed #374a62;color:#acb7ca;background:#111b2b}
html.theme-dark .fxpro-file:hover{border-color:#4290f0;color:#68a6f3}

/* ---- settings.css ---- */
html.theme-dark .set-dot{background:#3e4d67;box-shadow:0 0 0 3px rgba(62,77,103,0.2)}
html.theme-dark .set-dot.ok{background:#3cb272;box-shadow:0 0 0 3px rgba(60,178,114,0.2)}
html.theme-dark .set-dot.bad{background:#eb3344;box-shadow:0 0 0 3px rgba(235,51,68,0.2)}
html.theme-dark .set-tabs button.active{border-bottom-color:var(--accent,#1c84ed)}
html.theme-dark .set-switch input{background:#556077}
html.theme-dark .set-switch input::after{background:#111b2b}
html.theme-dark .set-switch input:checked{background:#3cb272}
html.theme-dark .set-msg.ok{color:#7edcab}
html.theme-dark .set-msg.err{color:#f797a1}
html.theme-dark .set-badge{background:#515f7b}
html.theme-dark .set-badge.ok{background:#1c4a34}
html.theme-dark .set-badge.bad{background:#854759;color:#f7a2ab}
html.theme-dark .set-badge.wait{background:#493e1d}
html.theme-dark .set-log{background:#1c2e4a}
html.theme-dark .login-journal th{background:#0c131f;color:#96a4bc}
html.theme-dark .lj-result.on{background:#173b23;color:#bdc6d5}
html.theme-dark .lj-result.bad{background:#381919;color:#ea7171}
html.theme-dark .lj-new{background:#3b3416;color:#f19d6a}

/* ---- roi.css ---- */
html.theme-dark .roi-panel-title{background:linear-gradient(120deg,#3879c9,#3c87e1);color:#ffffff}
html.theme-dark .roi-panel-title.total{background:linear-gradient(120deg,#2e56c7,#3b7be3)}
html.theme-dark .roi-table thead th.roi-broker{color:#ffffff}
html.theme-dark .roi-table td.muted{color:#677b9e}
html.theme-dark .roi-value.good{color:#68f3c8}
html.theme-dark .roi-value.warn{color:#f3b268}
html.theme-dark .roi-value.bad{color:#e87272}
html.theme-dark .need-more{color:#e87272}
html.theme-dark .need-ok{color:#68f3c8}
html.theme-dark .roi-row-withdrawals td{color:#ee8d6d}
html.theme-dark .roi-table thead th.roi-broker{color:#ffffff!important}
html.theme-dark .roi-row-roi th,html.theme-dark .roi-row-roi td{background:#111b2b}
html.theme-dark .roi-table td.need-more{color:#e87272!important}
html.theme-dark .roi-table td.need-ok{color:#68f3c8!important}
html.theme-dark .roi-dec-table thead th{background:var(--panel-2,#0c131f)}
html.theme-dark .roi-dec-table td{border-bottom:1px solid var(--line-soft,#212d41)}
html.theme-dark .roi-dec-table tbody tr:hover td{background:#222830}
html.theme-dark .roi-dec-out,html.theme-dark .roi-dec-neg{color:#e87272}
html.theme-dark .roi-dec-impact{color:#e17a7a;background:#dc4141 * .35))}

/* ---- managers.css ---- */
html.theme-dark .mgr-total header{background:linear-gradient(120deg,#3879c9,#3c87e1);color:#ffffff}
html.theme-dark .mgr-total[data-user="Carlos"] header{background:linear-gradient(120deg,#2e56c7,#3b7be3)}
html.theme-dark .mgr-total header .mgr-avatar{background:rgba(17,27,43,0.22);color:#ffffff}
html.theme-dark .mgr-avatar{background:#1d2835;color:#74a8e6}
html.theme-dark tr[data-user="Carlos"] .mgr-avatar{background:#16263b;color:#6f90ec}
html.theme-dark .mgr-idle td{color:#677b9e}
html.theme-dark .mgr-zero{color:#677b9e}
html.theme-dark .mgr-speed.fast{color:#68f3c8}
html.theme-dark .mgr-speed.ok{color:#f3b268}
html.theme-dark .mgr-speed.slow{color:#e87272}

/* ---- sales.css ---- */
html.theme-dark .sl-tile.up strong{color:#68f3c8}
html.theme-dark .sl-tile.down strong{color:#e87272}
html.theme-dark .sl-zero{color:#5f7395}
html.theme-dark .sl-out>*{color:#677b9e}
html.theme-dark .sl-out th.sl-date{color:#677b9e}
html.theme-dark .sl-future td{color:#5f7395}
html.theme-dark .sl-today>*{background:#34301e!important}
html.theme-dark .sl-week>*{background:#222830!important}
html.theme-dark .sl-week th.sl-date{color:#74a8e6}
html.theme-dark .sl-month>*{background:#1d2835!important;border-top:2px solid #2a496f}
html.theme-dark .sl-month th.sl-date{color:#75a8e6}
html.theme-dark .sl-commission>*{background:#1f3229!important;color:#bdc5d4}
html.theme-dark .sl-payout>*{background:#223026!important;color:#c4ccd9}
html.theme-dark .sl-forecast>*{background:#3b3416!important;color:#f19d6a;border-bottom:2px solid #edc645}
html.theme-dark .sl-forecast th.sl-date small{color:#f3a468}

/* ---- channels.css ---- */
html.theme-dark .button.danger{background:#cc3636;border-color:#ce3434;color:#ffffff}
html.theme-dark .button.danger:hover{background:#ab2a2a}
html.theme-dark .ch-progress.running{border-color:#2a496f;box-shadow:0 6px 24px rgba(66,135,219,0.15)}
html.theme-dark .ch-progress.running .ch-bar span{background-image:linear-gradient(45deg,rgba(17,27,43,0.25) 25%,transparent 25%,transparent 50%,rgba(17,27,43,0.25) 50%,rgba(17,27,43,0.25) 75%,transparent 75%),linear-gradient(90deg,#4287db,#d9448e)!important}
html.theme-dark .ch-bar{background:var(--line-soft,#192538)}
html.theme-dark .ch-bar span{background:linear-gradient(90deg,#4287db,#d9448e)}
html.theme-dark .ch-progress.failed .ch-bar span{background:#cc3636}
html.theme-dark .ch-log li{border-bottom:1px solid var(--line-soft,#222d41)}
html.theme-dark .ch-log .lvl-error span{color:#e87272}
html.theme-dark .ch-log .lvl-warning span{color:#f3a468}
html.theme-dark .ch-settings label{color:var(--ink-2,#b8c2d2)}
html.theme-dark .ch-project{border-top:4px solid var(--chip,#52617a)}
html.theme-dark .ch-project.project-camilo{--chip:#d6a91c}
html.theme-dark .ch-status.in{background:#173b23;color:#73e89f}
html.theme-dark .ch-status.out{background:#0c131f;color:#96a4bc}
html.theme-dark .ch-status.kicked{background:#381919;color:#ea7171}
html.theme-dark .ch-status.err{background:#3b3416;color:#f19d6a}
html.theme-dark .ch-flag{background:#cc3636;color:#ffffff}
html.theme-dark .ch-keep{background:#171f3a;color:#81a9da}
html.theme-dark .ch-table tbody tr.to-delete td{background:#2e2323!important}
html.theme-dark .ch-action.zero{background:#381919;color:#ea7171}
html.theme-dark .ch-action.inactive{background:#3b2b16;color:#f39068}
html.theme-dark .ch-action.sheet{background:#0c131f;color:#abb6c9}
html.theme-dark .ch-action.kept{background:#171f3a;color:#81a9da}
html.theme-dark .ch-low{color:#e87272}

/* ---- messenger.css ---- */
html.theme-dark{color:#c5cdda;background:#0c131f;--muted:#7d8fac;--line:#212c40;--soft:#0c131f;--accent:#586d8b;--ink:#c5cdda}
html.theme-dark button:focus-visible,html.theme-dark a:focus-visible{outline:3px solid #7a93b8}
html.theme-dark input,html.theme-dark select,html.theme-dark textarea{border:1px solid #3b4a5e;background:#111b2b;color:#bcc4d4}
html.theme-dark input:focus,html.theme-dark select:focus,html.theme-dark textarea:focus{border-color:#7f95b3;box-shadow:0 0 0 3px rgba(107,137,178,0.141)}
html.theme-dark input::placeholder,html.theme-dark textarea::placeholder{color:#7386a6}
html.theme-dark label{color:#8494b0}
html.theme-dark .account-rail{background:#111b2b}
html.theme-dark .logo-mark{color:#c3cbd8}
html.theme-dark .logo-mark span{color:#9aaac1}
html.theme-dark .rail-link{color:#7486a6}
html.theme-dark .rail-link:hover,html.theme-dark .rail-link.active{background:#24282e;color:#9cabbf}
html.theme-dark .rail-link.active{box-shadow:inset 0 0 0 1px #212831}
html.theme-dark .account-avatar{background:#0c131f;border:1px solid #3c495d;color:#8d9cb6}
html.theme-dark .account-avatar.curator{background:#0c131f;color:#8494b0;border-color:#384a61}
html.theme-dark .account-avatar.active{outline:2px solid #7d95b5}
html.theme-dark .account-avatar i{border:2px solid #232f43;background:#253552}
html.theme-dark .account-avatar.connected i{background:#7ba28f}
html.theme-dark .admin-avatar{background:#1b273c;color:#8091ae}
html.theme-dark .topbar{background:#111b2b}
html.theme-dark .wordmark span{color:#7789a8}
html.theme-dark .topnav a,html.theme-dark .topnav button{color:#8191ae}
html.theme-dark .topnav .active{background:#1a2539;color:#98a9c2}
html.theme-dark .topnav a:hover,html.theme-dark .topnav button:hover{background:#0c131f;color:#99abc2}
html.theme-dark .connection-summary{color:#7688a8}
html.theme-dark .connection-summary:before{background:#354259}
html.theme-dark .connection-summary.connected:before{background:#3d4b65}
html.theme-dark .admin-label{color:#96a4bc}
html.theme-dark .filter-panel{background:#0c131f}
html.theme-dark .subtle{color:#6c7fa1}
html.theme-dark .filter-item{color:#8696b2}
html.theme-dark .filter-item b{background:#0c131f;color:#7f90ad}
html.theme-dark .filter-item:hover{background:#0c131f}
html.theme-dark .filter-item.active{background:#222830;color:#98aac3}
html.theme-dark .filter-item.active b{background:#111b2b;color:#9caabf}
html.theme-dark .filter-caption{color:#6a7ea0}
html.theme-dark .filter-account .mini-avatar{background:#222830;color:#9aabc1}
html.theme-dark .filter-account.curator .mini-avatar{background:#23282f;color:#7e8fad}
html.theme-dark .filter-account small{color:#7386a6}
html.theme-dark .filter-note{color:#6c7fa1}
html.theme-dark .online-dot{background:#3c4b64}
html.theme-dark .text-button{color:#8293af}
html.theme-dark .conversation-panel{background:#111b2b}
html.theme-dark .search-box{border:1px solid #394760;background:#0c131f}
html.theme-dark .search-box svg{color:#6f82a3}
html.theme-dark .icon-button{color:#7b8caa}
html.theme-dark .icon-button:hover{background:#24282e;color:#9aabc1}
html.theme-dark .icon-button.is-favorite{color:#c7b694}
html.theme-dark .icon-button.is-favorite svg{fill:rgba(214,199,167,0.251)}
html.theme-dark .dialog-item{border-bottom:1px solid #212d40;background:#111b2b}
html.theme-dark .dialog-item:hover{background:#0c131f}
html.theme-dark .dialog-item.active{background:#212831}
html.theme-dark .dialog-item.active:before{background:#748aa9}
html.theme-dark .avatar{background:#1a2539;border:1px solid #384961;color:#7f90ad}
html.theme-dark .dialog-item.curator .avatar{background:#24282e;color:#7a8caa;border-color:#344a65}
html.theme-dark .dialog-title{color:#aab6c9}
html.theme-dark .dialog-time{color:#6d81a2}
html.theme-dark .dialog-preview{color:#7285a5}
html.theme-dark .unread-badge{background:#748ba9;color:#ffffff}
html.theme-dark .account-tag,html.theme-dark .stage-tag{color:#9dabbe;background:#0c131f}
html.theme-dark .dialog-item.active .account-tag{background:rgba(17,27,43,0.6);color:#9aabc1}
html.theme-dark .stage-tag{color:#7d8eac;background:#0c131f}
html.theme-dark .dialog-favorite{color:#c1b39a}
html.theme-dark .list-info{color:#6c7fa1;border-top:1px solid #222d41}
html.theme-dark .chat-panel{background:#0c131f}
html.theme-dark .chat-header{background:#111b2b}
html.theme-dark .chat-title h2{color:#9dabbe}
html.theme-dark .chat-title>span{color:#6f82a3}
html.theme-dark .sending-identity{color:#7184a4;background:#0c131f;border-bottom:1px solid #212d41}
html.theme-dark .sending-identity strong{color:#9baac0}
html.theme-dark .message{background:#111b2b;border:1px solid #364863;box-shadow:0 2px 3px rgba(0,0,0,0.02)}
html.theme-dark .message.outgoing{background:#222830;border-color:#2a466f}
html.theme-dark .message-text{color:#9ba8bf}
html.theme-dark .message-media{color:#798baa;background:#0c131f}
html.theme-dark .message-media small{color:#6c7fa1}
html.theme-dark .date-separator{color:#7083a4;background:#0c131f}
html.theme-dark .history-button{border:1px solid #364963;background:#111b2b;color:#7688a8}
html.theme-dark .composer{border:1px solid #354864;background:#111b2b;box-shadow:0 3px 13px rgba(0,0,0,0.039)}
html.theme-dark .composer-bottom>span{color:#677b9e}
html.theme-dark .send-button{background:#5b708d;color:#ffffff;box-shadow:0 2px 3px rgba(0,0,0,0.216)}
html.theme-dark .send-button:hover:not(:disabled){background:#4c6280}
html.theme-dark .send-feedback{color:#c6af95;background:#2f2a23}
html.theme-dark .chat-placeholder{color:#7285a5}
html.theme-dark .empty-illustration{background:#23282e;box-shadow:0 0 0 12px #0c131f}
html.theme-dark .empty-illustration>span{background:#1c2836;border:3px solid #222e42}
html.theme-dark .empty-illustration>span:last-child{background:#212831}
html.theme-dark .eyebrow{color:#6f82a3}
html.theme-dark .chat-placeholder h2{color:#94a2ba}
html.theme-dark .chat-placeholder p{color:#6d80a2}
html.theme-dark .empty-account-labels span{border:1px solid #364963}
html.theme-dark .button{border:1px solid #374962;background:#111b2b;color:#9cabbe}
html.theme-dark .button.primary{background:#596f8c;border-color:#596f8d;color:#ffffff}
html.theme-dark .button.primary:hover{background:#4a6282}
html.theme-dark .button.danger{border-color:#643535;color:#c09b9b;background:#111b2b}
html.theme-dark .client-panel{background:#111b2b}
html.theme-dark .client-panel-header svg{color:#7285a5}
html.theme-dark .client-panel-header h2{color:#8596b1}
html.theme-dark .panel-empty{color:#6c7fa1}
html.theme-dark .panel-empty strong{color:#798baa}
html.theme-dark .client-identity h3{color:#96a4bc}
html.theme-dark .client-identity p{color:#6e81a2}
html.theme-dark .client-quick-fields input,html.theme-dark .client-quick-fields select,html.theme-dark .client-quick-fields textarea{background:#111b2b;border-color:#324967;color:#9dabbe}
html.theme-dark .client-quick-fields label{color:#9cabbf}
html.theme-dark .client-field-group{border-bottom:1px solid #212d41}
html.theme-dark .client-save-status{color:#7688a7}
html.theme-dark .client-save-status.error{color:#ccab8f}
html.theme-dark .client-contact-list{color:#9aabc0}
html.theme-dark .client-link-choice{border:1px solid #364963;background:#0c131f;color:#9babc0}
html.theme-dark .client-link-choice:hover{background:#23282f}
html.theme-dark .client-unlink{color:#65799c}
html.theme-dark .global-alert{background:#546378;color:#ffffff;box-shadow:0 7px 30px rgba(0,0,0,0.314)}
html.theme-dark .inline-error{background:#302822;color:#c7ab94;border-bottom:1px solid #6f4d2a}
html.theme-dark .settings-dialog{border:1px solid #374b62;color:#96a4bc;box-shadow:0 25px 100px rgba(74,100,130,0.161)}
html.theme-dark .settings-dialog::backdrop{background:rgba(71,98,133,0.349)}
html.theme-dark .modal-heading h2{color:#9aaac1}
html.theme-dark .api-settings{border:1px solid #364963;background:#111b2b}
html.theme-dark .api-settings a{color:#97acc3}
html.theme-dark .form-status{color:#788aa9}
html.theme-dark .account-settings-card{border:1px solid #334766}
html.theme-dark .account-settings-header p{color:#6d80a1}
html.theme-dark .account-settings-card .connected-info{color:#9aabc1}
html.theme-dark .account-settings-card .account-error{color:#c8ac93}
@media(max-width:1230px){html.theme-dark .client-panel{box-shadow:-8px 0 40px rgba(0,0,0,0.314)}}
@media(max-width:980px){html.theme-dark .mobile-filters select{border-color:#344a65;color:#788aa9}}
@media(max-width:700px){html.theme-dark .settings-dialog .inline-error{border:1px solid #6f4d2a}}
html.theme-dark .dialog-title{color:#9baac0}
html.theme-dark .dialog-preview{color:#8999b4}
html.theme-dark .dialog-time{color:#8091ae}
html.theme-dark .account-tag{color:#8998b3}
html.theme-dark .stage-tag{color:#909fb8}
html.theme-dark .message-text{color:#9fabc1}
html.theme-dark .message time{color:#9dabbe}
html.theme-dark .message-media{color:#8a9ab4}
html.theme-dark .message-media small{color:#7b8dab}
html.theme-dark .date-separator{color:#7e8fac}
html.theme-dark .sending-identity{color:#7d8eac}
html.theme-dark .sending-identity strong{color:#99abc2}
html.theme-dark .chat-title>span{color:#9babbf}
html.theme-dark .composer-bottom>span{color:#7a8caa}
html.theme-dark .client-quick-fields label{color:#8595b1}
html.theme-dark .client-quick-fields input,html.theme-dark .client-quick-fields select,html.theme-dark .client-quick-fields textarea{color:#9dabbe}
html.theme-dark .client-identity h3{color:#98abc3}
html.theme-dark .client-identity p,html.theme-dark .client-contact-list,html.theme-dark .client-contact-list span{color:#9babc0}
html.theme-dark .client-section-caption{color:#9cabbf}
html.theme-dark .client-panel-header h2{color:#9dabbe}
html.theme-dark .linked-account-note{color:#9babbf}
html.theme-dark .client-link-choice small{color:#9babc0}
html.theme-dark .filter-item{color:#8b9ab5}
html.theme-dark .filter-account small{color:#7a8baa}
html.theme-dark .filter-note,html.theme-dark .filter-bottom .text-button{color:#7a8caa}
html.theme-dark .list-info{color:#7b8dab}
html.theme-dark .panel-empty{color:#9dabbe}
html.theme-dark .panel-empty strong{color:#9cabbf}
html.theme-dark .chat-placeholder p{color:#9aaac1}
html.theme-dark .chat-placeholder h2{color:#9aabc0}
html.theme-dark .empty-account-labels span{color:#99abc2}
html.theme-dark .connection-summary{color:#7d8eac}
html.theme-dark .auth-help,html.theme-dark .settings-footnote,html.theme-dark .account-settings-header p{color:#9aaac1}
html.theme-dark .modal-heading p{color:#9aaac1}
html.theme-dark #clear-send-attempt{color:#c4b097}
html.theme-dark{--bg:#0c131f;--panel:#111b2b;--surface:#0c131f;--input:#111b2b;--muted:#8091ae;--line:#212d40;--soft:#0c131f;--accent:#3386eb;--accent-2:#3b86e3;--accent-soft:rgba(51,134,235,0.078);--ink:#ced4df;--selected:#1f2833;--hover:#0c131f}
html.theme-dark input,html.theme-dark select,html.theme-dark textarea{background:#111b2b;border-color:#3a4b5f}
html.theme-dark input::placeholder,html.theme-dark textarea::placeholder{color:#6f82a3}
html.theme-dark input:focus,html.theme-dark select:focus,html.theme-dark textarea:focus{border-color:#2a496f;box-shadow:0 0 0 4px rgba(51,134,235,0.078)}
html.theme-dark button:focus-visible,html.theme-dark a:focus-visible{outline-color:#2a496f}
html.theme-dark label{color:#8998b3}
html.theme-dark .account-rail{background:#111b2b}
html.theme-dark .rail-link{color:#7688a7}
html.theme-dark .account-avatar{background:linear-gradient(135deg,#1a2738,#1f2833);color:#72a8e8}
html.theme-dark .account-avatar.curator{background:linear-gradient(135deg,#351c28,#36261c);color:#f39068}
html.theme-dark .account-avatar i{border-color:#232f43;background:#243450}
html.theme-dark .account-avatar.connected i,html.theme-dark .connection-summary.connected:before,html.theme-dark .online-dot{background:#31b662}
html.theme-dark .topbar{background:rgba(17,27,43,0.86)}
html.theme-dark .topnav a,html.theme-dark .topnav button{color:#9facc2}
html.theme-dark .connection-summary:before{background:#243450}
html.theme-dark .filter-panel{background:#111b2b}
html.theme-dark .filter-item{color:#abb6c9}
html.theme-dark .filter-item b,html.theme-dark .filter-item.active b{color:#ffffff}
html.theme-dark .filter-item:not(.active) b{background:#192538;color:#9facc2}
html.theme-dark .filter-account .mini-avatar{background:linear-gradient(135deg,#1a2738,#1f2833);color:#72a8e8}
html.theme-dark .filter-account.curator .mini-avatar{background:linear-gradient(135deg,#351c28,#36261c);color:#f39068}
html.theme-dark .conversation-panel{background:#111b2b}
html.theme-dark .conversation-search{background:#111b2b}
html.theme-dark .search-box:focus-within{background:#111b2b;border-color:#2a496f;box-shadow:0 0 0 4px rgba(51,134,235,0.071)}
html.theme-dark .search-box svg{color:#7385a5}
html.theme-dark .icon-button{color:#8091ae}
html.theme-dark .icon-button.is-favorite{color:#f3bf68}
html.theme-dark .icon-button.is-favorite svg{fill:rgba(243,191,104,0.2)}
html.theme-dark .avatar{background:linear-gradient(135deg,#3386eb,#3b86e3);color:#ffffff}
html.theme-dark .dialog-item.curator .avatar{background:linear-gradient(135deg,#e63851,#e09920)}
html.theme-dark .dialog-time{color:#7688a7}
html.theme-dark .dialog-preview{color:#95a3bb}
html.theme-dark .unread-badge{color:#ffffff;box-shadow:0 2px 6px -2px rgba(51,134,235,0.6)}
html.theme-dark .account-tag,html.theme-dark .dialog-item.active .account-tag{background:#192538;color:#9facc2}
html.theme-dark .dialog-item.curator .account-tag{background:#36261c;color:#f39068}
html.theme-dark .stage-tag{background:#1c2a36;color:#68c2f3}
html.theme-dark .dialog-favorite{color:#f3bf68}
html.theme-dark .list-info{background:#111b2b}
html.theme-dark .chat-header{background:#111b2b}
html.theme-dark .sending-identity{background:#111b2b}
html.theme-dark .message{background:#111b2b;box-shadow:0 1px 2px rgba(0,0,0,0.147),0 2px 10px -4px rgba(0,0,0,0.196)}
html.theme-dark .message.outgoing{background:linear-gradient(135deg,#3386eb,#3c87e1);box-shadow:0 6px 16px -10px rgba(51,134,235,0.8)}
html.theme-dark .message.outgoing .message-text{color:#ffffff}
html.theme-dark .message time{color:#7688a7}
html.theme-dark .message.outgoing time{color:rgba(225,238,255,0.8)}
html.theme-dark .message-media{background:#0c131f;color:#abb6c9}
html.theme-dark .message.outgoing .message-media{background:rgba(17,27,43,0.149);color:#ffffff}
html.theme-dark .date-separator{background:#111b2b;color:#8998b3;box-shadow:0 1px 2px rgba(0,0,0,0.147)}
html.theme-dark .history-button{background:#111b2b}
html.theme-dark .composer{background:#111b2b;box-shadow:0 10px 30px -14px rgba(0,0,0,0.5)}
html.theme-dark .composer:focus-within{border-color:#2a496f;box-shadow:0 10px 30px -14px rgba(51,134,235,0.333),0 0 0 4px rgba(51,134,235,0.063)}
html.theme-dark .composer-bottom>span{color:#6f82a3}
html.theme-dark .send-button{background:linear-gradient(135deg,#3386eb,#3b86e3);color:#ffffff;box-shadow:0 8px 18px -10px rgba(51,134,235,0.8)}
html.theme-dark .send-feedback{background:#332a1f;color:#ee8d6d}
html.theme-dark #clear-send-attempt{color:#ee8d6d}
html.theme-dark .empty-illustration{background:#111b2b;box-shadow:0 0 0 12px rgba(51,134,235,0.051),0 18px 40px -20px rgba(51,134,235,0.4)}
html.theme-dark .empty-illustration>span{border-color:#232f43}
html.theme-dark .empty-illustration>span:last-child{background:#e09920}
html.theme-dark .eyebrow{color:#7688a7}
html.theme-dark .empty-account-labels span{color:#9facc2;background:#111b2b}
html.theme-dark .button{background:#111b2b;border-color:#3a4b5f;color:#b6c0d0}
html.theme-dark .button.primary{background:linear-gradient(135deg,#3386eb,#3b86e3);color:#ffffff}
html.theme-dark .button.danger{background:#312122;border-color:#6f2a33;color:#f16a8b}
html.theme-dark .client-panel{background:#111b2b}
html.theme-dark .client-identity p,html.theme-dark .client-contact-list{color:#95a3bb}
html.theme-dark .client-quick-fields input:focus,html.theme-dark .client-quick-fields select:focus,html.theme-dark .client-quick-fields textarea:focus{background:#111b2b;border-color:#2a496f}
html.theme-dark .client-quick-fields label{color:#8998b3}
html.theme-dark .client-section-caption{color:#7688a7}
html.theme-dark .client-save-status{color:#6fec9d}
html.theme-dark .client-save-status.error{color:#f39068}
html.theme-dark .client-contact-list span{color:#7688a7}
html.theme-dark .global-alert{background:#262b40;color:#ffffff;box-shadow:0 12px 40px -12px #000000}
html.theme-dark .global-alert button{color:#b5d5fd}
html.theme-dark .inline-error{background:#332a1f;color:#ee8d6d;border-color:#6f4f2a}
html.theme-dark .settings-dialog{background:#111b2b;box-shadow:0 30px 80px -20px rgba(0,0,0,0.833)}
html.theme-dark .settings-dialog::backdrop{background:rgba(38,43,64,0.4)}
html.theme-dark .form-status{color:#6fec9d}
html.theme-dark .account-settings-card{background:#111b2b}
html.theme-dark .account-settings-card .connected-info{color:#b6c0d0}
html.theme-dark .account-settings-card .account-error{color:#f39068}
html.theme-dark .mobile-filters{background:#111b2b}
html.theme-dark .settings-dialog .inline-error{border-color:#6f4f2a}
html.theme-dark .client-profile-trigger.avatar{background:linear-gradient(135deg,#3386eb,#3b86e3)}
html.theme-dark .history-status{background:#222830;border-bottom:1px solid #2a496f;color:#72a8e8}
html.theme-dark .history-status[data-status='ready']{background:#223026;color:#73e89f;border-color:#2a6f42}
html.theme-dark .history-status[data-status='paused']{background:#332a1f;color:#ee8d6d;border-color:#6f512a}
html.theme-dark .history-status button{border:1px solid #2a496f;background:#111b2b}
html.theme-dark .jump-to-latest{background:#396293;color:#ffffff;border:1px solid #5f85b0;box-shadow:0 3px 14px #000000}
html.theme-dark .message-media .media-photo{background:#1e2e48}
html.theme-dark .message-media video{background:#192334}
html.theme-dark .media-progress{background:#4b5f81}
html.theme-dark .media-progress button,html.theme-dark .media-download{color:#9ecaf7}
html.theme-dark .broker-icon{border:1px solid #5f6c87;background:#4c5e80}
html.theme-dark .broker-icon[data-state=positive]{background:#1c6eb0;border-color:#3fa6ef;color:#ffffff;box-shadow:0 0 14px rgba(31,141,233,0.4)}
html.theme-dark .broker-icon[data-state=unknown]:after{background:#475d85}
html.theme-dark .quick-profile-totals>div{border-bottom:1px solid #546c92}
html.theme-dark{--accent:#3386eb}
html.theme-dark .logo-mark .rail-logo{filter:drop-shadow(0 4px 10px rgba(0,0,0,0.833))}
html.theme-dark{--accent:#3386eb}
html.theme-dark .jump-to-latest{background:#111b2b;border:1px solid #2a496f;box-shadow:0 8px 24px -10px rgba(0,0,0,0.833)}
html.theme-dark .message-media .media-photo{background:#0c131f}
html.theme-dark .media-file-name{color:#95a3bb}
html.theme-dark .message.outgoing .media-file-name{color:#e9f2fe}
html.theme-dark .media-progress{background:#0c131f}
html.theme-dark .message.outgoing .media-progress{background:rgba(17,27,43,0.149)}
html.theme-dark .message.outgoing .media-progress button,html.theme-dark .message.outgoing .media-download{color:#ffffff}
html.theme-dark .media-failure{color:#f39068}
html.theme-dark .broker-icon{border:1px solid #3a4b5f;background:#111b2b;color:#7688a7}
html.theme-dark .broker-icon[data-state=positive]{background:linear-gradient(135deg,#3386eb,#3b86e3);color:#ffffff;box-shadow:0 6px 14px -8px rgba(51,134,235,0.8)}
html.theme-dark .broker-icon[data-state=unknown]:after{background:#192538;color:#9facc2}
html.theme-dark .quick-profile-totals small{color:#f39068}
html.theme-dark .logo-mark .rail-logo{filter:drop-shadow(0 4px 10px rgba(51,134,235,0.2))}
html.theme-dark .money-throw-note{box-shadow:0 8px 22px #000000}
html.theme-dark .celebrate-layer{background:radial-gradient(circle at 50% 42%,rgba(51,114,235,0.333) 0,rgba(52,97,152,0.6) 45%,rgba(28,49,74,0.8) 100%)}
html.theme-dark .celebrate-hero{filter:drop-shadow(0 18px 24px #000000)}
html.theme-dark .celebrate-layer{background:radial-gradient(circle at 50% 40%,rgba(51,114,235,0.4) 0,rgba(52,97,152,0.733) 42%,rgba(28,49,74,0.902) 100%)!important}
html.theme-dark .message-translation{border-left:3px solid #4d91e5;background:rgba(63,135,223,0.08);color:#acb7ca}
html.theme-dark .message-translation::before{color:#6ca7f0}
html.theme-dark .message time .ticks{color:#788aa9}
html.theme-dark .message time .ticks.read{color:#68b0f3}
html.theme-dark .translate-toggle{border:1px solid #2a496f;background:#111b2b;color:#96a4bc}
html.theme-dark .translate-toggle.on{background:#1d2835;border-color:#2a496f;color:#74a8e7}
html.theme-dark .translate-button{border:1px solid #2a496f;background:#212831;color:#74a8e7}
html.theme-dark .translate-button:hover:not(:disabled){background:#192738}
html.theme-dark .translate-note{background:#0c131f;color:#96a4bc}
html.theme-dark .translate-note em{color:#b6c0d0}
html.theme-dark .translation-settings{border-top:1px solid #394b60}
html.theme-dark .message.outgoing time .ticks{color:rgba(255,255,255,0.75)}
html.theme-dark .message.outgoing time .ticks.read{color:#97edf7;text-shadow:0 0 4px rgba(51,217,235,0.55)}
html.theme-dark .qr-image{background:#111b2b;border:1px solid #3a4b5f}
html.theme-dark .messenger-shell .quick-profile-totals>div{background:var(--surface,#0c131f)}
html.theme-dark .client-work{background:#111b2b}
html.theme-dark .chat-tl-totals .pos{color:#68f3c8}
html.theme-dark .chat-tl-totals .neg{color:#e87272}
html.theme-dark .chat-tl-chip.on{border-color:#2a496f;background:#222830}
html.theme-dark .chat-tl-chip.k-drawdown.on{background:#1c2836;border-color:#2a496f;color:#71a7ea}
html.theme-dark .chat-tl-feed::before{background:#24262e}
html.theme-dark .chat-tl-go{color:#6ca7f0;background:#1f2833}
html.theme-dark .chat-tl-go:hover{background:#16273b;color:#74a8e7}
html.theme-dark .chat-tl-item{border:1px solid #212d41}
html.theme-dark .chat-tl-item>i{background:#7c8ca1;box-shadow:0 0 0 2px #111b2b}
html.theme-dark .chat-tl-item p{color:#aab5c9}
html.theme-dark .chat-tl-broker{background:rgba(124,140,161,0.18);color:#abb6c9}
html.theme-dark .chat-tl-broker.broker-bullwaves{background:rgba(59,123,227,0.13);color:#6a94f1}
html.theme-dark .chat-tl-broker.broker-vantage{background:rgba(229,119,42,0.13);color:#f39868}
html.theme-dark .chat-tl-broker.broker-startrader{background:rgba(47,157,95,0.13);color:#73e89f}
html.theme-dark .chat-tl-bal{color:#95a3bb}
html.theme-dark .k-deposit>i{background:#20ac7e}
html.theme-dark .k-deposit .chat-tl-amount{color:#68f3c8}
html.theme-dark .k-withdrawal>i{background:#dc4141}
html.theme-dark .k-withdrawal .chat-tl-amount{color:#e87272}
html.theme-dark .k-drawdown>i{background:#2f71c1}
html.theme-dark .k-drawdown .chat-tl-amount{color:#ea7190}
html.theme-dark .k-registration>i{background:#4287dc}
html.theme-dark .chat-tl-item.k-registration{background:rgba(66,135,220,0.05)}
html.theme-dark .k-note>i{background:#768da7}
html.theme-dark .dialog-title .client-dot{box-shadow:0 0 0 1.5px #111b2b,0 1px 2px rgba(0,0,0,0.625)}
html.theme-dark .dialog-title .client-dot.vip{background:#26a655}
html.theme-dark .dialog-title .client-dot.fx{background:#376ad9}
html.theme-dark .dialog-title .client-dot.kopi{background:#e5772a}
html.theme-dark .dialog-line .wait-badge{color:#e87272}
html.theme-dark .k-profit>i{background:#18b484}
html.theme-dark .k-profit .chat-tl-amount{color:#68f3c8}
html.theme-dark .chat-tl-chip.k-profit.on{background:#173b23;border-color:#57db87;color:#bdc5d4}
html.theme-dark .chat-ids .copy-chip{background:#111b2b;color:#b6c0d0}
html.theme-dark .chat-ids .copy-chip b{color:#8091ae}
html.theme-dark .chat-ids .copy-chip:hover{border-color:#2a496f;background:#222830;color:#72a8e8}
html.theme-dark .chat-ids .copy-chip.copied{border-color:#21c58e;color:#bdc5d4;background:#1f3229}
html.theme-dark .chat-ids .copy-chip.copy-failed{border-color:#e25050;color:#ea7171}
html.theme-dark .chat-ids .copy-chip.tg{border-color:#2a496f}
html.theme-dark .message.outgoing .message-translation{color:rgba(255,255,255,0.92);border-left-color:rgba(35,47,67,0.55);background:rgba(17,27,43,0.14)}
html.theme-dark .filter-kopi-dot{background:#e5772a;box-shadow:0 0 0 2px #111b2b,0 1px 3px rgba(229,119,42,0.5)}
html.theme-dark .filter-withdraw-mark{color:#e87272}
html.theme-dark .withdraw-days{color:#97a5bd}
html.theme-dark .withdraw-days input{border:1px solid #3d435c;color:#d3d9e3;background:#111b2b}
html.theme-dark .dialog-line .withdraw-badge b{color:#e87272}
html.theme-dark .dialog-line .withdraw-badge small{color:#7688a7}
html.theme-dark .composer-resizer::before{background:#23262f}
html.theme-dark .composer-resizer::after{background:#7b87a3}
html.theme-dark .composer-resizer:hover::before,html.theme-dark .composer-resizer.dragging::before,html.theme-dark .composer-resizer:focus-visible::before{background:#3a86e3}
html.theme-dark .composer-resizer:hover::after,html.theme-dark .composer-resizer.dragging::after,html.theme-dark .composer-resizer:focus-visible::after{background:#4287db}
html.theme-dark .tr-backlog{border-top:1px solid #212d40}
html.theme-dark .tr-backlog-status{color:#b8c2d2}
html.theme-dark .tr-backlog-status.error{color:#f3a468}
html.theme-dark .col-resizer:hover::after,html.theme-dark .col-resizer.dragging::after{background:#3a86e3}
html.theme-dark .role-filter{background:#0c131f}
html.theme-dark .role-filter button{color:#97a5bd}
html.theme-dark .role-filter button:hover{color:#d3d9e3}
html.theme-dark .role-filter button.active{background:#111b2b;color:#72a8e8;box-shadow:0 1px 3px rgba(0,0,0,0.3)}
html.theme-dark .filter-account.is-online small{color:#6fec9d!important}
html.theme-dark .filter-account.is-online .mini-avatar{box-shadow:0 0 0 2px #111b2b,0 0 0 4px rgba(49,182,98,0.333)}
html.theme-dark .chat-project{background:#192538;color:#ced4df}
html.theme-dark .chat-project.project-daniyar{background:#376ad9;color:#ffffff}
html.theme-dark .chat-project.project-camilo{background:#e5c02a;color:#e9aa72}
html.theme-dark .chat-project.project-simon{background:#cc3636;color:#ffffff}
html.theme-dark .messenger-body{--project-daniyar:#376ad9;--project-camilo:#e5c02a;--project-camilo-ink:#e9aa72;--project-simon:#cc3636}
html.theme-dark .message-reply{border-left:3px solid #478ce0;background:rgba(66,135,219,0.08)}
html.theme-dark .message-reply b{color:#74a8e6}
html.theme-dark .message.outgoing .message-reply{background:rgba(17,27,43,0.16);border-left-color:rgba(35,47,67,0.75)}
html.theme-dark .message.outgoing .message-reply b{color:#ffffff}
html.theme-dark .message-actions{background:#111b2b;box-shadow:0 2px 10px rgba(0,0,0,0.4)}
html.theme-dark .message-actions button{color:#76a8e4}
html.theme-dark .message-actions button:hover{background:#1e2833}
html.theme-dark .message-actions button.danger{color:#e87272}
html.theme-dark .message-actions button.danger:hover{background:#381919}
html.theme-dark .compose-context{border-left:3px solid #478ce0;background:#212831}
html.theme-dark .compose-context[data-mode="edit"]{border-left-color:#e39a1d;background:#342c1e}
html.theme-dark .compose-context-icon::before{color:#69a7f1}
html.theme-dark .compose-context[data-mode="edit"] .compose-context-icon::before{color:#f3b268}
html.theme-dark .compose-context-text b{color:#76a8e4}
html.theme-dark .compose-context[data-mode="edit"] .compose-context-text b{color:#f19d6a}
html.theme-dark .compose-context-text span{color:#acb7ca}
html.theme-dark .broker-icon .broker-summary{background:#27323f;color:#ffffff;box-shadow:0 10px 28px rgba(0,0,0,0.7)}
html.theme-dark .broker-icon .broker-summary::before{border-bottom-color:#5b708b}
html.theme-dark .broker-summary .bs-uid{color:#a9cdf8}
html.theme-dark .broker-summary .bs-row b{color:#7789a8}
html.theme-dark .broker-summary .bs-row.neg em{color:#f47575}
html.theme-dark .composer-tool{color:#97a5bd}
html.theme-dark .composer-tool:hover{background:#202831;color:#74a8e6}
html.theme-dark .composer-tool.on{background:#1b2736;color:#74a8e6;border-color:#2a496f}
html.theme-dark .emoji-panel{border:1px solid #202b3f;background:#111b2b;box-shadow:0 12px 32px rgba(0,0,0,0.45)}
html.theme-dark .emoji-panel button:hover{background:#202831}
html.theme-dark .tpl-cat{border:1px solid #202b3f;background:#111b2b;color:#b8c2d2}
html.theme-dark .tpl-cat b{color:#7789a8}
html.theme-dark .tpl-cat:hover{border-color:#2a496f}
html.theme-dark .tpl-cat.active{background:#1b2736;border-color:#2a496f;color:#76a8e4}
html.theme-dark .tpl-add-cat{border:1px dashed #2a496f;color:#74a8e6}
html.theme-dark .tpl-plus{background:#3386eb;color:#ffffff;box-shadow:0 4px 12px rgba(51,134,235,0.35)}
html.theme-dark .tpl-plus:hover{background:#4c88d1}
html.theme-dark .tpl-icon{color:#97a5bd}
html.theme-dark .tpl-icon:hover{background:#202831;color:#76a8e4}
html.theme-dark .tpl-icon.danger:hover{background:#381919;color:#e87272}
html.theme-dark .tpl-hint{color:#7789a8}
html.theme-dark .tpl-error{color:#e87272}
html.theme-dark .tpl-card{border-bottom:1px solid #212d41}
html.theme-dark .tpl-num{color:#7789a8}
html.theme-dark .tpl-text{color:#d3d9e3}
html.theme-dark .tpl-tr{color:#7f90ad}
html.theme-dark .tpl-use{background:#1b2736;color:#72a8e8}
html.theme-dark .tpl-use:hover{background:#16273b}
html.theme-dark .tpl-editor textarea{border:1px solid #3d435c}
html.theme-dark .tpl-editor textarea:focus{border-color:#2a496f;box-shadow:0 0 0 3px #1b2736}
html.theme-dark .messages>.date-separator{box-shadow:0 2px 8px rgba(0,0,0,0.3)}
html.theme-dark .templates-panel .tpl-cats{border-right:1px solid #212d41}
html.theme-dark .templates-panel .tpl-cat:hover{background:#222830}
html.theme-dark .templates-panel .tpl-cat.active{background:#1b2736;color:#76a8e4}
html.theme-dark .templates-panel .tpl-add-cat{border:1px dashed #2a496f}
html.theme-dark .templates-panel .tpl-add-cat:hover{background:#202831}
html.theme-dark .templates-panel .tpl-card{border:1px solid #3a445f;background:#111b2b}
html.theme-dark .templates-panel .tpl-card:hover{border-color:#2a496f;box-shadow:0 2px 10px rgba(51,134,235,0.12)}
html.theme-dark .templates-panel .tpl-card:focus-visible{border-color:#478ce0;box-shadow:0 0 0 3px #1b2736}
html.theme-dark .templates-panel .tpl-card.used{background:#223026;border-color:#57db87}
html.theme-dark .templates-panel .tpl-check{background:#1b2736;color:#74a8e6}
html.theme-dark .templates-panel .tpl-card:hover .tpl-check{background:#3386eb;color:#ffffff}
html.theme-dark .templates-panel .tpl-card.used .tpl-check{background:#31b662;color:#ffffff}
html.theme-dark .chat-tl-item.k-subscription>i{background:#229ed5}
html.theme-dark .chat-tl-item.k-dialog>i{background:#3b86e3}
html.theme-dark .chat-tl-chip.k-subscription.on{background:#182c3a;border-color:#46b6ec;color:#68c2f3}
html.theme-dark .chat-tl-chip.k-dialog.on{background:#1c2836;border-color:#2a496f;color:#73a8e8}
html.theme-dark .chat-tl-item.k-withdrawal .chat-tl-title{color:#e87272}
html.theme-dark .geo-tag{background:#0c131f;color:#99aac2}
html.theme-dark .geo-tag b{color:#96a4bc}
html.theme-dark .chat-region.region-spain{background:#e5c02a;color:#e9aa72}
html.theme-dark .chat-region.region-latam{background:#31b662;color:#ffffff}
html.theme-dark .client-nick .copy-chip{background:#111b2b;color:#b6c0d0}
html.theme-dark .client-nick .copy-chip:hover{border-color:#2a496f;background:#222830;color:#72a8e8}
html.theme-dark .client-nick .copy-chip.copied{border-color:#21c58e;color:#bdc5d4;background:#1f3229}
html.theme-dark .client-nick .copy-chip.copy-failed{border-color:#e25050;color:#ea7171}
html.theme-dark .vip-links{border:1px solid #2a496f;background:#0c131f}
html.theme-dark .vip-links-title{color:#8999b4}
html.theme-dark .vip-link-btn{border:1px solid #2a496f;background:#111b2b;color:#7da9de}
html.theme-dark .vip-link-btn:hover:not(:disabled){background:#1f2833;border-color:#2a496f}
html.theme-dark .message.deleted .message-text{text-decoration-color:rgba(232,114,114,0.55)}
html.theme-dark .deleted-mark{background:#381919;color:#ea7171}
html.theme-dark .chat-sound-toggle{border:1px solid #2a496f;background:#222830;color:#68a6f3}
html.theme-dark .chat-sound-toggle:hover{background:#1b2736}
html.theme-dark .chat-sound-toggle.off{color:#7688a7;border-color:#202b3f}
html.theme-dark .chat-sound-toggle.off:hover{color:#96a4bc;background:#0c131f}
html.theme-dark .voice-transcript .vt-ru{border-left:3px solid #4290f0;background:rgba(51,134,235,0.08)}
html.theme-dark .voice-transcript .vt-orig{color:#8a99b4}
html.theme-dark .vt-button{border:1px solid #2a496f;background:#23282f;color:#72a8e8}
html.theme-dark .vt-button:hover{background:#1b2737}
html.theme-dark .chat-tags{border-bottom:1px solid #212d41;background:#111b2b}
html.theme-dark .chat-tag{background:#1f2432;color:#83a9d7}
html.theme-dark .chat-tag.blocked{background:#381919;color:#ea7171}
html.theme-dark .chat-tag button:hover{background:rgba(25,35,52,0.07)}
html.theme-dark .chat-tag-add input{border:1px dashed #3a445f}
html.theme-dark .chat-tag-add input:focus{border-color:#4290f0}
html.theme-dark .message.failed-send .message-text{color:#ea7171}
html.theme-dark .message.failed-send>*:not(time){border-color:#6f2a2a}
html.theme-dark .messenger-shell .message.failed-send,html.theme-dark .message.outgoing.failed-send{background:#302222!important;color:#e77474!important;border:1px solid #6f2a2a}
html.theme-dark .message.outgoing.failed-send time{color:#cd8d8d!important}
html.theme-dark .message.outgoing.failed-send .message-text{color:#e77474!important}
html.theme-dark .chat-tag.auto{background:#381919;color:#ea7171}
html.theme-dark .chat-tag.blocked{background:#1c293f;color:#acb7ca}
html.theme-dark .seen-toggle{color:#7688a7}
html.theme-dark .seen-toggle.is-seen{color:#6fec9d;background:#173b23}
html.theme-dark .filter-seen-mark{color:#6fec9d}
html.theme-dark time .seen-toggle{border:1px solid #3a435f;background:#111b2b;color:#7688a7}
html.theme-dark time .seen-toggle:hover{border-color:#28bd5f;color:#6fec9d}
html.theme-dark time .seen-toggle.is-seen{background:#26a655;border-color:#28bd5f;color:#ffffff}
html.theme-dark .chat-brokers .broker-icon[data-state="positive"][data-qual="qual"]{background:linear-gradient(135deg,#26a655,#31b662)!important;border-color:#28bd5f!important;color:#ffffff!important;box-shadow:0 4px 12px rgba(38,166,85,0.3)}
html.theme-dark .chat-brokers .broker-icon[data-state="positive"][data-qual="nequal"]{background:linear-gradient(135deg,#d65e20,#e5772a)!important;border-color:#d95d1d!important;color:#ffffff!important;box-shadow:0 4px 12px rgba(214,94,32,0.3)}
html.theme-dark .withdraw-qual button{border:1px solid #374162;background:#111b2b;color:#97a5bd}
html.theme-dark .withdraw-qual button.active{background:#3386eb;border-color:#4290f0;color:#ffffff}
html.theme-dark .withdraw-qual button[data-wqual=qual]:not(.active) b{color:#73e89f}
html.theme-dark .withdraw-qual button[data-wqual=nequal]:not(.active) b{color:#f39068}
html.theme-dark .chat-tag.qual{background:#173b23;color:#73e89f}
html.theme-dark .chat-tag.nequal{background:#3b2b16;color:#f39068}
html.theme-dark .chat-tag.keep{background:#173b23;color:#73e89f}
html.theme-dark .ai-switch.on{color:#68a6f3;background:#202831}
html.theme-dark .ai-spin{border:2px solid rgba(35,47,67,0.45);border-top-color:#232f43}
html.theme-dark .ai-hint{color:#97a5bd}
html.theme-dark .ai-error{background:#381919;color:#ea7171}
html.theme-dark .ai-meta{color:#97a5bd}
html.theme-dark .ai-stale{color:#f3a468}
html.theme-dark .ai-reply{border:1px solid #2a496f;background:#222830}
html.theme-dark .ai-reply header{color:#75a8e6}
html.theme-dark .ai-reply p{color:#c9d0dd}
html.theme-dark .ai-brief{color:#c9d0dd}
html.theme-dark .ai-brief h4{color:#d3d9e3}
html.theme-dark .ai-model{color:#97a5bd}
html.theme-dark .ai-model select{border:1px solid #394560;background:#111b2b;color:#c9d0dd}
html.theme-dark .ai-key input{border:1px solid #394560}
html.theme-dark .quick-profile-totals .neg strong{color:#e87272}
html.theme-dark .schedule-pop{border:1px solid #202b3f;background:#111b2b;box-shadow:0 12px 32px rgba(0,0,0,0.45)}
html.theme-dark .schedule-pop .sch-close{color:#97a5bd}
html.theme-dark .schedule-pop label{color:#97a5bd}
html.theme-dark .schedule-pop input[type=datetime-local]{border:1px solid #394560;color:#c9d0dd}
html.theme-dark .sch-note{color:#97a5bd}
html.theme-dark .sch-warn{color:#f3a468}
html.theme-dark .sch-error{color:#ea7171}
html.theme-dark .sch-preview{background:#222830;color:#b8c2d2}
html.theme-dark .scheduled-item{border:1px dashed #2a496f;background:#23282e;color:#76a8e4}
html.theme-dark .sch-tz{color:#69a7f1}
html.theme-dark .sch-text{color:#b8c2d2}
html.theme-dark .sch-cancel{color:#69a7f1}
html.theme-dark .ai-cost{color:#bdc5d4}
html.theme-dark .ai-reply-tr{border-top:1px dashed #2a496f;color:#97a5bd!important}
html.theme-dark .client-panel-header>.panel-switch.on{color:#68a6f3;background:#202831}
html.theme-dark .ai-est{background:rgba(17,27,43,0.22)}
html.theme-dark .ai-history{border-top:1px solid #212d41}
html.theme-dark .ai-history h4{color:#97a5bd}
html.theme-dark .ai-run-item{border:1px solid #212d41;background:#111b2b;color:#b8c2d2}
html.theme-dark .ai-run-item:hover{border-color:#2a496f}
html.theme-dark .ai-run-item.on{border-color:#2a496f;background:#222830;color:#76a8e4}
html.theme-dark .dialog-item .account-tag.tag-words,html.theme-dark .dialog-item.active .account-tag.tag-words,html.theme-dark .dialog-item.curator .account-tag.tag-words{color:#8192af}
html.theme-dark .tag-w.tag-куратор{background:#3b2716;color:#f39068}
html.theme-dark .tag-w.tag-менеджер{background:#162a3b;color:#68c2f3}
html.theme-dark .tag-w.tag-daniyar{background:#1b2736;color:#74a8e6}
html.theme-dark .tag-w.tag-camilo{background:#1b3726;color:#73e89f}
html.theme-dark .tag-w.tag-simon{background:#1b3436;color:#6ad4f1}
html.theme-dark .tag-w.tag-spain{background:#381a1c;color:#f16a8b}
html.theme-dark .tag-w.tag-latam{background:#3b3416;color:#f3ba68}

/* ---- login.css ---- */
html.theme-dark .login-money{background:#25412d!important}
html.theme-dark .money-rain::after{background:radial-gradient(70% 65% at 50% 50%,rgba(28,74,44,0.251) 0%,rgba(28,74,44,0.451) 65%,rgba(28,74,44,0.702) 100%)}
html.theme-dark .login-money .login-shell{box-shadow:0 40px 120px -20px #000000,0 0 0 1px rgba(17,27,43,0.078)!important}
html.theme-dark .login-money .login-intro{background:radial-gradient(120% 70% at 0% 0%,#38945f 0%,transparent 60%),linear-gradient(160deg,#1d3149,#204630)!important}
html.theme-dark .login-money .login-intro p{color:#667a9d!important}
html.theme-dark .login-money .login-networks span{border-color:#54916c!important}
html.theme-dark .login-money .login-intro-footer{color:#8494b0!important}
html.theme-dark .login-money .brand-symbol{background:linear-gradient(135deg,#26a655,#81bc26)!important;box-shadow:0 6px 18px -6px rgba(129,188,38,0.667)!important}
html.theme-dark .login-money .button.primary{background:linear-gradient(135deg,#2aa257,#72ad1f)!important;box-shadow:0 10px 24px -10px rgba(42,162,87,0.8)!important}
html.theme-dark .login-money input:focus{border-color:#28bd5f!important;box-shadow:0 0 0 4px rgba(38,166,85,0.149)!important}
html.theme-dark .login-money .login-intro h1{color:#ffffff!important;text-shadow:0 2px 20px #000000}
html.theme-dark .login-money .login-intro .brand{color:#ffffff!important}
html.theme-dark .login-money .login-form-content .eyebrow{color:#73e89f!important}
html.theme-dark .login-bender{filter:drop-shadow(0 10px 30px #000000)}
html.theme-dark .login-music-toggle{border:2px solid #57db87;background:rgba(30,72,44,0.8);box-shadow:4px 4px 0 #000000}
html.theme-dark .login-music-toggle:hover{background:rgba(51,153,91,0.8)}
html.theme-dark .login-music-toggle.on{color:#dadfe7;background:#48d57b}

/* ---- notify.css ---- */
html.theme-dark .notify-card{background:#111b2b;border:1px solid #394b60;box-shadow:0 8px 24px -8px rgba(0,0,0,0.7);color:#d3d9e3}
html.theme-dark .notify-card:hover{border-color:#2a496f}
html.theme-dark .notify-card.dep{border-left:4px solid #21c58e}
html.theme-dark .notify-card.reg{border-left:4px solid #4290f0}
html.theme-dark .notify-avatar{background:#1d2835;color:#68a6f3}
html.theme-dark .notify-card.dep .notify-avatar{background:#1f322a;color:#bdc5d4}
html.theme-dark .notify-head time{color:#8999b4}
html.theme-dark .notify-text{color:#b6c0d0}
html.theme-dark .notify-text em{color:#8999b4}
html.theme-dark .notify-hint{color:#68a6f3}
html.theme-dark .notify-close{color:#7789a8}
html.theme-dark .notify-close:hover{background:#0c131f;color:#b8c2d2}

/* ---- card-theme (generated) ---- */
html.theme-dark .crm-drawer{--bg:#0c131f;--panel:#111b2b;--panel-2:#0c131f;--ink:#d3d9e3;--ink-2:#b6c0d0;--muted:#8999b4;--line:#394b60;--line-soft:#212d41;--accent:#3386eb;--accent-2:#3b86e3;--accent-soft:rgba(51,134,235,0.122);--accent-ink:#68a6f3;--good:#20ac7e;--warn:#e09920;--bad:#dc4141;--nav-bg:#1d3149;--nav-bg-2:#1e3148;--rail-ink:#a9b7c8;--rail-active:#111b2b;--shadow:0 1px 2px rgba(0,0,0,0.098),0 8px 24px -12px rgba(0,0,0,0.304);--shadow-lg:0 24px 60px -20px rgba(0,0,0,0.627);--project-daniyar:#376ad9;--project-daniyar-soft:#202732;--project-camilo:#e5c02a;--project-camilo-ink:#e9aa72;--project-camilo-soft:#3a3617;--project-simon:#cc3636;--project-simon-soft:#312121}
html.theme-dark .crm-drawer::backdrop{background:rgba(29,49,73,0.6)!important}
html.theme-dark .crm-drawer .crm-client-avatar{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-money small{color:#f3a468!important}
html.theme-dark .crm-drawer .button,html.theme-dark .crm-drawer .crm-card-links>a{box-shadow:0 1px 2px rgba(0,0,0,0.127)}
html.theme-dark .crm-drawer .button:hover,html.theme-dark .crm-drawer .crm-card-links>a:hover{border-color:rgba(66,144,240,0.333)!important}
html.theme-dark .crm-drawer .button.primary{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-followup-section{background:#222830!important;border-color:rgba(66,144,240,0.251)!important}
html.theme-dark .crm-drawer .crm-brokers-table tr.selected td{background:#202832!important}
html.theme-dark .crm-drawer .crm-deposit-state{background:#192538!important}
html.theme-dark .crm-drawer .crm-deposit-state.positive{background:#173b23!important;color:#bdc5d4!important}
html.theme-dark .crm-drawer .crm-deposit-state.unknown{background:#3b3416!important;color:#f19d6a!important}
html.theme-dark .crm-drawer .crm-broker-warning{color:#f3a468!important}
html.theme-dark .crm-drawer .crm-field-grid .crm-field-issue,html.theme-dark .crm-drawer .crm-card-issues,html.theme-dark .crm-drawer .crm-form-message{color:#f3a468!important}
html.theme-dark .crm-drawer .crm-card-warning{background:#34301e!important;color:#f19d6a!important;border-color:#edc645!important}
html.theme-dark .crm-drawer .crm-metric-deposit::before{background:linear-gradient(180deg,#20ac7e,#18b484)!important}
html.theme-dark .crm-drawer .crm-metric-cpa::before{background:linear-gradient(180deg,#e09920,#c67619)!important}
html.theme-dark .crm-drawer .crm-metric-deposit{background:#0c131f!important}
html.theme-dark .crm-drawer .crm-metric-cpa{background:#312c20!important}
html.theme-dark .crm-drawer .crm-brokers-table th.crm-col-deposit{color:#bdc5d4!important}
html.theme-dark .crm-drawer .crm-brokers-table th.crm-col-cpa{color:#f3a468!important}
html.theme-dark .crm-drawer .crm-brokers-table td.crm-col-deposit{background:#111b2b!important}
html.theme-dark .crm-drawer .crm-brokers-table td.crm-col-cpa{background:#0c131f!important}
html.theme-dark .crm-card-mascot{filter:drop-shadow(0 10px 16px rgba(0,0,0,0.451))}
html.theme-dark .crm-fd-date{background:#1f3229;color:#bdc5d4}
html.theme-dark .project-chip{background:#192538}
html.theme-dark .project-chip.project-daniyar,html.theme-dark .crm-card-project.project-daniyar{color:#ffffff!important}
html.theme-dark .project-chip.project-simon,html.theme-dark .crm-card-project.project-simon{color:#ffffff!important}
html.theme-dark .crm-drawer .crm-record-delete{color:#677b9e}
html.theme-dark .crm-drawer .crm-record-delete:hover{color:#e87272;background:#312121;border-color:#6f2a2a}
html.theme-dark .crm-drawer .crm-metric-lots::before{background:linear-gradient(180deg,#229ed5,#1480b8)!important}
html.theme-dark .crm-drawer .crm-metric-lots{background:#202a31!important}
html.theme-dark .crm-drawer .crm-brokers-table th.crm-col-lots{color:#68c2f3!important}
html.theme-dark .crm-drawer .crm-brokers-table td.crm-col-lots{background:#0c131f!important}
html.theme-dark .client-dot{box-shadow:0 0 0 1.5px #111b2b,0 1px 2px rgba(0,0,0,0.625)}
html.theme-dark .client-dot.vip{background:#26a655}
html.theme-dark .client-dot.fx{background:#376ad9}
html.theme-dark .client-dot.kopi{background:#e5772a}
html.theme-dark .crm-drawer .copy-chip.copied{border-color:#21c58e;color:#bdc5d4;background:#1f3229}
html.theme-dark .crm-drawer .copy-chip.copy-failed{border-color:#e25050;color:#ea7171}
html.theme-dark .crm-drawer .crm-broker-row td:first-child{box-shadow:inset 4px 0 0 #212431}
html.theme-dark .crm-drawer .crm-broker-row.broker-bullwaves td:first-child{box-shadow:inset 4px 0 0 #3b7be3}
html.theme-dark .crm-drawer .crm-broker-row.broker-vantage td:first-child{box-shadow:inset 4px 0 0 #e5772a}
html.theme-dark .crm-drawer .crm-broker-row.broker-vt td:first-child{box-shadow:inset 4px 0 0 #000000}
html.theme-dark .crm-drawer .crm-broker-row.broker-startrader td:first-child{box-shadow:inset 4px 0 0 #2f9d5f}
html.theme-dark .crm-drawer .crm-broker-row.broker-fxpro td:first-child{box-shadow:inset 4px 0 0 #4387da}
html.theme-dark .crm-drawer .crm-dep-table tbody tr.crm-broker-row.selected td{background:#1f2833}
html.theme-dark .crm-drawer .crm-dep-table .crm-record-delete{color:#7789a8}
html.theme-dark .crm-drawer .crm-dep-table .crm-record-delete:hover{background:#381919;color:#e87272}
html.theme-dark .crm-drawer .dep-table td.mismatch{color:#e87272;background:#312121}
html.theme-dark .crm-drawer .dep-table tbody tr:hover td{background:#222830}
html.theme-dark .crm-drawer .dep-table tbody tr.project-daniyar td{background:#111b2b}
html.theme-dark .crm-drawer .dep-table tbody tr.project-camilo td{background:#2e2d23}
html.theme-dark .crm-drawer .dep-table tbody tr.project-simon td{background:#111b2b}
html.theme-dark .crm-drawer .dep-table .muted{color:#677b9e}
html.theme-dark .crm-drawer .promo-chip{background:#192538}
html.theme-dark .crm-drawer .promo-chip.kopi{background:#e5772a;color:#ffffff;box-shadow:0 2px 8px -2px rgba(229,119,42,0.533)}
html.theme-dark .crm-drawer .region-chip.region-spain{background:#e5c02a;color:#e9aa72}
html.theme-dark .crm-drawer .region-chip.region-latam{background:#31b662;color:#ffffff}
html.theme-dark .crm-drawer .deptype-chip{background:#192538}
html.theme-dark .crm-drawer .deptype-chip.first{background:#26a655;color:#ffffff}
html.theme-dark .crm-drawer .deptype-chip.dodep{background:#376ad9;color:#ffffff}
html.theme-dark .crm-drawer .dep-table td.date .fd-broker{color:#e87272}
html.theme-dark .crm-drawer .dep-table td.date .fd-reg{color:#7688a7}
html.theme-dark .crm-drawer td.left-stale{color:#7789a8!important;text-decoration-color:rgba(232,114,114,0.6)}
html.theme-dark .crm-drawer .qual-chip.qual{background:#173b23;color:#73e89f}
html.theme-dark .crm-drawer .qual-chip.nequal{background:#3b2b16;color:#f39068}


/* поверх общих правил */
html.theme-dark .messenger-body{--accent:#2f8cff;--accent-soft:#2f8cff26}
html.theme-dark .geo-tag{background:#17233a!important;color:#e6ecf5!important}
html.theme-dark .geo-tag b{color:#8d9bb3!important}
/* жёлтые чипы (Camilo, Spain): тёмный текст на жёлтом, как в светлой теме */
html.theme-dark .project-chip.project-camilo,html.theme-dark .region-chip.region-spain,html.theme-dark .chat-region.region-spain{color:#3a2a04!important}
/* QR-код входа в Telegram — чёрный на прозрачном: подложка остаётся белой, иначе телефон его не считает */
html.theme-dark .qr-image{background:#fff;border-color:#26354f}
