/* ==========================================================================
   theme-corbel-neutral.css — SINH TỰ ĐỘNG bởi build/neutralize.py (đừng sửa tay).
   Đưa màu nhấn xanh/chàm/tím/cyan cố định của style.css, theme-pro.css và style="..." nội tuyến về màu mực đơn sắc
   (var(--accent) = đen ở chế độ sáng, trắng ở chế độ tối). Giữ nguyên xanh lá/đỏ/hổ phách cho tín hiệu lời-lỗ-cảnh báo.
   ========================================================================== */

/* ---- từ style.css ---- */
:where(body.cb) .brand-logo { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .menu-item.active { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); }
:where(body.cb) .btn-glossary { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
:where(body.cb) .btn-glossary:hover { background: color-mix(in srgb, var(--cb-ink) 20%, transparent); border-color: var(--accent); }
:where(body.cb) .asset-pill-btn.active { background: var(--accent-blue, var(--cb-ink)); color: var(--cb-on-ink); box-shadow: 0 1px 4px transparent; }
:where(body.cb) .badge-source-cme { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); border: 1px solid var(--control-border); color: var(--accent); }
:where(body.cb) .btn-header-tool.active { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
body.theme-light:where(.cb) .radar-cat-pill.active { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
:where(body.cb) .panel-card:hover { border-color: var(--border); }
:where(body.cb) .matrix-short-crowd { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .btn-primary { background: var(--cb-ink); color: var(--cb-on-ink); border: 1px solid var(--cb-ink); }
:where(body.cb) .btn-primary:hover { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .btn-secondary:hover { border-color: var(--border); }
:where(body.cb) .text-blue { color: var(--accent) !important; }
:where(body.cb) .text-purple { color: var(--accent) !important; }
:where(body.cb) .app-sidepanel, :where(body.cb) #app-sidepanel, :where(body.cb) #ai-stream-panel { border-left: 1px solid var(--panel-border, var(--border)) !important; }
:where(body.cb) .stream-card:hover { border-color: var(--border); }
:where(body.cb) .matrix-card-box { background: var(--cb-field); }
:where(body.cb) .form-select:focus, :where(body.cb) .form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px transparent; }
:where(body.cb) .verdict-banner { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); border: 1px solid var(--control-border); color: var(--accent); }
:where(body.cb) .glossary-item { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .btn-3d-view { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .btn-3d-view:hover { background: var(--cb-field); border-color: var(--border); }
:where(body.cb) .btn-3d-view.active { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); box-shadow: 0 0 10px transparent; }
:where(body.cb) .guide-nav-tabs { border-bottom: 2px solid var(--border); }
:where(body.cb) .guide-tab-btn { border: 1px solid var(--border); }
:where(body.cb) .guide-tab-btn.active { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); box-shadow: 0 0 12px transparent; }
:where(body.cb) .guide-section-header { border-bottom: 1px dashed var(--border); }
:where(body.cb) .guide-card { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .guide-callout { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); border-left: 4px solid var(--cb-ink); color: var(--accent); }
:where(body.cb) .guide-callout-purple { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); border-left-color: var(--accent); color: var(--accent); }
:where(body.cb) .guide-table th { border: 1px solid var(--border); }
:where(body.cb) .guide-table td { border: 1px solid var(--border); background: var(--cb-field); }
:where(body.cb) .guide-step-box { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .guide-step-num { background: var(--cb-ink); color: var(--cb-on-ink); box-shadow: 0 0 8px transparent; }
:where(body.cb) .qlib-toggle-wrap { background: color-mix(in srgb, var(--cb-ink) 8%, transparent); border: 1px solid var(--control-border); }
:where(body.cb) .qlib-toggle-wrap:hover { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 10px transparent; }
:where(body.cb) .qlib-toggle-label { color: var(--accent); }
:where(body.cb) .slider { background-color: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .switch-toggle input:checked + .slider { background-color: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); box-shadow: 0 0 8px transparent; }
:where(body.cb) .badge-qlib-bull { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); box-shadow: 0 0 8px transparent; }
:where(body.cb) .rd-environment-banner { border: 1px solid var(--control-border); }
:where(body.cb) .rd-env-title-row { color: var(--accent); }
:where(body.cb) .rd-env-card { border: 1px solid var(--border); }
:where(body.cb) .rd-env-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
:where(body.cb) .rd-card-cloud { border-left: 3px solid var(--cb-ink); }
:where(body.cb) .rd-config-grid { border: 1px solid var(--border); }
:where(body.cb) .rd-progress-wrap { border: 1px solid var(--border); }
:where(body.cb) .rd-state-badge { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .rd-progress-bar-bg { background: var(--cb-field); }
:where(body.cb) .rd-progress-bar-fill { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .btn-xs-filter { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .btn-xs-filter:hover { border-color: var(--border); }
:where(body.cb) .btn-xs-filter.active { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); border-color: var(--accent); color: var(--accent); }
:where(body.cb) .badge-promising { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .rd-session-provenance-card { background: var(--cb-field); border: 1px solid var(--control-border); border-left: 3px solid var(--cb-ink); }
:where(body.cb) .rd-provenance-header { border-bottom: 1px solid var(--border); }
:where(body.cb) .badge-session-id { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .rd-provenance-item { border: 1px solid var(--border); }
:where(body.cb) .badge-dataset-pill { border: 1px solid var(--border); }
:where(body.cb) .bloomberg-toast { background: var(--cb-field); }
:where(body.cb) .bloomberg-toast.toast-info { border-left-color: var(--accent); }
body.theme-light:where(.cb) .bloomberg-toast { background: var(--surface-2); color: var(--text); }
body.theme-light:where(.cb) .btn-secondary { background-color: var(--well); color: var(--text); border-color: var(--line-2); }
body.theme-light:where(.cb) .btn-secondary:hover { background-color: var(--well); color: var(--text); border-color: var(--line-2); }
body.theme-light:where(.cb) .btn-3d-view { background: var(--well); color: var(--muted); border-color: var(--line-2); }
body.theme-light:where(.cb) .btn-3d-view:hover { background: var(--well); color: var(--text); }
body.theme-light:where(.cb) .btn-3d-view.active { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
body.theme-light:where(.cb) .stream-item { border-bottom-color: var(--line-2); }
body.theme-light:where(.cb) .stream-card { background-color: var(--well); border: 1px solid var(--line-2); }
body.theme-light:where(.cb) .stream-card:hover { background-color: var(--well); border-color: var(--line-2); }
body.theme-light:where(.cb) .stream-symbol { color: var(--text); }
body.theme-light:where(.cb) .stream-body { color: var(--muted); }
body.theme-light:where(.cb) .stream-subtext { color: var(--faint); }
body.theme-light:where(.cb) .btn-sidepanel-close { background: var(--well); border-color: var(--line-2); color: var(--muted); }
body.theme-light:where(.cb) .btn-sidepanel-close:hover { background: var(--well); color: var(--text); border-color: var(--line-2); }
body.theme-light:where(.cb) .btn-header-tool { background: var(--surface-2); border-color: var(--line-2); color: var(--muted); }
body.theme-light:where(.cb) .btn-header-tool:hover { background: var(--well); color: var(--text); border-color: var(--accent); }
body.theme-light:where(.cb) .btn-header-tool.active { background: color-mix(in srgb, var(--cb-ink) 8%, transparent); border-color: var(--accent); color: var(--accent); }
body.theme-light:where(.cb) .sidebar-footer { background: var(--surface-2) !important; border-top-color: var(--line-2) !important; }
body.theme-light:where(.cb) .system-status-card { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .system-status-card .sys-label { color: var(--muted) !important; }
body.theme-light:where(.cb) .btn-glossary { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; color: var(--accent) !important; border-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }
body.theme-light:where(.cb) .btn-glossary:hover { background: color-mix(in srgb, var(--cb-ink) 16%, transparent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .btn-reset { background: color-mix(in srgb, var(--up) 8%, transparent) !important; color: var(--up) !important; border-color: color-mix(in srgb, var(--up) 30%, transparent) !important; }
body.theme-light:where(.cb) .btn-reset:hover { background: color-mix(in srgb, var(--up) 16%, transparent) !important; color: var(--up) !important; }
body.theme-light:where(.cb) .btn-emergency { background: color-mix(in srgb, var(--down) 8%, transparent) !important; color: var(--down) !important; border-color: color-mix(in srgb, var(--down) 30%, transparent) !important; }
body.theme-light:where(.cb) .btn-emergency:hover { background: var(--down-soft) !important; }
body.theme-light:where(.cb) .menu-item:hover, body.theme-light:where(.cb) .cat-btn:hover { background: var(--well) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .cat-btn.active { background: color-mix(in srgb, var(--up) 12%, transparent) !important; color: var(--up) !important; }
body.theme-light:where(.cb) .badge-count { background: var(--well) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .badge-standby { background: var(--well) !important; color: var(--muted) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .btn-table-close { background-color: var(--well) !important; color: var(--muted) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .btn-table-close:hover { background-color: var(--down-soft) !important; }
body.theme-light:where(.cb) .matrix-card-box { background: var(--surface-2) !important; border-color: var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .guide-step-box { background: var(--well) !important; border-color: var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .qlib-factor-card { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .chart-container-lightweight { background: var(--surface-2) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .slider { border-color: var(--line-2) !important; }
:where(body.cb) .btn-primary-neon { background: var(--cb-ink); color: var(--cb-on-ink); border: 1px solid var(--cb-ink); }
:where(body.cb) .btn-primary-neon:hover { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
:where(body.cb) .plot-3d-viewport { border: 1px solid var(--border) !important; }
:where(body.cb) .camera-presets-bar { background: var(--cb-field); }
:where(body.cb) .btn-preset-3d:hover { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); }
:where(body.cb) .btn-preset-3d.active { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); box-shadow: 0 0 8px transparent; }
:where(body.cb) .quant-action-card { border: 1px solid var(--control-border); }
:where(body.cb) .quant-action-pulse { color: var(--accent); }
:where(body.cb) .badge-strategy-neutral { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .quant-action-reasoning { border-left: 3px solid var(--cb-ink); }
:where(body.cb) .stat-card-3d { background: var(--cb-field); border: 1px solid var(--border); }
body.theme-light:where(.cb) .btn-primary-neon { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
body.theme-light:where(.cb) .btn-danger-neon { background: color-mix(in srgb, var(--down) 8%, transparent); color: var(--down); border-color: color-mix(in srgb, var(--down) 30%, transparent); }
body.theme-light:where(.cb) .btn-danger-neon:hover:not(:disabled) { background: var(--down-soft); }
body.theme-light:where(.cb) .btn-danger-neon:disabled { background: var(--well) !important; color: var(--faint) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .input-dark, body.theme-light:where(.cb) .form-select, body.theme-light:where(.cb) .form-input { background: var(--surface-2) !important; border-color: var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .plot-3d-viewport { border-color: var(--border) !important; }
body.theme-light:where(.cb) .stat-card-3d { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .stat-card-label { color: var(--faint) !important; }
body.theme-light:where(.cb) .stat-card-val { color: var(--text) !important; }
body.theme-light:where(.cb) .rd-environment-banner { border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .rd-env-title-row { color: var(--accent) !important; }
body.theme-light:where(.cb) .rd-env-card { background: var(--surface-2) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .rd-env-card:hover { border-color: var(--accent) !important; }
body.theme-light:where(.cb) .rd-env-card-header { color: var(--text) !important; }
body.theme-light:where(.cb) .rd-env-card p { color: var(--muted) !important; }
body.theme-light:where(.cb) .rd-config-grid { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .rd-config-item label { color: var(--muted) !important; }
body.theme-light:where(.cb) .rd-progress-wrap { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .rd-progress-text { color: var(--muted) !important; }
body.theme-light:where(.cb) .rd-state-badge { background: var(--well) !important; color: var(--text) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .rd-state-badge.running { background: color-mix(in srgb, var(--up) 12%, transparent) !important; color: var(--up) !important; border-color: color-mix(in srgb, var(--up) 30%, transparent) !important; }
body.theme-light:where(.cb) .rd-progress-bar-bg { background: var(--well) !important; }
body.theme-light:where(.cb) .btn-xs-filter { background: var(--well) !important; border-color: var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .btn-xs-filter:hover { background: var(--well) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .btn-xs-filter.active { background: color-mix(in srgb, var(--cb-ink) 12%, transparent) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) #datalake-status-bar { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) #bt-range-hint-banner { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) #bt-simulation-banner { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) #bt-qlib-summary-box { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) #coin-3d-qlib-panel { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .verdict-banner { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; border-color: color-mix(in srgb, var(--accent) 25%, transparent) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .kpi-metrics-grid .metric-box { background: var(--surface-2) !important; border-color: var(--line-2) !important; }
:where(body.cb) .bento-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
:where(body.cb) .chart-container-lightweight, :where(body.cb) #coin-candlestick-chart, :where(body.cb) #coin-3d-plot { background: var(--cb-field); }
:where(body.cb) .stat-card-3d { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .qlib-factor-card { background: var(--cb-field); }
:where(body.cb) .qlib-factor-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
:where(body.cb) .radar-category-tag { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); border: 1px solid var(--control-border); }
:where(body.cb) .signal-filter-btn.btn-sig-active.active { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .btn-pos-tab:hover { border-color: var(--border); }
:where(body.cb) .badge-closed-count { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); }
:where(body.cb) .badge-tp2 { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .badge-be { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .radar-filter-select-wrap { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .radar-filter-select-wrap:hover, :where(body.cb) .radar-filter-select-wrap:focus-within { background: var(--cb-field); box-shadow: 0 0 0 2px transparent; }
:where(body.cb) .select-terminal-clean option { background: var(--cb-field); }
:where(body.cb) .btn-pro-standby { border-color: var(--border); }
:where(body.cb) .btn-pro-standby:hover { border-color: var(--border); }
:where(body.cb) .btn-model-pro { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .btn-model-pro:hover { background: color-mix(in srgb, var(--cb-ink) 20%, transparent); border-color: var(--accent); }
:where(body.cb) .terminal-tab-segmented { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .terminal-segment-btn.active { background: var(--cb-field); }
:where(body.cb) .terminal-badge-history { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .history-sub-nav { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .btn-hist-toggle.active { background: var(--cb-field); color: var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px transparent; }
:where(body.cb) .btn-hist-toggle.active .badge-sub-pill { background: color-mix(in srgb, var(--cb-ink) 20%, transparent); color: var(--accent); }
:where(body.cb) .terminal-kpi-ribbon { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .compact-drop-btn { background: var(--cb-field); border: 1px solid var(--control-border); }
:where(body.cb) .compact-drop-btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--cb-field); }
:where(body.cb) .drop-btn-badge { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); }
:where(body.cb) .compact-dropdown.open .compact-drop-btn { border-color: var(--accent); box-shadow: 0 0 10px transparent; }
:where(body.cb) .dropdown-popover { border: 1px solid var(--border); }
:where(body.cb) .btn-tools-capsule { background: var(--cb-field); }
:where(body.cb) .btn-tools-capsule:hover { background: var(--cb-field); }
:where(body.cb) .tag-ai-hot { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); }
:where(body.cb) .tag-drive { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); }
:where(body.cb) .tag-theme, :where(body.cb) .tag-stream { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); }
:where(body.cb) .popover-header { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) .checklist-item:hover { border-color: var(--border); }
:where(body.cb) .checklist-item.active { background: color-mix(in srgb, var(--cb-ink) 8%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
:where(body.cb) .checklist-item.active .check-box { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
:where(body.cb) .tag-total { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); }
:where(body.cb) .tag-cme { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); }
:where(body.cb) .popover-footer { background: var(--cb-field); border-top: 1px solid var(--border); }
:where(body.cb) .popover-action-row { background: var(--cb-field); border-top: 1px dashed var(--border); }
:where(body.cb) .btn-popover-action { border: 1px solid var(--control-border); background: color-mix(in srgb, var(--cb-ink) 10%, transparent); color: var(--accent); }
:where(body.cb) .btn-popover-action:hover { background: color-mix(in srgb, var(--cb-ink) 20%, transparent); border-color: var(--accent); box-shadow: 0 0 10px transparent; }
:where(body.cb) .status-check-row { border-bottom: 1px dashed var(--border); }
:where(body.cb) .dot-blue { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .dot-purple { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .dot-cyan { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .order-ticket-box { border: 1px solid var(--border); }
:where(body.cb) .order-ticket-header { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) .ticket-price-val { color: var(--accent); }
:where(body.cb) .btn-ticket-side { border: 1px solid var(--border); }
:where(body.cb) .btn-tier-pill { border: 1px solid var(--border); }
:where(body.cb) .btn-tier-pill:hover { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
:where(body.cb) .btn-tier-pill.active { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); border-color: var(--accent); box-shadow: 0 0 10px transparent; }
:where(body.cb) .btn-lot-step { border: 1px solid var(--border); }
:where(body.cb) .ticket-lot-field { border: 1px solid var(--border); color: var(--accent); }
:where(body.cb) .chip-lot { border: 1px solid var(--border); }
:where(body.cb) .chip-lot:hover { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); color: var(--accent); border-color: var(--accent); }
:where(body.cb) .ticket-finance-card { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .ticket-subinput { border: 1px solid var(--border); }
:where(body.cb) .order-ticket-footer { background: var(--cb-field); border-top: 1px solid var(--border); }
body.theme-light:where(.cb) .compact-drop-btn, body.theme-light:where(.cb) .compact-drop-btn { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .compact-drop-btn:hover, body.theme-light:where(.cb) .compact-drop-btn:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .compact-dropdown.open .compact-drop-btn, body.theme-light:where(.cb) .compact-dropdown.open .compact-drop-btn { border-color: var(--accent) !important; box-shadow: 0 0 0 3px transparent !important; background: var(--well) !important; }
body.theme-light:where(.cb) .drop-btn-title, body.theme-light:where(.cb) .drop-btn-title { color: var(--text) !important; }
body.theme-light:where(.cb) .drop-btn-badge, body.theme-light:where(.cb) .drop-btn-badge { background: color-mix(in srgb, var(--cb-ink) 10%, transparent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .drop-caret, body.theme-light:where(.cb) .drop-caret { color: var(--faint) !important; }
body.theme-light:where(.cb) .btn-status-capsule, body.theme-light:where(.cb) .btn-status-capsule { border-color: color-mix(in srgb, var(--up) 40%, transparent) !important; }
body.theme-light:where(.cb) .badge-status-sub, body.theme-light:where(.cb) .badge-status-sub { background: color-mix(in srgb, var(--up) 12%, transparent) !important; color: var(--up) !important; }
body.theme-light:where(.cb) .radar-filter-select-wrap, body.theme-light:where(.cb) .radar-filter-select-wrap { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .radar-filter-select-wrap:hover, body.theme-light:where(.cb) .radar-filter-select-wrap:focus-within, body.theme-light:where(.cb) .radar-filter-select-wrap:hover, body.theme-light:where(.cb) .radar-filter-select-wrap:focus-within { background: var(--well) !important; border-color: var(--accent) !important; box-shadow: 0 0 0 2px transparent !important; }
body.theme-light:where(.cb) .radar-filter-select-wrap .filter-icon, body.theme-light:where(.cb) .radar-filter-select-wrap .filter-icon { color: var(--faint) !important; }
body.theme-light:where(.cb) .select-terminal-clean, body.theme-light:where(.cb) .select-terminal-clean { color: var(--text) !important; }
body.theme-light:where(.cb) .select-terminal-clean option, body.theme-light:where(.cb) .select-terminal-clean option { background: var(--surface-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .dropdown-popover, body.theme-light:where(.cb) .dropdown-popover { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .popover-header, body.theme-light:where(.cb) .popover-header { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .pop-title, body.theme-light:where(.cb) .pop-title { color: var(--text) !important; }
body.theme-light:where(.cb) .pop-sub, body.theme-light:where(.cb) .pop-sub { color: var(--faint) !important; }
body.theme-light:where(.cb) .checklist-item:hover, body.theme-light:where(.cb) .checklist-item:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .checklist-item.active, body.theme-light:where(.cb) .checklist-item.active { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; border-color: color-mix(in srgb, var(--accent) 35%, transparent) !important; }
body.theme-light:where(.cb) .check-box, body.theme-light:where(.cb) .check-box { border-color: var(--line-2) !important; background: var(--surface-2) !important; }
body.theme-light:where(.cb) .checklist-item.active .check-box, body.theme-light:where(.cb) .checklist-item.active .check-box { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; border-color: var(--accent) !important; }
body.theme-light:where(.cb) .check-name, body.theme-light:where(.cb) .check-name { color: var(--text) !important; }
body.theme-light:where(.cb) .check-desc, body.theme-light:where(.cb) .check-desc { color: var(--faint) !important; }
body.theme-light:where(.cb) .check-val, body.theme-light:where(.cb) .check-val { color: var(--text) !important; }
body.theme-light:where(.cb) .popover-footer, body.theme-light:where(.cb) .popover-footer { background: var(--well) !important; border-top: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .pop-ft-lbl, body.theme-light:where(.cb) .pop-ft-lbl { color: var(--faint) !important; }
body.theme-light:where(.cb) .popover-action-row, body.theme-light:where(.cb) .popover-action-row { background: var(--well) !important; border-top: 1px dashed var(--line-2) !important; }
body.theme-light:where(.cb) .btn-popover-action, body.theme-light:where(.cb) .btn-popover-action { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; border: 1px solid var(--control-border) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .btn-popover-action:hover, body.theme-light:where(.cb) .btn-popover-action:hover { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; border-color: var(--accent) !important; box-shadow: 0 2px 8px transparent !important; }
body.theme-light:where(.cb) .status-check-row, body.theme-light:where(.cb) .status-check-row { border-bottom: 1px dashed var(--line-2) !important; }
body.theme-light:where(.cb) .sc-left, body.theme-light:where(.cb) .sc-left { color: var(--muted) !important; }
body.theme-light:where(.cb) #btn-header-reset-session, body.theme-light:where(.cb) #btn-header-reset-session { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) #btn-header-reset-session:hover, body.theme-light:where(.cb) #btn-header-reset-session:hover { background: var(--well) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .order-ticket-box, body.theme-light:where(.cb) .order-ticket-box { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .order-ticket-header, body.theme-light:where(.cb) .order-ticket-header { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .ticket-symbol-text, body.theme-light:where(.cb) .ticket-symbol-text { color: var(--text) !important; }
body.theme-light:where(.cb) .ticket-asset-desc, body.theme-light:where(.cb) .ticket-asset-desc { color: var(--faint) !important; }
body.theme-light:where(.cb) .ticket-price-val, body.theme-light:where(.cb) .ticket-price-val { color: var(--accent) !important; }
body.theme-light:where(.cb) .btn-ticket-close, body.theme-light:where(.cb) .btn-ticket-close { color: var(--faint) !important; }
body.theme-light:where(.cb) .btn-ticket-close:hover, body.theme-light:where(.cb) .btn-ticket-close:hover { color: var(--text) !important; background: var(--well) !important; }
body.theme-light:where(.cb) .ticket-label, body.theme-light:where(.cb) .ticket-label { color: var(--muted) !important; }
body.theme-light:where(.cb) .ticket-hint-text, body.theme-light:where(.cb) .ticket-hint-text { color: var(--faint) !important; }
body.theme-light:where(.cb) .btn-ticket-side, body.theme-light:where(.cb) .btn-ticket-side { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .btn-ticket-side:hover, body.theme-light:where(.cb) .btn-ticket-side:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .btn-ticket-side.active-buy, body.theme-light:where(.cb) .btn-ticket-side.active-buy { background: color-mix(in srgb, var(--up) 12%, transparent) !important; border-color: var(--up) !important; color: var(--up) !important; }
body.theme-light:where(.cb) .btn-ticket-side.active-sell, body.theme-light:where(.cb) .btn-ticket-side.active-sell { background: color-mix(in srgb, var(--down) 12%, transparent) !important; border-color: var(--down) !important; color: var(--down) !important; }
body.theme-light:where(.cb) .btn-tier-pill, body.theme-light:where(.cb) .btn-tier-pill { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .btn-tier-pill:hover, body.theme-light:where(.cb) .btn-tier-pill:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .btn-tier-pill.active, body.theme-light:where(.cb) .btn-tier-pill.active { background: color-mix(in srgb, var(--cb-ink) 10%, transparent) !important; border-color: var(--accent) !important; }
body.theme-light:where(.cb) .tier-name, body.theme-light:where(.cb) .tier-name { color: var(--text) !important; }
body.theme-light:where(.cb) .tier-sub, body.theme-light:where(.cb) .tier-sub { color: var(--faint) !important; }
body.theme-light:where(.cb) .tier-margin, body.theme-light:where(.cb) .tier-margin { color: var(--warn) !important; }
body.theme-light:where(.cb) .btn-lot-step, body.theme-light:where(.cb) .btn-lot-step { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .btn-lot-step:hover, body.theme-light:where(.cb) .btn-lot-step:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .ticket-lot-field, body.theme-light:where(.cb) .ticket-lot-field { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .chip-lot, body.theme-light:where(.cb) .chip-lot { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .chip-lot:hover, body.theme-light:where(.cb) .chip-lot:hover { background: var(--well) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .ticket-finance-card, body.theme-light:where(.cb) .ticket-finance-card { background: var(--well) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .t-fin-lbl, body.theme-light:where(.cb) .t-fin-lbl { color: var(--faint) !important; }
body.theme-light:where(.cb) .t-fin-val, body.theme-light:where(.cb) .t-fin-val { color: var(--text) !important; }
body.theme-light:where(.cb) .ticket-sublabel, body.theme-light:where(.cb) .ticket-sublabel { color: var(--muted) !important; }
body.theme-light:where(.cb) .ticket-subinput, body.theme-light:where(.cb) .ticket-subinput { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .order-ticket-footer, body.theme-light:where(.cb) .order-ticket-footer { background: var(--well) !important; border-top: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .kpi-block .kpi-label, body.theme-light:where(.cb) .kpi-block .kpi-label { color: var(--faint) !important; }
body.theme-light:where(.cb) .kpi-block .kpi-value, body.theme-light:where(.cb) .kpi-block .kpi-value { color: var(--text) !important; }
:where(body.cb) .var-metric-card { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .sector-exposure-bar-wrap { border: 1px solid var(--border); }
:where(body.cb) .sector-seg.seg-commodities { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .corr-table th, :where(body.cb) .corr-table td { border: 1px solid var(--border); }
:where(body.cb) .corr-table th { background: var(--cb-field); }
:where(body.cb) .app-terminal-footer { background: var(--cb-field); border-top: 1px solid var(--border); }
:where(body.cb) .locked-blur-overlay { background: var(--cb-field); }
:where(body.cb) .locked-card { background: var(--cb-field); }
:where(body.cb) .btn-lock-overlay-close { border: 1px solid var(--border); }
:where(body.cb) .auth-capsule-guest { border-color: var(--border) !important; }
:where(body.cb) .disclaimer-body-scroll { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .review-kpi-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, transparent) !important; }
:where(body.cb) .review-section-box:hover { background-color: var(--cb-field) !important; }
:where(body.cb) .auth-capsule-trader, :where(body.cb) .auth-capsule-member { background: color-mix(in srgb, var(--cb-ink) 12%, transparent) !important; border: 1px solid var(--control-border) !important; color: var(--accent) !important; }
:where(body.cb) .auth-capsule-trader:hover, :where(body.cb) .auth-capsule-member:hover { background: color-mix(in srgb, var(--cb-ink) 22%, transparent) !important; box-shadow: 0 0 10px transparent; }
:where(body.cb) .perm-slider { border: 1px solid var(--border); }
:where(body.cb) .perm-switch input:checked + .perm-slider { background-color: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
:where(body.cb) .radar-search-input { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .radar-search-input:focus { border-color: var(--accent); box-shadow: 0 0 10px transparent; background: var(--cb-field); }
:where(body.cb) .search-kbd-badge { border: 1px solid var(--border); }
:where(body.cb) .rbac-modal-box { background: var(--cb-field) !important; border: 1px solid var(--control-border) !important; }
:where(body.cb) .rbac-modal-top { background: var(--cb-field) !important; border-bottom: 1px solid var(--control-border) !important; }
:where(body.cb) .rbac-modal-bottom { background: var(--cb-field) !important; border-top: 1px solid var(--border) !important; }
body.theme-light:where(.cb) .rbac-modal-box { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .rbac-modal-top { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .rbac-modal-bottom { background: var(--well) !important; border-top: 1px solid var(--line-2) !important; }
:where(body.cb) .rbac-subtab-bar { background: var(--cb-field); border-bottom: 1px solid var(--border); }
body.theme-light:where(.cb) .rbac-subtab-bar { background: var(--well); border-bottom: 1px solid var(--line-2); }
:where(body.cb) .btn-perm-subtab { border: 1px solid var(--border); }
:where(body.cb) .btn-perm-subtab.active { background: color-mix(in srgb, var(--cb-ink) 20%, transparent) !important; color: var(--accent) !important; border-color: color-mix(in srgb, var(--accent) 45%, transparent) !important; }
body.theme-light:where(.cb) .btn-perm-subtab { border-color: var(--line-2); color: var(--faint); background: var(--surface-2); }
body.theme-light:where(.cb) .btn-perm-subtab:hover { color: var(--text); background: var(--well); }
body.theme-light:where(.cb) .btn-perm-subtab.active { background: var(--well) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
:where(body.cb) .rbac-table-wrap { border: 1px solid var(--border); background: var(--cb-field); }
body.theme-light:where(.cb) .rbac-table-wrap { border-color: var(--line-2); background: var(--surface-2); }
:where(body.cb) .rbac-table th { background: var(--cb-field); border-bottom: 1px solid var(--border); }
body.theme-light:where(.cb) .rbac-table th { background: var(--well); color: var(--muted); border-bottom: 1px solid var(--line-2); }
:where(body.cb) .rbac-table td { border-bottom: 1px solid var(--border); }
body.theme-light:where(.cb) .rbac-table td { border-bottom: 1px solid var(--line-2); color: var(--muted); }
:where(body.cb) .rbac-table tr:hover td { background: color-mix(in srgb, var(--cb-ink) 5%, transparent); }
body.theme-light:where(.cb) .rbac-table tr:hover td { background: var(--well); }
body.theme-light:where(.cb) .rbac-perm-name { color: var(--text); }
body.theme-light:where(.cb) .rbac-perm-desc { color: var(--faint); }
:where(body.cb) .rbac-cat-pill { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
body.theme-light:where(.cb) .rbac-cat-pill { background: var(--well); color: var(--accent); border-color: var(--line-2); }
:where(body.cb) .badge-base { border: 1px solid var(--border); }
body.theme-light:where(.cb) .badge-base { color: var(--faint); background: var(--well); border-color: var(--line-2); }
body.theme-light:where(.cb) .badge-admin-full { background: var(--well); color: var(--up); border-color: var(--line-2); }
:where(body.cb) .rbac-key-code { border: 1px solid var(--border); }
body.theme-light:where(.cb) .rbac-key-code { color: var(--muted); background: var(--well); border-color: var(--line-2); }
body.theme-light:where(.cb) .perm-slider { border-color: var(--line-2); }
body.theme-light:where(.cb) .perm-slider:before { background-color: var(--surface-2); }
body.theme-light:where(.cb) .perm-switch input:checked + .perm-slider { background-color: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
:where(body.cb) .rbac-input { background: var(--cb-field) !important; border: 1px solid var(--border) !important; }
:where(body.cb) .rbac-input:focus { border-color: var(--accent) !important; box-shadow: 0 0 8px transparent; }
body.theme-light:where(.cb) .rbac-input { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .rbac-input:focus { border-color: var(--accent) !important; box-shadow: 0 0 8px transparent; }
:where(body.cb) .btn-toggle-eye:hover { color: var(--accent); }
body.theme-light:where(.cb) .btn-toggle-eye { color: var(--faint); }
body.theme-light:where(.cb) .btn-toggle-eye:hover { color: var(--accent); }
body.theme-light:where(.cb) .macro-warning-banner { border-bottom: 2px solid var(--down); }
body.theme-light:where(.cb) .macro-warning-title { color: var(--down); }
body.theme-light:where(.cb) .macro-warning-desc { color: var(--text); }
:where(body.cb) .terminal-splitter-h:hover, :where(body.cb) .terminal-splitter-h.active-dragging { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); }
:where(body.cb) .terminal-splitter-h:hover .splitter-handle, :where(body.cb) .terminal-splitter-h.active-dragging .splitter-handle { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .radar-slidein-drawer { border-left: 1px solid var(--control-border); }
body.theme-light:where(.cb) .radar-slidein-drawer { background: var(--surface-2); border-left: 1px solid var(--line-2); }
:where(body.cb) .drawer-header { border-bottom: 1px solid var(--border); background: var(--cb-field); }
body.theme-light:where(.cb) .drawer-header { background: var(--well); border-bottom: 1px solid var(--line-2); }
:where(body.cb) .drawer-section { background: var(--cb-field); border: 1px solid var(--border); }
body.theme-light:where(.cb) .drawer-section { background: var(--well); border: 1px solid var(--line-2); }
body.theme-light:where(.cb) .drawer-chart-container { background: var(--surface-2); border: 1px solid var(--line-2); }
:where(body.cb) .drawer-factor-card { background: var(--cb-field); border: 1px solid var(--border); }
body.theme-light:where(.cb) .drawer-factor-card { background: var(--surface-2); border: 1px solid var(--line-2); }
body.theme-light:where(.cb) .factor-progress-bg { background: var(--well); }
:where(body.cb) .factor-progress-fill { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .btn-risk-pill { border: 1px solid var(--border); }
body.theme-light:where(.cb) .btn-risk-pill { background: var(--surface-2); border-color: var(--line-2); color: var(--muted); }
body.theme-light:where(.cb) .btn-risk-pill.active { border-color: var(--up); color: var(--up); }
:where(body.cb) .wizard-input-small { border: 1px solid var(--border); }
body.theme-light:where(.cb) .wizard-input-small { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
:where(body.cb) .wizard-input { border: 1px solid var(--border); }
body.theme-light:where(.cb) .wizard-input { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
:where(body.cb) .wizard-select { border: 1px solid var(--border); }
body.theme-light:where(.cb) .wizard-select { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
:where(body.cb) .wizard-res-card { border: 1px solid var(--border); }
body.theme-light:where(.cb) .wizard-res-card { background: var(--surface-2); border-color: var(--line-2); }
:where(body.cb) .btn-drawer-secondary { border: 1px solid var(--border); }
body.theme-light:where(.cb) .btn-drawer-secondary { background: var(--well); border-color: var(--line-2); color: var(--muted); }
:where(body.cb) .btn-tw-pill { border: 1px solid var(--border); }
:where(body.cb) .tw-input { border: 1px solid var(--border); }
body.theme-light:where(.cb) .tw-input { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
:where(body.cb) .btn-tw-apply { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .btn-tw-apply:hover { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .perf-kpi-card { background: var(--cb-field); border: 1px solid var(--border); }
body.theme-light:where(.cb) .perf-kpi-card { background: var(--well); border-color: var(--line-2); }
:where(body.cb) .perf-panel-card { background: var(--cb-field); border: 1px solid var(--border); }
body.theme-light:where(.cb) .perf-panel-card { background: var(--surface-2); border-color: var(--line-2); }
:where(body.cb) .btn-cal-nav { border: 1px solid var(--border); }
body.theme-light:where(.cb) .btn-cal-nav { background: var(--well); border-color: var(--line-2); color: var(--muted); }
:where(body.cb) .calendar-weekdays-header { border-bottom: 1px solid var(--border); }
body.theme-light:where(.cb) .calendar-weekdays-header { border-bottom-color: var(--line-2); }
:where(body.cb) .cal-day-cell { border: 1px solid var(--border); }
body.theme-light:where(.cb) .cal-day-cell.day-profit { background: var(--well); border-color: var(--line-2); }
body.theme-light:where(.cb) .cal-day-cell.day-loss { background: var(--well); }
:where(body.cb) .cal-weekly-cell { border: 1px dashed var(--border); }
body.theme-light:where(.cb) .cal-weekly-cell { background: var(--well); border-color: var(--line-2); }
body.theme-light:where(.cb) .box-neutral { background: var(--well); }
body.theme-light:where(.cb) .equity-chart-viewport { background: var(--well); border: 1px solid var(--line-2); }
:where(body.cb) .macro-filter-btn { border: 1px solid var(--border); }
:where(body.cb) .macro-filter-btn.active, :where(body.cb) .macro-filter-btn:hover { background: color-mix(in srgb, var(--cb-ink) 18%, transparent); border-color: var(--accent); color: var(--accent); }
body.theme-light:where(.cb) .macro-filter-btn { background: var(--surface-2); border-color: var(--line-2); color: var(--muted); }
body.theme-light:where(.cb) .macro-filter-btn.active { background: var(--well); border-color: var(--accent); color: var(--accent); }
:where(body.cb) .table-pagination-bar { background: var(--cb-field); border-top: 1px solid var(--border); }
body.theme-light:where(.cb) .table-pagination-bar { background: var(--well); border-top: 1px solid var(--line-2); color: var(--faint); }
:where(body.cb) .pagination-select { border: 1px solid var(--border); }
body.theme-light:where(.cb) .pagination-select { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
:where(body.cb) .btn-pg-arrow { border: 1px solid var(--border); }
:where(body.cb) .btn-pg-arrow:hover:not(:disabled) { background: color-mix(in srgb, var(--cb-ink) 20%, transparent); border-color: var(--accent); color: var(--accent); }
:where(body.cb) .pos-kpi-summary-pill { background: var(--cb-field); border: 1px solid var(--border); }
body.theme-light:where(.cb) .pos-kpi-summary-pill { background: var(--well); border-color: var(--line-2); }
:where(body.cb) .text-cyan { color: var(--accent) !important; }
body.theme-light:where(.cb) .text-yellow { color: var(--warn) !important; }
body.theme-light:where(.cb) .text-blue { color: var(--accent) !important; }
body.theme-light:where(.cb) .text-purple { color: var(--accent) !important; }
body.theme-light:where(.cb) .text-up { color: var(--up) !important; }
body.theme-light:where(.cb) .text-down { color: var(--down) !important; }
body.theme-light:where(.cb) .radar-clickable-row:nth-child(even) td, body.theme-light:where(.cb) .radar-clickable-row:nth-child(even) td { background-color: var(--well) !important; }
body.theme-light:where(.cb) .radar-clickable-row:nth-child(odd) td, body.theme-light:where(.cb) .radar-clickable-row:nth-child(odd) td { background-color: var(--surface-2) !important; }
body.theme-light:where(.cb) .radar-clickable-row:hover td, body.theme-light:where(.cb) .radar-clickable-row:hover td { background-color: var(--well) !important; }
body.theme-light:where(.cb) .radar-clickable-row.row-selected td, body.theme-light:where(.cb) .radar-clickable-row.row-selected td { background-color: var(--well) !important; }
:where(body.cb) .radar-sector-tag { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); border: 1px solid var(--control-border); }
:where(body.cb) .radar-sector-tag.tag-cme { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
:where(body.cb) .btn-radar-inspect-minimal { border: 1px solid var(--border, var(--border)); color: var(--accent, var(--accent)); }
:where(body.cb) .btn-radar-inspect-minimal:hover { background: var(--accent-soft, color-mix(in srgb, var(--cb-ink) 14%, transparent)); border-color: var(--accent, var(--accent)); }
body.theme-light:where(.cb) .btn-radar-inspect-minimal, body.theme-light:where(.cb) .btn-radar-inspect-minimal { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .btn-radar-inspect-minimal:hover, body.theme-light:where(.cb) .btn-radar-inspect-minimal:hover { background: var(--well) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
:where(body.cb) .risk-kpi-tile:hover { border-color: var(--border); }
:where(body.cb) .post-mortem-card:hover { border-color: var(--border); }
:where(body.cb) .post-mortem-header { border-bottom: 1px solid var(--border); }
:where(body.cb) .btn-terminal-pill:hover { border-color: var(--border); }
:where(body.cb) .qlib-group-header { border-bottom: 1px solid var(--border); }
:where(body.cb) .qlib-item { border: 1px solid var(--border); }
:where(body.cb) .qlib-item:hover { border-color: var(--border); }
body.theme-light:where(.cb) .radar-sub-pill { background: var(--surface-2); border-color: var(--line-2); color: var(--muted); }
body.theme-light:where(.cb) .radar-sub-pill:hover { color: var(--accent); border-color: var(--accent); }
body.theme-light:where(.cb) .radar-sub-pill.active { background: var(--cb-ink); color: var(--cb-on-ink); border-color: var(--accent); }
body.theme-light:where(.cb) .radar-symbol, body.theme-light:where(.cb) .radar-price-cell strong, body.theme-light:where(.cb) .data-table tr td { color: var(--text); }
body.theme-light:where(.cb) .radar-name, body.theme-light:where(.cb) .radar-vol { color: var(--muted); }
body.theme-light:where(.cb) .data-table th { background: var(--well); color: var(--muted); border-bottom: 1px solid var(--line-2); }
body.theme-light:where(.cb) .data-table tr:hover { background: var(--well); }
:where(body.cb) .floating-ai-chat-widget { background: var(--cb-field) !important; border: 1px solid var(--control-border) !important; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px transparent !important; }
:where(body.cb) .chat-widget-header { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) #chat-active-symbol-badge { color: var(--accent); }
:where(body.cb) .chat-quick-prompts { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) #chat-messages { background: var(--cb-field); }
:where(body.cb) .chat-message.chat-msg-assistant { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) .chat-message.chat-msg-user { background: color-mix(in srgb, var(--cb-ink) 16%, transparent); border: 1px solid var(--control-border); }
:where(body.cb) #chat-typing-indicator { background: var(--cb-field); color: var(--accent); }
:where(body.cb) #chat-image-preview-bar { background: var(--cb-field); border-top: 1px solid var(--control-border); }
:where(body.cb) .chat-widget-footer { background: var(--cb-field); border-top: 1px solid var(--border); }
:where(body.cb) #mcp-chat-input { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) #btn-attach-image { background: var(--cb-field); border: 1px solid var(--border); }
:where(body.cb) #chat-model-select, :where(body.cb) #chat-thinking-select { background: var(--cb-field); border: 1px solid var(--control-border); }
:where(body.cb) .ai-math-inline { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .ai-math-block { background: var(--cb-field); border: 1px solid var(--control-border); }
:where(body.cb) .katex { color: var(--accent); }
:where(body.cb) .katex-display { background: var(--cb-field) !important; border: 1px solid var(--control-border) !important; }
body.theme-light:where(.cb) #mcp-chat-box, body.theme-light:where(.cb) .floating-ai-chat-widget { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12), 0 0 25px transparent !important; }
body.theme-light:where(.cb) .chat-widget-header { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .chat-widget-header h3 { color: var(--text) !important; }
body.theme-light:where(.cb) .chat-widget-header span { color: var(--faint) !important; }
body.theme-light:where(.cb) #chat-active-symbol-badge { color: var(--accent) !important; }
body.theme-light:where(.cb) .btn-chat-header-action { color: var(--faint) !important; }
body.theme-light:where(.cb) .btn-chat-header-action:hover { color: var(--text) !important; background: var(--well) !important; }
body.theme-light:where(.cb) .chat-quick-prompts { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) #chat-pinned-disclaimer { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) #chat-messages { background: var(--well) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-assistant { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-assistant strong { color: var(--text) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-assistant .msg-content { color: var(--text) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-assistant .msg-chip-status { color: var(--accent) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-assistant blockquote { background: color-mix(in srgb, var(--cb-ink) 6%, transparent) !important; border-left-color: var(--accent) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-assistant code { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .chat-message.chat-msg-user { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; box-shadow: 0 2px 8px transparent !important; }
body.theme-light:where(.cb) #chat-typing-indicator { background: var(--well) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) #chat-image-preview-bar { background: var(--well) !important; border-top: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) #chat-image-name { color: var(--text) !important; }
body.theme-light:where(.cb) .chat-widget-footer { background: var(--surface-2) !important; border-top: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) #mcp-chat-input { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) #mcp-chat-input::placeholder { color: var(--faint) !important; }
body.theme-light:where(.cb) #btn-attach-image { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--faint) !important; }
body.theme-light:where(.cb) #btn-attach-image:hover { background: var(--well) !important; color: var(--text) !important; }
body.theme-light:where(.cb) #chat-model-select, body.theme-light:where(.cb) #chat-thinking-select { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .ai-elicitations-wrap { background: color-mix(in srgb, var(--cb-ink) 5%, transparent) !important; border-color: color-mix(in srgb, var(--accent) 25%, transparent) !important; }
body.theme-light:where(.cb) .ai-disclaimer-box { background: var(--well) !important; border-left-color: var(--warn) !important; }
body.theme-light:where(.cb) .katex { color: var(--accent) !important; }
body.theme-light:where(.cb) .katex-display { background: var(--well) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .ai-math-inline { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; color: var(--accent) !important; border: 1px solid var(--control-border) !important; }
body.theme-light:where(.cb) .ai-math-block { background: var(--well) !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .ai-table-wrap { border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .ai-table-wrap table thead tr { background: var(--well) !important; }
body.theme-light:where(.cb) .ai-table-wrap table th { color: var(--text) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .ai-table-wrap table td { color: var(--muted) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) #modal-ai-tier-ladder .modal-box { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) #modal-ai-tier-ladder h3 { color: var(--text) !important; }
body.theme-light:where(.cb) #modal-ai-tier-ladder table thead tr { background: var(--well) !important; color: var(--text) !important; border-bottom-color: var(--line-2) !important; }
body.theme-light:where(.cb) #modal-ai-tier-ladder table tbody { color: var(--muted) !important; }
:where(body.cb) .xno-loading-mark { color: var(--accent, var(--accent)); filter: drop-shadow(0 0 10px transparent); }
:where(body.cb) .quant-startup-card { border: 1px solid var(--control-border); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.72),
        0 0 40px transparent,
        inset 0 1px 0 rgba(255, 255, 255, 0.08); }
:where(body.cb) .quant-startup-glow-orb { background-image: none; }
:where(body.cb) .quant-startup-emblem-wrap { background-image: none; border: 1px solid var(--control-border); }
:where(body.cb) .quant-startup-mark { color: var(--accent, var(--accent)); }
:where(body.cb) .quant-startup-brand { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .quant-startup-badge { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .quant-startup-progress-track { border: 1px solid var(--border); }
:where(body.cb) .quant-startup-progress-fill { background: var(--cb-ink); color: var(--cb-on-ink); box-shadow: 0 0 14px transparent; }
:where(body.cb) .quant-startup-pct { color: var(--accent, var(--accent)); }
:where(body.cb) .quant-startup-node { border: 1px solid var(--border, var(--border)); }
:where(body.cb) .quant-startup-node.active { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
:where(body.cb) .quant-startup-node.active i { color: var(--accent); }
:where(body.cb) .quant-startup-skip-btn:hover { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); border-color: var(--accent, var(--accent)); }
body.theme-light:where(.cb) .quant-startup-card { background: var(--surface-2); border-color: var(--line-2); box-shadow: 0 24px 60px -15px rgba(15, 23, 42, 0.14), 0 0 0 1px transparent; }
body.theme-light:where(.cb) .quant-startup-emblem-wrap { background: var(--well); border-color: var(--line-2); box-shadow: 0 6px 18px transparent; }
body.theme-light:where(.cb) .quant-startup-brand { background: var(--cb-ink); color: var(--cb-on-ink); }
body.theme-light:where(.cb) .quant-startup-badge { background: var(--well); color: var(--accent); border-color: var(--accent); }
body.theme-light:where(.cb) .quant-startup-status { color: var(--muted); }
body.theme-light:where(.cb) .quant-startup-progress-track { background: var(--well); border-color: var(--line-2); }
body.theme-light:where(.cb) .quant-startup-node { background: var(--well); border-color: var(--line-2); color: var(--faint); }
body.theme-light:where(.cb) .quant-startup-node.active { background: var(--well); color: var(--text); }
:where(body.cb) .quant-tab-laser-fill { background: var(--cb-ink); color: var(--cb-on-ink); box-shadow: 0 0 12px transparent, 0 0 4px transparent; }
:where(body.cb) .quant-tab-loader-pill { border: 1px solid var(--control-border); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.65), 0 0 18px transparent; }
:where(body.cb) .quant-tab-loader-kicker { color: var(--accent, var(--accent)); }
body.theme-light:where(.cb) .quant-tab-loader-pill { border-color: var(--accent); }
body.theme-light:where(.cb) .quant-tab-loader-title { color: var(--text); }
:where(body.cb) .kpi-card, :where(body.cb) .cockpit-kpi-card, :where(body.cb) .stat-card, :where(body.cb) .metric-card, :where(body.cb) .wallet-card, :where(body.cb) .portfolio-summary-card { background-image: none; border: 1px solid var(--border, var(--border)); }
:where(body.cb) .kpi-card:hover, :where(body.cb) .cockpit-kpi-card:hover, :where(body.cb) .stat-card:hover, :where(body.cb) .wallet-card:hover { border-color: color-mix(in srgb, var(--accent) 38%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 28px -10px rgba(0, 0, 0, 0.55),
        0 0 18px transparent; }
body.theme-light:where(.cb) .kpi-card, body.theme-light:where(.cb) .cockpit-kpi-card, body.theme-light:where(.cb) .stat-card, body.theme-light:where(.cb) .metric-card, body.theme-light:where(.cb) .wallet-card { background-image: none !important; }
body.theme-light:where(.cb) .kpi-card:hover, body.theme-light:where(.cb) .cockpit-kpi-card:hover, body.theme-light:where(.cb) .stat-card:hover { border-color: var(--accent) !important; box-shadow: 0 10px 24px -8px transparent !important; }
:where(body.cb) .app-sidebar { border-right: 1px solid var(--sidebar-border, var(--border)); }
:where(body.cb) .sidebar-header { border-bottom: 1px solid var(--sidebar-border, var(--border)); }
:where(body.cb) .sidebar-footer { border-top: 1px solid var(--sidebar-border, var(--border)); }
:where(body.cb) .sidebar-menu .menu-item.active { background-image: none; color: var(--accent); border: 1px solid var(--control-border); box-shadow: inset 3px 0 0 transparent, 0 2px 8px rgba(0, 0, 0, 0.3); }
:where(body.cb) .sidebar-menu .menu-item.active i:first-child { color: var(--accent); }
body.theme-light:where(.cb) .app-sidebar { background-color: var(--surface-2) !important; border-right: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .sidebar-header { background-color: var(--surface-2) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .sidebar-footer { background-color: var(--surface-2) !important; border-top: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .brand-name { color: var(--text) !important; }
body.theme-light:where(.cb) .brand-ver { color: var(--faint) !important; }
body.theme-light:where(.cb) .group-title { color: var(--muted) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item { color: var(--muted) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item i:first-child { color: var(--faint) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item:hover { background: var(--well) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item:hover i:first-child { color: var(--text) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item.active { background-image: none !important; color: var(--accent) !important; border: 1px solid var(--control-border) !important; box-shadow: inset 3px 0 0 transparent !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item.active i:first-child { color: var(--accent) !important; }
body.theme-light:where(.cb) .badge-count { background: var(--well) !important; color: var(--muted) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .btn-toggle-sidebar { background: var(--well) !important; color: var(--faint) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .btn-toggle-sidebar:hover { background: var(--well) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .system-status-card { background: var(--well) !important; border: 1px solid var(--line-2) !important; }
:where(body.cb) .radar-category-pills-bar { border-bottom: 1px solid var(--border, var(--border)); }
:where(body.cb) .radar-cat-pill { border: 1px solid var(--border, var(--border)); }
:where(body.cb) .radar-cat-pill:hover { border-color: var(--accent, var(--accent)); }
:where(body.cb) .radar-cat-pill.active { background: var(--accent, var(--cb-ink)) !important; color: var(--cb-on-ink) !important; border-color: var(--accent, var(--accent)) !important; }
body.theme-light:where(.cb) .radar-category-pills-bar { background: var(--surface-2) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .radar-cat-pill { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .radar-cat-pill:hover { background: var(--well) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .radar-cat-pill.active { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; border-color: var(--accent) !important; }
body.theme-light:where(.cb) .radar-sub-pills-bar { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .subbar-label { color: var(--muted) !important; }
body.theme-light:where(.cb) .radar-sub-pill { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .radar-sub-pill:hover { background: var(--well) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .radar-sub-pill.active { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; border-color: var(--accent) !important; }
:where(body.cb) .radar-table thead tr { border-bottom: 1px solid var(--border, var(--border)); }
:where(body.cb) .radar-table td { border-bottom: 1px solid var(--border); }
:where(body.cb) .radar-table tbody tr:hover, :where(body.cb) .data-table tbody tr:hover { background-color: color-mix(in srgb, var(--cb-ink) 7%, transparent) !important; }
body.theme-light:where(.cb) .radar-table thead tr { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .radar-table th { color: var(--muted) !important; }
body.theme-light:where(.cb) .radar-table td { border-bottom: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .table-wrap, body.theme-light:where(.cb) .table-responsive-wrapper, body.theme-light:where(.cb) #radar-table-container, body.theme-light:where(.cb) .terminal-positions-table-wrap { background: var(--surface-2) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .data-table, body.theme-light:where(.cb) .data-dense-table, body.theme-light:where(.cb) .radar-table, body.theme-light:where(.cb) .positions-table, body.theme-light:where(.cb) .trades-table, body.theme-light:where(.cb) .history-table { background-color: var(--surface-2) !important; }
body.theme-light:where(.cb) .data-table thead tr, body.theme-light:where(.cb) .data-dense-table thead tr, body.theme-light:where(.cb) .radar-table thead tr, body.theme-light:where(.cb) .positions-table thead tr { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .data-table th, body.theme-light:where(.cb) .data-dense-table th, body.theme-light:where(.cb) .radar-table th, body.theme-light:where(.cb) .positions-table th { background: var(--well) !important; color: var(--muted) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .data-table td, body.theme-light:where(.cb) .data-dense-table td, body.theme-light:where(.cb) .radar-table td, body.theme-light:where(.cb) .positions-table td { border-bottom: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .radar-clickable-row:nth-child(even) td, body.theme-light:where(.cb) .data-table tr:nth-child(even) td, body.theme-light:where(.cb) .data-dense-table tr:nth-child(even) td { background-color: var(--well) !important; }
body.theme-light:where(.cb) .radar-clickable-row:nth-child(odd) td, body.theme-light:where(.cb) .data-table tr:nth-child(odd) td, body.theme-light:where(.cb) .data-dense-table tr:nth-child(odd) td { background-color: var(--surface-2) !important; }
body.theme-light:where(.cb) .radar-clickable-row:hover td, body.theme-light:where(.cb) .data-table tr:hover td, body.theme-light:where(.cb) .data-dense-table tr:hover td, body.theme-light:where(.cb) .radar-table tbody tr:hover td { background-color: var(--well) !important; }
body.theme-light:where(.cb) .radar-symbol, body.theme-light:where(.cb) .radar-symbol strong { color: var(--text) !important; }
body.theme-light:where(.cb) .radar-name { color: var(--muted) !important; }
body.theme-light:where(.cb) .radar-price-cell strong { color: var(--text) !important; }
body.theme-light:where(.cb) .radar-vol { color: var(--faint) !important; }
body.theme-light:where(.cb) .unit-muted { color: var(--faint) !important; }
body.theme-light:where(.cb) .cpcv-clean-val { color: var(--up) !important; }
body.theme-light:where(.cb) .badge-cpcv-tag { background: color-mix(in srgb, var(--up) 10%, transparent) !important; border: 1px solid color-mix(in srgb, var(--up) 30%, transparent) !important; color: var(--up) !important; }
body.theme-light:where(.cb) .confluence-dots .conf-dot.active { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; box-shadow: 0 0 4px transparent !important; }
body.theme-light:where(.cb) .top-header, body.theme-light:where(.cb) .app-header { background: var(--surface-2) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .compact-drop-btn, body.theme-light:where(.cb) .btn-tools-capsule, body.theme-light:where(.cb) .btn-status-capsule { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .compact-drop-btn:hover, body.theme-light:where(.cb) .btn-tools-capsule:hover, body.theme-light:where(.cb) .btn-status-capsule:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .compact-dropdown.open .compact-drop-btn { background: var(--well) !important; border-color: var(--accent) !important; box-shadow: 0 0 0 3px transparent !important; }
body.theme-light:where(.cb) .drop-btn-title { color: var(--text) !important; }
body.theme-light:where(.cb) .drop-btn-badge { background: color-mix(in srgb, var(--cb-ink) 10%, transparent) !important; color: var(--accent) !important; }
body.theme-light:where(.cb) .drop-caret { color: var(--faint) !important; }
body.theme-light:where(.cb) .btn-header-tool { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .btn-header-tool:hover { background: var(--well) !important; color: var(--text) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .trading-mode-badge.mode-paper { background: var(--well) !important; color: var(--warn) !important; }
body.theme-light:where(.cb) .trading-mode-badge.mode-live { background: var(--well) !important; color: var(--down) !important; }
body.theme-light:where(.cb) .kpi-label { color: var(--faint) !important; }
body.theme-light:where(.cb) .kpi-value { color: var(--text) !important; }
body.theme-light:where(.cb) .kpi-divider { background: var(--well) !important; }
body.theme-light:where(.cb) .radar-search-wrap { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .radar-search-wrap:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 2px transparent !important; }
body.theme-light:where(.cb) .radar-search-input { color: var(--text) !important; }
body.theme-light:where(.cb) .radar-search-input::placeholder { color: var(--faint) !important; }
body.theme-light:where(.cb) .search-icon { color: var(--faint) !important; }
body.theme-light:where(.cb) .search-kbd-badge { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--faint) !important; }
body.theme-light:where(.cb) .radar-filter-select-wrap { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .radar-filter-select-wrap:focus-within, body.theme-light:where(.cb) .radar-filter-select-wrap:hover { border-color: var(--accent) !important; }
body.theme-light:where(.cb) .select-terminal-clean { background: var(--surface-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .select-terminal-clean option { background: var(--surface-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .radar-filter-select-wrap .filter-icon { color: var(--faint) !important; }
body.theme-light:where(.cb) .badge-engine { background: var(--well) !important; border: 1px solid var(--line-2) !important; color: var(--up) !important; }
body.theme-light:where(.cb) .qlib-toggle-label { color: var(--muted) !important; }
body.theme-light:where(.cb) .app-sidebar, body.theme-light:where(.cb) .app-sidebar.collapsed, body.theme-light:where(.cb) .sidebar-scroll-area, body.theme-light:where(.cb) .sidebar-header, body.theme-light:where(.cb) .sidebar-footer { background-color: var(--surface-2) !important; border-color: var(--line-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .app-sidebar.collapsed .sidebar-header { background-color: var(--surface-2) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item i, body.theme-light:where(.cb) .app-sidebar.collapsed .menu-item i, body.theme-light:where(.cb) .app-sidebar.collapsed .cat-btn i, body.theme-light:where(.cb) .app-sidebar.collapsed .btn-side i { color: var(--faint) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item:hover i, body.theme-light:where(.cb) .app-sidebar.collapsed .menu-item:hover i { color: var(--accent) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item.active i, body.theme-light:where(.cb) .app-sidebar.collapsed .menu-item.active i { color: var(--accent) !important; }
body.theme-light:where(.cb) .sidebar-menu .menu-item.active, body.theme-light:where(.cb) .app-sidebar.collapsed .menu-item.active { background: var(--well) !important; color: var(--accent) !important; border-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }
body.theme-light:where(.cb) .brand-logo { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
body.theme-light:where(.cb) .app-main, body.theme-light:where(.cb) .workspace-body { background-color: var(--well) !important; }
body.theme-light:where(.cb) .panel-card, body.theme-light:where(.cb) .panel-card.mb-4, body.theme-light:where(.cb) #radar-main-card, body.theme-light:where(.cb) #bottom-workstation-panel { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .panel-header, body.theme-light:where(.cb) .panel-header-terminal { border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .panel-title { color: var(--text) !important; }
body.theme-light:where(.cb) .panel-subtitle { color: var(--faint) !important; }
body.theme-light:where(.cb) .terminal-splitter-h { background: var(--well) !important; }
body.theme-light:where(.cb) .terminal-splitter-h:hover { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
body.theme-light:where(.cb) .terminal-tab-segmented { background: var(--well) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .terminal-segment-btn { color: var(--faint) !important; }
body.theme-light:where(.cb) .terminal-segment-btn:hover { color: var(--text) !important; }
body.theme-light:where(.cb) .terminal-segment-btn.active { background: var(--surface-2) !important; color: var(--text) !important; }
body.theme-light:where(.cb) .terminal-badge-live, body.theme-light:where(.cb) .terminal-badge-history { background: var(--well) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .pos-kpi-summary-pill { background: var(--well) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .pos-kpi-pill-lbl { color: var(--faint) !important; }
body.theme-light:where(.cb) .cockpit-bottom-half.cockpit-bottom-empty #bottom-workstation-panel { border: 1px solid var(--line-2) !important; background: var(--surface-2) !important; }
body.theme-light:where(.cb) .dropdown-popover { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .popover-header { background: var(--well) !important; border-bottom: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .pop-title { color: var(--text) !important; }
body.theme-light:where(.cb) .pop-sub { color: var(--faint) !important; }
body.theme-light:where(.cb) .checklist-item { background: var(--surface-2) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .checklist-item:hover { background: var(--well) !important; border-color: var(--line-2) !important; }
body.theme-light:where(.cb) .checklist-item.active { background: var(--well) !important; border-color: var(--accent) !important; }
body.theme-light:where(.cb) .check-name { color: var(--text) !important; }
body.theme-light:where(.cb) .check-desc { color: var(--faint) !important; }
body.theme-light:where(.cb) .check-val { color: var(--text) !important; }
body.theme-light:where(.cb) .popover-footer { background: var(--well) !important; border-top: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .pop-ft-lbl { color: var(--faint) !important; }
body.theme-light:where(.cb) .popover-status-checklist .status-check-row { border-bottom: 1px solid var(--line-2) !important; color: var(--muted) !important; }
body.theme-light:where(.cb) .popover-gdrive-card { background: var(--well) !important; border: 1px solid var(--line-2) !important; }
body.theme-light:where(.cb) .popover-gdrive-card strong { color: var(--text) !important; }
body.theme-light:where(.cb) #select-gdrive-interval { background: var(--surface-2) !important; color: var(--accent) !important; border: 1px solid var(--line-2) !important; }
:where(body.cb) .text-ceiling { color: var(--ceiling, var(--accent)) !important; }
:where(body.cb) .text-floor { color: var(--floor, var(--accent)) !important; }
:where(body.cb) .symbol-dossier-wrapper .dossier-header-bar { border: 1px solid var(--border); }
:where(body.cb) .symbol-dossier-wrapper .dossier-exchange-badge { background: color-mix(in srgb, var(--cb-ink) 15%, transparent); color: var(--accent); border: 1px solid var(--control-border); }
:where(body.cb) .symbol-dossier-wrapper .dossier-card-panel { border: 1px solid var(--border); }
:where(body.cb) .symbol-dossier-wrapper .dossier-table th { border-bottom: 1px solid var(--border); }
:where(body.cb) .symbol-dossier-wrapper .dossier-table td { border-bottom: 1px solid var(--border); }
:where(body.cb) .symbol-dossier-wrapper .dossier-cell-newest { background: color-mix(in srgb, var(--cb-ink) 6%, transparent); color: var(--accent) !important; }
:where(body.cb) .symbol-dossier-wrapper .dossier-sh-item { border-bottom: 1px solid var(--border); }
:where(body.cb) .floating-ai-chat-widget.ai-chat-expanded { box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px transparent !important; }
:where(body.cb) .chat-dynamic-chart-card { border: 1px solid var(--control-border); background: var(--cb-field); }
:where(body.cb) .chat-dynamic-chart-header { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) .chat-dynamic-chart-container { background: var(--cb-field); }
:where(body.cb) .btn-chat-chart-tf:hover { background: color-mix(in srgb, var(--cb-ink) 35%, transparent) !important; }
:where(body.cb) .gf-asset-card { border: 1px solid var(--control-border); background: var(--cb-field); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 15px transparent; color: var(--text); }
:where(body.cb) .gf-card-header { background: var(--cb-field); border-bottom: 1px solid var(--border); color: var(--text); }
:where(body.cb) .gf-card-title { color: var(--text) !important; }
:where(body.cb) .gf-chip-badge { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); border: 1px solid var(--control-border); color: var(--accent); }
:where(body.cb) .gf-chip-icon { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .gf-tabs-bar { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) .gf-tab-btn { color: var(--muted); }
:where(body.cb) .gf-tab-btn:hover { color: var(--text); background: color-mix(in srgb, var(--cb-ink) 8%, transparent); }
:where(body.cb) .gf-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: color-mix(in srgb, var(--cb-ink) 10%, transparent); }
:where(body.cb) .gf-tf-bar { background: var(--cb-field); border-bottom: 1px solid var(--border); }
:where(body.cb) .gf-tf-btn { color: var(--muted); }
:where(body.cb) .gf-tf-btn:hover { color: var(--text); background: color-mix(in srgb, var(--cb-ink) 8%, transparent); }
:where(body.cb) .gf-tf-btn.active { background: color-mix(in srgb, var(--cb-ink) 22%, transparent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
:where(body.cb) .gf-snapshot-table-container { background: var(--cb-field); border-top: 1px solid var(--border); }
:where(body.cb) .gf-snapshot-table th { border-bottom: 1px solid var(--border); color: var(--muted); }
:where(body.cb) .gf-snapshot-table td { color: var(--text); border-bottom: 1px solid var(--border); }
:where(body.cb) .gf-sym-code { color: var(--text) !important; font-weight: 700; }
:where(body.cb) .gf-sym-desc { color: var(--muted) !important; }
:where(body.cb) .gf-price-cell { color: var(--text) !important; }
:where(body.cb) .gf-prev-cell { color: var(--muted) !important; }
:where(body.cb) .gf-sym-box { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .gf-news-section { background: var(--cb-field); border-top: 1px solid var(--border); }
:where(body.cb) .gf-news-header { color: var(--text); }
:where(body.cb) .gf-news-item { background: var(--cb-field); border: 1px solid var(--border); color: var(--text); }
:where(body.cb) .gf-news-item:hover { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
:where(body.cb) .gf-news-title { color: var(--text) !important; font-weight: 600; }
:where(body.cb) .gf-news-source { color: var(--accent); background: color-mix(in srgb, var(--cb-ink) 12%, transparent); }
:where(body.cb) .chat-followup-wrapper { border-top: 1px dashed var(--control-border); }
:where(body.cb) .chat-followup-label { color: var(--accent); }
:where(body.cb) .chat-followup-pill { background: var(--cb-field); border: 1px solid var(--control-border); color: var(--text) !important; font-weight: 500; }
:where(body.cb) .chat-followup-pill span { color: inherit !important; }
:where(body.cb) .chat-followup-pill:hover { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent) !important; box-shadow: 0 4px 14px transparent; }
:where(body.cb) .chat-followup-icon { color: var(--accent) !important; }
:where(body.cb) .radar-clickable-row.row-selected td { background: color-mix(in srgb, var(--cb-ink) 10%, transparent); }
@media (max-width: 1440px) {
  :where(body.cb) .app-sidepanel, :where(body.cb) #app-sidepanel, :where(body.cb) #ai-stream-panel { background: var(--cb-field); }
}

/* ---- từ theme-pro.css ---- */
:where(body.cb) .brand-logo { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .radar-sector-tag.tag-cme { background: color-mix(in srgb, var(--cb-ink) 14%, transparent); color: var(--accent); }
:where(body.cb) .radar-sector-tag.tag-us { background: color-mix(in srgb, var(--cb-ink) 13%, transparent); color: var(--accent); }
body.theme-light:where(.cb) .radar-sector-tag.tag-cme { color: var(--accent); }
body.theme-light:where(.cb) .radar-sector-tag.tag-us { color: var(--accent); }
body.theme-light:where(.cb) .modal-overlay { background: var(--cb-field); }
:where(body.cb) .btn-primary { background: var(--cb-ink); color: var(--cb-on-ink); }
body.theme-light:where(.cb) .btn-secondary, body.theme-light:where(.cb) .top-header button:not(.btn-sidebar-expand-header) { background: var(--surface-2); }
:where(body.cb) .data-table tbody tr.radar-clickable-row:hover td:first-child { box-shadow: inset 2px 0 0 transparent; }
:where(body.cb) .radar-sector-tag.tag-cme { color: var(--accent); }
body.theme-light:where(.cb) .workspace-hero-card, body.theme-light:where(.cb) .workspace-kpi-card, body.theme-light:where(.cb) .workspace-chart-panel, body.theme-light:where(.cb) .workspace-detail-panel, body.theme-light:where(.cb) .detail-section-card { background: var(--surface-2) !important; }
:where(body.cb) .workspace-pill-btn.active::after { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .quant-startup-progress-fill { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
:where(body.cb) .quant-startup-skip-btn { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
:where(body.cb) #chat-messages .chat-msg-user { background: color-mix(in srgb, var(--cb-ink) 16%, transparent) !important; }
:where(body.cb) #btn-send-chat { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
:where(body.cb) #floating-ai-copilot-btn { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
body.theme-light:where(.cb) #chat-messages .chat-message { background: var(--surface-2) !important; }
body.theme-light:where(.cb) input[type="text"], body.theme-light:where(.cb) input[type="password"], body.theme-light:where(.cb) input[type="number"], body.theme-light:where(.cb) textarea { background: var(--surface-2); }
body.theme-light:where(.cb) .detail-tab-btn { background: var(--surface-2) !important; }
:where(body.cb) .rd-subtabs-bar .btn-terminal-pill.active::after, :where(body.cb) .admin-subtabs-bar .btn-terminal-pill.active::after { background: var(--cb-ink); color: var(--cb-on-ink); }
:where(body.cb) .btn-primary:not([style*="background"]) { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
:where(body.cb) .btn-primary-neon { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
:where(body.cb) .mode-switch button.active { background: color-mix(in srgb, var(--cb-ink) 18%, transparent); }
body.theme-light:where(.cb) .mode-switch button.active { background: color-mix(in srgb, var(--cb-ink) 12%, transparent); }
@media (max-width: 767px) {
  :where(body.cb) .m-bottomnav button[aria-current="page"]::before { background: var(--cb-ink); color: var(--cb-on-ink); }
}

/* ---- từ style="..." nội tuyến (HTML + mẫu chuỗi trong JS) ---- */
html body.cb [style*="background: #131722" i], html body.cb [style*="background:#131722" i] { background: var(--cb-field) !important; }
html body.cb [style*="color: #A855F7" i], html body.cb [style*="color:#A855F7" i] { color: var(--accent) !important; }
html body.cb [style*="background: rgba(11, 19, 41, 0.7)" i], html body.cb [style*="background:rgba(11, 19, 41, 0.7)" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(59, 130, 246, 0.05)" i], html body.cb [style*="background:rgba(59, 130, 246, 0.05)" i] { background: color-mix(in srgb, var(--cb-ink) 5%, transparent) !important; }
html body.cb [style*="border: 1px dashed rgba(59, 130, 246, 0.25)" i], html body.cb [style*="border:1px dashed rgba(59, 130, 246, 0.25)" i] { border: 1px dashed var(--control-border) !important; }
html body.cb [style*="background: rgba(14, 165, 233, 0.08)" i], html body.cb [style*="background:rgba(14, 165, 233, 0.08)" i] { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; }
html body.cb [style*="border: 1px solid rgba(14, 165, 233, 0.25)" i], html body.cb [style*="border:1px solid rgba(14, 165, 233, 0.25)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="color: #38bdf8" i], html body.cb [style*="color:#38bdf8" i] { color: var(--accent) !important; }
html body.cb [style*="background: rgba(99, 102, 241, 0.15)" i], html body.cb [style*="background:rgba(99, 102, 241, 0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="color: #818cf8" i], html body.cb [style*="color:#818cf8" i] { color: var(--accent) !important; }
html body.cb [style*="background: rgba(14, 165, 233, 0.05)" i], html body.cb [style*="background:rgba(14, 165, 233, 0.05)" i] { background: color-mix(in srgb, var(--cb-ink) 5%, transparent) !important; }
html body.cb [style*="border: 1px solid rgba(56, 189, 248, 0.25)" i], html body.cb [style*="border:1px solid rgba(56, 189, 248, 0.25)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="background: rgba(56, 189, 248, 0.15)" i], html body.cb [style*="background:rgba(56, 189, 248, 0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="color: #3B82F6" i], html body.cb [style*="color:#3B82F6" i] { color: var(--accent) !important; }
html body.cb [style*="color: #94A3B8" i], html body.cb [style*="color:#94A3B8" i] { color: var(--text-3) !important; }
html body.cb [style*="border-left: 3px solid #818cf8" i], html body.cb [style*="border-left:3px solid #818cf8" i] { border-left: 3px solid var(--cb-ink) !important; }
html body.cb [style*="background: rgba(129,140,248,0.15)" i], html body.cb [style*="background:rgba(129,140,248,0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="border-top: 1px solid rgba(255,255,255,0.06)" i], html body.cb [style*="border-top:1px solid rgba(255,255,255,0.06)" i] { border-top: 1px solid var(--border) !important; }
html body.cb [style*="color: #38BDF8" i], html body.cb [style*="color:#38BDF8" i] { color: var(--accent) !important; }
html body.cb [style*="border: 1px solid rgba(56, 189, 248, 0.35)" i], html body.cb [style*="border:1px solid rgba(56, 189, 248, 0.35)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="color: #64748B" i], html body.cb [style*="color:#64748B" i] { color: var(--text-3) !important; }
html body.cb [style*="background: rgba(56, 189, 248, 0.08)" i], html body.cb [style*="background:rgba(56, 189, 248, 0.08)" i] { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; }
html body.cb [style*="color: #CBD5E1" i], html body.cb [style*="color:#CBD5E1" i] { color: var(--text-2) !important; }
html body.cb [style*="background: rgba(168, 85, 247, 0.08)" i], html body.cb [style*="background:rgba(168, 85, 247, 0.08)" i] { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; }
html body.cb [style*="border: 1px solid rgba(168, 85, 247, 0.25)" i], html body.cb [style*="border:1px solid rgba(168, 85, 247, 0.25)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="color: #C084FC" i], html body.cb [style*="color:#C084FC" i] { color: var(--accent) !important; }
html body.cb [style*="background: rgba(56, 189, 248, 0.2)" i], html body.cb [style*="background:rgba(56, 189, 248, 0.2)" i] { background: color-mix(in srgb, var(--cb-ink) 20%, transparent) !important; }
html body.cb [style*="border: 1px solid #38BDF8" i], html body.cb [style*="border:1px solid #38BDF8" i] { border: 1px solid var(--cb-ink) !important; }
html body.cb [style*="background: rgba(168, 85, 247, 0.2)" i], html body.cb [style*="background:rgba(168, 85, 247, 0.2)" i] { background: color-mix(in srgb, var(--cb-ink) 20%, transparent) !important; }
html body.cb [style*="border: 1px solid #C084FC" i], html body.cb [style*="border:1px solid #C084FC" i] { border: 1px solid var(--cb-ink) !important; }
html body.cb [style*="border-left: 3px solid #38BDF8" i], html body.cb [style*="border-left:3px solid #38BDF8" i] { border-left: 3px solid var(--cb-ink) !important; }
html body.cb [style*="color: #0284c7" i], html body.cb [style*="color:#0284c7" i] { color: var(--accent) !important; }
html body.cb [style*="color: #8b5cf6" i], html body.cb [style*="color:#8b5cf6" i] { color: var(--accent) !important; }
html body.cb [style*="border: 1px solid rgba(56, 189, 248, 0.3)" i], html body.cb [style*="border:1px solid rgba(56, 189, 248, 0.3)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="border-color: rgba(56, 189, 248, 0.4)" i], html body.cb [style*="border-color:rgba(56, 189, 248, 0.4)" i] { border-color: color-mix(in srgb, var(--accent) 40%, transparent) !important; }
html body.cb [style*="color: #94a3b8" i], html body.cb [style*="color:#94a3b8" i] { color: var(--text-3) !important; }
html body.cb [style*="background: rgba(15, 23, 42, 0.7)" i], html body.cb [style*="background:rgba(15, 23, 42, 0.7)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border: 1px solid rgba(56, 189, 248, 0.2)" i], html body.cb [style*="border:1px solid rgba(56, 189, 248, 0.2)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="accent-color: #38bdf8" i], html body.cb [style*="accent-color:#38bdf8" i] { accent-color: var(--accent) !important; }
html body.cb [style*="color: #f8fafc" i], html body.cb [style*="color:#f8fafc" i] { color: var(--text) !important; }
html body.cb [style*="background: rgba(11, 19, 41, 0.9)" i], html body.cb [style*="background:rgba(11, 19, 41, 0.9)" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(15, 23, 42, 0.6)" i], html body.cb [style*="background:rgba(15, 23, 42, 0.6)" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%)" i], html body.cb [style*="background:linear-gradient(135deg, #0284c7 0%, #0369a1 100%)" i] { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
html body.cb [style*="border: 1px solid rgba(56, 189, 248, 0.5)" i], html body.cb [style*="border:1px solid rgba(56, 189, 248, 0.5)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.4)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.4)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border: 1px dashed rgba(56, 189, 248, 0.3)" i], html body.cb [style*="border:1px dashed rgba(56, 189, 248, 0.3)" i] { border: 1px dashed var(--control-border) !important; }
html body.cb [style*="border: 1px dashed rgba(255,255,255,0.12)" i], html body.cb [style*="border:1px dashed rgba(255,255,255,0.12)" i] { border: 1px dashed var(--border) !important; }
html body.cb [style*="border-color: rgba(56,189,248,0.3)" i], html body.cb [style*="border-color:rgba(56,189,248,0.3)" i] { border-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }
html body.cb [style*="border-top: 1px solid #334155" i], html body.cb [style*="border-top:1px solid #334155" i] { border-top: 1px solid var(--border) !important; }
html body.cb [style*="border: 1px solid rgba(255, 255, 255, 0.08)" i], html body.cb [style*="border:1px solid rgba(255, 255, 255, 0.08)" i] { border: 1px solid var(--border) !important; }
html body.cb [style*="background: #0B0E14" i], html body.cb [style*="background:#0B0E14" i] { background: var(--cb-field) !important; }
html body.cb [style*="color: #E2E8F0" i], html body.cb [style*="color:#E2E8F0" i] { color: var(--text) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255,255,255,0.08)" i], html body.cb [style*="border-bottom:1px solid rgba(255,255,255,0.08)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="background: #0284C7" i], html body.cb [style*="background:#0284C7" i] { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(56, 189, 248, 0.2)" i], html body.cb [style*="border-bottom:1px solid rgba(56, 189, 248, 0.2)" i] { border-bottom: 1px solid var(--control-border) !important; }
html body.cb [style*="background: rgba(15, 23, 42, 0.8)" i], html body.cb [style*="background:rgba(15, 23, 42, 0.8)" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(15, 23, 42, 0.5)" i], html body.cb [style*="background:rgba(15, 23, 42, 0.5)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border-left: 3px solid #A855F7" i], html body.cb [style*="border-left:3px solid #A855F7" i] { border-left: 3px solid var(--cb-ink) !important; }
html body.cb [style*="background: rgba(59, 130, 246, 0.15)" i], html body.cb [style*="background:rgba(59, 130, 246, 0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="color: #60A5FA" i], html body.cb [style*="color:#60A5FA" i] { color: var(--accent) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255,255,255,0.06)" i], html body.cb [style*="border-bottom:1px solid rgba(255,255,255,0.06)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="border: 1px solid rgba(255, 255, 255, 0.05)" i], html body.cb [style*="border:1px solid rgba(255, 255, 255, 0.05)" i] { border: 1px solid var(--border) !important; }
html body.cb [style*="accent-color: #0284C7" i], html body.cb [style*="accent-color:#0284C7" i] { accent-color: var(--accent) !important; }
html body.cb [style*="background: rgba(56, 189, 248, 0.12)" i], html body.cb [style*="background:rgba(56, 189, 248, 0.12)" i] { background: color-mix(in srgb, var(--cb-ink) 12%, transparent) !important; }
html body.cb [style*="background: #0E1626" i], html body.cb [style*="background:#0E1626" i] { background: var(--cb-field) !important; }
html body.cb [style*="border: 1px solid rgba(168, 85, 247, 0.4)" i], html body.cb [style*="border:1px solid rgba(168, 85, 247, 0.4)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(168, 85, 247, 0.2)" i], html body.cb [style*="box-shadow:0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(168, 85, 247, 0.2)" i] { box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px transparent !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255, 255, 255, 0.08)" i], html body.cb [style*="border-bottom:1px solid rgba(255, 255, 255, 0.08)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.75)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.75)" i] { background: var(--cb-field) !important; }
html body.cb [style*="color: #c084fc" i], html body.cb [style*="color:#c084fc" i] { color: var(--accent) !important; }
html body.cb [style*="color: #F8FAFC" i], html body.cb [style*="color:#F8FAFC" i] { color: var(--text) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255, 255, 255, 0.05)" i], html body.cb [style*="border-bottom:1px solid rgba(255, 255, 255, 0.05)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="background: rgba(15, 23, 42, 0.85)" i], html body.cb [style*="background:rgba(15, 23, 42, 0.85)" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(168, 85, 247, 0.15)" i], html body.cb [style*="background:rgba(168, 85, 247, 0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="border: 1px solid rgba(168, 85, 247, 0.35)" i], html body.cb [style*="border:1px solid rgba(168, 85, 247, 0.35)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="color: #7DD3FC" i], html body.cb [style*="color:#7DD3FC" i] { color: var(--accent) !important; }
html body.cb [style*="background: #0B111E" i], html body.cb [style*="background:#0B111E" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.5)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.5)" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.9)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.9)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border-top: 1px solid rgba(168, 85, 247, 0.3)" i], html body.cb [style*="border-top:1px solid rgba(168, 85, 247, 0.3)" i] { border-top: 1px solid var(--control-border) !important; }
html body.cb [style*="border: 1px solid rgba(168, 85, 247, 0.6)" i], html body.cb [style*="border:1px solid rgba(168, 85, 247, 0.6)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="border-top: 1px solid rgba(255, 255, 255, 0.08)" i], html body.cb [style*="border-top:1px solid rgba(255, 255, 255, 0.08)" i] { border-top: 1px solid var(--border) !important; }
html body.cb [style*="background: #0F172A" i], html body.cb [style*="background:#0F172A" i] { background: var(--cb-field) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.8)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.8)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border: 1px solid rgba(255, 255, 255, 0.15)" i], html body.cb [style*="border:1px solid rgba(255, 255, 255, 0.15)" i] { border: 1px solid var(--border) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.6)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.6)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border: 1px solid rgba(255, 255, 255, 0.12)" i], html body.cb [style*="border:1px solid rgba(255, 255, 255, 0.12)" i] { border: 1px solid var(--border) !important; }
html body.cb [style*="background: linear-gradient(135deg, #A855F7, #7C3AED)" i], html body.cb [style*="background:linear-gradient(135deg, #A855F7, #7C3AED)" i] { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
html body.cb [style*="background: rgba(30, 41, 59, 0.7)" i], html body.cb [style*="background:rgba(30, 41, 59, 0.7)" i] { background: var(--cb-field) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255,255,255,0.1)" i], html body.cb [style*="border-bottom:1px solid rgba(255,255,255,0.1)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255,255,255,0.05)" i], html body.cb [style*="border-bottom:1px solid rgba(255,255,255,0.05)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="background: rgba(59,130,246,0.04)" i], html body.cb [style*="background:rgba(59,130,246,0.04)" i] { background: color-mix(in srgb, var(--cb-ink) 4%, transparent) !important; }
html body.cb [style*="background: rgba(59,130,246,0.15)" i], html body.cb [style*="background:rgba(59,130,246,0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="background: rgba(168,85,247,0.05)" i], html body.cb [style*="background:rgba(168,85,247,0.05)" i] { background: color-mix(in srgb, var(--cb-ink) 5%, transparent) !important; }
html body.cb [style*="background: rgba(168,85,247,0.15)" i], html body.cb [style*="background:rgba(168,85,247,0.15)" i] { background: color-mix(in srgb, var(--cb-ink) 15%, transparent) !important; }
html body.cb [style*="border: 1px solid rgba(255,255,255,0.08)" i], html body.cb [style*="border:1px solid rgba(255,255,255,0.08)" i] { border: 1px solid var(--border) !important; }
html body.cb [style*="background: linear-gradient(135deg, #7C3AED, #A855F7)" i], html body.cb [style*="background:linear-gradient(135deg, #7C3AED, #A855F7)" i] { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
html body.cb [style*="border: 1.5px solid rgba(255,255,255,0.4)" i], html body.cb [style*="border:1.5px solid rgba(255,255,255,0.4)" i] { border: 1.5px solid var(--border) !important; }
html body.cb [style*="box-shadow: 0 8px 25px rgba(168,85,247,0.55), 0 0 15px rgba(124,58,237,0.4)" i], html body.cb [style*="box-shadow:0 8px 25px rgba(168,85,247,0.55), 0 0 15px rgba(124,58,237,0.4)" i] { box-shadow: 0 8px 25px transparent, 0 0 15px transparent !important; }
html body.cb [style*="border: 1px solid rgba(255,255,255,0.12)" i], html body.cb [style*="border:1px solid rgba(255,255,255,0.12)" i] { border: 1px solid var(--border) !important; }
html body.cb [style*="border-bottom: 1px solid rgba(255,255,255,0.15)" i], html body.cb [style*="border-bottom:1px solid rgba(255,255,255,0.15)" i] { border-bottom: 1px solid var(--border) !important; }
html body.cb [style*="background: rgba(168,85,247,0.08)" i], html body.cb [style*="background:rgba(168,85,247,0.08)" i] { background: color-mix(in srgb, var(--cb-ink) 8%, transparent) !important; }
html body.cb [style*="background: rgba(56,189,248,0.12)" i], html body.cb [style*="background:rgba(56,189,248,0.12)" i] { background: color-mix(in srgb, var(--cb-ink) 12%, transparent) !important; }
html body.cb [style*="background: rgba(168,85,247,0.06)" i], html body.cb [style*="background:rgba(168,85,247,0.06)" i] { background: color-mix(in srgb, var(--cb-ink) 6%, transparent) !important; }
html body.cb [style*="border: 1px dashed rgba(168,85,247,0.3)" i], html body.cb [style*="border:1px dashed rgba(168,85,247,0.3)" i] { border: 1px dashed var(--control-border) !important; }
html body.cb [style*="background: linear-gradient(135deg, rgba(168,85,247,0.18), rgba(124,58,237,0.25))" i], html body.cb [style*="background:linear-gradient(135deg, rgba(168,85,247,0.18), rgba(124,58,237,0.25))" i] { background-image: none !important; }
html body.cb [style*="border: 1px solid rgba(168,85,247,0.4)" i], html body.cb [style*="border:1px solid rgba(168,85,247,0.4)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="border-top: 1px dashed rgba(255,255,255,0.12)" i], html body.cb [style*="border-top:1px dashed rgba(255,255,255,0.12)" i] { border-top: 1px dashed var(--border) !important; }
html body.cb [style*="background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(124,58,237,0.2))" i], html body.cb [style*="background:linear-gradient(135deg, rgba(168,85,247,0.15), rgba(124,58,237,0.2))" i] { background-image: none !important; }
html body.cb [style*="color: #D8B4FE" i], html body.cb [style*="color:#D8B4FE" i] { color: var(--accent) !important; }
html body.cb [style*="border: 1px solid rgba(168,85,247,0.5)" i], html body.cb [style*="border:1px solid rgba(168,85,247,0.5)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="background: rgba(59, 130, 246, 0.2)" i], html body.cb [style*="background:rgba(59, 130, 246, 0.2)" i] { background: color-mix(in srgb, var(--cb-ink) 20%, transparent) !important; }
html body.cb [style*="color: #3b82f6" i], html body.cb [style*="color:#3b82f6" i] { color: var(--accent) !important; }
html body.cb [style*="border: 1px solid rgba(56, 189, 248, 0.4)" i], html body.cb [style*="border:1px solid rgba(56, 189, 248, 0.4)" i] { border: 1px solid var(--control-border) !important; }
html body.cb [style*="background: rgba(56, 189, 248, 0.03)" i], html body.cb [style*="background:rgba(56, 189, 248, 0.03)" i] { background: color-mix(in srgb, var(--cb-ink) 3%, transparent) !important; }
html body.cb [style*="border-color: rgba(168,85,247,0.3)" i], html body.cb [style*="border-color:rgba(168,85,247,0.3)" i] { border-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }
html body.cb [style*="background: #38BDF8" i], html body.cb [style*="background:#38BDF8" i] { background: var(--cb-ink) !important; color: var(--cb-on-ink) !important; }
html body.cb [style*="border-color: rgba(168, 85, 247, 0.3)" i], html body.cb [style*="border-color:rgba(168, 85, 247, 0.3)" i] { border-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }
html body.cb #mcp-chat-box [style*="color:#F8FAFC" i], html body.cb #mcp-chat-box [style*="color: #F8FAFC" i],
html body.cb #mcp-chat-box [style*="color:#FFFFFF" i], html body.cb #mcp-chat-box [style*="color: #FFFFFF" i],
html body.cb #mcp-chat-box [style*="color:#FFF" i], html body.cb #mcp-chat-box [style*="color: #FFF" i],
html body.cb #mcp-chat-box [style*="color:#E2E8F0" i], html body.cb #mcp-chat-box [style*="color: #E2E8F0" i] { color: var(--text) !important; }
html body.cb #mcp-chat-box [style*="color:#CBD5E1" i], html body.cb #mcp-chat-box [style*="color: #CBD5E1" i],
html body.cb #mcp-chat-box [style*="color:#94A3B8" i], html body.cb #mcp-chat-box [style*="color: #94A3B8" i] { color: var(--muted) !important; }
html body.cb #mcp-chat-box .gf-asset-card,
html body.cb #mcp-chat-box .gf-sym-code,
html body.cb #mcp-chat-box .gf-price-cell,
html body.cb #mcp-chat-box .gf-news-title,
html body.cb #mcp-chat-box .chat-followup-pill,
html body.cb #mcp-chat-box .chat-followup-pill span:not(.chat-followup-icon) { color: var(--text) !important; }

