.spa-shell{--shell-gap:24px;--shell-sidebar-w:260px;--shell-body-gap:24px;color:#e6ecff;background:radial-gradient(980px 560px at 58% 42%,#7c5cff52,#7c5cff14 56%,#7c5cff00 78%),radial-gradient(1240px 620px at 50% 102%,#5a8cff33,#5a8cff08 55%,#5a8cff00 76%),linear-gradient(#111833 0%,#0b1220 64%,#090f1d 100%),#0b1220;flex-direction:column;height:100%;display:flex;overflow:hidden}.spa-topbar{height:64px;margin:16px var(--shell-gap) 0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#121a2f94;border:1px solid #3a4e786b;border-radius:14px;justify-content:space-between;align-items:center;padding:0 18px;display:flex}.spa-brand{align-items:center;gap:12px;min-width:0;display:flex}.spa-logo-wrap{flex-shrink:0;align-items:center;width:auto;height:52px;display:inline-flex;overflow:visible}.spa-logo-image{object-fit:contain;object-position:left center;width:auto;height:52px;display:block;transform:none}.spa-logo-mark{background:#0e162bf5;border:1px solid #7c5cff9e;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;box-shadow:inset 0 0 0 1px #5a8cff59}.spa-logo-mark svg{fill:none;stroke:#77c7ff;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.spa-logo-mark svg rect{stroke:#6f67ff}.spa-logo-mark svg path{stroke:#79d2ff}.spa-logo-word{letter-spacing:.045em;background:linear-gradient(105deg,#5a8cff 8%,#7c5cff 85%);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:1.95rem;font-weight:800;line-height:1}.spa-brand-sub{color:#9aa6c4;margin-left:2px;font-size:.94rem;line-height:1}.spa-version{color:#7f8ca8;letter-spacing:.02em;margin-top:2px;margin-left:2px;font-size:.68rem}.spa-topbar-actions{align-items:center;gap:10px;display:flex}.spa-theme-btn{color:#d4ddf8;cursor:pointer;background:#121a2fd9;border:1px solid #2c3a5f;border-radius:999px;width:30px;height:30px;font-size:.9rem}.spa-theme-btn:hover{border-color:#4a5f94}.spa-user{color:#9aa6c4;white-space:nowrap;text-overflow:ellipsis;max-width:280px;font-size:.78rem;overflow:hidden}.spa-logout-btn{color:#c9d2eb;cursor:pointer;background:#121a2fe0;border:1px solid #253354;border-radius:8px;padding:6px 11px;font-size:.78rem;font-weight:500;transition:border-color .12s,color .12s,transform .12s}.spa-logout-btn:hover{color:#e6ecff;border-color:#3b4f79;transform:translateY(-1px)}.spa-body{grid-template-columns:var(--shell-sidebar-w) 1fr;gap:var(--shell-body-gap);min-height:0;padding:16px var(--shell-gap) 24px;flex:1;display:grid}.spa-sidebar{background:0 0;border:0;flex-direction:column;gap:18px;min-height:0;padding:0;display:flex}.spa-sidebar-nav{scrollbar-gutter:auto;background:#121a2f94 padding-box padding-box;border:1px solid #3a4e786b;border-radius:16px;flex-direction:column;flex:auto;min-height:0;padding:16px 12px;display:flex;overflow:hidden auto}.spa-nav-link{color:#9aa6c4;border-radius:10px;align-items:center;gap:10px;margin-bottom:10px;padding:10px 12px;font-size:.92rem;font-weight:500;line-height:1;text-decoration:none;transition:color .12s,background-color .12s;display:flex;position:relative}.spa-nav-link:hover{color:#d6ddf2;background:#7c5cff14}.spa-nav-link.active{color:#e6ecff;background:#7c5cff24}.spa-nav-link-icon{color:#7f8ca8;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.spa-nav-link.active .spa-nav-link-icon{color:#7c5cff}.spa-nav-link-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.spa-sidebar-nav-spacer{flex:1}.spa-sidebar-quick{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.spa-nav-icon{justify-content:center;gap:0;width:100%;min-height:42px;margin-bottom:0;padding:0}.spa-nav-icon-glyph{justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.spa-nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;display:block}.spa-sidebar-bottom{background:#0e15269e padding-box padding-box;border:1px solid #3a4e786b;border-radius:16px;margin-bottom:0;padding:12px;overflow:hidden}.spa-sidebar-clocks{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px;display:grid}.spa-sidebar-clock{text-align:center;color:#e6ecff;font-variant-numeric:tabular-nums;font-size:1.04rem;font-weight:600}.spa-sidebar-clock small{color:#7f8ca8;margin-top:3px;font-size:.66rem;display:block}.spa-sidebar-account-select-wrap{margin-bottom:9px}.spa-sidebar-account-select{color:#d3ddf6;background:#0f172a;border:1px solid #273456;border-radius:8px;width:100%;padding:7px 9px;font-size:.79rem}.spa-sync-btn{color:#dde4ff;letter-spacing:.01em;cursor:pointer;background:linear-gradient(135deg,#5a8cff42,#7c5cff42);border:1px solid #4a3fab;border-radius:9px;width:100%;padding:8px 10px;font-size:.81rem;font-weight:600;transition:border-color .12s,transform .12s,filter .12s}.spa-sync-btn:hover{filter:brightness(1.05);border-color:#6b5dca;transform:translateY(-1px)}.spa-sidebar-sentiment{background:#0b12208a;border:1px solid #3a4e787a;border-radius:10px;margin-top:10px;padding:9px 10px 8px}.spa-sidebar-sentiment-inline{margin:2px 0 12px}.spa-sidebar-sentiment-head{color:#8fa0c1;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:.74rem;display:flex}.spa-sidebar-sentiment-head strong{color:#dbe4ff;font-variant-numeric:tabular-nums;font-size:.76rem}.spa-sidebar-sentiment-slider{accent-color:#9199ab;width:100%}.spa-sidebar-sentiment.is-busy{opacity:.72}.spa-content{scrollbar-gutter:stable;position:relative;overflow:hidden scroll}.spa-content>*{scrollbar-gutter:auto;height:auto;min-height:100%;overflow:visible}.spa-content>.dashboard-page,.spa-content>.portfolio-page,.spa-content>.strategies-page,.spa-content>.trades-page,.spa-content>.settings-page,.spa-content>.calendar-page,.spa-content>.import-export-page,.spa-content>.mental-edge-page,.spa-content>.trade-detail-page,.spa-content>.errors-page{overflow:visible!important}.legacy-frame-shell{height:100%;padding:24px}.legacy-frame-host{background:#121a2f;border:1px solid #1f2a44;border-radius:12px;width:100%;height:100%;overflow:hidden;box-shadow:inset 0 0 0 1px #5a8cff0f}.legacy-frame{background:#0b1220;border:0;width:100%;height:100%;display:block}html[data-theme=light] .spa-shell,.spa-shell.theme-light{color:#1e293b;background:radial-gradient(980px 540px at 56% 44%,#7c5cff2e,#7c5cff0a 58%,#7c5cff00 80%),radial-gradient(1240px 640px at 50% 102%,#5a8cff24,#5a8cff05 60%,#5a8cff00 78%),linear-gradient(#f0f4ff 0%,#e9effc 58%,#e5ecfa 100%)}html[data-theme=light] .spa-topbar,.spa-shell.theme-light .spa-topbar{background:#fcfdffd1;border-color:#d5dff1}html[data-theme=light] .spa-brand-sub,.spa-shell.theme-light .spa-brand-sub{color:#5b6b86}html[data-theme=light] .spa-version,html[data-theme=light] .spa-user,.spa-shell.theme-light .spa-version,.spa-shell.theme-light .spa-user{color:#6f7f9c}html[data-theme=light] .spa-theme-btn,html[data-theme=light] .spa-logout-btn,.spa-shell.theme-light .spa-theme-btn,.spa-shell.theme-light .spa-logout-btn{color:#34435f;background:#f4f7ff;border-color:#cfd9ee}html[data-theme=light] .spa-sidebar-nav,.spa-shell.theme-light .spa-sidebar-nav{background:#fcfdffd1;border-color:#d5dff1}html[data-theme=light] .spa-nav-link,.spa-shell.theme-light .spa-nav-link{color:#455674}html[data-theme=light] .spa-nav-link:hover,.spa-shell.theme-light .spa-nav-link:hover{color:#1f3050;background:#5a8cff1a}html[data-theme=light] .spa-nav-link.active,.spa-shell.theme-light .spa-nav-link.active{color:#1b2a46;background:#7c5cff21}html[data-theme=light] .spa-nav-link-icon,.spa-shell.theme-light .spa-nav-link-icon{color:#6d7c97}html[data-theme=light] .spa-nav-link.active .spa-nav-link-icon,.spa-shell.theme-light .spa-nav-link.active .spa-nav-link-icon{color:#5f47d6}html[data-theme=light] .spa-sidebar-bottom,.spa-shell.theme-light .spa-sidebar-bottom{background:#fbfdffd6;border-color:#d5dff1}html[data-theme=light] .spa-sidebar-clock,.spa-shell.theme-light .spa-sidebar-clock{color:#1f2f4d}html[data-theme=light] .spa-sidebar-clock small,.spa-shell.theme-light .spa-sidebar-clock small{color:#73839f}html[data-theme=light] .spa-sidebar-account-select,.spa-shell.theme-light .spa-sidebar-account-select{color:#34435f;background:#f4f7ff;border-color:#cfd9ee}html[data-theme=light] .spa-sync-btn,.spa-shell.theme-light .spa-sync-btn{color:#2a3761;background:linear-gradient(135deg,#5a8cff38,#7c5cff33);border-color:#6c5ad9}html[data-theme=light] .spa-sidebar-sentiment,.spa-shell.theme-light .spa-sidebar-sentiment{background:#f4f7ff;border-color:#cfd9ee}html[data-theme=light] .spa-sidebar-sentiment-head,.spa-shell.theme-light .spa-sidebar-sentiment-head{color:#5f6f8d}html[data-theme=light] .spa-sidebar-sentiment-head strong,.spa-shell.theme-light .spa-sidebar-sentiment-head strong{color:#2c3a61}html[data-theme=light] .legacy-frame-host,.spa-shell.theme-light .legacy-frame-host{background:#ffffffeb;border-color:#d5dff1}@media (width<=1100px){.spa-shell{--shell-sidebar-w:220px}.spa-body{grid-template-columns:var(--shell-sidebar-w) 1fr}.spa-brand-sub{display:none}.spa-logo-word{font-size:1.5rem}}.dashboard-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.dashboard-section+.dashboard-section{margin-top:24px}.dashboard-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1;background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px;position:relative;overflow:visible}.dashboard-page>.dashboard-section:first-child{z-index:4}.dashboard-title,.dashboard-subtitle{text-align:center;color:#cfd8f6;letter-spacing:.01em;margin:0 0 24px;font-weight:600}.dashboard-title{font-size:1.72rem}.dashboard-subtitle{font-size:1.48rem}.metric-grid{gap:24px;display:grid}.metric-grid-top{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.metric-grid-today{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card,.market-card{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center;background:linear-gradient(#141e3624,#0e16280f);border:1px solid #50669652;border-radius:12px;min-width:0;padding:18px;transition:transform .12s,border-color .12s,background-color .12s;box-shadow:inset 0 0 0 1px #6278ac14}.metric-card:hover,.market-card:hover{background:linear-gradient(#18244033,#121b311a);border-color:#6278ac8c;transform:translateY(-1px)}.metric-card.metric-card-pos{background:linear-gradient(#7dd3a421,#0e16280f);border-color:#7dd3a46b}.metric-card.metric-card-neg{background:linear-gradient(#f3a1a121,#0e16280f);border-color:#f3a1a16b}.metric-card.metric-card-pos .metric-value,.metric-card.metric-card-pos .metric-label{color:#7dd3a4}.metric-card.metric-card-neg .metric-value,.metric-card.metric-card-neg .metric-label{color:#f3a1a1}.metric-value,.market-value{color:#e6ecff;font-variant-numeric:tabular-nums;font-weight:700}.metric-value{white-space:nowrap;font-size:clamp(1.05rem,.85vw + .62rem,1.75rem);line-height:1.1}.metric-value.metric-value-sm{font-size:clamp(1rem,.75vw + .56rem,1.5rem)}.metric-label{color:#9aa6c4;margin-top:6px;font-size:.82rem}.metric-card-soft{background:linear-gradient(#111a2f1a,#0c14260a)}.metric-card.has-hover-detail{position:relative}.metric-hover-detail{opacity:0;pointer-events:none;color:#cfd8f6;z-index:5;background:#0e1628f2;border:1px solid #4f628f9e;border-radius:8px;padding:8px 10px;font-size:.72rem;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 6px);left:10px;right:10px;transform:translateY(6px)}.metric-card.has-hover-detail:hover .metric-hover-detail{opacity:1;transform:translateY(0)}.metric-hover-detail .pos{color:#7dd3a4}.metric-hover-detail .neg{color:#f3a1a1}.metric-hover-detail .detail-sub{color:#9aa6c4;margin-top:4px;font-size:.68rem;line-height:1.3}.metric-value.pos,.market-sub.trend-up{color:#7dd3a4}.metric-value.neg,.market-sub.trend-down{color:#f3a1a1}.market-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;display:grid}.market-card{text-align:center}.market-label{color:#7f8ca8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;font-size:.76rem}.market-value{white-space:nowrap;font-size:clamp(1.5rem,1.15vw + .65rem,2rem)}.market-sub{color:#9aa6c4;font-variant-numeric:tabular-nums;margin-top:4px;font-size:.86rem}.trend-arrow{margin-right:4px}.vix-bar{background:#1f2a44;border-radius:999px;height:6px;margin-top:10px;overflow:hidden}.vix-fill{background:linear-gradient(90deg,#7dd3a4,#d8c37d 55%,#f3a1a1);height:100%}.fg-gauge{width:88px;height:44px;margin:0 auto 8px;position:relative;overflow:hidden}.fg-arc{background:conic-gradient(from 180deg,#f3a1a1,#cfb486,#a8bf83,#7dd3a4);border-radius:88px 88px 0 0;position:absolute;inset:0}.fg-needle{transform-origin:bottom;background:#d8e2ff;width:2px;height:35px;position:absolute;bottom:0;left:50%}.market-footer{color:#9aa6c4;justify-content:center;align-items:center;gap:12px;margin-top:24px;font-size:.8rem;display:flex}.market-footer button{color:#d4ddf8;cursor:pointer;background:#121a2fcc;border:1px solid #4f628fb8;border-radius:8px;padding:6px 11px;font-size:.78rem;transition:border-color .12s,transform .12s}.market-footer button:hover:not(:disabled){border-color:#4a5f94;transform:translateY(-1px)}.market-footer button:disabled{opacity:.65;cursor:default}.dashboard-banner{color:#d8cea3;text-align:center;background:#584e2e2e;border:1px solid #4f4a30;border-radius:10px;margin-bottom:24px;padding:10px 12px;font-size:.82rem}@media (width<=1280px){.metric-card{padding:16px}.metric-value{font-size:clamp(.98rem,.72vw + .54rem,1.48rem)}.metric-value.metric-value-sm{font-size:clamp(.92rem,.66vw + .52rem,1.32rem)}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.dashboard-page{padding:0 12px 12px}.metric-grid-top,.metric-grid-today,.market-grid{grid-template-columns:1fr}}html[data-theme=light] .dashboard-page,.spa-shell.theme-light .dashboard-page{color:#1f2f4d;background:radial-gradient(700px 320px at 55% 20%,#7c5cff29,#7c5cff00 72%),radial-gradient(800px 420px at 45% 100%,#5a8cff1f,#5a8cff00 74%)}html[data-theme=light] .dashboard-section,.spa-shell.theme-light .dashboard-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .dashboard-title,html[data-theme=light] .dashboard-subtitle,.spa-shell.theme-light .dashboard-title,.spa-shell.theme-light .dashboard-subtitle{color:#304362}html[data-theme=light] .metric-card,html[data-theme=light] .market-card,.spa-shell.theme-light .metric-card,.spa-shell.theme-light .market-card{background:linear-gradient(#f8fbff66,#f0f5ff38);border-color:#d5dff1;box-shadow:inset 0 0 0 1px #c3d2ec33}html[data-theme=light] .metric-card:hover,html[data-theme=light] .market-card:hover,.spa-shell.theme-light .metric-card:hover,.spa-shell.theme-light .market-card:hover{background:linear-gradient(#f5f8ff94,#edf3ff57);border-color:#bac8e2}html[data-theme=light] .metric-card.metric-card-pos,.spa-shell.theme-light .metric-card.metric-card-pos{background:linear-gradient(#158a5c14,#f0f5ff38);border-color:#158a5c57}html[data-theme=light] .metric-card.metric-card-neg,.spa-shell.theme-light .metric-card.metric-card-neg{background:linear-gradient(#c4415214,#f0f5ff38);border-color:#c4415257}html[data-theme=light] .metric-card.metric-card-pos .metric-value,.spa-shell.theme-light .metric-card.metric-card-pos .metric-value{color:#7dd3a4}html[data-theme=light] .metric-card.metric-card-neg .metric-value,.spa-shell.theme-light .metric-card.metric-card-neg .metric-value{color:#f3a1a1}html[data-theme=light] .metric-value,html[data-theme=light] .market-value,.spa-shell.theme-light .metric-value,.spa-shell.theme-light .market-value{color:#223554}html[data-theme=light] .metric-value.pos,html[data-theme=light] .market-sub.trend-up,.spa-shell.theme-light .metric-value.pos,.spa-shell.theme-light .market-sub.trend-up{color:#7dd3a4}html[data-theme=light] .metric-value.neg,html[data-theme=light] .market-sub.trend-down,.spa-shell.theme-light .metric-value.neg,.spa-shell.theme-light .market-sub.trend-down{color:#f3a1a1}html[data-theme=light] .metric-label,html[data-theme=light] .market-sub,.spa-shell.theme-light .metric-label,.spa-shell.theme-light .market-sub{color:#5f7091}html[data-theme=light] .metric-hover-detail,.spa-shell.theme-light .metric-hover-detail{color:#304362;background:#fffffffa;border-color:#cfd9ee}html[data-theme=light] .metric-hover-detail .pos,.spa-shell.theme-light .metric-hover-detail .pos{color:#7dd3a4}html[data-theme=light] .metric-hover-detail .neg,.spa-shell.theme-light .metric-hover-detail .neg{color:#f3a1a1}html[data-theme=light] .metric-hover-detail .detail-sub,.spa-shell.theme-light .metric-hover-detail .detail-sub{color:#5f7091}html[data-theme=light] .market-label,.spa-shell.theme-light .market-label{color:#73839f}html[data-theme=light] .vix-bar,.spa-shell.theme-light .vix-bar{background:#d9e2f4}html[data-theme=light] .fg-needle,.spa-shell.theme-light .fg-needle{background:#304362}html[data-theme=light] .market-footer,.spa-shell.theme-light .market-footer{color:#5f7091}html[data-theme=light] .market-footer button,.spa-shell.theme-light .market-footer button{color:#34435f;background:#f4f7ff;border-color:#cfd9ee}html[data-theme=light] .dashboard-banner,.spa-shell.theme-light .dashboard-banner{color:#4e3f19;background:#f5f0d6f5;border-color:#a18f57}.portfolio-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.portfolio-section+.portfolio-section{margin-top:24px}.portfolio-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px;position:relative;overflow:visible}.portfolio-page>.portfolio-section:first-child{z-index:4}.portfolio-main-section{z-index:3;position:relative}.portfolio-status-section{z-index:1;position:relative}.portfolio-title{text-align:center;color:#cfd8f6;letter-spacing:.01em;margin:0 0 24px;font-size:1.72rem;font-weight:600}.portfolio-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.portfolio-kpi-card{text-align:center;background:linear-gradient(#141e3624,#0e16280f);border:1px solid #50669652;border-radius:12px;min-width:0;padding:18px;transition:transform .12s,border-color .12s,background-color .12s;box-shadow:inset 0 0 0 1px #6278ac14}.portfolio-kpi-card:hover{background:#0e1628d1;border-color:#7d90c499;transform:translateY(-1px)}.portfolio-kpi-card.kpi-card-pos{background:linear-gradient(#7dd3a421,#0e16280f);border-color:#7dd3a46b}.portfolio-kpi-card.kpi-card-neg{background:linear-gradient(#f3a1a121,#0e16280f);border-color:#f3a1a16b}.portfolio-kpi-card.kpi-card-pos .v{color:#7dd3a4}.portfolio-kpi-card.kpi-card-neg .v{color:#f3a1a1}.portfolio-kpi-card .k{color:#9aa6c4;margin-bottom:6px;font-size:.82rem}.portfolio-kpi-card .v{color:#e6ecff;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(1.05rem,.85vw + .62rem,1.75rem);font-weight:700;line-height:1.1}.portfolio-kpi-card .v.pos{color:#7dd3a4}.portfolio-kpi-card .v.neg{color:#f3a1a1}.portfolio-kpi-card.has-hover-detail{position:relative}.kpi-hover-detail{opacity:0;pointer-events:none;color:#cfd8f6;z-index:5;background:#0e1628f2;border:1px solid #4f628f9e;border-radius:8px;padding:8px 10px;font-size:.72rem;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 6px);left:10px;right:10px;transform:translateY(6px)}.kpi-hover-detail .pos{color:#7dd3a4}.kpi-hover-detail .neg{color:#f3a1a1}.portfolio-kpi-card.has-hover-detail:hover .kpi-hover-detail{opacity:1;transform:translateY(0)}.portfolio-tabs{border:1px solid #4f628fb8;border-radius:10px;display:inline-flex;overflow:hidden}.portfolio-tabs button{color:#9aa6c4;cursor:pointer;background:#0e1628d9;border:0;border-right:1px solid #4f628fb8;padding:8px 12px;font-size:.82rem;transition:background-color .12s,color .12s}.portfolio-tabs button:last-child{border-right:0}.portfolio-tabs button.active{color:#e6ecff;background:#7c5cff3d;font-weight:600}.portfolio-tabs button:hover{color:#e6ecff;background:#7c5cff24}.portfolio-pane{margin-top:14px}.portfolio-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.portfolio-toolbar h3{color:#d9e3ff;margin:0;font-size:.95rem}.portfolio-toolbar .actions{align-items:center;gap:8px;display:flex}.portfolio-colmenu-wrap{gap:6px;display:inline-flex;position:relative}.colmenu-btn{min-width:86px}.btn-icon{color:#e6ecff;cursor:pointer;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;padding:.2rem .45rem;font-size:.8rem}.portfolio-colmenu{z-index:40;background:#0e1628f5;border:1px solid #4f628fb8;border-radius:8px;min-width:170px;max-height:320px;padding:8px;position:absolute;top:calc(100% + 6px);right:0;overflow:auto}.portfolio-colmenu label{color:#cfd8f6;align-items:center;gap:8px;padding:3px 2px;font-size:.78rem;display:flex}.portfolio-colmenu label span{flex:1}.portfolio-toolbar button,.portfolio-toolbar input{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;padding:7px 10px;font-size:.82rem}.portfolio-toolbar button:hover{background:#162038eb;border-color:#7d90c4c7}.portfolio-toolbar input{width:220px}.portfolio-modal-overlay{z-index:120;background:#0409148c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.portfolio-modal{color:#cfd8f6;background:#0e1628fa;border:1px solid #4f628fb3;border-radius:12px;width:min(620px,96vw);padding:14px 16px;box-shadow:0 12px 36px #03081473}.portfolio-modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.portfolio-modal-head h3{color:#e6ecff;margin:0;font-size:1rem}.portfolio-modal-close{color:#9aa6c4;cursor:pointer;background:0 0;border:0;font-size:1.3rem;line-height:1}.portfolio-modal-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.portfolio-modal-grid label{gap:6px;display:grid}.portfolio-modal-grid label span{color:#9aa6c4;font-size:.78rem}.portfolio-modal-grid input,.portfolio-modal-grid select{color:#e6ecff;background:#0e1628e6;border:1px solid #4f628fb8;border-radius:8px;padding:8px 10px;font-size:.82rem}.portfolio-modal-span-2{grid-column:1/-1}.portfolio-modal-error{color:#f5b8c0;background:#561e283d;border:1px solid #b2556680;border-radius:8px;margin-top:10px;padding:8px 10px;font-size:.78rem}.portfolio-modal-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.portfolio-modal-actions button{color:#e6ecff;cursor:pointer;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;padding:7px 10px;font-size:.82rem}.portfolio-modal-actions button:hover:not(:disabled){background:#162038eb;border-color:#7d90c4c7}.portfolio-modal-actions button:disabled{opacity:.65;cursor:default}.portfolio-table-wrap{border:1px solid #4f628f73;border-radius:10px;overflow:auto}.portfolio-table{border-collapse:collapse;width:100%;font-size:.82rem}.portfolio-table th,.portfolio-table td{white-space:nowrap;border-bottom:1px solid #4f628f66;padding:8px 10px}.portfolio-table th{color:#cfd8f6;text-align:left;-webkit-user-select:none;user-select:none;background:#141e36cc}.portfolio-table th[draggable=true]{cursor:grab}.portfolio-table th.drag-over{border-left:3px solid #7c5cff}.portfolio-table td.num,.portfolio-table th.num{text-align:right}.portfolio-table .filter-row th{background:#0e1628b8;padding-top:6px;padding-bottom:6px}.portfolio-table .filter-row input{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:6px;width:100%;padding:4px 7px;font-size:.74rem}.portfolio-table tbody tr:hover td{background:#7c5cff14}.portfolio-table td.pos{color:#7dd3a4}.portfolio-table td.neg{color:#f3a1a1}.country-flag-img{object-fit:cover;vertical-align:middle;border:1px solid #4f628f59;border-radius:2px;width:16px;height:12px}.portfolio-badge{border-radius:999px;justify-content:center;align-items:center;padding:.12rem .52rem;font-size:.72rem;font-weight:700;line-height:1.2;display:inline-flex}.portfolio-badge.badge-stock{color:#9bc0ff;background:#2563eb29;border:1px solid #2563eb59}.portfolio-badge.badge-option{color:#d8b4fe;background:#9333ea2e;border:1px solid #9333ea61}.portfolio-badge.badge-pos{color:#7dd3a4;background:#7dd3a429;border:1px solid #7dd3a459}.portfolio-badge.badge-neg{color:#f3a1a1;background:#f3a1a129;border:1px solid #f3a1a159}.portfolio-badge.badge-neutral{color:#cbd5e1;background:#64748b33;border:1px solid #64748b59}.row-delete{color:#d9cdfa;background:#7c5cff29;border:1px solid #785baa8c;border-radius:7px;padding:5px 8px;font-size:.74rem}.curve-meta{color:#9aa6c4;font-size:.76rem}.curve-toolbar-left{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.curve-mode-toggle,.curve-range-bar,.benchmark-toggles{border:1px solid #4f628fb8;border-radius:8px;display:inline-flex;overflow:hidden}.curve-range-bar{gap:0}.curve-mode-toggle button,.benchmark-toggles button,.curve-range-bar button{color:#9aa6c4;cursor:pointer;background:#0e1628d9;border:0;border-right:1px solid #4f628fb8;padding:7px 10px;font-size:.78rem}.curve-mode-toggle button:last-child,.benchmark-toggles button:last-child,.curve-range-bar button:last-child{border-right:0}.curve-mode-toggle button.active,.curve-range-bar button.active{color:#e6ecff;background:#7c5cff3d;font-weight:600}.benchmark-toggles button.active.sp500{color:#fff;background:#3b82f6}.benchmark-toggles button.active.nasdaq{color:#fff;background:#8b5cf6}.benchmark-toggles button.active.dax{color:#fff;background:#f59e0b}.curve-summary{margin-bottom:10px}.curve-summary-main{color:#e6ecff;font-size:1.5rem;font-weight:700;line-height:1.1}.curve-summary-main small{color:#9aa6c4;margin-top:5px;font-size:.82rem;font-weight:500;display:block}.curve-summary-main.pos{color:#7dd3a4}.curve-summary-main.neg{color:#f3a1a1}.curve-card{background:#0e1628b8;border:1px solid #50669652;border-radius:10px;height:320px;padding:12px}.curve-card svg{width:100%;height:100%}.curve-card canvas{width:100%!important;height:100%!important}.curve-axis{stroke:#8092bb59;stroke-width:.35px}.curve-zero{stroke:#8092bb73;stroke-width:.3px;stroke-dasharray:1.5 1.5}.curve-line{fill:none;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.curve-line.dashed{stroke-dasharray:8 6}.curve-legend{flex-wrap:wrap;gap:10px 14px;margin-top:10px;display:flex}.curve-legend span{color:#9aa6c4;align-items:center;gap:6px;font-size:.78rem;display:inline-flex}.curve-legend i{border-radius:2px;width:12px;height:2px;display:inline-block}.pie-selector{border:1px solid #4f628fb8;border-radius:8px;display:inline-flex;overflow:hidden}.pie-selector button{color:#9aa6c4;cursor:pointer;background:#0e1628d9;border:0;border-right:1px solid #4f628fb8;padding:7px 10px;font-size:.78rem}.pie-selector button:last-child{border-right:0}.pie-selector button.active{color:#e6ecff;background:#7c5cff3d}.portfolio-pie-layout{grid-template-columns:minmax(300px,34%) minmax(280px,440px);justify-content:center;align-items:start;gap:18px;display:grid}.portfolio-pie-wrap{width:240px;height:240px;margin:0 auto;position:relative}.portfolio-pie{border:1px solid #4f628f9e;border-radius:999px;width:100%;height:100%}.portfolio-pie-center{background:#0b1220e6;border:1px solid #4f628f9e;border-radius:999px;align-content:center;justify-items:center;gap:2px;width:110px;height:110px;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.portfolio-pie-center strong{color:#e6ecff;font-size:.86rem}.portfolio-pie-center span{color:#9aa6c4;font-size:.66rem}.portfolio-pie-legend{background:#0e16288c;border:1px solid #4f628f73;border-radius:10px;width:min(100%,420px);padding:10px}.portfolio-pie-legend .legend-row{border-bottom:1px solid #4f628f40;grid-template-columns:10px auto auto;justify-content:start;align-items:center;gap:8px;padding:6px 2px;display:grid}.portfolio-pie-legend .legend-row:last-child{border-bottom:0}.portfolio-pie-legend .dot{border-radius:999px;width:8px;height:8px}.portfolio-pie-legend .name{color:#cfd8f6;white-space:nowrap;text-overflow:ellipsis;max-width:160px;font-size:.8rem;overflow:hidden}.portfolio-pie-legend .val{color:#9aa6c4;white-space:nowrap;margin-left:6px;font-size:.78rem}.top3-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.top3-category-bar{border:1px solid #4f628fb8;border-radius:8px;display:inline-flex;overflow:hidden}.top3-category-bar button{color:#9aa6c4;cursor:pointer;background:#0e1628d9;border:0;border-right:1px solid #4f628fb8;padding:7px 10px;font-size:.78rem}.top3-category-bar button:last-child{border-right:0}.top3-category-bar button.active{color:#e6ecff;background:#7c5cff3d;font-weight:600}.top3-range-bar{gap:4px;display:inline-flex}.top3-range-bar button{color:#9aa6c4;cursor:pointer;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:6px;padding:5px 8px;font-size:.75rem}.top3-range-bar button.active{color:#e6ecff;background:#9aa6c43d;border-color:#9aa6c499}.top3-section{margin-bottom:16px}.top3-section-header{color:#cfd8f6;align-items:center;gap:8px;margin-bottom:8px;font-size:.9rem;font-weight:700;display:flex}.top3-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.top3-card{background:#0e16288c;border:1px solid #4f628f73;border-radius:10px;flex-direction:column;gap:5px;padding:12px;transition:border-color .12s,transform .12s,box-shadow .12s;display:flex}.top3-card:hover{border-color:#7d90c4b8;transform:translateY(-1px);box-shadow:0 6px 16px #03081440}.top3-card-head{align-items:center;gap:7px;display:flex}.top3-medal{font-size:1.1rem;line-height:1}.top3-card-name{color:#dbe6ff;white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:700;overflow:hidden}.top3-link{text-decoration:none}.top3-link:hover{text-decoration:underline}.top3-card-sub{color:#95a3c3;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.top3-card-value{color:#e6ecff;font-variant-numeric:tabular-nums;font-size:1rem;font-weight:800}.top3-card-value.pos,.top3-card-pct.pos{color:#7dd3a4}.top3-card-value.neg,.top3-card-pct.neg{color:#f3a1a1}.top3-card-pct{font-variant-numeric:tabular-nums;font-size:.8rem;font-weight:600}.top3-empty{color:#95a3c3;text-align:center;border:1px dashed #4f628f73;border-radius:10px;grid-column:1/-1;padding:16px}.empty{color:#9aa6c4;text-align:center;padding:16px}.portfolio-status{color:#9ee7c7;text-align:center;background:#184c3842;border:1px solid #41977473;border-radius:10px;padding:10px 12px;font-size:.84rem}.portfolio-status.error{color:#f5b8c0;background:#561e283d;border-color:#b2556680}@media (width<=1500px){.portfolio-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=980px){.portfolio-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-toolbar{flex-direction:column;align-items:stretch}.portfolio-toolbar .actions{width:100%}.portfolio-toolbar input{flex:1;width:auto}.portfolio-pie-layout,.top3-grid,.portfolio-modal-grid{grid-template-columns:1fr}.portfolio-modal-span-2{grid-column:auto}}html[data-theme=light] .portfolio-page,.spa-shell.theme-light .portfolio-page{color:#1f2f4d}html[data-theme=light] .portfolio-section,.spa-shell.theme-light .portfolio-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .portfolio-title,html[data-theme=light] .portfolio-toolbar h3,html[data-theme=light] .portfolio-table th,.spa-shell.theme-light .portfolio-title,.spa-shell.theme-light .portfolio-toolbar h3,.spa-shell.theme-light .portfolio-table th{color:#304362}html[data-theme=light] .portfolio-kpi-card,html[data-theme=light] .curve-card,.spa-shell.theme-light .portfolio-kpi-card,.spa-shell.theme-light .curve-card{background:linear-gradient(#f8fbff66,#f0f5ff38);border-color:#d5dff1;box-shadow:inset 0 0 0 1px #c3d2ec33}html[data-theme=light] .portfolio-kpi-card.kpi-card-pos,.spa-shell.theme-light .portfolio-kpi-card.kpi-card-pos{background:linear-gradient(#158a5c14,#f0f5ff38);border-color:#158a5c57}html[data-theme=light] .portfolio-kpi-card.kpi-card-neg,.spa-shell.theme-light .portfolio-kpi-card.kpi-card-neg{background:linear-gradient(#c4415214,#f0f5ff38);border-color:#c4415257}html[data-theme=light] .portfolio-kpi-card.kpi-card-pos .v,.spa-shell.theme-light .portfolio-kpi-card.kpi-card-pos .v{color:#7dd3a4}html[data-theme=light] .portfolio-kpi-card.kpi-card-neg .v,.spa-shell.theme-light .portfolio-kpi-card.kpi-card-neg .v{color:#f3a1a1}html[data-theme=light] .portfolio-kpi-card .k,html[data-theme=light] .curve-meta,html[data-theme=light] .empty,.spa-shell.theme-light .portfolio-kpi-card .k,.spa-shell.theme-light .curve-meta,.spa-shell.theme-light .empty{color:#5f7091}html[data-theme=light] .portfolio-kpi-card .v,.spa-shell.theme-light .portfolio-kpi-card .v{color:#243756}html[data-theme=light] .portfolio-kpi-card .v.pos,.spa-shell.theme-light .portfolio-kpi-card .v.pos{color:#7dd3a4}html[data-theme=light] .portfolio-kpi-card .v.neg,.spa-shell.theme-light .portfolio-kpi-card .v.neg{color:#f3a1a1}html[data-theme=light] .portfolio-tabs,html[data-theme=light] .portfolio-toolbar button,html[data-theme=light] .portfolio-toolbar input,html[data-theme=light] .portfolio-table-wrap,.spa-shell.theme-light .portfolio-tabs,.spa-shell.theme-light .portfolio-toolbar button,.spa-shell.theme-light .portfolio-toolbar input,.spa-shell.theme-light .portfolio-table-wrap{border-color:#cfd9ee}html[data-theme=light] .portfolio-tabs button,html[data-theme=light] .portfolio-toolbar button,html[data-theme=light] .portfolio-toolbar input,.spa-shell.theme-light .pie-selector button,.spa-shell.theme-light .portfolio-tabs button,.spa-shell.theme-light .portfolio-toolbar button,.spa-shell.theme-light .portfolio-toolbar input{color:#243756;background:#f7f9ff}html[data-theme=light] .portfolio-modal,.spa-shell.theme-light .portfolio-modal{color:#304362;background:#fff;border-color:#cfd9ee}html[data-theme=light] .portfolio-modal-head h3,.spa-shell.theme-light .portfolio-modal-head h3{color:#243756}html[data-theme=light] .portfolio-modal-close,.spa-shell.theme-light .portfolio-modal-close,html[data-theme=light] .portfolio-modal-grid label span,.spa-shell.theme-light .portfolio-modal-grid label span{color:#5f7091}html[data-theme=light] .portfolio-modal-grid input,html[data-theme=light] .portfolio-modal-grid select,.spa-shell.theme-light .portfolio-modal-grid input,.spa-shell.theme-light .portfolio-modal-grid select,html[data-theme=light] .portfolio-modal-actions button,.spa-shell.theme-light .portfolio-modal-actions button,html[data-theme=light] .btn-icon,.spa-shell.theme-light .btn-icon{color:#243756;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .portfolio-tabs button.active,.spa-shell.theme-light .portfolio-tabs button.active{color:#4e448f;background:#efecff}html[data-theme=light] .portfolio-table th,.spa-shell.theme-light .portfolio-table th{background:#eff3fb}html[data-theme=light] .portfolio-table .filter-row th,.spa-shell.theme-light .portfolio-table .filter-row th{background:#f6f9ff}html[data-theme=light] .portfolio-table .filter-row input,.spa-shell.theme-light .portfolio-table .filter-row input{color:#243756;background:#fff;border-color:#cfd9ee}html[data-theme=light] .portfolio-table th,html[data-theme=light] .portfolio-table td,.spa-shell.theme-light .portfolio-table th,.spa-shell.theme-light .portfolio-table td{border-bottom-color:#d5dff1}html[data-theme=light] .portfolio-table td.pos,.spa-shell.theme-light .portfolio-table td.pos{color:#158a5c}html[data-theme=light] .portfolio-table td.neg,.spa-shell.theme-light .portfolio-table td.neg{color:#c44152}html[data-theme=light] .country-flag-img,.spa-shell.theme-light .country-flag-img{border-color:#cfd9ee}html[data-theme=light] .portfolio-badge.badge-stock,.spa-shell.theme-light .portfolio-badge.badge-stock{color:#1d4ed8;background:#2563eb1f;border-color:#2563eb40}html[data-theme=light] .portfolio-badge.badge-option,.spa-shell.theme-light .portfolio-badge.badge-option{color:#7e22ce;background:#9333ea1f;border-color:#9333ea38}html[data-theme=light] .portfolio-badge.badge-pos,.spa-shell.theme-light .portfolio-badge.badge-pos{color:#158a5c;background:#158a5c1f;border-color:#158a5c38}html[data-theme=light] .portfolio-badge.badge-neg,.spa-shell.theme-light .portfolio-badge.badge-neg{color:#c44152;background:#c441521f;border-color:#c4415238}html[data-theme=light] .portfolio-badge.badge-neutral,.spa-shell.theme-light .portfolio-badge.badge-neutral{color:#475569;background:#94a3b82e;border-color:#94a3b84d}html[data-theme=light] .row-delete,.spa-shell.theme-light .row-delete{color:#4e448f;background:#efecff;border-color:#cfc9f2}html[data-theme=light] .portfolio-colmenu,.spa-shell.theme-light .portfolio-colmenu,html[data-theme=light] .portfolio-pie-legend,.spa-shell.theme-light .portfolio-pie-legend,html[data-theme=light] .portfolio-pie-center,.spa-shell.theme-light .portfolio-pie-center{background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .portfolio-colmenu label,html[data-theme=light] .portfolio-pie-legend .name,.spa-shell.theme-light .portfolio-colmenu label,.spa-shell.theme-light .portfolio-pie-legend .name{color:#304362}html[data-theme=light] .top3-card,.spa-shell.theme-light .top3-card{background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .top3-category-bar,html[data-theme=light] .top3-range-bar button,.spa-shell.theme-light .top3-category-bar,.spa-shell.theme-light .top3-range-bar button{border-color:#cfd9ee}html[data-theme=light] .top3-category-bar button,html[data-theme=light] .top3-range-bar button,.spa-shell.theme-light .top3-category-bar button,.spa-shell.theme-light .top3-range-bar button{color:#243756;background:#f7f9ff}html[data-theme=light] .top3-category-bar button.active,html[data-theme=light] .top3-range-bar button.active,.spa-shell.theme-light .top3-category-bar button.active,.spa-shell.theme-light .top3-range-bar button.active{color:#4e448f;background:#efecff}html[data-theme=light] .top3-section-header,html[data-theme=light] .top3-card-name,.spa-shell.theme-light .top3-section-header,.spa-shell.theme-light .top3-card-name{color:#304362}html[data-theme=light] .top3-card-value,html[data-theme=light] .top3-medal,.spa-shell.theme-light .top3-card-value,.spa-shell.theme-light .top3-medal{color:#243756}html[data-theme=light] .top3-card-value.pos,html[data-theme=light] .top3-card-pct.pos,.spa-shell.theme-light .top3-card-value.pos,.spa-shell.theme-light .top3-card-pct.pos{color:#158a5c}html[data-theme=light] .top3-card-value.neg,html[data-theme=light] .top3-card-pct.neg,.spa-shell.theme-light .top3-card-value.neg,.spa-shell.theme-light .top3-card-pct.neg{color:#c44152}html[data-theme=light] .top3-card-sub,html[data-theme=light] .top3-empty,.spa-shell.theme-light .top3-card-sub,.spa-shell.theme-light .top3-empty{color:#5f7091}html[data-theme=light] .top3-empty,.spa-shell.theme-light .top3-empty{background:#fff;border-color:#cfd9ee}html[data-theme=light] .portfolio-pie-legend .val,html[data-theme=light] .portfolio-pie-center span,.spa-shell.theme-light .portfolio-pie-legend .val,.spa-shell.theme-light .portfolio-pie-center span{color:#5f7091}html[data-theme=light] .portfolio-pie-center strong,.spa-shell.theme-light .portfolio-pie-center strong{color:#243756}html[data-theme=light] .kpi-hover-detail,.spa-shell.theme-light .kpi-hover-detail{color:#304362;background:#fff;border-color:#cfd9ee}html[data-theme=light] .kpi-hover-detail .pos,.spa-shell.theme-light .kpi-hover-detail .pos{color:#158a5c}html[data-theme=light] .kpi-hover-detail .neg,.spa-shell.theme-light .kpi-hover-detail .neg{color:#c44152}html[data-theme=light] .curve-summary-main small,html[data-theme=light] .curve-legend span,.spa-shell.theme-light .curve-summary-main small,.spa-shell.theme-light .curve-legend span{color:#5f7091}html[data-theme=light] .curve-summary-main.pos,.spa-shell.theme-light .curve-summary-main.pos{color:#158a5c}html[data-theme=light] .curve-summary-main.neg,.spa-shell.theme-light .curve-summary-main.neg{color:#c44152}html[data-theme=light] .curve-axis,.spa-shell.theme-light .curve-axis{stroke:#c6d2eb}html[data-theme=light] .curve-zero,.spa-shell.theme-light .curve-zero{stroke:#9db1da}html[data-theme=light] .curve-mode-toggle,html[data-theme=light] .curve-range-bar,html[data-theme=light] .benchmark-toggles,.spa-shell.theme-light .curve-mode-toggle,.spa-shell.theme-light .curve-range-bar,.spa-shell.theme-light .benchmark-toggles{border-color:#cfd9ee}html[data-theme=light] .curve-mode-toggle button,html[data-theme=light] .curve-range-bar button,html[data-theme=light] .benchmark-toggles button,.spa-shell.theme-light .curve-mode-toggle button,.spa-shell.theme-light .curve-range-bar button,.spa-shell.theme-light .benchmark-toggles button{color:#243756;background:#f7f9ff;border-right-color:#cfd9ee}html[data-theme=light] .portfolio-status,.spa-shell.theme-light .portfolio-status{color:#34435f;background:#f3f6ff;border-color:#cfd9ee}.health-account-select{color:#9aa6c4;align-items:center;gap:8px;font-size:.78rem;display:inline-flex}.health-title-wrap{align-items:center;gap:10px;display:inline-flex}.health-what-link{color:#8eb2ff;cursor:pointer;background:0 0;border:0;padding:0;font-size:.78rem;text-decoration:underline}.health-account-select select{min-width:140px}.ph-layout{gap:12px;display:grid}.ph-top{grid-template-columns:360px minmax(0,1fr);gap:12px;display:grid}.ph-gauges{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ph-gauge-wrap{text-align:center;background:#0e162885;border:1px solid #4f628f80;border-radius:12px;padding:10px}.ph-gauge{isolation:isolate;width:152px;height:76px;margin:2px auto 0;position:relative;overflow:hidden}.ph-gauge-arc{background:conic-gradient(from 225deg,#f3a1a1 0deg,#ea9f86 36deg,#d9b07d 72deg,#9cc089 126deg,#7dd3a4 180deg,#0000 180deg);border-radius:50%;width:152px;height:152px;position:absolute;top:0;left:0}.ph-gauge-inner{background:#0e1628fa;border-radius:50%;width:112px;height:112px;position:absolute;top:20px;left:20px}.ph-gauge-needle{transform-origin:bottom;background:#e6ecff;width:2px;height:63px;margin-left:-1px;transition:transform .18s;position:absolute;bottom:0;left:50%}.ph-gauge-dot{background:#e6ecff;border-radius:50%;width:8px;height:8px;margin-left:-4px;position:absolute;bottom:-2px;left:50%}.ph-gauge-pct{text-align:center;z-index:3;font-size:.98rem;font-weight:700;position:absolute;bottom:10px;left:0;right:0}.ph-gauge-label{font-size:.78rem;font-weight:600}.ph-gauge-sub{color:#9aa6c4;font-size:.74rem}.ph-alert-wrap{background:#0e162885;border:1px solid #4f628f80;border-radius:12px;padding:10px}.ph-alert{border-radius:8px;padding:9px 10px;font-size:.82rem;font-weight:600}.ph-alert-ok{color:#7dd3a4;background:#10b9811f;border:1px solid #10b98159}.ph-alert-warn{color:#f0c474;background:#f59e0b1f;border:1px solid #f59e0b59}.ph-row{grid-template-columns:180px repeat(6,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.ph-row-label{color:#cfd8f6;align-self:center;font-size:.82rem;font-weight:600}.kpi.card.kpi-sm{background:#0e162885;border:1px solid #4f628f80;border-radius:10px;padding:9px 10px;transition:transform .12s,border-color .12s,background-color .12s;position:relative}.kpi.card.kpi-sm:hover,.ph-gauge-wrap:hover,.ph-alert:hover{border-color:#7d90c4c7;transform:translateY(-1px)}.ph-layout [data-tip]{cursor:help;position:relative}.ph-layout [data-tip]:after{content:attr(data-tip);color:#dbe7ff;white-space:normal;text-align:left;opacity:0;pointer-events:none;z-index:80;background:#0e1628fa;border:1px solid #4f628fb8;border-radius:8px;width:max-content;max-width:280px;padding:7px 9px;font-size:.72rem;font-weight:500;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,4px);box-shadow:0 8px 24px #0308146b}.ph-layout [data-tip]:before{content:"";opacity:0;pointer-events:none;z-index:79;background:#0e1628fa;border-bottom:1px solid #4f628fb8;border-right:1px solid #4f628fb8;width:8px;height:8px;margin-left:-4px;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 4px);left:50%;transform:rotate(45deg)translateY(3px)}.ph-layout [data-tip]:hover:after,.ph-layout [data-tip]:hover:before{opacity:1;transform:translate(-50%)}.kpi.card.kpi-sm .kpi-value{color:#e6ecff;font-size:.96rem;font-weight:700}.kpi.card.kpi-sm .kpi-value.kpi-positive{color:#7dd3a4}.kpi.card.kpi-sm .kpi-value.kpi-negative{color:#f3a1a1}.kpi.card.kpi-sm>div:last-child{color:#9aa6c4;margin-top:3px;font-size:.74rem}.ph-cushion-warn{color:#d97706!important}.health-info-overlay{z-index:90;background:#0409148c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.health-info-modal{color:#cfd8f6;background:#0e1628fa;border:1px solid #4f628f99;border-radius:12px;width:min(760px,96vw);padding:16px 18px 14px;position:relative}.health-info-modal h3{color:#e6ecff;margin:0 0 10px}.health-info-modal p{margin:8px 0;font-size:.86rem;line-height:1.45}.health-info-close{color:#9aa6c4;cursor:pointer;background:0 0;border:0;font-size:1.2rem;position:absolute;top:8px;right:10px}html[data-theme=light] .ph-gauge-inner,.spa-shell.theme-light .ph-gauge-inner,html[data-theme=light] .ph-gauge-wrap,html[data-theme=light] .ph-alert-wrap,html[data-theme=light] .kpi.card.kpi-sm,.spa-shell.theme-light .ph-gauge-wrap,.spa-shell.theme-light .ph-alert-wrap,.spa-shell.theme-light .kpi.card.kpi-sm{background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .ph-gauge-inner,.spa-shell.theme-light .ph-gauge-inner{background:#fff}html[data-theme=light] .ph-row-label,html[data-theme=light] .kpi.card.kpi-sm .kpi-value,.spa-shell.theme-light .ph-row-label,.spa-shell.theme-light .kpi.card.kpi-sm .kpi-value{color:#243756}html[data-theme=light] .kpi.card.kpi-sm .kpi-value.kpi-positive,.spa-shell.theme-light .kpi.card.kpi-sm .kpi-value.kpi-positive{color:#7dd3a4}html[data-theme=light] .kpi.card.kpi-sm .kpi-value.kpi-negative,.spa-shell.theme-light .kpi.card.kpi-sm .kpi-value.kpi-negative{color:#f3a1a1}html[data-theme=light] .kpi.card.kpi-sm>div:last-child,html[data-theme=light] .ph-gauge-sub,html[data-theme=light] .health-account-select,.spa-shell.theme-light .kpi.card.kpi-sm>div:last-child,.spa-shell.theme-light .ph-gauge-sub,.spa-shell.theme-light .health-account-select{color:#4f6283}html[data-theme=light] .ph-gauge-label,html[data-theme=light] .ph-gauge-pct,.spa-shell.theme-light .ph-gauge-label,.spa-shell.theme-light .ph-gauge-pct{text-shadow:0 0 #0000}html[data-theme=light] .health-what-link,.spa-shell.theme-light .health-what-link{color:#2f5fae}html[data-theme=light] .ph-alert,.spa-shell.theme-light .ph-alert{font-weight:700}html[data-theme=light] .health-info-modal,.spa-shell.theme-light .health-info-modal{color:#4e6388;background:#fff;border-color:#cfd9ee}html[data-theme=light] .health-info-modal h3,.spa-shell.theme-light .health-info-modal h3{color:#243756}html[data-theme=light] .ph-layout [data-tip]:after,.spa-shell.theme-light .ph-layout [data-tip]:after{color:#304669;background:#fff;border-color:#cfd9ee;box-shadow:0 6px 20px #1f2d4a29}html[data-theme=light] .ph-layout [data-tip]:before,.spa-shell.theme-light .ph-layout [data-tip]:before{background:#fff;border-bottom-color:#cfd9ee;border-right-color:#cfd9ee}html[data-theme=light] .ph-alert-ok,.spa-shell.theme-light .ph-alert-ok{color:#1f6a43;background:#e9f7ef;border-color:#86c9a6}html[data-theme=light] .ph-alert-warn,.spa-shell.theme-light .ph-alert-warn{color:#8a5a18;background:#fff6e8;border-color:#f0c27d}@media (width<=1260px){.ph-top{grid-template-columns:1fr}.ph-row{grid-template-columns:1fr 1fr 1fr}.ph-row-label{grid-column:1/-1}}.trades-native-page{flex-direction:column;gap:12px;height:100%;min-height:0;padding-bottom:8px;display:flex;overflow:auto}.trades-native-card{border:1px solid var(--border,#e2e8f0);-webkit-backdrop-filter:blur(3px);background:#fcfdff75;border-radius:12px;flex-direction:column;flex:1 1 0;min-height:0;max-height:none;padding:12px;display:flex;overflow:hidden;box-shadow:0 6px 18px #0f172a0f}.trades-native-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.trades-native-header h2{text-align:left;margin:0;font-size:1.45rem}.trades-native-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.trades-add-btn{border-radius:6px;padding:.32rem .7rem;font-size:.85rem;font-weight:600;text-decoration:none}.trades-search{border:1px solid var(--border,#e2e8f0);min-width:200px;color:inherit;background:0 0;border-radius:6px;padding:.4rem .6rem;font-size:.85rem}.trades-table-wrap{scrollbar-gutter:stable both-edges;border-radius:10px;flex:auto;min-height:0;overflow:auto}.trades-table{border-collapse:collapse;width:100%;margin-top:.5rem}.trades-table th,.trades-table td{border-bottom:1px solid var(--border,#e2e8f0);white-space:nowrap;padding:.75rem}.trades-table th{text-align:left;-webkit-user-select:none;user-select:none;background:#f8fbff94;font-size:.85rem;font-weight:600}.trades-table .num{text-align:right}.trades-table .filter-row th{padding:.25rem!important}.trades-table .filter-row input,.trades-table .filter-row select{border:1px solid var(--border,#e2e8f0);width:100%;color:inherit;background:0 0;border-radius:4px;padding:.2rem;font-size:.8rem}.trades-table th[draggable=true]{cursor:grab}.trades-table th[draggable=true]:active{cursor:grabbing}.trades-table th.drag-over{border-left:3px solid var(--primary,#2563eb)}.trades-table tbody tr:hover td{background:#94a3b814}.cell-link{color:var(--primary);font-weight:600;text-decoration:none}.btn-icon{border:1px solid var(--border,#e2e8f0);color:inherit;cursor:pointer;background:0 0;border-radius:7px;padding:.15rem .45rem}.trades-menu-wrap{position:relative}.col-menu{background:var(--card,#fff);border:1px solid var(--border,#e2e8f0);z-index:50;border-radius:8px;min-width:210px;max-height:340px;padding:8px;position:absolute;top:calc(100% + 4px);right:0;overflow:auto;box-shadow:0 10px 20px #02061733}.col-menu label{align-items:center;gap:8px;padding:4px 2px;font-size:.82rem;display:flex}.col-menu label span{flex:1}.tag-wrap{flex-wrap:wrap;gap:4px;display:inline-flex}.tag-edit-btn{color:#475569;cursor:pointer;vertical-align:middle;background:#f1f5f9;border:0;border-radius:999px;width:1.2em;height:1.2em;padding:0;font-size:.75rem;line-height:1.2em}.cell-action-link{color:var(--primary,#2563eb);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.cell-action-link:disabled{opacity:.7;cursor:wait}.cell-action-link.muted{color:inherit;border-bottom:1px dashed #94a3b8}.reset-underlying-name{color:#64748b;vertical-align:baseline;border-bottom:0;margin-left:.35rem;font-size:.85rem}.reset-underlying-name:hover{color:var(--primary,#2563eb)}.inline-spinner{vertical-align:-1px;border:2px solid #64748b59;border-top-color:#64748bf2;border-radius:50%;width:.72rem;height:.72rem;margin-left:.25rem;animation:.75s linear infinite trades-inline-spin;display:inline-block}@keyframes trades-inline-spin{to{transform:rotate(360deg)}}.country-inline{align-items:center;gap:.3rem;display:inline-flex}.country-flag-img{object-fit:cover;border:1px solid var(--border,#e2e8f0);vertical-align:middle;border-radius:2px;width:16px;height:12px}.strategy-select{border:1px solid var(--border,#e2e8f0);color:inherit;background:0 0;border-radius:6px;padding:.22rem .35rem;font-size:.82rem}.strategy-popover{z-index:1200;background:var(--card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:8px;align-items:center;gap:6px;min-width:260px;padding:8px;display:flex;position:fixed;box-shadow:0 10px 20px #02061733}.strategy-popover .strategy-select{flex:1}.meta-inline-editor{align-items:center;gap:4px;display:inline-flex}.meta-inline-editor .strategy-select{min-width:220px}.meta-inline-btn{border:1px solid var(--border,#e2e8f0);color:inherit;cursor:pointer;background:0 0;border-radius:6px;padding:.2rem .35rem;font-size:.78rem;line-height:1}.meta-inline-btn:hover{border-color:var(--primary,#2563eb);color:var(--primary,#2563eb)}.strategy-popover-actions{gap:4px;display:inline-flex}.badge{border:1px solid #0000;border-radius:999px;padding:2px 8px;font-size:.72rem;display:inline-block}.badge-stock{color:#5b21b6;background:#ede9fe}.badge-bullish{color:#166534;background:#dcfce7}.badge-bearish{color:#991b1b;background:#fee2e2}.badge-neutral{color:#334155;background:#e2e8f0}.badge-buy{color:#16a34a;background:#22c55e26}.badge-sell{color:#dc2626;background:#ef444429}.badge-open{color:#16a34a;background:#22c55e26}.badge-closed{color:#475569;background:#64748b33}.badge-credit{color:#16a34a;background:#22c55e26}.badge-debit{color:#dc2626;background:#ef444429}.badge-tag{color:#294a8d;cursor:default;background:#e0ecff;margin-right:.25rem;padding:.15rem .5rem;font-size:.75rem}.badge-source{color:#475569;background:#f1f5f9}.trades-table td.pos{color:#10b981}.trades-table td.neg{color:#ef4444}.section-collapsed .trades-table-wrap{display:none}@media (width<=1100px){.trades-native-card{flex:none;min-height:380px;max-height:none}}html[data-theme=dark] .trades-search,html[data-theme=dark] .btn-icon,html[data-theme=dark] .trades-table .filter-row input,html[data-theme=dark] .trades-table .filter-row select,html[data-theme=dark] .strategy-select,html[data-theme=dark] .tag-edit-btn{border-color:#2f3f57}html[data-theme=dark] .trades-native-card{background:#0e162885;border-color:#2f3f57;box-shadow:0 10px 28px #02061759}html[data-theme=dark] .trades-table-wrap,html[data-theme=dark] .trades-native-page{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;scrollbar-color:#3b4f75 #090f1cb3}html[data-theme=dark] .trades-table-wrap::-webkit-scrollbar{width:8px;height:8px}html[data-theme=dark] .trades-native-page::-webkit-scrollbar{width:8px;height:8px}html[data-theme=dark] .trades-table-wrap::-webkit-scrollbar-track{background:#090f1cb8;border-radius:999px}html[data-theme=dark] .trades-native-page::-webkit-scrollbar-track{background:#090f1cb8;border-radius:999px}html[data-theme=dark] .trades-table-wrap::-webkit-scrollbar-thumb{background:#4c6088e0;border:2px solid #090f1cb8;border-radius:999px}html[data-theme=dark] .trades-native-page::-webkit-scrollbar-thumb{background:#4c6088e0;border:2px solid #090f1cb8;border-radius:999px}html[data-theme=dark] .trades-table-wrap::-webkit-scrollbar-thumb:hover{background:#5f76a5f2}html[data-theme=dark] .trades-native-page::-webkit-scrollbar-thumb:hover{background:#5f76a5f2}html[data-theme=light] .trades-native-card,.spa-shell.theme-light .trades-native-card{background:#fcfdff6b;border-color:#d5dff1}html[data-theme=light] .trades-table-wrap,html[data-theme=light] .trades-native-page,.spa-shell.theme-light .trades-table-wrap,.spa-shell.theme-light .trades-native-page{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;scrollbar-color:#b6c4de #e8eef8d9}html[data-theme=light] .trades-table-wrap::-webkit-scrollbar{width:8px;height:8px}html[data-theme=light] .trades-native-page::-webkit-scrollbar{width:8px;height:8px}.spa-shell.theme-light .trades-table-wrap::-webkit-scrollbar{width:8px;height:8px}.spa-shell.theme-light .trades-native-page::-webkit-scrollbar{width:8px;height:8px}html[data-theme=light] .trades-table-wrap::-webkit-scrollbar-track{background:#e8eef8d9;border-radius:999px}html[data-theme=light] .trades-native-page::-webkit-scrollbar-track{background:#e8eef8d9;border-radius:999px}.spa-shell.theme-light .trades-table-wrap::-webkit-scrollbar-track{background:#e8eef8d9;border-radius:999px}.spa-shell.theme-light .trades-native-page::-webkit-scrollbar-track{background:#e8eef8d9;border-radius:999px}html[data-theme=light] .trades-table-wrap::-webkit-scrollbar-thumb{background:#9fafcef2;border:2px solid #e8eef8d9;border-radius:999px}html[data-theme=light] .trades-native-page::-webkit-scrollbar-thumb{background:#9fafcef2;border:2px solid #e8eef8d9;border-radius:999px}.spa-shell.theme-light .trades-table-wrap::-webkit-scrollbar-thumb{background:#9fafcef2;border:2px solid #e8eef8d9;border-radius:999px}.spa-shell.theme-light .trades-native-page::-webkit-scrollbar-thumb{background:#9fafcef2;border:2px solid #e8eef8d9;border-radius:999px}html[data-theme=light] .trades-table-wrap::-webkit-scrollbar-thumb:hover{background:#8498befa}html[data-theme=light] .trades-native-page::-webkit-scrollbar-thumb:hover{background:#8498befa}.spa-shell.theme-light .trades-table-wrap::-webkit-scrollbar-thumb:hover{background:#8498befa}.spa-shell.theme-light .trades-native-page::-webkit-scrollbar-thumb:hover{background:#8498befa}html[data-theme=dark] .trades-table th,html[data-theme=dark] .trades-table td{border-bottom-color:#2f3f57}html[data-theme=dark] .trades-table th{background:#172033d1}html[data-theme=dark] .trades-table tbody tr:hover td{background:#33415559}html[data-theme=dark] .trades-native-page select,html[data-theme=dark] .strategy-select{color:#e2e8f0;background:#0b1220;border-color:#2f3f57}html[data-theme=dark] .trades-native-page select option,html[data-theme=dark] .strategy-select option{color:#e2e8f0;background:#0f172a}html[data-theme=dark] .trades-native-page select option:hover,html[data-theme=dark] .strategy-select option:hover{color:#fff;background:#1e293b}html[data-theme=dark] .trades-native-page select option:checked,html[data-theme=dark] .strategy-select option:checked{color:#fff;background:#334155}html[data-theme=dark] .trades-native-page select:focus,html[data-theme=dark] .strategy-select:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f640}html[data-theme=dark] .col-menu,html[data-theme=dark] .strategy-popover{background:#0f172a;border-color:#2f3f57}html[data-theme=dark] .badge-stock{color:#c4b5fd;background:#8b5cf640}html[data-theme=dark] .badge-bullish{color:#86efac;background:#22c55e33}html[data-theme=dark] .badge-bearish{color:#fca5a5;background:#ef444433}html[data-theme=dark] .badge-neutral,html[data-theme=dark] .badge-source{color:#cbd5e1;background:#334155}html[data-theme=dark] .badge-tag{color:#c7d2fe;background:#1e40af52}.mt-overlay{z-index:9000;background:#00000073;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.mt-modal{background:#fff;border-radius:12px;width:min(660px,100vw - 24px);max-height:92vh;padding:1.2rem 1.4rem;overflow-y:auto;box-shadow:0 8px 32px #0000002e}.mt-modal h3{margin:0;font-size:1.1rem}.mt-modal-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:.9rem;display:flex}.mt-close{border:1px solid var(--border,#e2e8f0);color:inherit;cursor:pointer;background:0 0;border-radius:6px;width:30px;height:30px;font-size:1.1rem;line-height:1}.mt-segment{gap:0;margin-bottom:.9rem;display:inline-flex}.mt-segment button{border:1px solid var(--border,#e2e8f0);color:inherit;cursor:pointer;background:#fff;padding:.35rem .9rem;font-size:.83rem}.mt-segment button+button{border-left:0}.mt-segment button:first-child{border-radius:6px 0 0 6px}.mt-segment button:last-child{border-radius:0 6px 6px 0}.mt-segment button.active{background:var(--primary,#2563eb);border-color:var(--primary,#2563eb);color:#fff}.mt-grid{grid-template-columns:1fr 1fr;gap:.7rem .9rem;display:grid}.mt-grid label{flex-direction:column;gap:.2rem;display:flex}.mt-grid span{color:#64748b;font-size:.8rem}.mt-grid input,.mt-grid select{border:1px solid var(--border,#e2e8f0);color:inherit;background:0 0;border-radius:6px;padding:.38rem .5rem;font-size:.84rem}.mt-hint{color:#64748b;grid-column:1/-1;margin-top:-.2rem;font-size:.77rem}.mt-extra{margin-top:.95rem}.mt-extra h4{margin:0 0 .5rem;font-size:.93rem}.mt-extra-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:.45rem;display:flex}.mt-presets{gap:4px;display:flex}.mt-presets button{border:1px solid var(--border,#e2e8f0);cursor:pointer;background:#f8fafc;border-radius:4px;padding:.2rem .55rem;font-size:.75rem}.mt-legs-table{border-collapse:collapse;width:100%}.mt-legs-table th,.mt-legs-table td{border-bottom:1px solid var(--border,#e2e8f0);padding:.3rem;font-size:.8rem}.mt-legs-table th{text-align:left}.mt-legs-table input,.mt-legs-table select{border:1px solid var(--border,#e2e8f0);width:100%;color:inherit;background:0 0;border-radius:4px;padding:.26rem .4rem;font-size:.8rem}.mt-remove{color:#dc2626;cursor:pointer;background:0 0;border:0;font-size:1.05rem}.mt-add-leg{border:1px dashed var(--border,#e2e8f0);color:#64748b;cursor:pointer;background:0 0;border-radius:6px;margin-top:.45rem;padding:.28rem .75rem;font-size:.8rem}.mt-error{color:#dc2626;margin-top:.75rem;font-size:.83rem}.mt-actions{justify-content:flex-end;gap:8px;margin-top:1rem;display:flex}.mt-cancel{border:1px solid var(--border,#e2e8f0);color:inherit;cursor:pointer;background:#fff;border-radius:6px;padding:.4rem .95rem}.tag-modal{border-radius:8px;width:min(420px,100vw - 16px);max-height:min(72vh,560px);padding:.6rem;overflow-y:auto}.tag-editor-popup-native{z-index:1300;position:fixed}.tag-editor-popup-native .tag-modal{border:1px solid var(--border,#e2e8f0);margin:0;box-shadow:0 10px 20px #02061733}.tag-chips{flex-wrap:wrap;gap:.25rem;min-height:26px;margin-bottom:8px;display:flex}.tag-chip{align-items:center;gap:4px;display:inline-flex}.tag-chip.just-added{animation:.85s ease-out tag-chip-flash}.tag-chip-remove{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;line-height:1}.tag-empty{color:#64748b;font-size:.8rem}.tag-input-row{gap:6px;display:flex}.tag-input-row input{border:1px solid var(--border,#e2e8f0);color:inherit;background:0 0;border-radius:4px;flex:1;padding:.25rem .4rem;font-size:.8rem}.tag-input-row button{border:1px solid var(--border,#e2e8f0);color:inherit;cursor:pointer;background:0 0;border-radius:4px;padding:.25rem .5rem;font-size:.8rem}.tag-suggestions-box{border:1px solid var(--border,#e2e8f0);border-radius:8px;flex-wrap:wrap;gap:6px;max-height:150px;margin-top:6px;padding:8px;display:flex;overflow-y:auto}.tag-suggestion-item{color:#274067;cursor:pointer;text-align:center;background:#eef4ff;border:1px solid #c7d6ef;border-radius:999px;align-items:center;width:auto;padding:.22rem .58rem;font-size:.77rem;line-height:1.2;display:inline-flex}.tag-suggestion-item:hover{background:#e2ecff;border-color:#9eb7df}.tag-suggestion-item.just-added{animation:.8s ease-out tag-suggestion-flash}@keyframes tag-chip-flash{0%{transform:translateY(-1px)scale(1.03);box-shadow:0 0 0 2px #4097ff59}to{box-shadow:none;transform:translateY(0)scale(1)}}@keyframes tag-suggestion-flash{0%{filter:saturate(1.25);transform:scale(.98)}to{filter:saturate();transform:scale(1)}}html[data-theme=dark] .mt-modal{background:#111827;border:1px solid #2f3f57}html[data-theme=dark] .mt-grid span,html[data-theme=dark] .mt-hint{color:#94a3b8}html[data-theme=dark] .mt-grid input,html[data-theme=dark] .mt-grid select,html[data-theme=dark] .mt-legs-table input,html[data-theme=dark] .mt-legs-table select,html[data-theme=dark] .mt-segment button,html[data-theme=dark] .mt-cancel,html[data-theme=dark] .mt-close,html[data-theme=dark] .tag-input-row input,html[data-theme=dark] .tag-input-row button{background:#0b1220;border-color:#2f3f57}html[data-theme=dark] .tag-edit-btn{color:#cbd5e1;background:#1e293b}html[data-theme=dark] .trades-add-btn{color:#dbe7ff;background:#94a3b829;border-color:#3b4a63}html[data-theme=dark] .trades-add-btn:hover{background:#94a3b83d;border-color:#4e6185}html[data-theme=dark] .inline-spinner{border-color:#e2e8f0f2 #94a3b859 #94a3b859}html[data-theme=dark] .mt-segment button.active{background:var(--primary,#2563eb)}html[data-theme=dark] .mt-presets button,html[data-theme=dark] .mt-add-leg{color:#cbd5e1;background:#0b1220;border-color:#2f3f57}html[data-theme=dark] .tag-empty{color:#b7c6df}html[data-theme=dark] .tag-suggestions-box{background:#090f1ca8;border-color:#3b4f75}html[data-theme=dark] .tag-suggestion-item{color:#dce8ff;background:#1e2e4ae6;border-color:#4b628f}html[data-theme=dark] .tag-suggestion-item:hover{background:#344a72eb;border-color:#5f7db1}html[data-theme=dark] .tag-editor-popup-native .tag-modal{color:#e6eeff;background:#0b1220fa;border-color:#3b4f75;box-shadow:0 14px 30px #0206178c}html[data-theme=dark] .tag-editor-popup-native .tag-modal h3{color:#eaf1ff}html[data-theme=dark] .tag-editor-popup-native .tag-modal .mt-close{color:#cbd9f4;background:#142239e6;border-color:#3b4f75}html[data-theme=dark] .tag-editor-popup-native .tag-modal .mt-close:hover{background:#1e304ef2}html[data-theme=dark] .tag-editor-popup-native .tag-modal .tag-input-row input::placeholder{color:#8ea1c3}html[data-theme=dark] .tag-editor-popup-native .tag-modal .tag-input-row button{color:#dce8ff;background:#15233af2;border-color:#3b4f75}html[data-theme=dark] .tag-editor-popup-native .tag-modal .tag-input-row button:hover{background:#213454f2}html[data-theme=dark] .tag-editor-popup-native .tag-modal .mt-cancel{color:#d2def6;background:#142239e6;border-color:#3b4f75}html[data-theme=dark] .tag-editor-popup-native .tag-modal .mt-cancel:hover{background:#1f314ff0}html[data-theme=dark] .tag-editor-popup-native .tag-modal .mt-save{color:#f2f7ff;background:#315fa3;border-color:#3f74c4}html[data-theme=dark] .tag-editor-popup-native .tag-modal .mt-save:hover{background:#3b70bf}html[data-theme=dark] .mt-legs-table th,html[data-theme=dark] .mt-legs-table td{border-bottom-color:#2f3f57}.trade-detail-page{--td-accent:#8b5cf6;--td-accent-soft:#f5f3ff;--td-accent-border:#c4b5fd}.trade-detail-page .native-card h3{margin:0 0 .85rem}.td-head-row{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}.td-back-link{color:var(--td-accent);font-weight:500;text-decoration:none}.td-title{text-align:center;flex:1}.td-title h2{flex-wrap:wrap;align-items:center;gap:.45rem;margin:0;font-size:1.5rem;display:inline-flex}.td-sep{color:#94a3b8;font-size:.9rem;font-weight:400}.td-strategy-select{border:1px solid var(--border,#e2e8f0);background:var(--td-accent-soft);color:inherit;border-radius:6px;padding:.3rem .5rem;font-size:.85rem}.td-subtitle{color:#64748b;margin-top:.25rem;font-size:.9rem}.td-head-spacer{min-width:80px}.td-kpi-row{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.td-kpi{border:1px solid var(--border,#e2e8f0);text-align:center;background:#f8fafc;border-radius:10px;padding:.6rem .75rem}.td-kpi .label{color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.15rem;font-size:.7rem}.td-kpi .value{font-size:1rem;font-weight:600}.td-kpi .value.pos{color:#16a34a}.td-kpi .value.neg{color:#dc2626}.td-badges{flex-wrap:wrap;gap:.5rem;display:flex}.td-warning{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:10px;margin-bottom:1rem;padding:.85rem 1.1rem;font-size:.88rem}.td-open-close{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.td-field{margin-top:.85rem}.td-field label{margin-bottom:.3rem;font-size:.85rem;font-weight:600;display:block}.td-field textarea,.td-field input[type=url]{border:1px solid var(--border,#e2e8f0);resize:vertical;border-radius:8px;width:100%;padding:.5rem .65rem;font-family:inherit;font-size:.9rem}.td-sentiment{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.td-sentiment .smiley{text-align:center;min-width:32px;font-size:1.6rem;line-height:1}.td-sentiment input[type=range]{min-width:120px;max-width:300px;accent-color:var(--td-accent);flex:1}.td-sentiment .label{color:#64748b;min-width:95px;font-size:.8rem}.td-notes-grid{gap:.8rem;display:grid}.td-emotions{flex-wrap:wrap;gap:.4rem;display:flex}.td-emotion-bubble{cursor:pointer;-webkit-user-select:none;user-select:none;color:#64748b;background:#fff;border:2px solid #cbd5e1;border-radius:20px;padding:.3rem .7rem;font-size:.8rem;font-weight:500;transition:all .15s}.td-emotion-bubble:hover{border-color:var(--td-accent-border);color:#6d28d9;background:var(--td-accent-soft)}.td-emotion-bubble.active{border-color:var(--td-accent);background:var(--td-accent-soft);color:#5b21b6;font-weight:600}.td-pill-wrap{flex-wrap:wrap;gap:.4rem;display:flex}.td-error-pill{border:1px solid var(--td-accent-border);cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--td-accent-soft);color:#6d28d9;border-radius:999px;padding:.28rem .62rem;font-size:.78rem;transition:all .15s}.td-error-pill:hover{background:#ede9fe;border-color:#a78bfa}.td-error-pill.active{background:var(--td-accent);color:#fff;border-color:var(--td-accent);font-weight:600}.td-pill-empty{color:#94a3b8;font-size:.78rem;font-style:italic}.td-rules{flex-direction:column;gap:.6rem;display:flex}.td-rule-row{align-items:center;gap:.5rem;display:flex}.td-rule-row input[type=checkbox]{accent-color:var(--td-accent)}.td-rule-row input[type=number]{border:1px solid var(--border,#e2e8f0);border-radius:6px;width:70px;padding:.25rem .4rem;font-size:.85rem}.td-rule-row .unit{color:#64748b;font-size:.8rem}.td-close-radios{flex-direction:column;gap:.5rem;display:flex}.td-close-radios label{cursor:pointer;align-items:center;gap:.4rem;font-size:.9rem;font-weight:500;display:flex}.td-close-radios input[type=radio]{accent-color:var(--td-accent)}.td-link-row{align-items:center;gap:.5rem;display:flex}.td-merge-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.td-merge-label{color:#64748b;font-size:.85rem}.td-merge-input{border:1px solid var(--border,#e2e8f0);width:220px;color:inherit;background:#fff;border-radius:8px;padding:.4rem .6rem;font-size:.9rem}.td-merge-btn{border:1px solid var(--border,#e2e8f0);cursor:pointer;background:#f1f5f9;border-radius:8px;padding:.45rem 1rem;font-size:.85rem;font-weight:500}.td-merge-status{color:#64748b;font-size:.85rem}.td-merge-status.ok{color:#22c55e}.td-merge-status.err{color:#ef4444}.td-link-btn{border:1px solid var(--border,#e2e8f0);background:var(--td-accent-soft);cursor:pointer;white-space:nowrap;border-radius:8px;padding:.5rem .85rem;font-size:.85rem}.td-drop-zone{border:2px dashed var(--border,#e2e8f0);text-align:center;color:#94a3b8;cursor:pointer;border-radius:10px;margin-top:.4rem;padding:1.1rem;transition:all .2s}.td-drop-zone:hover,.td-drop-zone.drag-over{border-color:var(--td-accent);color:var(--td-accent);background:var(--td-accent-soft)}.td-drop-hint{margin-bottom:.5rem}.td-screenshot-preview{border-radius:8px;max-width:100%;max-height:350px}.td-section-save-hint{color:#64748b;text-align:right;justify-content:flex-end;align-items:center;gap:.45rem;min-height:1rem;margin-top:.35rem;font-size:.82rem;display:flex}.td-section-save-hint.is-saved{color:#16a34a}.td-section-save-hint.is-error{color:#dc2626}.td-save-retry-btn{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:6px;padding:.15rem .45rem;font-size:.74rem}.td-save-retry-btn:hover{background:#fef2f2}.td-comp-wrap{align-items:center;gap:1rem;display:flex}.td-comp-title{color:#64748b;margin-bottom:.5rem;font-size:.85rem}.td-comp-bar{background:#e2e8f0;border-radius:6px;flex:1;height:18px;overflow:hidden}.td-comp-fill{border-radius:6px;height:100%}.td-comp-pct{text-align:right;min-width:55px;font-size:1.1rem;font-weight:700}.td-comp-rules{flex-wrap:wrap;gap:.75rem;margin-top:.75rem;display:flex}.td-comp-rule{font-size:.85rem}.td-adjustments{gap:.8rem;display:grid}.td-timeline{padding-left:1.3rem;position:relative}.td-timeline:before{content:"";background:var(--border,#e2e8f0);width:2px;position:absolute;top:0;bottom:0;left:6px}.adj{border:1px solid var(--border,#e2e8f0);border-radius:8px;padding:.6rem .75rem;position:relative}.td-dot{border:2px solid var(--td-accent);z-index:1;background:#fff;border-radius:50%;width:12px;height:12px;position:absolute;top:.65rem;left:-1.05rem}.adj-head{font-size:.86rem;font-weight:600}.adj-sub{color:#64748b;margin-top:.2rem;font-size:.8rem}.adj-legs{margin-top:.35rem;font-size:.82rem}@media (width<=920px){.td-open-close{grid-template-columns:1fr}}html[data-theme=dark] .td-subtitle,html[data-theme=dark] .adj-sub,html[data-theme=dark] .td-sentiment .label,html[data-theme=dark] .td-section-save-hint,html[data-theme=dark] .td-rule-row .unit,html[data-theme=dark] .td-merge-label,html[data-theme=dark] .td-comp-title{color:#94a3b8}html[data-theme=dark] .td-section-save-hint.is-saved{color:#4ade80}html[data-theme=dark] .td-section-save-hint.is-error{color:#fca5a5}html[data-theme=dark] .td-save-retry-btn{color:#fecaca;background:#111827;border-color:#7f1d1d}html[data-theme=dark] .td-save-retry-btn:hover{background:#1f2937}html[data-theme=dark] .td-kpi,html[data-theme=dark] .adj{background:#0b1220;border-color:#2f3f57}html[data-theme=dark] .td-emotion-bubble{color:#cbd5e1;background:#0b1220;border-color:#2f3f57}html[data-theme=dark] .td-emotion-bubble:hover{color:#ddd6fe;background:#8b5cf633;border-color:#a78bfa}html[data-theme=dark] .td-emotion-bubble.active{color:#e9d5ff;background:#8b5cf63d}html[data-theme=dark] .td-strategy-select,html[data-theme=dark] .td-field textarea,html[data-theme=dark] .td-field input[type=url],html[data-theme=dark] .td-link-btn,html[data-theme=dark] .td-rule-row input[type=number],html[data-theme=dark] .td-merge-input,html[data-theme=dark] .td-merge-btn{color:#e2e8f0;background:#0f1224;border-color:#2f3f57}html[data-theme=dark] .td-drop-zone{color:#cbd5e1;background:#0b1220;border-color:#2f3f57}html[data-theme=dark] .td-drop-zone:hover,html[data-theme=dark] .td-drop-zone.drag-over{background:#111827}html[data-theme=dark] .td-error-pill{color:#ddd6fe;background:#8b5cf633;border-color:#6d28d9}html[data-theme=dark] .td-error-pill.active{color:#fff;background:#7c3aed;border-color:#7c3aed}html[data-theme=dark] .td-warning{color:#fcd34d;background:#f59e0b26;border-color:#92400e}html[data-theme=dark] .td-comp-bar{background:#334155}html[data-theme=dark] .td-timeline:before{background:#2f3f57}html[data-theme=dark] .td-dot{background:#0f1224;border-color:#a78bfa}.settings-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.settings-section+.settings-section{margin-top:24px}.settings-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px}.settings-title{text-align:center;color:#cfd8f6;margin:0;font-size:1.6rem;font-weight:600}.settings-subtitle{text-align:center;color:#9aa6c4;margin:8px 0 0;font-size:.9rem}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;display:grid}@media (width>=1380px){.settings-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.settings-card{background:linear-gradient(#141e3624,#0e16280f);border:1px solid #50669652;border-radius:12px;min-width:0;padding:20px;box-shadow:inset 0 0 0 1px #6278ac14}.settings-card-span-2{grid-column:span 2}.settings-card h3{color:#d9e3ff;margin:0 0 12px;font-size:1rem;font-weight:600}.settings-card label{color:#9aa6c4;margin:10px 0 6px;font-size:.8rem;display:block}.settings-help-text{color:#9aa6c4;margin:0 0 10px;font-size:.82rem;line-height:1.45}.settings-card select,.settings-card input{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;width:100%;padding:9px 10px;font-size:.9rem}.settings-separator{border-top:1px solid #4f628f73;margin:12px 0 10px}.settings-inline-toggle{align-items:center;gap:8px;margin-top:2px;display:inline-flex}.settings-inline-toggle input[type=checkbox]{width:16px;height:16px}.settings-inline-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settings-inline-row button{color:#dcd5ff;cursor:pointer;white-space:nowrap;background:#6a52d62e;border:1px solid #7a65f28c;border-radius:8px;padding:9px 12px;font-size:.84rem}.settings-inline-row button:disabled{opacity:.55;cursor:default}.settings-inline-note{color:#d2dbf8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.84rem}.settings-inline-note.ok{color:#9ee7c7}.settings-masked-key{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;width:100%;padding:9px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.9rem}.settings-checkbox-list{background:#0e162880;border:1px solid #4f628fb8;border-radius:8px;gap:6px;min-height:42px;margin-top:10px;padding:8px 10px;display:grid}.settings-checkbox-item{color:#dbe5ff;align-items:center;gap:8px;font-size:.88rem;display:inline-flex}.settings-card-wide{grid-column:1/-1}.settings-sync-grid{color:#d2dbf8;background:#0e162873;border:1px solid #4f628f7a;border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:6px 14px;margin-top:12px;padding:10px 12px;font-size:.84rem;display:grid}.settings-sync-error{color:#f5b8c0;white-space:pre-wrap;background:#561e283d;border:1px solid #b2556680;border-radius:8px;margin-top:8px;padding:8px 10px;font-size:.82rem}@media (width<=920px){.settings-card-span-2{grid-column:auto}}.settings-status{color:#f5b8c0;text-align:center;background:#561e283d;border:1px solid #b2556680;border-radius:10px;padding:10px 12px;font-size:.84rem}.settings-status.ok{color:#9ee7c7;background:#184c3842;border-color:#41977473}html[data-theme=light] .settings-page,.spa-shell.theme-light .settings-page{color:#1f2f4d}html[data-theme=light] .settings-section,.spa-shell.theme-light .settings-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .settings-title,.spa-shell.theme-light .settings-title{color:#304362}html[data-theme=light] .settings-subtitle,html[data-theme=light] .settings-card label,.spa-shell.theme-light .settings-subtitle,.spa-shell.theme-light .settings-card label,html[data-theme=light] .settings-help-text,.spa-shell.theme-light .settings-help-text{color:#5f7091}html[data-theme=light] .settings-card,.spa-shell.theme-light .settings-card{background:linear-gradient(#f8fbff66,#f0f5ff38);border-color:#d5dff1;box-shadow:inset 0 0 0 1px #c3d2ec33}html[data-theme=light] .settings-card h3,.spa-shell.theme-light .settings-card h3{color:#2c3f5d}html[data-theme=light] .settings-card select,html[data-theme=light] .settings-card input,.spa-shell.theme-light .settings-card select,.spa-shell.theme-light .settings-card input,html[data-theme=light] .settings-masked-key,.spa-shell.theme-light .settings-masked-key{color:#243756;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .settings-inline-note,.spa-shell.theme-light .settings-inline-note{color:#34435f}html[data-theme=light] .settings-separator,.spa-shell.theme-light .settings-separator{border-top-color:#d5dff1}html[data-theme=light] .settings-inline-note.ok,.spa-shell.theme-light .settings-inline-note.ok{color:#1f7c56}html[data-theme=light] .settings-checkbox-list,.spa-shell.theme-light .settings-checkbox-list{background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .settings-checkbox-item,.spa-shell.theme-light .settings-checkbox-item{color:#243756}html[data-theme=light] .settings-sync-grid,.spa-shell.theme-light .settings-sync-grid{color:#253a5a;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .settings-sync-error,.spa-shell.theme-light .settings-sync-error{color:#9e3b4b;background:#fff2f4;border-color:#e3bac1}html[data-theme=light] .settings-inline-row button,.spa-shell.theme-light .settings-inline-row button{color:#4e448f;background:#efecff;border-color:#c5c0ea}html[data-theme=light] .settings-status,.spa-shell.theme-light .settings-status{color:#9e3b4b;background:#fff2f4;border-color:#e3bac1}html[data-theme=light] .settings-status.ok,.spa-shell.theme-light .settings-status.ok{color:#1f7c56;background:#ebfff6;border-color:#addac7}.import-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.import-section+.import-section{margin-top:24px}.import-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px}.import-title{text-align:center;color:#cfd8f6;margin:0;font-size:1.6rem;font-weight:600}.import-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.import-grid-top{grid-template-columns:repeat(2,minmax(0,1fr))}.import-card{background:linear-gradient(#141e3624,#0e16280f);border:1px solid #50669652;border-radius:12px;min-width:0;padding:20px;overflow:visible;box-shadow:inset 0 0 0 1px #6278ac14}.import-card-wide{grid-column:1/-1}.import-card h3{color:#d9e3ff;margin:0 0 10px;font-size:1rem}.import-note{color:#9aa6c4;margin:8px 0 10px;font-size:.84rem}.import-card input,.import-card select{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;width:100%;padding:8px 10px;font-size:.88rem}.import-inline{grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;display:grid}.import-inline label{color:#9aa6c4;gap:6px;min-width:0;font-size:.78rem;display:grid}.import-inline label.full{grid-column:1/-1}.import-inline input,.import-inline select{min-width:0}.import-actions{flex-wrap:wrap;gap:10px;margin-top:10px;display:flex}.import-actions button{color:#dcd5ff;cursor:pointer;background:#6a52d62e;border:1px solid #7a65f28c;border-radius:8px;padding:8px 11px;font-size:.84rem}.import-actions button:disabled{opacity:.55;cursor:default}.preview-table-wrap{margin-top:10px;overflow-x:auto}.preview-table{border-collapse:collapse;width:100%;font-size:.78rem}.preview-table th,.preview-table td{white-space:nowrap;text-align:left;border-bottom:1px solid #4f628f73;padding:6px 8px}.preview-table th{color:#cfd8f6}.import-error{color:#f3a1a1;margin-top:10px;font-size:.8rem}.import-help-details{background:#0e16288c;border:1px solid #4f628f8c;border-radius:8px;margin-top:12px}.import-help-details summary{cursor:pointer;color:#d2dbf8;padding:8px 10px;font-size:.84rem;font-weight:600}.import-help-content{color:#9aa6c4;padding:0 10px 10px;font-size:.8rem;line-height:1.45}.import-help-content p{margin:6px 0 0}.import-status{color:#9ee7c7;text-align:center;background:#184c3842;border:1px solid #41977473;border-radius:10px;padding:10px 12px;font-size:.84rem}.import-status.error{color:#f5b8c0;background:#561e283d;border-color:#b2556680}@media (width<=1000px){.import-grid,.import-grid-top,.import-inline{grid-template-columns:1fr}}html[data-theme=light] .import-page,.spa-shell.theme-light .import-page{color:#1f2f4d}html[data-theme=light] .import-section,.spa-shell.theme-light .import-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .import-title,html[data-theme=light] .import-card h3,.spa-shell.theme-light .import-title,.spa-shell.theme-light .import-card h3{color:#304362}html[data-theme=light] .import-note,html[data-theme=light] .import-inline label,.spa-shell.theme-light .import-note,.spa-shell.theme-light .import-inline label{color:#5f7091}html[data-theme=light] .import-card,.spa-shell.theme-light .import-card{background:linear-gradient(#f8fbff66,#f0f5ff38);border-color:#d5dff1;box-shadow:inset 0 0 0 1px #c3d2ec33}html[data-theme=light] .import-card input,html[data-theme=light] .import-card select,.spa-shell.theme-light .import-card input,.spa-shell.theme-light .import-card select{color:#243756;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .import-actions button,.spa-shell.theme-light .import-actions button{color:#4e448f;background:#efecff;border-color:#c5c0ea}html[data-theme=light] .import-help-details,.spa-shell.theme-light .import-help-details{background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .import-help-details summary,.spa-shell.theme-light .import-help-details summary{color:#34435f}html[data-theme=light] .import-help-content,.spa-shell.theme-light .import-help-content{color:#5f7091}html[data-theme=light] .preview-table th,.spa-shell.theme-light .preview-table th{color:#2c3f5d}html[data-theme=light] .preview-table th,html[data-theme=light] .preview-table td,.spa-shell.theme-light .preview-table th,.spa-shell.theme-light .preview-table td{border-bottom-color:#d5dff1}html[data-theme=light] .import-status,.spa-shell.theme-light .import-status{color:#1f7c56;background:#ebfff6;border-color:#addac7}html[data-theme=light] .import-status.error,.spa-shell.theme-light .import-status.error{color:#9e3b4b;background:#fff2f4;border-color:#e3bac1}.strategies-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.strategies-section+.strategies-section{margin-top:24px}.strategies-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px}.strategies-title{text-align:center;color:#cfd8f6;margin:0 0 14px;font-size:1.6rem;font-weight:600}.strategies-subtitle{color:#d9e3ff;margin:0 0 10px;font-size:1rem;font-weight:600}.strategies-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.strategies-toolbar label{color:#9aa6c4;font-size:.82rem;font-weight:600}.strategies-toolbar select,.strategies-toolbar button,.strategies-filter-row input,.strategies-section textarea,.strategies-rules-row input[type=number],.strategies-custom-rules input[type=text],.strategies-rules-row input[type=text]{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px}.strategies-toolbar select{min-width:260px;padding:8px 10px;font-size:.88rem}.strategies-toolbar button{cursor:pointer;padding:8px 11px;font-size:.82rem}.strategies-toolbar button.danger{color:#f5b8c0}.strategies-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;display:grid}.strategies-kpi-card{text-align:center;background:linear-gradient(#141e3624,#0e16280f);border:1px solid #50669652;border-radius:12px;min-width:0;padding:18px;box-shadow:inset 0 0 0 1px #6278ac14}.strategies-kpi-value{font-variant-numeric:tabular-nums;color:#e6ecff;white-space:nowrap;font-size:clamp(1.05rem,.85vw + .62rem,1.75rem);font-weight:700}.strategies-kpi-value.pos{color:#7dd3a4}.strategies-kpi-value.neg{color:#f3a1a1}.strategies-kpi-label{color:#9aa6c4;margin-top:6px;font-size:.82rem}.strategies-inline-stats{color:#9aa6c4;margin-top:10px;font-size:.84rem}.strategies-inline-stats .win{color:#7dd3a4;font-weight:600}.strategies-inline-stats .loss{color:#f3a1a1;font-weight:600}.strategies-section textarea{resize:vertical;box-sizing:border-box;width:100%;min-height:88px;padding:10px 12px;font-size:.9rem}.strategies-rules-row{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:10px;display:grid}.strategies-rules-row label{color:#9aa6c4;gap:6px;font-size:.8rem;display:grid}.strategies-rule-check{align-items:center;gap:8px;padding-top:18px;display:inline-flex!important}.strategies-rule-check input[type=checkbox]{width:16px;height:16px}.strategies-rules-row input[type=number]{padding:8px 10px;font-size:.85rem}.strategies-custom-rules{margin-top:12px}.strategies-custom-rules .head{color:#9aa6c4;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.82rem;font-weight:600;display:flex}.strategies-custom-rules .head button,.strategies-custom-rules .row .remove{color:#dcd5ff;cursor:pointer;background:#6a52d62e;border:1px solid #7a65f28c;border-radius:8px;padding:6px 9px;font-size:.78rem}.strategies-custom-rules .row{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-bottom:8px;display:grid}.strategies-custom-rules input[type=text]{padding:8px 10px;font-size:.84rem}.strategies-custom-rules .empty{color:#9aa6c4;font-size:.82rem}.strategies-filter-row{justify-content:flex-end;margin-bottom:8px;display:flex}.strategies-filter-row input{width:220px;padding:7px 9px;font-size:.84rem}.strategies-table-wrap{overflow-x:auto}.strategies-table{border-collapse:collapse;width:100%;font-size:.84rem}.strategies-table th,.strategies-table td{white-space:nowrap;border-bottom:1px solid #4f628f73;padding:8px 10px}.strategies-table th{color:#cfd8f6;text-align:left}.strategies-table .num{text-align:right;font-variant-numeric:tabular-nums}.strategies-table a{color:#8eb2ff;font-weight:600;text-decoration:none}.strat-badge{border-radius:999px;justify-content:center;align-items:center;padding:.12rem .52rem;font-size:.72rem;font-weight:700;line-height:1.2;display:inline-flex}.strat-badge.badge-stock{color:#9bc0ff;background:#2563eb29;border:1px solid #2563eb59}.strat-badge.badge-option{color:#d8b4fe;background:#9333ea2e;border:1px solid #9333ea61}.strat-badge.badge-open{color:#86efac;background:#16a34a29;border:1px solid #16a34a59}.strat-badge.badge-closed{color:#fecaca;background:#ef444429;border:1px solid #ef444459}.strategies-table td.pos{color:#7dd3a4}.strategies-table td.neg{color:#f3a1a1}.strategies-table .empty{text-align:center;color:#9aa6c4}.strategies-status{color:#9ee7c7;text-align:center;background:#184c3842;border:1px solid #41977473;border-radius:10px;padding:10px 12px;font-size:.84rem}.strategies-status.error{color:#f5b8c0;background:#561e283d;border-color:#b2556680}@media (width<=1280px){.strategies-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.strategies-kpi-grid{grid-template-columns:1fr}}html[data-theme=light] .strategies-page,.spa-shell.theme-light .strategies-page{color:#1f2f4d}html[data-theme=light] .strategies-section,.spa-shell.theme-light .strategies-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .strategies-title,html[data-theme=light] .strategies-subtitle,.spa-shell.theme-light .strategies-title,.spa-shell.theme-light .strategies-subtitle{color:#304362}html[data-theme=light] .strategies-toolbar label,html[data-theme=light] .strategies-kpi-label,html[data-theme=light] .strategies-inline-stats,html[data-theme=light] .strategies-rules-row label,html[data-theme=light] .strategies-custom-rules .head,html[data-theme=light] .strategies-custom-rules .empty,html[data-theme=light] .strategies-table .empty,.spa-shell.theme-light .strategies-toolbar label,.spa-shell.theme-light .strategies-kpi-label,.spa-shell.theme-light .strategies-inline-stats,.spa-shell.theme-light .strategies-rules-row label,.spa-shell.theme-light .strategies-custom-rules .head,.spa-shell.theme-light .strategies-custom-rules .empty,.spa-shell.theme-light .strategies-table .empty{color:#5f7091}html[data-theme=light] .strategies-inline-stats .win,.spa-shell.theme-light .strategies-inline-stats .win{color:#158a5c}html[data-theme=light] .strategies-inline-stats .loss,.spa-shell.theme-light .strategies-inline-stats .loss{color:#c44152}html[data-theme=light] .strategies-kpi-card,.spa-shell.theme-light .strategies-kpi-card{background:linear-gradient(#f8fbff66,#f0f5ff38);border-color:#d5dff1;box-shadow:inset 0 0 0 1px #c3d2ec33}html[data-theme=light] .strategies-toolbar select,html[data-theme=light] .strategies-toolbar button,html[data-theme=light] .strategies-filter-row input,html[data-theme=light] .strategies-section textarea,html[data-theme=light] .strategies-rules-row input[type=number],html[data-theme=light] .strategies-custom-rules input[type=text],.spa-shell.theme-light .strategies-toolbar select,.spa-shell.theme-light .strategies-toolbar button,.spa-shell.theme-light .strategies-filter-row input,.spa-shell.theme-light .strategies-section textarea,.spa-shell.theme-light .strategies-rules-row input[type=number],.spa-shell.theme-light .strategies-custom-rules input[type=text]{color:#243756;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .strategies-custom-rules .head button,html[data-theme=light] .strategies-custom-rules .row .remove,.spa-shell.theme-light .strategies-custom-rules .head button,.spa-shell.theme-light .strategies-custom-rules .row .remove{color:#4e448f;background:#efecff;border-color:#c5c0ea}html[data-theme=light] .strategies-table th,.spa-shell.theme-light .strategies-table th{color:#2c3f5d}html[data-theme=light] .strat-badge.badge-stock,.spa-shell.theme-light .strat-badge.badge-stock{color:#1d4ed8;background:#2563eb1f}html[data-theme=light] .strat-badge.badge-option,.spa-shell.theme-light .strat-badge.badge-option{color:#7e22ce;background:#9333ea1f}html[data-theme=light] .strat-badge.badge-open,.spa-shell.theme-light .strat-badge.badge-open{color:#15803d;background:#16a34a1f}html[data-theme=light] .strat-badge.badge-closed,.spa-shell.theme-light .strat-badge.badge-closed{color:#b91c1c;background:#ef44441f}html[data-theme=light] .strategies-table td.pos,.spa-shell.theme-light .strategies-table td.pos{color:#158a5c}html[data-theme=light] .strategies-table td.neg,.spa-shell.theme-light .strategies-table td.neg{color:#c44152}html[data-theme=light] .strategies-table th,html[data-theme=light] .strategies-table td,.spa-shell.theme-light .strategies-table th,.spa-shell.theme-light .strategies-table td{border-bottom-color:#d5dff1}html[data-theme=light] .strategies-status,.spa-shell.theme-light .strategies-status{color:#1f7c56;background:#ebfff6;border-color:#addac7}html[data-theme=light] .strategies-status.error,.spa-shell.theme-light .strategies-status.error{color:#9e3b4b;background:#fff2f4;border-color:#e3bac1}.errors-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.errors-section+.errors-section{margin-top:24px}.errors-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px}.errors-title{text-align:center;color:#cfd8f6;margin:0 0 14px;font-size:1.6rem;font-weight:600}.errors-subtitle{color:#d9e3ff;margin:0 0 10px;font-size:1rem;font-weight:600}.errors-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.errors-toolbar label{color:#9aa6c4;font-size:.82rem;font-weight:600}.errors-toolbar select,.errors-toolbar button,.errors-filter-row input,.errors-section textarea{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px}.errors-toolbar select{min-width:260px;padding:8px 10px;font-size:.88rem}.errors-toolbar button{cursor:pointer;padding:8px 11px;font-size:.82rem}.errors-toolbar button.danger{color:#f5b8c0}.errors-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.errors-kpi-card{text-align:center;background:linear-gradient(#141e3624,#0e16280f);border:1px solid #50669652;border-radius:12px;padding:18px;box-shadow:inset 0 0 0 1px #6278ac14}.errors-kpi-value{font-variant-numeric:tabular-nums;color:#e6ecff;font-size:clamp(1.05rem,.85vw + .62rem,1.75rem);font-weight:700}.errors-kpi-value.pos{color:#7dd3a4}.errors-kpi-value.neg{color:#f3a1a1}.errors-kpi-label{color:#9aa6c4;margin-top:6px;font-size:.82rem}.errors-section textarea{resize:vertical;box-sizing:border-box;width:100%;min-height:96px;padding:10px 12px;font-size:.9rem}.errors-filter-row{justify-content:flex-end;margin-bottom:8px;display:flex}.errors-filter-row input{width:220px;padding:7px 9px;font-size:.84rem}.errors-table-wrap{overflow-x:auto}.errors-table{border-collapse:collapse;width:100%;font-size:.84rem}.errors-table th,.errors-table td{white-space:nowrap;border-bottom:1px solid #4f628f73;padding:8px 10px}.errors-table th{color:#cfd8f6;text-align:left}.errors-table .num{text-align:right;font-variant-numeric:tabular-nums}.errors-table a{color:#8eb2ff;font-weight:600;text-decoration:none}.phase-badge{border-radius:999px;justify-content:center;align-items:center;padding:.12rem .52rem;font-size:.72rem;font-weight:700;line-height:1.2;display:inline-flex}.phase-badge.entry{color:#9bc0ff;background:#2563eb29;border:1px solid #2563eb59}.phase-badge.exit{color:#f5b8c0;background:#ef444429;border:1px solid #ef444459}.errors-table .empty{text-align:center;color:#9aa6c4}.errors-status{color:#9ee7c7;text-align:center;background:#184c3842;border:1px solid #41977473;border-radius:10px;padding:10px 12px;font-size:.84rem}.errors-status.error{color:#f5b8c0;background:#561e283d;border-color:#b2556680}@media (width<=900px){.errors-kpi-grid{grid-template-columns:1fr}}html[data-theme=light] .errors-page,.spa-shell.theme-light .errors-page{color:#1f2f4d}html[data-theme=light] .errors-section,.spa-shell.theme-light .errors-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .errors-title,html[data-theme=light] .errors-subtitle,.spa-shell.theme-light .errors-title,.spa-shell.theme-light .errors-subtitle{color:#304362}html[data-theme=light] .errors-toolbar label,html[data-theme=light] .errors-kpi-label,html[data-theme=light] .errors-table .empty,.spa-shell.theme-light .errors-toolbar label,.spa-shell.theme-light .errors-kpi-label,.spa-shell.theme-light .errors-table .empty{color:#5f7091}html[data-theme=light] .errors-kpi-card,.spa-shell.theme-light .errors-kpi-card{background:linear-gradient(#f8fbff66,#f0f5ff38);border-color:#d5dff1;box-shadow:inset 0 0 0 1px #c3d2ec33}html[data-theme=light] .errors-toolbar select,html[data-theme=light] .errors-toolbar button,html[data-theme=light] .errors-filter-row input,html[data-theme=light] .errors-section textarea,.spa-shell.theme-light .errors-toolbar select,.spa-shell.theme-light .errors-toolbar button,.spa-shell.theme-light .errors-filter-row input,.spa-shell.theme-light .errors-section textarea{color:#243756;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .errors-table th,.spa-shell.theme-light .errors-table th{color:#2c3f5d}html[data-theme=light] .errors-table th,html[data-theme=light] .errors-table td,.spa-shell.theme-light .errors-table th,.spa-shell.theme-light .errors-table td{border-bottom-color:#d5dff1}html[data-theme=light] .errors-status,.spa-shell.theme-light .errors-status{color:#1f7c56;background:#ebfff6;border-color:#addac7}html[data-theme=light] .errors-status.error,.spa-shell.theme-light .errors-status.error{color:#9e3b4b;background:#fff2f4;border-color:#e3bac1}.calendar-page{color:#e6ecff;height:100%;padding:0 12px 12px;overflow-y:auto}.calendar-section+.calendar-section{margin-top:24px}.calendar-section{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121a2f4d;border:1px solid #3a4e7866;border-radius:14px;padding:20px}.calendar-head{justify-content:center;align-items:center;gap:12px;min-height:42px;margin-bottom:14px;display:flex;position:relative}.calendar-head-left{position:absolute;top:50%;left:0;transform:translateY(-50%)}.calendar-nav{align-items:center;gap:10px;display:inline-flex}.calendar-nav.center{justify-content:center}.calendar-nav h2{text-align:center;color:#cfd8f6;text-transform:capitalize;min-width:320px;margin:0;font-size:1.05rem}.calendar-head button{color:#e6ecff;cursor:pointer;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;padding:7px 10px}.calendar-actions{align-items:center;gap:8px;display:flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.view-toggle{border:1px solid #4f628fb8;border-radius:8px;display:inline-flex;overflow:hidden}.view-toggle button{border:0;border-right:1px solid #4f628fb8;border-radius:0;padding:7px 10px}.view-toggle button:last-child{border-right:0}.view-toggle button.active{color:#e6ecff;background:#7c5cff3d}.calendar-grid{background:#4f628f8c;border:1px solid #4f628f8c;border-radius:10px;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.calendar-grid.week .day{min-height:150px}.weekday{text-align:center;color:#9aa6c4;background:#141e36cc;padding:7px;font-size:.78rem;font-weight:600}.day{color:#e6ecff;text-align:left;cursor:pointer;background:#0e1628b8;border:0;min-height:92px;padding:7px}.day.empty{cursor:default;background:#0e162859}.day.selected{background:#7c5cff38}.day-num{margin-bottom:4px;font-size:.86rem;font-weight:700}.day-indicators{flex-wrap:wrap;gap:4px;display:flex}.day-indicators .ind{color:#bfdbfe;background:#3b82f62e;border-radius:999px;padding:1px 6px;font-size:.66rem;font-weight:600}.day-indicators .ind.pnl.pos{color:#86efac;background:#16a34a2e}.day-indicators .ind.pnl.neg{color:#fecaca;background:#ef444433}.day-indicators .ind.earn{color:#ddd6fe;background:#8b5cf633}.day-indicators .ind.err{color:#fecaca;background:#ef44443d}.day-indicators .ind.note{color:#cbd5e1;background:#94a3b833}.calendar-subtitle{color:#d9e3ff;margin:0 0 10px;font-size:1rem}.calendar-day-focus{grid-template-columns:1fr;display:grid}.calendar-refresh-link-wrap{justify-content:flex-end;margin-top:10px;display:flex}.calendar-refresh-link{font-size:.78rem;text-decoration:underline;color:#8eb2ff!important;background:0 0!important;border:0!important;padding:0!important}.day-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.day-kpis .kpi{text-align:center;background:#0e1628b8;border:1px solid #50669652;border-radius:10px;padding:12px}.day-kpis .v{font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:700}.day-kpis .v.pos{color:#7dd3a4}.day-kpis .v.neg{color:#f3a1a1}.day-kpis .l{color:#9aa6c4;margin-top:4px;font-size:.76rem}.day-sentiment-mini{margin-top:12px;display:flex}.day-snapshot-grid{grid-template-columns:360px minmax(0,1fr);gap:12px;margin-top:12px;display:grid}.day-health-block,.day-market-block{background:#0e1628b8;border:1px solid #50669652;border-radius:10px;padding:10px}.day-health-title{color:#9aa6c4;margin-bottom:8px;font-size:.78rem;font-weight:600}.day-health-title-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.day-health-title-row .day-health-title{margin-bottom:0}.health-source-badge{color:#9aa6c4;text-transform:uppercase;letter-spacing:.03em;border:1px solid #4f628f8c;border-radius:999px;padding:3px 8px;font-size:.68rem;line-height:1}.health-source-badge.live{color:#86efac;background:#16a34a24;border-color:#22c55e73}.health-source-badge.snapshot{color:#cbd5e1;background:#64748b24;border-color:#94a3b873}.day-health-gauges{grid-template-columns:1fr 1fr;gap:8px;display:grid}.day-health-gauge{text-align:center;background:#141e369e;border:1px solid #4f628f73;border-radius:10px;padding:8px;position:relative}.day-health-gauge .arc{background:conic-gradient(from 225deg,#dc2626 0deg,#ea580c 36deg,#d97706 72deg,#65a30d 126deg,#059669 180deg,#0000 180deg);border-radius:50%;width:120px;height:120px;margin:0 auto}.day-health-gauge .inner{background:#0e1628fa;border-radius:50%;width:86px;height:86px;margin-left:-43px;position:absolute;top:28px;left:50%}.day-health-gauge .needle{transform-origin:bottom;background:#e6ecff;width:2px;height:48px;margin-left:-1px;position:absolute;top:30px;left:50%}.day-health-gauge .dot{background:#e6ecff;border-radius:50%;width:7px;height:7px;margin-left:-3.5px;position:absolute;top:76px;left:50%}.day-health-gauge .pct{z-index:2;margin-top:-44px;font-size:.92rem;font-weight:700;position:relative}.day-health-gauge .pct.pos{color:#7dd3a4}.day-health-gauge .pct.warn{color:#f0c474}.day-health-gauge .pct.neg{color:#f3a1a1}.day-health-gauge .label{color:#9aa6c4;margin-top:26px;font-size:.72rem}.day-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.mk-card{background:#141e369e;border:1px solid #4f628f73;border-radius:10px;padding:9px 10px}.mk-v{color:#e6ecff;font-variant-numeric:tabular-nums;font-size:.95rem;font-weight:700}.mk-l{color:#9aa6c4;margin-top:2px;font-size:.72rem}.sentiment-sidebar{background:#0e1628b8;border:1px solid #50669652;border-radius:10px;gap:6px;padding:12px;display:grid}.sentiment-sidebar .smiley{font-size:2rem;line-height:1}.sentiment-sidebar .sentiment-meta{color:#9aa6c4;font-size:.8rem}.sentiment-sidebar input[type=range]{accent-color:#9199ab}.sentiment-sidebar.is-compact{background:#0e16288c;gap:4px;width:100%;max-width:280px;padding:8px 10px}.sentiment-sidebar.is-compact .smiley{font-size:1.25rem}.sentiment-sidebar.is-compact .sentiment-meta{font-size:.74rem}.calendar-journal-field{color:#9aa6c4;gap:6px;font-size:.8rem;display:grid}.calendar-journal textarea{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;min-height:112px;padding:8px 10px}.lists-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.lists-grid h4{color:#cfd8f6;margin:0 0 8px;font-size:.86rem}.lists-grid ul{margin:0;padding-left:16px}.lists-grid li{color:#9aa6c4;margin-bottom:5px;font-size:.8rem}.empty{color:#9aa6c4;text-align:center;font-size:.8rem}.trades-wrap{overflow-x:auto}.trades-table{border-collapse:collapse;width:100%;font-size:.84rem}.trades-table th,.trades-table td{white-space:nowrap;border-bottom:1px solid #4f628f73;padding:8px 10px}.trades-table th{color:#cfd8f6;text-align:left}.trades-table .num{text-align:right;font-variant-numeric:tabular-nums}.trades-table .pos{color:#7dd3a4}.trades-table .neg{color:#f3a1a1}.trades-table a{color:#8eb2ff;font-weight:600;text-decoration:none}.calendar-status{color:#9ee7c7;text-align:center;background:#184c3842;border:1px solid #41977473;border-radius:10px;padding:10px 12px;font-size:.84rem}.calendar-status.error{color:#f5b8c0;background:#561e283d;border-color:#b2556680}.event-modal-overlay{z-index:1200;background:#0f172a73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.event-modal{background:#0e1628fa;border:1px solid #50669673;border-radius:12px;width:min(560px,100vw - 2rem);padding:16px;box-shadow:0 18px 40px #02061747}.event-modal h3{color:#d9e3ff;margin:0 0 10px}.event-modal label{color:#9aa6c4;gap:6px;margin-bottom:8px;font-size:.8rem;display:grid}.event-modal input,.event-modal select{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;padding:8px 10px;font-size:.88rem}.event-modal-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.event-modal-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.event-modal-actions button{color:#e6ecff;background:#0e1628d9;border:1px solid #4f628fb8;border-radius:8px;padding:7px 10px}@media (width<=1100px){.calendar-head{flex-wrap:wrap;justify-content:space-between;min-height:auto}.calendar-head-left,.calendar-actions{position:static;transform:none}.calendar-nav h2{min-width:220px}.day-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.lists-grid,.day-snapshot-grid{grid-template-columns:1fr}.day-market-grid{grid-template-columns:1fr 1fr}}@media (width<=860px){.calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weekday{display:none}}html[data-theme=light] .calendar-page,.spa-shell.theme-light .calendar-page{color:#1f2f4d}html[data-theme=light] .calendar-section,.spa-shell.theme-light .calendar-section{background:#fcfdff85;border-color:#d5dff1}html[data-theme=light] .calendar-nav h2,html[data-theme=light] .calendar-subtitle,html[data-theme=light] .lists-grid h4,.spa-shell.theme-light .calendar-nav h2,.spa-shell.theme-light .calendar-subtitle,.spa-shell.theme-light .lists-grid h4{color:#304362}html[data-theme=light] .calendar-head button,html[data-theme=light] .calendar-journal textarea,.spa-shell.theme-light .calendar-head button,.spa-shell.theme-light .calendar-journal textarea{color:#243756;background:#f7f9ff;border-color:#cfd9ee}html[data-theme=light] .view-toggle,.spa-shell.theme-light .view-toggle{border-color:#cfd9ee}html[data-theme=light] .view-toggle button,.spa-shell.theme-light .view-toggle button{border-right-color:#cfd9ee}html[data-theme=light] .view-toggle button.active,.spa-shell.theme-light .view-toggle button.active{color:#4e448f;background:#efecff}html[data-theme=light] .calendar-grid,.spa-shell.theme-light .calendar-grid{background:#d5dff1;border-color:#d5dff1}html[data-theme=light] .weekday,.spa-shell.theme-light .weekday{color:#5f7091;background:#eff3fb}html[data-theme=light] .day,.spa-shell.theme-light .day{color:#243756;background:#fbfcff}html[data-theme=light] .day.selected,.spa-shell.theme-light .day.selected{background:#efecff}html[data-theme=light] .day-indicators .ind,.spa-shell.theme-light .day-indicators .ind{color:#34435f;background:#e8efff}html[data-theme=light] .day-indicators .ind.pnl.pos,.spa-shell.theme-light .day-indicators .ind.pnl.pos{color:#166534;background:#dcfce7}html[data-theme=light] .day-indicators .ind.pnl.neg,.spa-shell.theme-light .day-indicators .ind.pnl.neg{color:#991b1b;background:#fee2e2}html[data-theme=light] .calendar-refresh-link,.spa-shell.theme-light .calendar-refresh-link{color:#4e448f!important}html[data-theme=light] .day-kpis .kpi,.spa-shell.theme-light .day-kpis .kpi{background:#f8fbffb3;border-color:#d5dff1}html[data-theme=light] .day-health-block,html[data-theme=light] .day-market-block,.spa-shell.theme-light .day-health-block,.spa-shell.theme-light .day-market-block{background:#f8fbffbd;border-color:#d5dff1}html[data-theme=light] .day-health-title,html[data-theme=light] .mk-l,.spa-shell.theme-light .day-health-title,.spa-shell.theme-light .mk-l{color:#5f7091}html[data-theme=light] .health-source-badge,.spa-shell.theme-light .health-source-badge{color:#5f7091;background:#eaf1fcbf;border-color:#c7d4ea}html[data-theme=light] .health-source-badge.live,.spa-shell.theme-light .health-source-badge.live{color:#1f7a53;background:#16a34a1f;border-color:#9fd5bb}html[data-theme=light] .health-source-badge.snapshot,.spa-shell.theme-light .health-source-badge.snapshot{color:#506483;background:#94a3b824;border-color:#c9d6ed}html[data-theme=light] .day-health-gauge,html[data-theme=light] .mk-card,.spa-shell.theme-light .day-health-gauge,.spa-shell.theme-light .mk-card{background:#f0f5ffcc;border-color:#d5dff1}html[data-theme=light] .day-health-gauge .inner,.spa-shell.theme-light .day-health-gauge .inner{background:#fcfdfffa}html[data-theme=light] .day-health-gauge .needle,html[data-theme=light] .day-health-gauge .dot,.spa-shell.theme-light .day-health-gauge .needle,.spa-shell.theme-light .day-health-gauge .dot{background:#2f425f}html[data-theme=light] .day-health-gauge .label,.spa-shell.theme-light .day-health-gauge .label{color:#5f7091}html[data-theme=light] .mk-v,.spa-shell.theme-light .mk-v{color:#243756}html[data-theme=light] .day-kpis .l,html[data-theme=light] .calendar-journal-field,html[data-theme=light] .sentiment-sidebar .sentiment-meta,html[data-theme=light] .lists-grid li,html[data-theme=light] .empty,.spa-shell.theme-light .day-kpis .l,.spa-shell.theme-light .calendar-journal-field,.spa-shell.theme-light .sentiment-sidebar .sentiment-meta,.spa-shell.theme-light .lists-grid li,.spa-shell.theme-light .empty{color:#5f7091}html[data-theme=light] .sentiment-sidebar,.spa-shell.theme-light .sentiment-sidebar{background:#f8fbffb3;border-color:#d5dff1}html[data-theme=light] .trades-table th,.spa-shell.theme-light .trades-table th{color:#2c3f5d}html[data-theme=light] .trades-table th,html[data-theme=light] .trades-table td,.spa-shell.theme-light .trades-table th,.spa-shell.theme-light .trades-table td{border-bottom-color:#d5dff1}html[data-theme=light] .trades-table .pos,.spa-shell.theme-light .trades-table .pos{color:#158a5c}html[data-theme=light] .trades-table .neg,.spa-shell.theme-light .trades-table .neg{color:#c44152}html[data-theme=light] .calendar-status,.spa-shell.theme-light .calendar-status{color:#34435f;background:#f3f6ff;border-color:#cfd9ee}html[data-theme=light] .event-modal,.spa-shell.theme-light .event-modal{background:#fff;border-color:#d5dff1}html[data-theme=light] .event-modal h3,.spa-shell.theme-light .event-modal h3{color:#304362}html[data-theme=light] .event-modal label,.spa-shell.theme-light .event-modal label{color:#5f7091}html[data-theme=light] .event-modal input,html[data-theme=light] .event-modal select,.spa-shell.theme-light .event-modal input,.spa-shell.theme-light .event-modal select{color:#243756;background:#f7f9ff;border-color:#cfd9ee}:root{--bg:#0b1220;--text:#e6ecff;--border:#1f2a44;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html[data-theme=dark]{--bg:#0b1220;--text:#e6ecff;--border:#1f2a44}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100vh;margin:0;overflow:hidden}
