@layer theme{body{background:linear-gradient(135deg,#0a0a14,#0f0f1a 50%,#16213e)}select option{background:#1a1a2e;color:#ffffff}.base-modal select{background:rgba(255,255,255,.05);color:#ffffff}.base-modal select option{background:#1a1a2e;color:#ffffff}input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1);cursor:pointer;opacity:.7}input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}input[type=date]::-moz-calendar-picker-indicator{filter:invert(1)}::-webkit-scrollbar-track{background:rgba(255,255,255,.05)}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--neon-cyan),var(--neon-blue))}}@layer theme{html.light body{background:linear-gradient(135deg,#f8fafc,#f1f5f9 50%,#e2e8f0)}html.light .sidebar{background:linear-gradient(180deg,#0891b2,#0e7490);border-right:1px solid rgba(0,0,0,.1)}html.light .sidebar-brand,html.light .sidebar-header,html.light .sidebar-title,html.light .sidebar-version{color:#ffffff}html.light .sidebar-nav-item{color:rgba(255,255,255,.85)}html.light .sidebar-nav-item:hover{background:rgba(255,255,255,.15);color:#ffffff}html.light .sidebar-nav-item.active{background:rgba(255,255,255,.25);color:#ffffff}html.light .sidebar-nav-icon{color:rgba(255,255,255,.9)}html.light .sidebar-nav-item.active .sidebar-nav-icon{color:#ffffff}html.light .sidebar-user{color:rgba(255,255,255,.9);border-top:1px solid rgba(255,255,255,.2)}html.light .sidebar-user-avatar{background:rgba(255,255,255,.2);color:#ffffff}html.light .sidebar-user-name{color:#ffffff}html.light .sidebar-collapse-btn{color:rgba(255,255,255,.8);border-color:rgba(255,255,255,.2)}html.light .sidebar-collapse-btn:hover{background:rgba(255,255,255,.15);color:#ffffff}html.light svg{color:var(--text-primary)}html.light .sidebar svg,html.light .sidebar-nav-icon svg{color:rgba(255,255,255,.9)}html.light .new-stock-btn svg,html.light .sidebar-nav-item.active svg{color:#ffffff}html.light .symbol-badge{background:linear-gradient(135deg,#0891b2,#0e7490);color:#ffffff}html.light .chart-card,html.light .glass-card,html.light .metric-card{background:rgba(255,255,255,.98);border-color:rgba(0,0,0,.12);box-shadow:0 4px 20px rgba(0,0,0,.1);color:#030712}html.light .chart-card h3,html.light .metric-card h3{color:#030712}html.light .metric-card div,html.light .metric-card p,html.light .metric-card span{color:#374151}html.light .metric-card .metric-value{color:#030712}html.light .metric-card .change.positive,html.light .metric-card .value.positive{color:var(--status-positive)}html.light .metric-card .change.negative,html.light .metric-card .value.negative{color:var(--status-negative)}html.light .metric-card .value.fees-value{color:var(--status-warning)}html.light .positions-table{color:#030712}html.light .positions-table th{color:#374151;background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.12)}html.light .positions-table td{border-color:rgba(0,0,0,.1);color:#030712}html.light .positions-table tr:hover{background:rgba(8,145,178,.06)}html.light .filter-input,html.light .filter-select{background:#ffffff;border:1px solid rgba(0,0,0,.2);color:#030712}html.light .filter-input:focus,html.light .filter-select:focus{border-color:#0891b2}html.light .filter-select option{background:#ffffff;color:#030712}html.light .filter-group label{color:#374151}html.light .filter-btn{background:#ffffff;border:1px solid rgba(0,0,0,.15);color:#374151}html.light .filter-btn:hover{background:#f3f4f6;color:#030712}html.light .filter-btn.active{background:rgba(8,145,178,.15);border-color:#0891b2;color:#0891b2}html.light table{color:#030712}html.light table th{color:#374151}html.light table td{color:#030712}html.light .base-modal{background:#ffffff;border-color:rgba(0,0,0,.15);box-shadow:0 20px 60px rgba(0,0,0,.2)}html.light .base-modal label{color:#374151}html.light .base-modal input,html.light .base-modal select,html.light .base-modal textarea{background:#f8fafc;border-color:#e2e8f0;color:#030712}html.light .base-modal input::placeholder,html.light .base-modal textarea::placeholder{color:#9ca3af}html.light .base-modal .modal-header{border-bottom-color:rgba(0,0,0,.1)}html.light .base-modal .modal-footer{border-top-color:rgba(0,0,0,.1)}html.light .base-modal span{color:#374151}html.light .base-modal span[style*="color: #ef4444"],html.light .base-modal span[style*="color:#ef4444"]{color:#ef4444}html.light .base-modal div[style*="position: relative"]>span:first-child{color:#6b7280}html.light .base-modal .toggle-switch .toggle-slider{background:#e2e8f0}html.light .base-modal .toggle-switch input:checked+.toggle-slider{background:var(--neon-cyan)}html.light .modal-subtitle{color:rgba(0,0,0,.6)}html.light .modal-close-btn{color:rgba(0,0,0,.5)}html.light .modal-close-btn:hover{color:#111827;background:rgba(0,0,0,.08)}html.light .stat-modal-overlay{background:rgba(0,0,0,.5)}html.light .stat-modal,html.light .stat-modal-overlay>div{background:#ffffff;border:1px solid rgba(0,0,0,.2);box-shadow:0 20px 60px rgba(0,0,0,.25);color:#030712}html.light .stat-modal-header{border-bottom:1px solid rgba(0,0,0,.12)}html.light .stat-modal-title{color:#030712}html.light .stat-modal-close{color:#374151}html.light .stat-modal-close:hover{color:#030712;background:rgba(0,0,0,.08)}html.light .stat-modal-value{color:#030712}html.light .stat-modal-value.positive{color:var(--status-positive)}html.light .stat-modal-value.negative{color:var(--status-negative)}html.light .stat-modal-explanation{color:#374151;background:rgba(0,0,0,.05)}html.light .remove-modal-header{border-bottom-color:rgba(0,0,0,.1)}html.light .remove-modal-close{color:rgba(0,0,0,.5)}html.light .remove-modal-close:hover{color:rgba(0,0,0,.8)}html.light .remove-modal-question{color:#374151}html.light .remove-modal-symbol{color:#0891b2}html.light .remove-modal-details{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.1)}html.light .remove-modal-label{color:#6b7280}html.light .remove-modal-value{color:#030712}html.light .remove-modal-refund{border-top-color:rgba(0,0,0,.1)}html.light .remove-modal-warning{color:#6b7280}html.light .remove-modal-footer{border-top-color:rgba(0,0,0,.1)}html.light .remove-modal-cancel{background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.15);color:#374151}html.light .remove-modal-cancel:hover{background:rgba(0,0,0,.1)}html.light .modal,html.light .modal-content{background:#ffffff;color:#030712}html.light .modal-title{color:#030712}html.light .form-group label,html.light .modal p,html.light .modal span{color:#374151}html.light .glass-input,html.light .glass-select,html.light input,html.light select,html.light textarea{background:#ffffff;border-color:rgba(0,0,0,.2);color:var(--text-primary)}html.light .glass-input::placeholder,html.light input::placeholder{color:var(--text-muted)}html.light .glass-input:focus,html.light .glass-select:focus{border-color:var(--neon-cyan);box-shadow:0 0 0 3px rgba(8,145,178,.1)}html.light .base-modal select option,html.light .glass-input option,html.light .setting-select option,html.light select option{background:#ffffff;color:#030712}html.light .modal-btn-cancel{background:#f1f5f9;border:1px solid #d1d5db;color:#374151}html.light .modal-btn-cancel:hover{background:#e2e8f0;border-color:#9ca3af;color:#1f2937}html.light .segmented-control{background:#f1f5f9;border:1px solid #e2e8f0}html.light .segmented-btn{color:#6b7280}html.light .segmented-btn:not([class*=active]):hover{background:#e2e8f0;color:#374151}html.light .modal-label{color:#374151}html.light .modal-label-optional{color:#9ca3af}html.light .modal-text-muted{color:#6b7280}html.light .chip-btn{background:#f1f5f9;color:#6b7280;border:1px solid #e2e8f0}html.light .chip-btn:hover{background:#e2e8f0;color:#374151}html.light .toggle-panel{background:#f8fafc;border:1px solid #e2e8f0}html.light .toggle-panel-title{color:#374151}html.light .toggle-panel-subtitle{color:#6b7280}html.light input[type=date]::-webkit-calendar-picker-indicator{filter:none;opacity:.6}html.light input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}html.light input[type=date]::-moz-calendar-picker-indicator{filter:none}html.light .tab-btn{color:var(--text-muted)}html.light .tab-btn:hover{color:var(--text-primary);background:rgba(0,0,0,.05)}html.light .tab-btn.active{background:rgba(8,145,178,.1);color:var(--neon-cyan)}html.light .perf-chip{background:#ffffff;border-color:rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.08)}html.light .chip-label{color:#374151}html.light .chip-value{color:#030712}html.light .section-title,html.light h2,html.light h3{color:var(--text-primary)}html.light .setting-row{border-color:rgba(0,0,0,.1)}html.light .setting-label-title{color:#030712}html.light .setting-label-desc{color:#374151}html.light .glass-btn,html.light .settings-save-btn{color:#ffffff}html.light .settings-save-btn svg{color:#ffffff;stroke:#ffffff}html.light .update-trigger-btn{background:linear-gradient(135deg,#06b6d4,#0891b2);color:#ffffff;border:none}html.light .update-trigger-btn:hover{background:linear-gradient(135deg,#22d3ee,#06b6d4)}html.light .update-trigger-btn svg{color:#ffffff}html.light .merged-stats-grid{background:transparent;border:none}html.light .merged-stat-item{background:rgba(255,255,255,.98);border:1px solid rgba(0,0,0,.12);box-shadow:0 2px 8px rgba(0,0,0,.08);color:#030712}html.light .merged-stat-item span:first-child{color:#374151}html.light .merged-stat-item .stat-label{color:#111827}html.light .merged-stat-item .stat-value{color:#030712}html.light .merged-stat-item .stat-value.positive{color:var(--status-positive)}html.light .merged-stat-item .stat-value.negative{color:var(--status-negative)}html.light .merged-stat-item .stat-value.cash-value{color:var(--neon-cyan)}html.light .merged-stat-item .stat-value.warning-value{color:var(--status-warning)}html.light .calendar-grid{background:#ffffff;border-color:rgba(0,0,0,.12)}html.light .calendar-day{border-color:rgba(0,0,0,.1);color:#030712}html.light .calendar-day:hover{background:rgba(8,145,178,.08)}html.light .day-number,html.light .day-pnl{color:#030712}html.light .day-details{color:#374151}html.light .event-icon.earnings-icon{background:rgba(245,158,11,.15);border-color:rgba(245,158,11,.5)}html.light .event-icon.earnings-icon:hover{background:rgba(245,158,11,.25);border-color:rgba(245,158,11,.7)}html.light .calendar-day.has-event{background:rgba(245,158,11,.06);border-color:rgba(245,158,11,.25)}html.light .calendar-day.has-event:hover{background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.5)}html.light .week-summary{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.1);color:#030712}html.light .week-summary .week-label,html.light .week-summary span{color:#374151}html.light .week-summary .week-total{color:#030712}html.light .calendar-header-cell{color:#374151}html.light .month-nav-btn{background:rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.15);color:#030712}html.light .month-nav-btn:hover{background:rgba(0,0,0,.1)}html.light .month-nav-btn svg,html.light .month-selector{color:#030712}html.light .month-dropdown,html.light .year-dropdown{background:#ffffff;border:1px solid rgba(0,0,0,.2);color:#030712}html.light .month-dropdown option,html.light .year-dropdown option{background:#ffffff;color:#030712}html.light .monthly-summary{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.1)}html.light .summary-item .summary-label{color:#111827}html.light .summary-item .summary-value{color:#030712}html.light .loading-spinner-text{color:var(--text-muted)}html.light ::-webkit-scrollbar-track{background:rgba(0,0,0,.05)}html.light ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#0891b2,#0e7490)}html.light .sidebar .theme-toggle-btn{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.25);color:#e2e8f0}html.light .sidebar .theme-toggle-btn svg{color:#e2e8f0}html.light .sidebar .theme-toggle-btn:hover{background:rgba(255,255,255,.25);color:#ffffff}html.light .sidebar .theme-toggle-btn:hover svg{color:#ffffff}html.light .role-badge{background:rgba(8,145,178,.1);color:var(--neon-cyan)}html.light .r-badge{color:var(--text-primary)}html.light .chart-empty{color:var(--text-muted)}html.light .positive{color:var(--status-positive)}html.light .negative{color:var(--status-negative)}html.light .cash-value{color:var(--neon-cyan)}html.light .fees-value,html.light .warning-value{color:var(--status-warning)}html.light .metric-card .negative,html.light .metric-card .positive{font-weight:600}html.light td.positive{color:var(--status-positive)}html.light td.negative{color:var(--status-negative)}html.light .skeleton{background:linear-gradient(90deg,rgba(0,0,0,.04),rgba(0,0,0,.08) 50%,rgba(0,0,0,.04));background-size:200% 100%}html.light .skeleton-chart:before{background:linear-gradient(90deg,transparent,rgba(8,145,178,.08) 50%,transparent);background-size:200% 100%}html.light .skeleton-metric-card .skeleton-label{background:rgba(0,0,0,.05)}html.light .skeleton-metric-card .skeleton-value{background:rgba(0,0,0,.08)}html.light .skeleton-metric-card .skeleton-change{background:rgba(0,0,0,.04)}html.light .skeleton-table-cell{background:rgba(0,0,0,.05)}html.light .skeleton-table-cell:after{background:linear-gradient(90deg,transparent,rgba(0,0,0,.08) 50%,transparent);background-size:200% 100%}html.light .skeleton-text{background:rgba(0,0,0,.05)}html.light .skeleton-text:after{background:linear-gradient(90deg,transparent,rgba(0,0,0,.08) 50%,transparent);background-size:200% 100%}html.light .market-closed-icon{color:rgba(0,0,0,.6)}html.light .market-pre-icon{color:#d97706}html.light .today-btn{background:linear-gradient(135deg,#0891b2,#2563eb)}.light .dropdown-menu,[data-theme=light] .dropdown-menu,html.light .dropdown-menu{background:#ffffff;background-color:#ffffff;border-color:rgba(0,0,0,.15);box-shadow:0 10px 40px rgba(0,0,0,.2)}.light .dropdown-item,[data-theme=light] .dropdown-item,html.light .dropdown-item{color:#1e293b}.light .dropdown-item:hover,[data-theme=light] .dropdown-item:hover,html.light .dropdown-item:hover{background:rgba(0,0,0,.08);color:#0f172a}.light .dropdown-item.close-item:hover,[data-theme=light] .dropdown-item.close-item:hover,html.light .dropdown-item.close-item:hover{background:rgba(34,197,94,.15);color:#16a34a}.light .dropdown-item.edit-item:hover,[data-theme=light] .dropdown-item.edit-item:hover,html.light .dropdown-item.edit-item:hover{background:rgba(59,130,246,.15);color:#2563eb}.light .dropdown-item.remove-item:hover,[data-theme=light] .dropdown-item.remove-item:hover,html.light .dropdown-item.remove-item:hover{background:rgba(239,68,68,.15);color:#dc2626}.light .menu-btn,[data-theme=light] .menu-btn,html.light .menu-btn{color:#64748b}.light .menu-btn:hover,[data-theme=light] .menu-btn:hover,html.light .menu-btn:hover{background:rgba(0,0,0,.08);color:#1e293b}html.light .portfolio-tabs{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.08)}html.light .portfolio-tab{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.1)}html.light .portfolio-tab:hover{background:rgba(0,0,0,.06)}html.light .portfolio-tab.active{background:rgba(8,145,178,.1);border-color:rgba(8,145,178,.4)}html.light .portfolio-tab-name{color:#1f2937}html.light .portfolio-tab-value{color:#6b7280}html.light .portfolio-settings .glass-card,html.light .portfolio-settings .portfolio-item.glass-card{background:rgba(255,255,255,.98);border:1px solid rgba(0,0,0,.12)}html.light .sidebar-portfolio-dropdown{background:#ffffff;border-color:rgba(0,0,0,.12);box-shadow:0 8px 32px rgba(0,0,0,.15)}html.light .sidebar-portfolio-option{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.06);color:#6b7280}html.light .sidebar-portfolio-option:hover{background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.1);color:#1f2937}html.light .sidebar-portfolio-option.active{background:rgba(8,145,178,.1);border-color:rgba(8,145,178,.3);color:#0891b2}html.light .admin-layout{background:linear-gradient(135deg,#f8fafc,#f1f5f9 50%,#e2e8f0)}html.light .admin-header{background:rgba(255,255,255,.9);border-bottom-color:rgba(0,0,0,.08)}html.light .admin-title{color:#1e293b}html.light .admin-subtitle{color:#64748b}html.light .admin-badge{background:rgba(6,182,212,.1);color:#0891b2;border-color:rgba(6,182,212,.2)}html.light .admin-stat-card{background:rgba(255,255,255,.9);border-color:rgba(0,0,0,.08)}html.light .admin-stat-card:hover{border-color:rgba(6,182,212,.3);box-shadow:0 4px 20px rgba(0,0,0,.08)}html.light .admin-stat-icon.cyan{background:rgba(6,182,212,.15);color:#0891b2}html.light .admin-stat-icon.green{background:rgba(34,197,94,.15);color:#16a34a}html.light .admin-stat-icon.gold{background:rgba(245,158,11,.15);color:#d97706}html.light .admin-stat-label{color:#64748b}html.light .admin-stat-value{color:#1e293b}html.light .admin-table-container{background:rgba(255,255,255,.9);border-color:rgba(0,0,0,.08)}html.light .admin-table-header{border-bottom-color:rgba(0,0,0,.08)}html.light .admin-table-title{color:#1e293b}html.light .admin-table th{color:#64748b;background:rgba(0,0,0,.03)}html.light .admin-table td{border-bottom-color:rgba(0,0,0,.06)}html.light .admin-table tr:hover{background:rgba(0,0,0,.02)}html.light .admin-user-avatar{color:#fff}html.light .admin-user-name{color:#1e293b}html.light .admin-user-email{color:#64748b}html.light .admin-role-badge{background:rgba(6,182,212,.1);color:#0891b2;border-color:rgba(6,182,212,.2)}html.light .admin-tier-select option{background:#fff;color:#1e293b}html.light .admin-cell-primary{color:#1e293b}html.light .admin-cell-secondary{color:#64748b}html.light .admin-cell-date{color:#334155}html.light .admin-btn-secondary{background:rgba(0,0,0,.05);color:#334155;border-color:rgba(0,0,0,.1)}html.light .admin-btn-secondary:hover{background:rgba(0,0,0,.08);border-color:rgba(0,0,0,.15)}html.light .admin-empty-state{color:#64748b}html.light .admin-empty-hint{color:#94a3b8}html.light .admin-modal-avatar{color:#fff}html.light .admin-modal-name{color:#1e293b}html.light .admin-modal-email{color:#64748b}html.light .admin-modal-stat{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.06)}html.light .admin-modal-stat-label{color:#64748b}html.light .admin-modal-stat-value{color:#1e293b}html.light .admin-modal-dates{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.06)}html.light .admin-modal-date-row:not(:last-child){border-bottom-color:rgba(0,0,0,.06)}html.light .admin-modal-date-row span:first-child{color:#64748b}html.light .admin-modal-date-row span:last-child{color:#1e293b}html.light .not-found-page{background:linear-gradient(135deg,#f8fafc,#f1f5f9 50%,#e2e8f0)}html.light .not-found-icon{color:#0891b2}html.light .not-found-icon svg{filter:drop-shadow(0 0 20px rgba(6,182,212,.2))}html.light .not-found-title{text-shadow:none}html.light .not-found-subtitle{color:#1e293b}html.light .not-found-text{color:#64748b}html.light .not-found-redirect{color:#94a3b8}html.light .not-found-redirect .countdown{color:#0891b2}html.light .asset-badge-stock{background:rgba(100,116,139,.15);color:#475569;border-color:rgba(100,116,139,.25)}html.light .ai-panel{background:var(--bg-dark)}html.light .journal-modal,html.light .option-trade-modal{background:#fff}html.light .ai-query-input,html.light .ai-ticker-input,html.light .journal-textarea{background:#f8fafc;border-color:#e2e8f0}html.light .emotion-chip,html.light .strategy-chip{background:#f1f5f9;border-color:#e2e8f0;color:#475569}html.light .strategy-chip.active{background:rgba(8,145,178,.1);border-color:#0891b2;color:#0891b2}html.light .journal-date-select{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.1);color:#1e293b}html.light .journal-entry-compact{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.08)}html.light .journal-entry-compact:hover{background:rgba(0,0,0,.04);border-color:rgba(8,145,178,.3)}html.light .entry-compact-notes{color:#374151}html.light .symbol-badge-sm{background:rgba(8,145,178,.12);border-color:rgba(8,145,178,.25);color:#0891b2}html.light .journal-btn{background:rgba(0,0,0,.03);color:#64748b}html.light .journal-btn:hover{background:rgba(139,92,246,.15);color:#7c3aed}html.light .journal-btn.has-entry{background:rgba(139,92,246,.12);color:#7c3aed}html.light .journal-badge{background:rgba(0,0,0,.04);color:#64748b}html.light .journal-badge.has-entry,html.light .journal-badge:hover{background:rgba(139,92,246,.15);color:#7c3aed}html.light .journal-btn-full{background:rgba(139,92,246,.08);border-color:rgba(139,92,246,.25);color:#7c3aed}html.light .ai-analyst-tab,html.light .journal-tab{color:#1e293b}html.light .journal-entry-card{background:#fff;border-color:#e2e8f0}html.light .journal-empty{background:#f8fafc;border-color:#e2e8f0}html.light .ai-message.user .ai-message-body{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 2px 8px rgba(34,197,94,.25)}html.light .ai-message.user .ai-message-content{color:white}html.light .ai-message.assistant .ai-message-body{background:#e5e7eb;box-shadow:0 2px 6px rgba(0,0,0,.08)}html.light .ai-message.assistant .ai-message-content{color:#1f2937}html.light .ai-message.assistant .ai-message-content strong{color:#0891b2}html.light .ai-message.assistant .ai-message-content h2,html.light .ai-message.assistant .ai-message-content h3,html.light .ai-message.assistant .ai-message-content h4{color:#7c3aed}html.light .ai-message.system .ai-message-body{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.2)}html.light .ai-message.system .ai-message-content{color:#dc2626}html.light .ai-input-container{background:#f1f5f9}html.light .ai-query-input,html.light .ai-ticker-input{background:#fff;border-color:#e2e8f0;color:#1e293b}html.light .ai-type-btn{background:#fff;border-color:#e2e8f0;color:#64748b}html.light .ai-type-btn.active{background:rgba(8,145,178,.1);border-color:#0891b2;color:#0891b2}html.light .quota-item{background:#f1f5f9}html.light .quota-item .quota-value{color:#0891b2}html.light .chart-tooltip{background:rgba(255,255,255,.98);border-color:rgba(0,0,0,.15);box-shadow:0 8px 32px rgba(0,0,0,.15)}html.light .trade-list-item.positive{background:rgba(22,163,98,.08);border-color:rgba(22,163,98,.2)}html.light .trade-list-item.negative{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.2)}html.light .trade-list-item.neutral{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.2)}html.light .stat-item{background:rgba(0,0,0,.03)}html.light .value-positive{color:#16a34a}html.light .value-negative{color:#dc2626}html.light .symbol-search-dropdown{background:rgba(255,255,255,.98);backdrop-filter:blur(20px);border-color:rgba(8,145,178,.2);box-shadow:0 8px 32px rgba(0,0,0,.12),0 0 20px rgba(8,145,178,.08)}html.light .symbol-search-result{background:rgba(0,0,0,.02)}html.light .symbol-search-result.selected,html.light .symbol-search-result:hover{background:rgba(8,145,178,.1);border-color:rgba(8,145,178,.3)}html.light .symbol-search-result-symbol{color:#0891b2}html.light .symbol-search-result-exchange{background:rgba(0,0,0,.06);color:#374151}html.light .symbol-search-result-currency{background:rgba(0,0,0,.04);color:#6b7280}html.light .symbol-search-selected{background:rgba(8,145,178,.08);border-color:rgba(8,145,178,.3)}html.light .symbol-search-clear:hover{background:rgba(0,0,0,.1)}html.light .fab-backdrop{background:rgba(0,0,0,.25)}html.light .fab-action-item{background:rgba(255,255,255,.95);border:1px solid rgba(0,0,0,.1)}html.light .fab-action-item:hover:not(.fab-action-disabled){box-shadow:0 4px 20px rgba(0,0,0,.15)}html.light .fab-action-label{color:#030712}html.light .global-fab-button{background:linear-gradient(135deg,#22d3ee,#06b6d4)}html.light .global-fab-button svg{color:white}html.light .step-dot{background:rgba(100,116,139,.3)}html.light .step-dot.active{background:#0891b2;box-shadow:0 0 8px rgba(8,145,178,.4)}html.light .step-dot.completed{background:#16a34a}html.light .import-loading-overlay{background:rgba(255,255,255,.95);border-color:rgba(8,145,178,.3);box-shadow:0 8px 32px rgba(0,0,0,.15)}html.light .import-loading-spinner{border-color:#0891b2 rgba(8,145,178,.2) rgba(8,145,178,.2)}html.light .import-loading-text{color:#1e293b}html.light .import-loading-hint{color:#64748b}html.light .cash-shortfall-notice{background:linear-gradient(135deg,rgba(8,145,178,.1),rgba(6,182,212,.06));border-color:rgba(8,145,178,.35)}html.light .cash-shortfall-content h4,html.light .cash-shortfall-content strong{color:#0891b2}html.light .add-cash-btn{background:linear-gradient(135deg,#06b6d4,#0891b2);box-shadow:0 2px 0 #0e7490,0 4px 8px rgba(6,182,212,.15)}html.light .add-cash-btn:hover{background:linear-gradient(135deg,#22d3ee,#06b6d4);box-shadow:0 2px 0 #0e7490,0 6px 12px rgba(6,182,212,.2)}html.light .import-type-card{background:linear-gradient(135deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.12);box-shadow:0 2px 8px rgba(0,0,0,.06)}html.light .import-type-card:before{background:radial-gradient(ellipse at top,rgba(8,145,178,.06),transparent 60%)}html.light .import-type-card:hover:not(.disabled){border-color:var(--neon-cyan);box-shadow:0 8px 24px rgba(8,145,178,.12)}html.light .import-type-card.selected{background:linear-gradient(135deg,rgba(8,145,178,.08),rgba(14,116,144,.04));border-color:var(--neon-cyan);box-shadow:0 0 24px rgba(8,145,178,.15)}html.light .import-type-icon{background:linear-gradient(135deg,rgba(8,145,178,.12),rgba(14,116,144,.06));border-color:rgba(8,145,178,.25);box-shadow:0 4px 12px rgba(8,145,178,.15)}html.light .import-type-features span{background:linear-gradient(135deg,rgba(8,145,178,.08),rgba(14,116,144,.04));border-color:rgba(8,145,178,.2);color:var(--neon-cyan)}html.light .portfolio-selector-item{background:linear-gradient(135deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.1);box-shadow:0 1px 4px rgba(0,0,0,.05)}html.light .portfolio-selector-item:hover{border-color:rgba(8,145,178,.4);background:linear-gradient(135deg,rgba(8,145,178,.05),rgba(14,116,144,.02))}html.light .portfolio-selector-item.selected{background:linear-gradient(135deg,rgba(8,145,178,.1),rgba(14,116,144,.05));border-color:var(--neon-cyan);box-shadow:0 0 16px rgba(8,145,178,.12)}html.light .portfolio-default-badge{background:linear-gradient(135deg,#0891b2,#0e7490);color:#ffffff}html.light .portfolio-selector-check{background:rgba(8,145,178,.1);box-shadow:0 0 8px rgba(8,145,178,.2)}html.light .file-drop-zone{background:linear-gradient(135deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.2)}html.light .file-drop-zone:before{background:radial-gradient(ellipse at center,rgba(8,145,178,.06),transparent 70%)}html.light .file-drop-zone.active,html.light .file-drop-zone:hover{border-color:var(--neon-cyan);background:linear-gradient(135deg,rgba(8,145,178,.06),rgba(14,116,144,.03));box-shadow:0 0 24px rgba(8,145,178,.1)}html.light .file-drop-zone.has-file{border-color:var(--neon-green);background:linear-gradient(135deg,rgba(22,163,74,.06),rgba(21,128,61,.03))}html.light .file-drop-icon{background:linear-gradient(135deg,rgba(8,145,178,.12),rgba(14,116,144,.06));border-color:rgba(8,145,178,.2);box-shadow:0 4px 12px rgba(8,145,178,.12)}html.light .file-icon{background:linear-gradient(135deg,rgba(22,163,74,.15),rgba(21,128,61,.08));border-color:rgba(22,163,74,.25)}html.light .file-remove{background:rgba(220,38,38,.1);border-color:rgba(220,38,38,.25)}html.light .file-remove:hover{background:rgba(220,38,38,.15);border-color:rgba(220,38,38,.4)}html.light .file-supported-formats{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:rgba(0,0,0,.08)}html.light .broker-tags span{background:linear-gradient(135deg,rgba(8,145,178,.08),rgba(14,116,144,.04));border-color:rgba(8,145,178,.15);color:var(--neon-cyan)}html.light .mapping-section{background:linear-gradient(180deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.08)}html.light .mapping-stat{background:linear-gradient(135deg,rgba(8,145,178,.06),rgba(14,116,144,.03));border-color:rgba(8,145,178,.15)}html.light .mapping-stat:hover{border-color:rgba(8,145,178,.3);box-shadow:0 0 12px rgba(8,145,178,.1)}html.light .mapping-stat-value{text-shadow:none}html.light .preview-stat{background:linear-gradient(135deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.1);box-shadow:0 2px 8px rgba(0,0,0,.05)}html.light .preview-stat:hover{border-color:rgba(8,145,178,.25);box-shadow:0 4px 16px rgba(0,0,0,.08)}html.light .preview-stat-value,html.light .preview-stat-value.negative,html.light .preview-stat-value.positive{text-shadow:none}html.light .import-preview-breakdown{background:linear-gradient(135deg,rgba(8,145,178,.05),rgba(14,116,144,.02));border-color:rgba(8,145,178,.12)}html.light .breakdown-value{text-shadow:none}html.light .import-preview-table-wrapper{background:linear-gradient(180deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.1)}html.light .import-preview-table th{background:linear-gradient(180deg,#f1f5f9,#e2e8f0);box-shadow:0 2px 6px rgba(0,0,0,.08)}html.light .import-preview-table td,html.light .import-preview-table th{border-bottom-color:rgba(0,0,0,.08)}html.light .analyzing-skeleton{background:linear-gradient(135deg,#ffffff,#f8fafc)}html.light .analyzing-title{color:#1e293b}html.light .analyzing-subtitle{color:#64748b}html.light .analyzing-step{color:#94a3b8}html.light .analyzing-step.completed{color:#16a34a}html.light .analyzing-step.active{color:#0891b2}html.light .step-check{background:#16a34a;color:#ffffff}html.light .step-spinner{border-color:#0891b2 rgba(8,145,178,.2) rgba(8,145,178,.2)}html.light .analyzing-inner,html.light .analyzing-spin{color:#0891b2}html.light .import-preview-table .symbol-cell{text-shadow:none}html.light .direction-badge.long{background:linear-gradient(135deg,rgba(22,163,74,.15),rgba(21,128,61,.08));border-color:rgba(22,163,74,.25)}html.light .direction-badge.short{background:linear-gradient(135deg,rgba(220,38,38,.15),rgba(185,28,28,.08));border-color:rgba(220,38,38,.25)}html.light .status-badge.open{background:linear-gradient(135deg,rgba(8,145,178,.12),rgba(14,116,144,.06));border-color:rgba(8,145,178,.25)}html.light .status-badge.closed{background:rgba(100,116,139,.1);border-color:rgba(100,116,139,.2)}html.light .mapping-input,html.light .mapping-select{background:#ffffff;border-color:rgba(0,0,0,.15);color:#030712}html.light .mapping-input:hover,html.light .mapping-select:hover{border-color:rgba(8,145,178,.4)}html.light .mapping-input:focus,html.light .mapping-select:focus{border-color:var(--neon-cyan);box-shadow:0 0 0 3px rgba(8,145,178,.1)}html.light .mapping-select.not-mapped{border-color:#dc2626;background:rgba(220,38,38,.08);color:#dc2626;box-shadow:0 0 10px rgba(220,38,38,.3),0 0 4px rgba(220,38,38,.2);animation:pulse-red 2s ease-in-out infinite}html.light .mapping-select:not(.not-mapped){background:rgba(22,163,74,.08);border-color:rgba(22,163,74,.3);color:#15803d}html.light .mapping-select:not(.not-mapped):hover{border-color:rgba(22,163,74,.5);background:rgba(22,163,74,.12)}html.light .mapping-select:not(.not-mapped):focus{border-color:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.12)}html.light .mapping-section-options{background:linear-gradient(135deg,rgba(139,92,246,.06),rgba(168,85,247,.03));border-color:rgba(139,92,246,.2)}html.light .mapping-section-options .mapping-section-title{color:#7c3aed}html.light .results-icon.success{background:linear-gradient(135deg,rgba(22,163,74,.15),rgba(21,128,61,.08));border-color:rgba(22,163,74,.35);box-shadow:0 0 30px rgba(22,163,74,.2)}html.light .results-icon.error{background:linear-gradient(135deg,rgba(220,38,38,.15),rgba(185,28,28,.08));border-color:rgba(220,38,38,.35);box-shadow:0 0 30px rgba(220,38,38,.2)}html.light .results-icon-inline.success{background:linear-gradient(135deg,rgba(22,163,74,.15),rgba(21,128,61,.08));border-color:rgba(22,163,74,.4);box-shadow:0 0 15px rgba(22,163,74,.15)}html.light .results-icon-inline.error{background:linear-gradient(135deg,rgba(220,38,38,.15),rgba(185,28,28,.08));border-color:rgba(220,38,38,.4);box-shadow:0 0 15px rgba(220,38,38,.15)}html.light .results-summary{background:linear-gradient(135deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.1);box-shadow:0 2px 12px rgba(0,0,0,.06)}html.light .results-stat-value,html.light .results-stat-value.success,html.light .results-stat-value.warning{text-shadow:none}html.light .results-errors,html.light .results-warning{background:linear-gradient(135deg,#ffffff,#f8fafc);border-color:rgba(0,0,0,.08)}html.light .symbol-chip{background:linear-gradient(135deg,rgba(8,145,178,.08),rgba(14,116,144,.04));border-color:rgba(8,145,178,.15);color:var(--neon-cyan)}html.light .file-uploader-footer .modal-btn-cancel,html.light .import-preview-footer .modal-btn-cancel,html.light .import-wizard-content .modal-btn-cancel,html.light .mapping-footer .modal-btn-cancel,html.light .portfolio-selector-footer .modal-btn-cancel,html.light .results-actions .modal-btn-cancel{background:linear-gradient(180deg,#fb923c,#f97316);border:none;color:#ffffff;box-shadow:0 2px 0 #c2410c,0 4px 8px rgba(249,115,22,.2)}html.light .file-uploader-footer .modal-btn-cancel:hover,html.light .import-preview-footer .modal-btn-cancel:hover,html.light .import-wizard-content .modal-btn-cancel:hover,html.light .mapping-footer .modal-btn-cancel:hover,html.light .portfolio-selector-footer .modal-btn-cancel:hover,html.light .results-actions .modal-btn-cancel:hover{background:linear-gradient(180deg,#fdba74,#fb923c);box-shadow:0 2px 0 #c2410c,0 6px 12px rgba(249,115,22,.25)}html.light .file-uploader-footer .modal-btn-submit,html.light .import-preview-footer .modal-btn-submit,html.light .import-wizard-content .modal-btn-submit,html.light .mapping-footer .modal-btn-submit,html.light .portfolio-selector-footer .modal-btn-submit,html.light .results-actions .modal-btn-submit{background:linear-gradient(180deg,#22d3ee,#06b6d4);border:none;color:#ffffff;box-shadow:0 2px 0 #0e7490,0 4px 8px rgba(6,182,212,.2)}html.light .file-uploader-footer .modal-btn-submit:hover:not(:disabled),html.light .import-preview-footer .modal-btn-submit:hover:not(:disabled),html.light .import-wizard-content .modal-btn-submit:hover:not(:disabled),html.light .mapping-footer .modal-btn-submit:hover:not(:disabled),html.light .portfolio-selector-footer .modal-btn-submit:hover:not(:disabled),html.light .results-actions .modal-btn-submit:hover:not(:disabled){background:linear-gradient(180deg,#67e8f9,#22d3ee);box-shadow:0 2px 0 #0e7490,0 6px 12px rgba(6,182,212,.25)}html.light .watchlist-action-btn,html.light .watchlist-selector-btn{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.1)}html.light .watchlist-dropdown{background:#ffffff;border-color:rgba(0,0,0,.1)}html.light .watchlist-table-wrapper{background:rgba(255,255,255,.8);border-color:rgba(0,0,0,.1)}html.light .delete-confirm-modal{background:#ffffff}html.light .modal-buttons{background:#f8fafc;border-top:1px solid rgba(0,0,0,.1)}html.light .remove-modal-title{color:#dc2626}html.light .remove-modal-row{border-color:rgba(0,0,0,.1)}html.light .modal-btn-danger,html.light .remove-modal-delete{background:linear-gradient(135deg,#ef4444,#dc2626);color:#ffffff}html.light .modal-btn-danger{border:none}html.light .admin-modal{background:#ffffff;border:1px solid rgba(0,0,0,.15)}html.light .admin-modal-user{border-bottom:1px solid rgba(0,0,0,.1)}html.light .admin-modal-stats{background:#f8fafc}html.light .admin-modal-actions{border-top:1px solid rgba(0,0,0,.1)}html.light .journal-modal-header{border-bottom:1px solid rgba(0,0,0,.1)}html.light .journal-modal-title{color:#030712}html.light .symbol-chart-popup{background:#ffffff;border:1px solid rgba(0,0,0,.15);box-shadow:0 10px 40px rgba(0,0,0,.15)}html.light .menu-btn svg{color:inherit}}@layer mobile{@media (max-width:1200px){.dashboard-skeleton .skeleton-charts-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:1024px){.landing-hero-inner{grid-template-columns:1fr;text-align:center}.landing-hero-content h1{font-size:42px}.landing-hero-desc{margin:0 auto 32px}.landing-hero-buttons{justify-content:center}.landing-preview{margin-top:40px}.landing-preview-grid{grid-template-columns:repeat(2,1fr)}.landing-chart-area,.landing-positions-card{grid-column:span 2}.landing-features-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:900px){.auth-split-page{grid-template-columns:1fr}.auth-split-marketing{display:none}.auth-mobile-logo{display:flex}}@media (max-width:768px){.container-constrained,body{padding:10px}.charts-grid,.dashboard-skeleton .skeleton-charts-grid{grid-template-columns:1fr}.perf-charts-grid{grid-template-columns:repeat(2,1fr);gap:12px}.metric-card .value{font-size:18px}.header h1{font-size:24px}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-card{padding:10px;min-height:80px}.tab-btn{padding:10px 12px;font-size:14px}.merged-stats-grid{grid-template-columns:repeat(2,1fr)}.positions-table td,.positions-table th{padding:8px 6px;font-size:12px}.section-title{font-size:16px;margin-bottom:15px}.calendar-container{flex-direction:column}.calendar-sidebar{width:100%;flex-direction:row;flex-wrap:wrap;padding-top:0}.calendar-day{min-height:84px;padding:5px}.monthly-summary{grid-template-columns:repeat(2,1fr)}.settings-section{padding:20px 15px}.setting-row{flex-direction:column;align-items:flex-start;gap:10px}.setting-select{width:100%}.sidebar{transform:translateX(-100%);width:280px}.sidebar:not(.collapsed){transform:translateX(0)}.sidebar.collapsed{transform:translateX(-100%);width:280px}.sidebar-mobile-toggle{display:flex}.sidebar-overlay,.sidebar:not(.collapsed)+.sidebar-overlay,.sidebar:not(.collapsed)~.sidebar-overlay{display:block}.dashboard-with-sidebar,.sidebar.collapsed+.dashboard-with-sidebar,.sidebar.collapsed~.dashboard-with-sidebar{margin-left:0}.sidebar-collapse-btn{display:none}.landing-header{padding:16px 20px}.landing-hero{padding:120px 20px 60px}.landing-hero-content h1{font-size:32px}.landing-section-title{font-size:28px}.landing-features-grid{grid-template-columns:1fr}.landing-features{padding:60px 20px}.landing-cta{padding:80px 20px}.landing-cta-title{font-size:28px}.landing-hero-buttons{flex-direction:column;gap:12px}.landing-btn-primary,.landing-btn-secondary{width:100%;justify-content:center}.landing-footer-inner{flex-direction:column;gap:16px;text-align:center}.auth-split-page{grid-template-columns:1fr}.auth-split-marketing{display:none}.auth-mobile-logo{display:flex}.dashboard-content{padding:16px}.perf-chips{gap:8px}.perf-chip{padding:10px 12px;min-width:80px}.chip-label{font-size:9px}.chip-value{font-size:14px}.modal-content{width:95%;padding:20px}.toast-container{top:10px;right:10px;left:10px}.toast{min-width:unset;width:100%}.dropdown-menu{min-width:120px}.admin-with-sidebar .admin-layout{margin-left:0}.global-fab-button{width:56px;height:56px}.fab-action-icon{width:32px;height:32px}.fab-action-label{font-size:13px}.fab-menu-left{right:66px}.fab-menu-right{left:66px}}@media (max-width:600px){.import-type-options{grid-template-columns:1fr}.import-preview-stats,.mapping-info{grid-template-columns:repeat(2,1fr)}.mapping-grid,.mapping-section-options .mapping-grid,.mapping-settings{grid-template-columns:1fr}}@media (max-width:480px){.merged-stats-grid,.metrics-grid,.perf-charts-grid{grid-template-columns:1fr}.chart-container{height:200px;min-height:150px}.new-stock-btn{padding:8px 16px;font-size:13px}.header h1{font-size:20px}.landing-hero-content h1{font-size:26px}.landing-section-title{font-size:24px}.landing-cta-title{font-size:28px}.tab-bar{flex-direction:column}.tab-btn{justify-content:center}}@media print{.sidebar,.sidebar-mobile-toggle,.sidebar-overlay{display:none}.dashboard-with-sidebar{margin-left:0}body{background:var(--color-white,white);color:var(--color-black,black)}.chart-card,.glass-card,.metric-card{background:var(--color-white,white);border:1px solid var(--color-border,#ccc);box-shadow:none}}}