:root{--bg:#0c1118;--bg-soft:#111923;--surface:#131d28;--surface-2:#182431;--surface-3:#1d2b3a;--text:#d8e1ea;--text-strong:#f7fafc;--muted:#8290a0;--border:#94a3b829;--border-strong:#94a3b847;--accent:#79d7c6;--accent-strong:#4fc4af;--accent-soft:#79d7c61c;--positive:#4dd69f;--positive-soft:#4dd69f1f;--negative:#f1787f;--negative-soft:#f1787f1f;--warning:#f4c66d;--warning-soft:#f4c66d1f;--shadow:0 18px 55px #00000038;--sidebar-width:244px;--radius-lg:18px;--radius-md:13px;--radius-sm:9px;--font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;font-family:var(--font);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}html:root[data-theme=light]{--bg:#f4f7f9;--bg-soft:#eef3f6;--surface:#fff;--surface-2:#f7fafb;--surface-3:#edf3f5;--text:#465563;--text-strong:#101820;--muted:#71808d;--border:#1f313f1c;--border-strong:#1f313f30;--accent:#2d9c89;--accent-strong:#227a6c;--accent-soft:#2d9c891a;--positive:#158a61;--positive-soft:#158a6117;--negative:#c64d58;--negative-soft:#c64d5817;--warning:#a96b16;--warning-soft:#a96b1617;--shadow:0 18px 45px #1f313f14}@media (prefers-color-scheme:light){:root:not([data-theme]){--bg:#f4f7f9;--bg-soft:#eef3f6;--surface:#fff;--surface-2:#f7fafb;--surface-3:#edf3f5;--text:#465563;--text-strong:#101820;--muted:#71808d;--border:#1f313f1c;--border-strong:#1f313f30;--accent:#2d9c89;--accent-strong:#227a6c;--accent-soft:#2d9c891a;--positive:#158a61;--positive-soft:#158a6117;--negative:#c64d58;--negative-soft:#c64d5817;--warning:#a96b16;--warning-soft:#a96b1617;--shadow:0 18px 45px #1f313f14}}html{background:var(--bg)}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}#root{min-height:100vh}.app{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);background:var(--bg);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:var(--bg-soft);z-index:5;flex-direction:column;height:100vh;padding:24px 16px 18px;display:flex;position:sticky;top:0}.brand-mark{color:#07110f;background:linear-gradient(145deg, var(--accent), var(--accent-strong));border-radius:12px;place-items:center;width:40px;height:40px;font-weight:800;display:grid;box-shadow:0 8px 24px #4fc4af2e}.brand-title{color:var(--text-strong);letter-spacing:-.02em;font-weight:750}.navigation{gap:5px;display:grid}.nav-item{width:100%;color:var(--muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:11px;padding:11px 12px;transition:all .16s;display:flex}.nav-item.active{color:var(--text-strong);border-color:var(--border);background:var(--surface);box-shadow:0 8px 24px #0000000f}.nav-icon{width:20px;color:var(--accent);text-align:center}.sidebar-bottom{gap:12px;margin-top:auto;display:grid}.risk-card{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-md);padding:14px}.risk-label,.stat-label,.calculation-card span,.journal-value span,.daily-summary-item span{color:var(--muted);letter-spacing:.03em;font-size:12px;font-weight:650}.risk-value{color:var(--text-strong);margin-top:4px;font-weight:750}.risk-description,.version{color:var(--muted);margin-top:4px;font-size:11px}.version{text-align:center}.main-content{min-width:0;padding:0 32px 48px}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:96px;margin-bottom:28px;display:flex}.topbar h1{color:var(--text-strong);letter-spacing:-.04em;margin:4px 0 0;font-size:28px;line-height:1.1}.topbar-actions{align-items:center;gap:10px;display:flex}.account-selector,.theme-quick-toggle,.period-select,.calendar-nav-button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;min-height:40px}.account-selector{align-items:center;gap:8px;padding:0 13px;display:flex}.theme-quick-toggle,.calendar-nav-button{place-items:center;width:40px;font-size:17px;display:grid}.chevron{color:var(--muted)}.dashboard,.new-trade-page,.trade-journal-page,.accounts-page,.notes-page,.settings-page{max-width:1440px;margin:0 auto}.welcome-row{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.welcome-row h2{color:var(--text-strong);letter-spacing:-.03em;margin:0 0 5px;font-size:22px}.welcome-row p,.panel-subtitle,.section-heading p,.notes-help-panel p{color:var(--muted);margin:0;line-height:1.55}.primary-button,.secondary-button,.delete-button{border-radius:10px;min-height:40px;padding:0 14px;font-weight:700;transition:all .15s}.primary-button{border:1px solid var(--accent-strong);background:var(--accent);color:#06110f}.primary-button:hover{filter:brightness(1.04);transform:translateY(-1px)}.secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text-strong)}.secondary-button:hover{border-color:var(--border-strong);background:var(--surface-2)}.delete-button{color:var(--negative);background:0 0;border:1px solid #f1787f3d}.delete-button:hover{background:var(--negative-soft)}.stat-card,.panel,.trade-form-panel,.account-form,.account-card,.journal-trade-card,.calculation-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.stat-card{border-radius:var(--radius-md);min-width:0;padding:18px}.stat-value{color:var(--text-strong);letter-spacing:-.035em;overflow-wrap:anywhere;margin-top:8px;font-size:24px;font-weight:780;line-height:1.15}.panel{border-radius:var(--radius-lg);padding:20px}.panel-header,.section-heading,.account-card-top,.journal-trade-header,.journal-card-footer,.psychology-slider-header,.calendar-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.panel-title,.form-section-title,.form-title,.technical-block-title,.section-heading h3{color:var(--text-strong);letter-spacing:-.02em;font-weight:760}.panel-title{font-size:16px}.panel-subtitle{margin-top:3px;font-size:12px}.equity-panel{min-width:0}.period-select{padding:0 34px 0 11px}.status-list{gap:8px;margin-top:14px;display:grid}.status-row{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:12px 13px;display:flex}.empty-chart{border-radius:var(--radius-md);background:linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);background-size:52px 52px;place-items:center;min-height:250px;margin-top:14px;display:grid;position:relative;overflow:hidden}.chart-line{background:linear-gradient(90deg, transparent, var(--accent), transparent);opacity:.55;height:2px;position:absolute;inset:auto 7% 43%}.chart-message,.empty-state{text-align:center;color:var(--muted)}.chart-message span,.empty-icon{color:var(--accent);font-size:24px}.chart-message p,.empty-state strong{color:var(--text-strong);margin:8px 0 4px;display:block}.empty-state{padding:34px 18px}.empty-state.compact{padding:24px 12px}.trade-form-panel,.account-form{border-radius:var(--radius-lg);margin-bottom:18px;padding:22px}.form-section-title,.form-title{margin-bottom:18px}.trade-form-grid,.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.trade-form-grid label,.form-grid label,.note-field{color:var(--muted);gap:7px;font-size:12px;font-weight:650;display:grid}input,select,textarea{border:1px solid var(--border);width:100%;color:var(--text-strong);background:var(--surface-2);border-radius:10px;transition:all .15s}input,select{min-height:43px;padding:0 12px}textarea{resize:vertical;padding:12px 13px}input:hover,select:hover,textarea:hover{border-color:var(--border-strong)}input:focus,select:focus,textarea:focus{border-color:var(--accent);background:var(--surface)}.form-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.calculation-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px;display:grid}.calculation-card{border-radius:var(--radius-md);padding:15px 16px}.calculation-value{color:var(--text-strong);margin-top:5px;font-size:18px;font-weight:760}.technical-block{border:1px solid var(--border);background:var(--surface-2);border-radius:var(--radius-md);margin-top:14px;padding:16px}.trade-notes{min-height:120px;margin-top:14px}.confluence-grid,.journal-filters{flex-wrap:wrap;gap:8px;display:flex}.confluence-chip{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;padding:8px 11px;font-size:12px}.confluence-chip.selected{color:var(--text-strong);background:var(--accent-soft);border-color:#79d7c666}.psychology-slider-card{border:1px solid var(--border);background:var(--surface-2);border-radius:var(--radius-md);padding:14px}.psychology-slider{width:100%;accent-color:var(--accent)}.psychology-scale,.psychology-descriptions{color:var(--muted);justify-content:space-between;margin-top:4px;font-size:10px;display:flex}.account-card{border-radius:var(--radius-lg);padding:20px}.account-platform-icon{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:10px;place-items:center;font-weight:800;display:grid}.account-name{color:var(--text-strong);margin-top:16px;font-size:17px;font-weight:760}.account-platform,.account-balance-label{color:var(--muted);margin-top:4px;font-size:12px}.account-balance{color:var(--text-strong);margin-top:18px;font-size:24px;font-weight:800}.journal-trades{gap:14px;display:grid}.journal-trade-card{border-radius:var(--radius-lg);padding:19px}.journal-symbol{color:var(--text-strong);font-size:19px;font-weight:820}.journal-meta{color:var(--muted);margin-top:4px;font-size:12px}.journal-header-right{flex-wrap:wrap;gap:7px;display:flex}.journal-status,.journal-direction{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:750}.journal-status{color:var(--accent);background:var(--accent-soft);border-color:#79d7c642}.journal-price-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.journal-value{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;min-width:0;padding:11px}.journal-value strong{color:var(--text-strong);overflow-wrap:anywhere;margin-top:3px;display:block}.journal-card-footer{flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.notes-stats{margin-bottom:18px}.notes-layout{grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);align-items:start;gap:18px;display:grid}.calendar-panel{min-width:0}.calendar-header{margin-bottom:18px}.calendar-header>div{text-align:center}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{margin-bottom:7px}.calendar-weekdays div{color:var(--muted);text-align:center;text-transform:uppercase;letter-spacing:.08em;padding:6px;font-size:10px;font-weight:800}.calendar-grid{gap:7px}.calendar-day{border:1px solid var(--border);background:var(--surface-2);min-width:0;min-height:104px;color:var(--text);text-align:left;border-radius:12px;flex-direction:column;padding:10px;transition:all .14s;display:flex}.calendar-day:not(.calendar-day-empty):hover{border-color:var(--border-strong);transform:translateY(-1px)}.calendar-day-empty{visibility:hidden;pointer-events:none}.calendar-day.profit-day{background:var(--positive-soft);border-color:#4dd69f38}.calendar-day.loss-day{background:var(--negative-soft);border-color:#f1787f38}.calendar-day.breakeven-day{background:var(--surface-3)}.calendar-day.selected-day{box-shadow:inset 0 0 0 2px var(--accent)}.calendar-day.today-day .calendar-date-number{color:#07110f;background:var(--accent)}.calendar-day-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.calendar-date-number{width:25px;height:25px;color:var(--text-strong);border-radius:999px;place-items:center;font-size:12px;font-weight:800;display:grid}.note-dot{background:var(--accent);width:7px;height:7px;box-shadow:0 0 0 3px var(--accent-soft);border-radius:999px}.calendar-pnl{color:var(--text-strong);letter-spacing:-.02em;margin-top:auto;font-size:14px}.profit-day .calendar-pnl,.positive-text{color:var(--positive)!important}.loss-day .calendar-pnl,.negative-text{color:var(--negative)!important}.calendar-trade-count,.calendar-no-trade{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;overflow:hidden}.daily-note-panel{position:sticky;top:20px}.daily-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.daily-summary-item{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;padding:10px}.daily-summary-item strong{color:var(--text-strong);margin-top:4px;display:block}.daily-trades-list{gap:7px;margin:0 0 18px;display:grid}.daily-trade-row{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:9px 0;display:flex}.daily-trade-row span{gap:2px;display:grid}.daily-trade-row small{color:var(--muted)}.note-field{margin-top:15px}.daily-note-textarea{min-height:150px;margin-top:0}.clear-note-button{margin-top:12px}.notes-help-panel{margin-top:18px}.notes-help-panel p{margin-top:8px}.settings-panel{max-width:820px}.theme-option-grid{gap:10px;margin-top:18px;display:grid}.theme-option{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);text-align:left;border-radius:12px;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:12px;padding:13px;display:grid}.theme-option:hover{border-color:var(--border-strong)}.theme-option.selected{background:var(--accent-soft);border-color:#79d7c673}.theme-option-icon{background:var(--surface);width:36px;height:36px;color:var(--accent);border-radius:10px;place-items:center;font-size:17px;display:grid}.theme-option span:nth-child(2){gap:2px;display:grid}.theme-option strong{color:var(--text-strong)}.theme-option small{color:var(--muted)}.theme-check{color:var(--accent);font-weight:900}.placeholder-page{min-height:420px;color:var(--muted);text-align:center;align-content:center;place-items:center;display:grid}.placeholder-icon{color:var(--accent);font-size:30px}@media (width<=1180px){.stats-grid,.trade-form-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.notes-layout{grid-template-columns:1fr}.daily-note-panel{position:static}}@media (width<=860px){:root{--sidebar-width:76px}.brand>div:last-child,.nav-item>span:last-child,.risk-card,.version{display:none}.sidebar{padding-inline:10px}.brand,.nav-item{justify-content:center;padding-inline:0}.main-content{padding-inline:20px}.dashboard-grid,.lower-grid,.accounts-grid,.psychology-sliders{grid-template-columns:1fr}}@media (width<=680px){.app{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border);width:100%;height:auto;padding:10px 12px;position:static}.brand,.sidebar-bottom{display:none}.navigation{gap:6px;display:flex;overflow-x:auto}.nav-item{width:auto;min-width:max-content;padding:9px 11px}.nav-item>span:last-child{display:inline}.main-content{padding:0 14px 32px}.topbar{min-height:78px;margin-bottom:20px}.topbar h1{font-size:22px}.account-selector{display:none}.welcome-row{flex-direction:column;align-items:stretch}.stats-grid,.trade-form-grid,.form-grid,.calculation-grid,.journal-price-grid,.daily-summary-grid{grid-template-columns:1fr}.calendar-grid{gap:4px}.calendar-day{min-height:76px;padding:7px}.calendar-trade-count{display:none}.calendar-pnl{font-size:11px}.calendar-no-trade{font-size:9px}.calendar-weekdays div{padding-inline:2px;font-size:9px}}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f7f9;--bg-soft:#eef3f6;--surface:#fff;--surface-2:#f7fafb;--surface-3:#edf3f5;--text:#465563;--text-strong:#101820;--muted:#71808d;--border:#1f313f1c;--border-strong:#1f313f30;--accent:#2d9c89;--accent-strong:#227a6c;--accent-soft:#2d9c891a;--positive:#158a61;--positive-soft:#158a6117;--negative:#c64d58;--negative-soft:#c64d5817;--warning:#a96b16;--warning-soft:#a96b1617;--shadow:0 18px 45px #1f313f14}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c1118;--bg-soft:#111923;--surface:#131d28;--surface-2:#182431;--surface-3:#1d2b3a;--text:#d8e1ea;--text-strong:#f7fafc;--muted:#8290a0;--border:#94a3b829;--border-strong:#94a3b847;--accent:#79d7c6;--accent-strong:#4fc4af;--accent-soft:#79d7c61c;--positive:#4dd69f;--positive-soft:#4dd69f1f;--negative:#f1787f;--negative-soft:#f1787f1f;--warning:#f4c66d;--warning-soft:#f4c66d1f;--shadow:0 18px 55px #00000038}html[data-theme=light],html[data-theme=light] body,html[data-theme=light] #root,html[data-theme=light] .app,html[data-theme=light] .main-content{background:var(--bg);color:var(--text)}html[data-theme=light] .topbar,html[data-theme=light] .welcome-row h2,html[data-theme=light] .topbar h1{color:var(--text-strong)}html[data-theme=light] .sidebar,html[data-theme=light] .risk-card,html[data-theme=light] .panel,html[data-theme=light] .trade-form-panel,html[data-theme=light] .account-form,html[data-theme=light] .account-card,html[data-theme=light] .journal-trade-card,html[data-theme=light] .stat-card,html[data-theme=light] .calculation-card,html[data-theme=light] .technical-block,html[data-theme=light] .psychology-slider-card,html[data-theme=light] .journal-value,html[data-theme=light] .status-row,html[data-theme=light] .calendar-day,html[data-theme=light] .daily-summary-item,html[data-theme=light] .theme-option,html[data-theme=light] .theme-option-icon,html[data-theme=light] .account-selector,html[data-theme=light] .theme-quick-toggle,html[data-theme=light] .period-select,html[data-theme=light] .calendar-nav-button,html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{color:var(--text-strong)!important;border-color:var(--border)!important;background:#fff!important}html[data-theme=light] .nav-item{color:var(--muted)!important;background:0 0!important}html[data-theme=light] .nav-item:hover{color:var(--text-strong)!important;background:#eef3f6!important}html[data-theme=light] .technical-block,html[data-theme=light] .psychology-slider-card,html[data-theme=light] .journal-value,html[data-theme=light] .status-row,html[data-theme=light] .daily-summary-item,html[data-theme=light] .calendar-day,html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea{background:#f8fafc!important}html[data-theme=light] .calendar-day.profit-day{background:#eaf8f2!important;border-color:#158a612e!important}html[data-theme=light] .calendar-day.loss-day{background:#fdeff1!important;border-color:#c64d582e!important}html[data-theme=light] .calendar-day.breakeven-day{background:#eef3f6!important}html[data-theme=light] .confluence-chip{color:var(--muted)!important;border-color:var(--border)!important;background:#fff!important}html[data-theme=light] .confluence-chip.selected{color:var(--text-strong)!important;background:#eaf7f4!important;border-color:#2d9c894d!important}html[data-theme=light] .journal-status{color:var(--accent-strong)!important;background:#eaf7f4!important}html[data-theme=light] .journal-direction{color:var(--text)!important;background:#f3f6f8!important}html[data-theme=light] .secondary-button{color:var(--text-strong)!important;border-color:var(--border)!important;background:#fff!important}html[data-theme=light] .risk-card,html[data-theme=light] .panel,html[data-theme=light] .trade-form-panel,html[data-theme=light] .account-form,html[data-theme=light] .account-card,html[data-theme=light] .journal-trade-card,html[data-theme=light] .stat-card,html[data-theme=light] .calculation-card{box-shadow:0 8px 26px #1f313f0d!important}html[data-theme=light] .topbar{background:0 0!important}html[data-theme=light] .risk-value,html[data-theme=light] .stat-value,html[data-theme=light] .calculation-value,html[data-theme=light] .journal-value strong,html[data-theme=light] .panel-title,html[data-theme=light] .form-section-title,html[data-theme=light] .form-title,html[data-theme=light] .technical-block-title,html[data-theme=light] .section-heading h3,html[data-theme=light] .account-name,html[data-theme=light] .account-balance,html[data-theme=light] .journal-symbol{color:#101820!important}html[data-theme=light]{--bg:#f6f1fb;--bg-soft:#eee5f7;--surface:#fbf8fe;--surface-2:#f1e9f8;--surface-3:#e9ddf3;--text:#655b70;--text-strong:#2d2138;--muted:#897b96;--border:#5b3f7124;--border-strong:#5b3f713d;--accent:#9b6fc1;--accent-strong:#79529d;--accent-soft:#9b6fc121;--shadow:0 12px 32px #4d316212}html[data-theme=dark]{--bg:#100b16;--bg-soft:#17101f;--surface:#1d1428;--surface-2:#241931;--surface-3:#2c1f3b;--text:#d7cce1;--text-strong:#fbf7ff;--muted:#9f8daf;--border:#cbaee124;--border-strong:#cbaee140;--accent:#b98bdd;--accent-strong:#9668bc;--accent-soft:#b98bdd24;--shadow:0 18px 55px #00000047}html[data-theme=light] .sidebar{background:#eee5f7!important}html[data-theme=light] .risk-card,html[data-theme=light] .panel,html[data-theme=light] .trade-form-panel,html[data-theme=light] .account-form,html[data-theme=light] .account-card,html[data-theme=light] .journal-trade-card,html[data-theme=light] .stat-card,html[data-theme=light] .calculation-card{color:var(--text)!important;border-color:var(--border)!important;background:#fbf8fe!important}html[data-theme=light] .technical-block,html[data-theme=light] .psychology-slider-card,html[data-theme=light] .journal-value,html[data-theme=light] .status-row,html[data-theme=light] .daily-summary-item,html[data-theme=light] .calendar-day,html[data-theme=light] input,html[data-theme=light] select,html[data-theme=light] textarea,html[data-theme=light] .theme-option,html[data-theme=light] .theme-option-icon,html[data-theme=light] .account-selector,html[data-theme=light] .theme-quick-toggle,html[data-theme=light] .period-select,html[data-theme=light] .calendar-nav-button{color:var(--text-strong)!important;border-color:var(--border)!important;background:#f1e9f8!important}html[data-theme=light] .nav-item.active{color:#2d2138!important;background:#e3d5ef!important;border-color:#5b3f7121!important}html[data-theme=light] .nav-item:hover{background:#e9ddf3!important}html[data-theme=light] .primary-button{color:#30213c!important;background:#dcc8eb!important;border-color:#c9addf!important}html[data-theme=light] .secondary-button,html[data-theme=light] .confluence-chip{color:var(--text-strong)!important;border-color:var(--border)!important;background:#f8f3fc!important}html[data-theme=light] .confluence-chip.selected,html[data-theme=light] .journal-status{color:#69428a!important;background:#e9dcf3!important;border-color:#79529d40!important}html[data-theme=light] .empty-chart{background-color:#fbf8fe!important;background-image:linear-gradient(#5b3f7114 1px,#0000 1px),linear-gradient(90deg,#5b3f7114 1px,#0000 1px),none!important;background-position:0 0,0 0,0 0!important;background-repeat:repeat,repeat,repeat!important;background-size:52px 52px!important;background-attachment:scroll,scroll,scroll!important;background-origin:padding-box,padding-box,padding-box!important;background-clip:border-box,border-box,border-box!important}html[data-theme=dark] .sidebar{background:#17101f!important}html[data-theme=dark] .panel,html[data-theme=dark] .trade-form-panel,html[data-theme=dark] .account-form,html[data-theme=dark] .account-card,html[data-theme=dark] .journal-trade-card,html[data-theme=dark] .stat-card,html[data-theme=dark] .calculation-card,html[data-theme=dark] .risk-card{border-color:var(--border)!important;background:#1d1428!important}html[data-theme=dark] .technical-block,html[data-theme=dark] .psychology-slider-card,html[data-theme=dark] .journal-value,html[data-theme=dark] .status-row,html[data-theme=dark] .daily-summary-item,html[data-theme=dark] .calendar-day,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .theme-option,html[data-theme=dark] .theme-option-icon,html[data-theme=dark] .account-selector,html[data-theme=dark] .theme-quick-toggle,html[data-theme=dark] .period-select,html[data-theme=dark] .calendar-nav-button{border-color:var(--border)!important;background:#241931!important}html[data-theme=dark] .nav-item.active{color:var(--text-strong)!important;background:#2c1f3b!important}html[data-theme=dark] .nav-item:hover{background:#241931!important}html[data-theme=dark] .primary-button{color:#1b1024!important;background:#b98bdd!important;border-color:#9668bc!important}html[data-theme=dark] .secondary-button,html[data-theme=dark] .confluence-chip{color:var(--text-strong)!important;border-color:var(--border)!important;background:#241931!important}html[data-theme=dark] .confluence-chip.selected,html[data-theme=dark] .journal-status{color:#d8b7ef!important;background:#332243!important;border-color:#b98bdd45!important}html[data-theme=dark] .empty-chart{background-color:#1d1428!important;background-image:linear-gradient(#cbaee112 1px,#0000 1px),linear-gradient(90deg,#cbaee112 1px,#0000 1px),none!important;background-position:0 0,0 0,0 0!important;background-repeat:repeat,repeat,repeat!important;background-size:52px 52px!important;background-attachment:scroll,scroll,scroll!important;background-origin:padding-box,padding-box,padding-box!important;background-clip:border-box,border-box,border-box!important}.quote-toast{z-index:50;border:1px solid var(--border-strong);background:color-mix(in srgb, var(--surface) 94%, transparent);width:min(390px,100vw - 48px);color:var(--text);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:16px;grid-template-columns:34px minmax(0,1fr) 30px;align-items:start;gap:10px;padding:16px;animation:.22s ease-out quote-toast-in;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 22px 60px #0000003d}.quote-toast-accent{color:var(--accent);font-family:Georgia,serif;font-size:42px;line-height:.9}.quote-toast-content{min-width:0}.quote-toast-category{color:var(--accent);text-transform:uppercase;letter-spacing:.12em;margin-bottom:5px;font-size:10px;font-weight:850}.quote-toast blockquote{color:var(--text-strong);margin:0;font-size:14px;font-weight:650;line-height:1.5}.quote-toast-author{color:var(--muted);margin-top:8px;font-size:11px}.quote-toast-close{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;font-size:20px;line-height:1;display:grid}.quote-toast-close:hover{background:var(--surface-2);color:var(--text-strong)}.quote-settings-panel{margin-top:18px}.quote-settings-copy{color:var(--muted);max-width:680px;margin:16px 0 0;line-height:1.55}.quote-setting-toggle{border:1px solid var(--border);background:var(--surface-2);min-width:78px;min-height:38px;color:var(--muted);border-radius:999px;justify-content:center;align-items:center;gap:8px;font-weight:750;display:inline-flex}.quote-setting-toggle.enabled{background:var(--accent-soft);color:var(--text-strong);border-color:var(--accent)}.quote-toggle-dot{background:var(--muted);border-radius:999px;width:8px;height:8px}.quote-setting-toggle.enabled .quote-toggle-dot{background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}html[data-theme=light] .quote-toast{background:#fbf8fef5;border-color:#5b3f712e;box-shadow:0 22px 54px #4d316224}html[data-theme=dark] .quote-toast{background:#1d1428f5;border-color:#cbaee12e}@keyframes quote-toast-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.quote-toast{animation:none}}@media (width<=680px){.quote-toast{width:calc(100vw - 28px);bottom:14px;right:14px}}.auth-shell{background:radial-gradient(circle at 15% 12%, var(--accent-soft), transparent 33%), radial-gradient(circle at 86% 88%, var(--accent-soft), transparent 30%), var(--bg);min-height:100vh;color:var(--text);place-items:center;padding:28px;display:grid}.auth-layout{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:stretch;gap:24px;width:min(1080px,100%);display:grid}.auth-intro,.auth-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px}.auth-intro{flex-direction:column;min-height:610px;padding:34px;display:flex}.auth-brand{align-items:center;gap:12px;display:flex}.auth-brand>div:last-child{gap:1px;display:grid}.auth-brand strong{color:var(--text-strong);font-size:16px}.auth-brand span{color:var(--muted);font-size:11px}.auth-brand-mark{background:var(--accent);color:#17101f;border-radius:12px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.auth-intro-copy{max-width:630px;margin:auto 0}.auth-intro-copy h1{max-width:620px;color:var(--text-strong);letter-spacing:-.055em;margin:12px 0 18px;font-size:clamp(38px,5vw,66px);line-height:.98}.auth-intro-copy p{max-width:590px;color:var(--muted);font-size:16px;line-height:1.7}.auth-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.auth-feature-grid>div{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:4px;min-width:0;padding:13px;display:grid}.auth-feature-grid strong{color:var(--text-strong);font-size:12px}.auth-feature-grid span{color:var(--muted);font-size:10px;line-height:1.45}.auth-card{align-self:center;padding:28px}.auth-loading-card{text-align:center;width:min(420px,100%)}.auth-loading-card .auth-brand-mark{margin:0 auto 14px}.auth-loading-card h1{color:var(--text-strong);margin:0 0 7px}.auth-loading-card p{color:var(--muted)}.auth-tabs{background:var(--surface-2);border-radius:12px;grid-template-columns:repeat(2,1fr);gap:5px;padding:5px;display:grid}.auth-tabs button{min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:9px;font-weight:750}.auth-tabs button.active{background:var(--surface);color:var(--text-strong);box-shadow:0 5px 18px #00000014}.auth-card-heading{margin:27px 0 20px}.auth-card-heading h2{color:var(--text-strong);letter-spacing:-.035em;margin:0 0 6px;font-size:25px}.auth-card-heading p,.auth-privacy-note{color:var(--muted);line-height:1.55}.auth-form{gap:14px;display:grid}.auth-form label{color:var(--muted);gap:7px;font-size:12px;font-weight:700;display:grid}.auth-form input{min-height:46px}.auth-submit{width:100%;margin-top:4px}.auth-submit:disabled,.auth-link-button:disabled{opacity:.6;cursor:not-allowed}.auth-link-button{color:var(--accent);background:0 0;border:0;font-size:12px;font-weight:750}.auth-message{border:1px solid var(--border);border-radius:10px;padding:11px 12px;font-size:12px;line-height:1.45}.auth-message.error{color:var(--negative);background:var(--negative-soft)}.auth-message.success{color:var(--positive);background:var(--positive-soft)}.auth-privacy-note{border-top:1px solid var(--border);margin:22px 0 0;padding-top:18px;font-size:10px}.signed-in-user{border:1px solid var(--border);background:var(--surface);max-width:240px;min-height:40px;color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 11px;font-size:11px;display:flex}.signed-in-user span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sign-out-button{min-height:40px}html[data-theme=light] .auth-intro,html[data-theme=light] .auth-card,html[data-theme=light] .signed-in-user{background:#fbf8fe!important}html[data-theme=light] .auth-feature-grid>div,html[data-theme=light] .auth-tabs{background:#f1e9f8!important}html[data-theme=dark] .auth-intro,html[data-theme=dark] .auth-card,html[data-theme=dark] .signed-in-user{background:#1d1428!important}html[data-theme=dark] .auth-feature-grid>div,html[data-theme=dark] .auth-tabs{background:#241931!important}@media (width<=860px){.auth-layout{grid-template-columns:1fr}.auth-intro{min-height:auto}.auth-intro-copy{margin:70px 0}}@media (width<=680px){.auth-shell{place-items:start center;padding:14px}.auth-intro{padding:22px}.auth-card{padding:20px}.auth-intro-copy{margin:42px 0}.auth-intro-copy h1{font-size:40px}.auth-feature-grid{grid-template-columns:1fr}.signed-in-user,.sign-out-button{display:none}}*{box-sizing:border-box}:root{color:#e8edf5;font-synthesis:none;text-rendering:optimizelegibility;background:#0b0f14;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:#0b0f14;min-width:320px;min-height:100vh;margin:0}button,select{font:inherit}button{cursor:pointer}.app{background:#0b0f14;min-height:100vh;display:flex}.sidebar{background:#0f141b;border-right:1px solid #1e2631;flex-direction:column;width:250px;min-height:100vh;padding:24px 16px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{align-items:center;gap:12px;padding:4px 10px 28px;display:flex}.brand-mark{color:#0b0f14;background:#dce7f7;border-radius:10px;place-items:center;width:36px;height:36px;font-size:16px;font-weight:800;display:grid}.brand-title{letter-spacing:-.2px;font-size:14px;font-weight:700}.brand-subtitle{color:#778394;margin-top:3px;font-size:11px}.navigation{flex-direction:column;gap:4px;display:flex}.nav-item{color:#8d99a9;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;padding:11px 12px;font-size:13px;transition:all .15s;display:flex}.nav-item:hover{color:#dce4ef;background:#151c25}.nav-item.active{color:#f1f5fa;background:#1a222d}.nav-icon{text-align:center;color:#a7b4c5;width:18px;font-size:16px}.sidebar-bottom{margin-top:auto}.risk-card{background:#121820;border:1px solid #202a36;border-radius:10px;padding:14px}.risk-label{color:#7d8999;text-transform:uppercase;letter-spacing:.8px;font-size:10px}.risk-value{margin-top:7px;font-size:13px;font-weight:700}.risk-description{color:#667384;margin-top:4px;font-size:11px}.version{color:#4f5b6b;margin-top:14px;padding:0 4px;font-size:10px}.main-content{width:calc(100% - 250px);margin-left:250px;padding:30px 36px 50px}.topbar{justify-content:space-between;align-items:center;margin-bottom:34px;display:flex}.eyebrow{color:#687587;letter-spacing:1.2px;font-size:10px;font-weight:700}.topbar h1{letter-spacing:-.7px;margin:6px 0 0;font-size:25px}.account-selector{color:#cbd4df;background:#111820;border:1px solid #27313e;border-radius:8px;align-items:center;gap:9px;padding:9px 12px;font-size:12px;display:flex}.account-dot{background:#93a8c0;border-radius:50%;width:7px;height:7px}.chevron{color:#697687;font-size:14px}.dashboard{max-width:1500px;margin:0 auto}.welcome-row{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.welcome-row h2{margin:0;font-size:17px}.welcome-row p{color:#788596;margin:6px 0 0;font-size:12px}.primary-button,.secondary-button{border-radius:8px;padding:10px 15px;font-size:12px;font-weight:700}.primary-button{color:#0d131b;background:#dce7f5;border:1px solid #d7e1ee}.primary-button span{margin-right:5px;font-size:15px}.secondary-button{color:#cbd5e1;background:#151d27;border:1px solid #2a3543;margin-top:15px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:12px;display:grid}.stat-card{background:#10161e;border:1px solid #202a36;border-radius:11px;min-height:125px;padding:18px}.stat-label{color:#778494;font-size:11px;font-weight:600}.stat-value{letter-spacing:-.8px;margin-top:15px;font-size:24px;font-weight:700}.stat-detail{color:#596676;margin-top:6px;font-size:10px}.dashboard-grid{grid-template-columns:2fr 1fr;gap:12px;margin-bottom:12px;display:grid}.lower-grid{grid-template-columns:1fr 1fr}.panel{background:#10161e;border:1px solid #202a36;border-radius:11px;min-height:240px;padding:18px}.equity-panel{min-height:300px}.panel-header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.panel-title{font-size:12px;font-weight:700}.panel-subtitle{color:#626f80;margin-top:4px;font-size:10px}.period-select{color:#8d9aaa;background:#111820;border:1px solid #27313d;border-radius:6px;padding:6px 8px;font-size:10px}.empty-chart{background-color:#0000;background-image:linear-gradient(#18212b 1px,#0000 1px),linear-gradient(90deg,#18212b 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:50px 42px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-radius:7px;height:210px;margin-top:15px;position:relative;overflow:hidden}.chart-line{opacity:.6;background:#47576a;width:75%;height:1px;position:absolute;top:56%;left:12%;transform:rotate(-4deg)}.chart-message{text-align:center;background:#10161e8c;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.chart-message span{color:#68788b;font-size:22px}.chart-message p{color:#9aa7b7;margin:9px 0 3px;font-size:11px}.chart-message small{color:#596676;font-size:9px}.status-list{margin-top:24px}.status-row{color:#7e8b9b;border-bottom:1px solid #1d2630;justify-content:space-between;padding:14px 0;font-size:12px;display:flex}.status-row:last-child{border-bottom:0}.status-row strong{color:#d8e0ea}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:165px;display:flex}.empty-state.compact{min-height:180px}.empty-icon{color:#758397;background:#141b24;border:1px solid #26313d;border-radius:9px;place-items:center;width:36px;height:36px;margin-bottom:10px;display:grid}.empty-state strong{font-size:12px}.empty-state span{color:#606d7d;max-width:280px;margin-top:5px;font-size:10px;line-height:1.5}.placeholder-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:60vh;display:flex}.placeholder-icon{color:#94a5ba;background:#131b24;border:1px solid #27323e;border-radius:12px;place-items:center;width:48px;height:48px;display:grid}.placeholder-page h2{margin:16px 0 5px;font-size:18px}.placeholder-page p{color:#687586;max-width:400px;font-size:12px;line-height:1.6}@media (width<=1000px){.sidebar{width:210px}.main-content{width:calc(100% - 210px);margin-left:210px;padding:25px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.lower-grid{grid-template-columns:1fr}}@media (width<=700px){.sidebar{width:70px;padding:20px 10px}.brand-title,.brand-subtitle,.nav-item span:not(.nav-icon),.risk-card,.version{display:none}.brand{justify-content:center;padding:4px 0 28px}.nav-item{justify-content:center;padding:12px 5px}.main-content{width:calc(100% - 70px);margin-left:70px;padding:20px 15px 40px}.topbar,.welcome-row{align-items:flex-start;gap:15px}.account-selector{font-size:10px}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:110px}.stat-value{font-size:19px}}.accounts-page{max-width:1500px;margin:0 auto}.account-form{background:#10161e;border:1px solid #202a36;border-radius:11px;margin-bottom:20px;padding:20px}.form-title{margin-bottom:18px;font-size:13px;font-weight:700}.form-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.form-grid label{color:#788596;flex-direction:column;gap:7px;font-size:10px;display:flex}.form-grid input,.form-grid select{color:#dbe3ed;background:#0c1219;border:1px solid #293440;border-radius:7px;outline:none;width:100%;padding:10px;font-size:12px}.form-grid input:focus,.form-grid select:focus{border-color:#66788e}.form-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.accounts-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.account-card{background:#10161e;border:1px solid #202a36;border-radius:11px;padding:18px}.account-card-top{justify-content:space-between;align-items:center;display:flex}.account-platform-icon{color:#cbd6e3;background:#1a222c;border-radius:9px;place-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:grid}.delete-button{color:#596777;background:0 0;border:0;padding:5px 7px;font-size:10px}.delete-button:hover{color:#c7d0dc}.account-name{margin-top:22px;font-size:14px;font-weight:700}.account-platform{color:#697687;margin-top:5px;font-size:10px}.account-balance{margin-top:22px;font-size:21px;font-weight:700}.account-balance-label{color:#5f6d7d;margin-top:4px;font-size:9px}@media (width<=900px){.form-grid,.accounts-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.form-grid,.accounts-grid{grid-template-columns:1fr}}.new-trade-page{max-width:1500px;margin:0 auto}.trade-form-panel{background:#10161e;border:1px solid #202a36;border-radius:11px;margin-bottom:14px;padding:22px}.form-section-title{color:#e6edf5;margin-bottom:20px;font-size:13px;font-weight:700}.trade-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.trade-form-grid label{color:#7e8b9b;flex-direction:column;gap:8px;font-size:11px;font-weight:600;display:flex}.trade-form-grid input,.trade-form-grid select{color:#dce5ef;background:#0c1219;border:1px solid #293440;border-radius:8px;outline:none;width:100%;min-height:42px;padding:10px 12px;font-size:12px;transition:border-color .15s,background .15s}.trade-form-grid input:hover,.trade-form-grid select:hover{border-color:#3a4858}.trade-form-grid input:focus,.trade-form-grid select:focus{background:#0e151d;border-color:#70839a}.trade-form-grid input::placeholder{color:#465363}.trade-form-grid input[type=number]{appearance:textfield}.trade-form-grid input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.trade-form-grid input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.calculation-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.calculation-card{background:#10161e;border:1px solid #202a36;border-radius:11px;min-height:105px;padding:18px}.calculation-value{color:#e7edf5;letter-spacing:-.5px;margin-top:13px;font-size:21px;font-weight:700}.trade-notes{resize:vertical;color:#dce5ef;background:#0c1219;border:1px solid #293440;border-radius:8px;outline:none;width:100%;min-height:130px;padding:14px;font-family:inherit;font-size:12px;line-height:1.6}.trade-notes::placeholder{color:#465363}.trade-notes:focus{border-color:#70839a}@media (width<=1100px){.trade-form-grid,.calculation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.trade-form-grid,.calculation-grid{grid-template-columns:1fr}.trade-form-panel{padding:16px}}.technical-section{flex-direction:column;gap:18px;display:flex}.technical-block{background:#0c1219;border:1px solid #1f2935;border-radius:9px;padding:18px}.technical-block-title{color:#dbe4ee;margin-bottom:15px;font-size:12px;font-weight:700}.psychology-section{flex-direction:column;gap:18px;display:flex}.psychology-sliders{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.psychology-slider-card{background:#0c1219;border:1px solid #1f2935;border-radius:10px;padding:18px}.psychology-slider-header{color:#dbe4ee;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font-size:12px;font-weight:700;display:flex}.psychology-slider-header strong{text-align:right;min-width:46px;font-size:18px}.psychology-slider-header small{color:#6d7a8a;margin-left:2px;font-size:9px;font-weight:500}.psychology-slider{appearance:none;background:#25313e;border-radius:999px;outline:none;width:100%;height:5px}.psychology-slider::-webkit-slider-thumb{appearance:none;cursor:pointer;background:#dce7f5;border:3px solid #0c1219;border-radius:50%;width:18px;height:18px;box-shadow:0 0 0 1px #63768b}.psychology-slider::-moz-range-thumb{cursor:pointer;background:#dce7f5;border:3px solid #0c1219;border-radius:50%;width:18px;height:18px;box-shadow:0 0 0 1px #63768b}.psychology-scale{color:#667384;justify-content:space-between;margin-top:8px;font-size:9px;display:flex}.psychology-descriptions{color:#596676;justify-content:space-between;gap:20px;margin-top:5px;font-size:9px;display:flex}.psychology-descriptions span:last-child{text-align:right}.psychology-behaviour-block{margin-top:2px}@media (width<=900px){.psychology-sliders{grid-template-columns:1fr}}
