:root{color:#18201d;font-synthesis:none;--ink:#18201d;--muted:#68716d;--line:#d9dfdc;--surface:#fff;--surface-2:#f7f9f8;--green:#087a55;--green-soft:#def4e9;--red:#b33a45;--red-soft:#fae6e7;--amber:#a7640b;--sidebar:#17201d;background:#f3f5f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{max-width:100%;overflow-x:hidden}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit;letter-spacing:0}button{cursor:pointer}.app-shell{grid-template-columns:216px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--sidebar);color:#eef4f0;flex-direction:column;height:100vh;padding:22px 14px;display:flex;position:sticky;top:0}.brand{width:100%;color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:11px;padding:0 8px 24px;display:flex}.brand>span{background:#27332e;border:1px solid #6c7e76;place-items:center;width:38px;height:38px;font-size:13px;font-weight:800;display:grid}.brand strong{font-size:14px;line-height:1.15}.sidebar nav{gap:4px;display:grid}.sidebar nav button{color:#b8c4bf;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:11px;min-height:42px;padding:0 11px;font-size:13px;display:flex}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#2a3732}.feed-health{border-top:1px solid #34433d;grid-template-columns:8px 1fr;align-items:center;column-gap:8px;margin-top:auto;padding:14px 10px 0;display:grid}.feed-health>span,.market-state>span{background:#3fc68a;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #3fc68a24}.feed-health.degraded>span{background:#d59a3a;box-shadow:0 0 0 3px #d59a3a24}.feed-health strong{font-size:11px}.feed-health small{color:#91a098;grid-column:2;margin-top:3px;font-size:10px}main{width:100%;min-width:0}.topbar{z-index:10;border-bottom:1px solid var(--line);background:#fffffff5;align-items:center;gap:18px;height:62px;padding:0 28px;display:flex;position:sticky;top:0}.topbar form{border:1px solid var(--line);background:var(--surface-2);align-items:center;gap:9px;width:min(520px,55vw);height:36px;padding:0 11px;display:flex}.topbar input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:13px}.market-state{grid-template-columns:8px auto;align-items:center;column-gap:8px;margin-left:auto;display:grid}.market-state strong{font-size:11px}.market-state small{color:var(--muted);grid-column:2;font-size:10px}.icon-button,.avatar,.icon-inline{color:var(--ink);background:0 0;border:0;place-items:center;display:grid}.icon-button{border:1px solid var(--line);width:34px;height:34px}.avatar{background:var(--ink);color:#fff;border-radius:50%;width:32px;height:32px;font-size:11px;font-weight:800}.view{width:min(1460px,100%);margin:auto;padding:28px}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;min-height:76px;margin-bottom:20px;display:flex}.page-heading h1{letter-spacing:0;margin:1px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:clamp(27px,3vw,38px);font-weight:500}.page-heading p{color:var(--muted);margin:0;font-size:13px}.page-heading .eyebrow,.eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}.filter-row,.heading-actions{align-items:center;gap:8px;display:flex}.toggle{border:1px solid var(--line);background:var(--surface);align-items:center;gap:8px;height:36px;padding:0 11px;font-size:11px;display:flex}.toggle input{opacity:0;pointer-events:none;position:absolute}.toggle>span{background:#c5ceca;border-radius:10px;width:28px;height:16px;padding:2px;transition:background .2s}.toggle>span:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .2s;display:block}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:after{transform:translate(12px)}.policy-banner{color:#66542e;background:#fff9e9;border:1px solid #e4d9bf;align-items:center;gap:10px;min-height:42px;margin-bottom:14px;padding:9px 13px;font-size:11px;display:flex}.overview-band{border:1px solid var(--line);background:var(--surface);grid-template-columns:180px minmax(360px,1.1fr) minmax(300px,1fr);min-width:0;margin-bottom:14px;display:grid}.overview-band>*,.page-heading>*{min-width:0}.score-block{border-right:1px solid var(--line);flex-direction:column;justify-content:center;padding:22px;display:flex}.score-block span,.metric>span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.score-block strong{color:var(--green);font-family:Georgia,serif;font-size:48px;font-weight:500;line-height:1}.score-block small{color:var(--green);margin-top:4px}.score-block em{color:var(--muted);margin-top:8px;font-size:10px;font-style:normal}.conviction-help{cursor:help;align-items:center;gap:4px;display:inline-flex}.conviction-help>span{width:13px;height:13px;color:var(--muted);border:1px solid #aeb8b3;border-radius:50%;place-items:center;font-size:8px;line-height:1;display:inline-grid}.metrics-grid{grid-template-columns:repeat(2,minmax(130px,1fr));display:grid}.metric{border-right:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;gap:4px;min-width:0;padding:18px;display:flex}.metric:nth-child(2n){border-right:0}.metric:nth-last-child(-n+2){border-bottom:0}.metric strong{white-space:nowrap;font-size:20px;font-weight:650}.metric small{color:var(--muted);font-size:10px}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.overview-copy{border-left:1px solid var(--line);flex-direction:column;justify-content:center;padding:20px 22px;display:flex}.overview-copy h2{margin:0 0 8px;font-size:17px}.overview-copy p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.overview-copy>div{color:var(--muted);gap:22px;margin-top:14px;font-size:10px;display:flex}.overview-copy span{flex-direction:column;gap:3px;display:flex}.overview-copy strong{color:var(--ink);font-size:13px}.content-grid,.detail-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.42fr);align-items:start;gap:14px;display:grid}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid>.span-two{grid-column:span 2}.panel{border:1px solid var(--line);background:var(--surface);min-width:0}.span-two{grid-column:span 1}.span-three{grid-column:1/-1}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:12px 16px;display:flex}.panel-heading h2{margin:0 0 3px;font-size:13px}.panel-heading p{color:var(--muted);margin:0;font-size:10px}.segmented{border:1px solid var(--line);background:var(--surface-2);padding:2px;display:flex}.segmented button{min-width:38px;height:27px;color:var(--muted);background:0 0;border:0;font-size:10px}.segmented button.active{background:var(--ink);color:#fff}.treemap{align-items:stretch;gap:4px;min-height:235px;padding:12px;display:flex}.treemap button{text-align:left;border:1px solid #0000;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-width:90px;padding:13px;display:flex;overflow:hidden}.treemap button.long-zone{background:var(--green-soft);color:#16583f}.treemap button.short-zone{background:var(--red-soft);color:#7a2932}.treemap button.selected{border-color:currentColor}.treemap button strong{overflow-wrap:anywhere;max-width:100%;font-size:11px}.treemap button span{margin-top:5px;font-size:16px;font-weight:700}.treemap button small{opacity:.75;margin-top:3px;font-size:9px}.industry-list{border-top:1px solid var(--line)}.industry-title,.industry-row{justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;display:flex}.industry-title{background:var(--surface-2);font-size:10px}.industry-title span{color:var(--muted)}.industry-row{border-top:1px solid #edf0ee;font-size:11px}.industry-row>span:first-child{flex-direction:column;gap:2px;display:flex}.industry-row small{color:var(--muted)}.stream-panel{grid-area:span 2/2}.stream-panel .trade-list{overscroll-behavior:contain;max-height:640px;overflow-y:auto}.stream-state{text-align:right;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.stream-state small{color:var(--muted);white-space:nowrap;font-size:8px}.live-mark{color:var(--amber);font-size:9px;font-weight:900}.live-mark.streaming{color:var(--green)}.live-mark.polling{color:var(--amber)}.live-mark.stale{color:var(--red)}.trade-list button{text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0ee;grid-template-columns:58px 7px minmax(0,1fr) auto;align-items:start;gap:9px;width:100%;min-height:74px;padding:13px;display:grid}.trade-list button:hover,tbody tr:hover{background:var(--surface-2)}.trade-list time{color:var(--muted);flex-direction:column;gap:2px;font-size:8px;display:flex}.trade-list time strong{color:var(--ink);font-size:9px}.trade-list button.stream-arrival{box-shadow:inset 3px 0 var(--green);background:#edf9f4}.arrival-badge{color:var(--green);vertical-align:1px;margin-left:4px;font-size:7px;font-style:normal;display:inline-block}.side-dot{background:var(--green);border-radius:50%;width:7px;height:7px;margin-top:2px}.side-dot.sell{background:var(--red)}.trade-copy,.trade-value{flex-direction:column;gap:3px;min-width:0;display:flex}.trade-copy strong,.trade-value strong{font-size:11px}.trade-copy small,.trade-value small{color:var(--muted);overflow-wrap:anywhere;font-size:9px}.trade-value{text-align:right}.freshness{color:var(--muted);font-size:9px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{color:var(--muted);background:var(--surface-2);text-transform:uppercase;text-align:left;white-space:nowrap;padding:10px 13px;font-size:9px}td{white-space:nowrap;border-top:1px solid #edf0ee;padding:10px 13px}tbody tr{cursor:pointer}.ticker-cell{align-items:center;gap:9px;display:flex}.ticker-cell i,.ticker-mark{color:#35423d;background:#ebefed;place-items:center;width:28px;height:28px;font-size:9px;font-style:normal;font-weight:800;display:grid}.ticker-cell>span{flex-direction:column;gap:2px;display:flex}.ticker-cell small{color:var(--muted);font-size:9px}.pill{border-radius:11px;align-items:center;width:fit-content;min-height:22px;padding:0 8px;font-size:9px;font-weight:800;display:inline-flex}.pill.long{background:var(--green-soft);color:var(--green)}.pill.short{background:var(--red-soft);color:var(--red)}.pill.buy{background:var(--green-soft);color:var(--green)}.pill.sell{background:var(--red-soft);color:var(--red)}.pill.flat{color:var(--muted);background:#eef0ef}.pill.specialist,.pill.top{color:#3b604e;background:#e8efe9}.pill.neutral{color:var(--muted);background:#eef0ef}.score-bar{align-items:center;gap:8px;display:flex}.score-bar>i{background:#e4e8e6;width:65px;height:5px}.score-bar b{background:var(--green);height:100%;display:block}.accumulation-chart{min-height:340px;padding:12px 16px 8px}.accumulation-chart svg{width:100%;height:250px;overflow:visible}.accumulation-summary{gap:8px;margin-bottom:10px;display:flex}.accumulation-summary>span{border:1px solid var(--line);background:var(--surface-2);flex-direction:column;gap:3px;min-width:180px;padding:9px 11px;display:flex}.accumulation-summary small{color:var(--muted);text-transform:uppercase;font-size:8px}.accumulation-summary strong{font-size:12px}.accumulation-legend{height:24px;color:var(--muted);gap:18px;font-size:9px;display:flex}.accumulation-legend span{align-items:center;gap:6px;display:inline-flex}.accumulation-legend span:before{content:"";background:var(--green);width:14px;height:3px}.accumulation-legend .short-key:before{background:var(--red)}.long-area{fill:#087a5524}.short-area{fill:#b33a451f}.long-line,.short-line{fill:none;stroke:var(--green);stroke-width:2px;vector-effect:non-scaling-stroke}.short-line{stroke:var(--red)}.chart-hit{fill:#0000;pointer-events:all}.wallet-type-control{max-width:60%;overflow-x:auto}.wallet-type-control button{min-width:max-content;padding-inline:10px}.stock-heading,.wallet-heading{justify-content:flex-start;align-items:center}.stock-heading .ticker-mark{width:44px;height:44px;font-size:12px}.stock-heading h1{align-items:center;gap:9px;font-size:31px;display:flex}.price{font-weight:650;color:var(--ink)!important;font-size:17px!important}.price span{margin-left:6px;font-size:11px}.heading-actions{margin-left:auto}.heading-actions button{border:1px solid var(--line);background:#fff;align-items:center;gap:7px;height:34px;padding:0 12px;font-size:10px;font-weight:700;display:flex}.heading-actions button.primary{background:var(--ink);border-color:var(--ink);color:#fff}.heading-actions button.selected-command{color:var(--green);border-color:var(--green);background:var(--green-soft)}.stock-metrics,.wallet-metric-grid{border:1px solid var(--line);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.stock-controls{justify-content:flex-end;gap:8px;margin:-10px 0 12px;display:flex}.stock-metrics .metric{border-bottom:0}.wallet-metric-grid{grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.wallet-metric-grid .metric{border-bottom:0}.wallet-metric-grid .metric:nth-child(2n){border-right:1px solid var(--line)}.wallet-metric-grid .metric:last-child{border-right:0}.wallet-metric-grid .metric strong{font-size:16px}.chart-placeholder,.unavailable,.state-box{text-align:center;min-height:220px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:30px;display:flex}.chart-placeholder strong,.unavailable strong,.state-box strong{color:var(--ink);font-size:12px}.chart-placeholder span,.unavailable span,.state-box span{font-size:10px}.state-box{border:1px solid var(--line);background:#fff;min-height:260px}.state-box.borderless{border:0}.error-state{color:var(--red)}.state-inline{color:var(--muted);text-align:center;padding:40px 20px;font-size:11px}.wallet-heading h1{align-items:center;display:flex}.icon-inline{margin-left:5px;display:inline-grid}.tag-row{gap:6px;margin-top:6px;display:flex}.definition-list{margin:0}.definition-list div{border-top:1px solid #edf0ee;justify-content:space-between;gap:12px;padding:12px 16px;font-size:11px;display:flex}.definition-list div:first-child{border-top:0}.definition-list dt{color:var(--muted)}.definition-list dd{text-align:right;margin:0;font-weight:650}.muted-value{color:var(--muted);font-weight:500!important}.pnl-breakdown{padding:5px 16px 10px}.pnl-breakdown-row{border-top:1px solid #edf0ee;grid-template-columns:58px 76px minmax(80px,1fr) 54px;align-items:center;gap:10px;min-height:42px;font-size:10px;display:grid}.pnl-breakdown-row:first-child{border-top:0}.pnl-breakdown-row>span{text-align:right;font-weight:700}.pnl-breakdown-row>i{background:#edf0ee;height:7px;overflow:hidden}.pnl-breakdown-row b{height:100%;display:block}.pnl-breakdown-row b.gain,.weekday-pnl b.gain{background:var(--green)}.pnl-breakdown-row b.loss,.weekday-pnl b.loss{background:var(--red)}.pnl-breakdown-row small{color:var(--muted);text-align:right}.fill-reconciliation{border-bottom:1px solid var(--line);background:var(--surface-2);min-height:48px;color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px 14px;padding:10px 16px;font-size:9px;display:flex}.fill-reconciliation>strong{color:var(--ink);font-size:11px}.fill-reconciliation b{color:var(--ink)}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.stat-grid div{border-top:1px solid #edf0ee;justify-content:space-between;gap:12px;min-height:39px;padding:10px 16px;font-size:10px;display:flex}.stat-grid div:nth-child(-n+2){border-top:0}.stat-grid div:nth-child(odd){border-right:1px solid #edf0ee}.stat-grid dt{color:var(--muted)}.stat-grid dd{text-align:right;margin:0;font-weight:700}.side-pnl{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,1fr);display:grid}.side-pnl>div{flex-direction:column;justify-content:center;gap:5px;min-height:62px;padding:12px 16px;display:flex}.side-pnl>div+div{border-left:1px solid var(--line)}.side-pnl span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.side-pnl strong{font-size:16px}.weekday-pnl{grid-template-columns:repeat(7,minmax(42px,1fr));align-items:end;gap:5px;min-width:330px;height:154px;padding:14px 10px;display:grid;overflow-x:auto}.weekday-pnl>div{text-align:center;grid-template-rows:14px 1fr 15px 12px;align-items:end;gap:2px;height:126px;display:grid}.weekday-pnl span,.weekday-pnl small{color:var(--muted);font-size:8px}.weekday-pnl i{background:#edf0ee;justify-self:center;width:9px;height:67px;position:relative}.weekday-pnl b{width:100%;position:absolute;bottom:0;left:0}.weekday-pnl strong{white-space:nowrap;font-size:8px}.equity-line{height:300px;padding:12px 16px 6px}.equity-line svg{width:100%;height:100%;overflow:visible}.equity-curve-line{fill:none;stroke:var(--green);stroke-width:3px;vector-effect:non-scaling-stroke}.equity-curve-end{fill:var(--surface);stroke:var(--green);stroke-width:3px;vector-effect:non-scaling-stroke}.chart-grid-line{stroke:#e8ecea;stroke-width:1px;vector-effect:non-scaling-stroke}.chart-axis-line{stroke:#aeb8b3;stroke-width:1px;vector-effect:non-scaling-stroke}.chart-zero-line{stroke:#7d8883;stroke-width:1px;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.chart-axis-label{fill:var(--muted);font-size:9px}.chart-axis-title{fill:var(--muted);text-transform:uppercase;font-size:8px}.load-more{border-top:1px solid var(--line);justify-content:center;padding:12px;display:flex}.load-more button{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--ink);padding:0 14px;font-size:10px;font-weight:700}.load-more button:disabled{color:var(--muted);cursor:wait}.watchlist-grid{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.watchlist-grid>button{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);text-align:left;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:72px;padding:14px;display:grid}.watchlist-grid>button:hover{background:var(--surface-2)}.watchlist-grid>button>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.watchlist-grid small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=1100px){.overview-band{grid-template-columns:150px 1fr}.overview-copy{border-left:0;border-top:1px solid var(--line);grid-column:1/-1}.wallet-metric-grid{grid-template-columns:repeat(3,1fr)}.wallet-metric-grid .metric:nth-child(3n){border-right:0}.wallet-metric-grid .metric:nth-child(-n+3){border-bottom:1px solid var(--line)}}@media (width<=800px){.app-shell{grid-template-columns:64px minmax(0,1fr)}.sidebar{padding-inline:8px}.brand{padding-inline:5px}.brand strong,.sidebar nav button:not(.active):after,.sidebar nav button{font-size:0}.sidebar nav button{justify-content:center;padding:0}.sidebar nav button svg{width:19px;height:19px}.feed-health{justify-content:center;display:flex}.feed-health strong,.feed-health small{display:none}.view{padding:20px 16px}.topbar{padding:0 16px}.market-state{display:none}.topbar form{width:100%}.page-heading{flex-direction:column}.filter-row{flex-wrap:wrap;width:100%}.overview-band{grid-template-columns:1fr}.score-block{border-right:0;border-bottom:1px solid var(--line)}.content-grid,.detail-grid{grid-template-columns:1fr}.stream-panel,.span-two,.span-three,.detail-grid>.span-two{grid-column:1}.stream-panel .trade-list{max-height:520px}.treemap{flex-wrap:wrap;min-height:300px}.treemap button{flex-basis:42%;min-height:110px}.stock-heading,.wallet-heading{align-items:flex-start}.stock-controls{flex-wrap:wrap;justify-content:flex-start;margin-top:0}.heading-actions{flex-wrap:wrap;margin-left:0}.stock-metrics,.wallet-metric-grid{grid-template-columns:repeat(2,1fr)}.watchlist-grid{grid-template-columns:1fr}.wallet-metric-grid .metric,.wallet-metric-grid .metric:nth-child(2n),.wallet-metric-grid .metric:nth-child(3n){border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.wallet-metric-grid .metric:nth-child(2n){border-right:0}.wallet-metric-grid .metric:nth-last-child(-n+2){border-bottom:0}.pnl-breakdown-row{grid-template-columns:48px 68px minmax(60px,1fr) 48px;gap:7px}}@media (width<=480px){.topbar .icon-button{display:none}.view{padding:16px 10px}.overview-band .metrics-grid{grid-template-columns:1fr}.page-heading h1{font-size:27px}.toggle{flex:1;justify-content:center}.metrics-grid,.stock-metrics{grid-template-columns:1fr}.metrics-grid .metric,.stock-metrics .metric{border-right:0;border-bottom:1px solid var(--line)}.metrics-grid .metric:last-child,.stock-metrics .metric:last-child{border-bottom:0}.overview-copy>div{flex-wrap:wrap}.panel-heading{flex-direction:column;align-items:flex-start}.stat-grid{grid-template-columns:1fr}.stat-grid div:nth-child(2){border-top:1px solid #edf0ee}.stat-grid div:nth-child(odd){border-right:0}.stream-state{text-align:left;align-items:flex-start}.segmented{width:100%}.segmented button{flex:1}}
