.trading-panel{position:fixed;width:360px;background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026;z-index:1000;-webkit-user-select:none;user-select:none;overflow:hidden}.trading-panel-header{padding:16px;color:#fff;cursor:grab;-webkit-user-select:none;user-select:none}.trading-panel-header:active{cursor:grabbing}.header-content{display:flex;justify-content:space-between;align-items:center}.instrument-info{flex:1}.instrument-name{font-size:16px;font-weight:600;margin-bottom:4px}.instrument-price{font-size:14px;opacity:.9}.header-actions{display:flex;align-items:center;gap:8px}.header-toggle{display:flex;align-items:center}.close-button{background:transparent!important;border:none!important;color:#fff!important;cursor:pointer;padding:4px 8px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-button:hover{background:#fff3!important}.toggle-switch{width:44px;height:24px;background:#ffffff4d;border-radius:12px;position:relative;cursor:pointer}.toggle-slider{width:20px;height:20px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:transform .2s}.trading-panel-tabs{display:flex;border-bottom:1px solid #e5e7eb;padding:0 16px;position:relative}.tab-button{background:none;border:none;padding:12px 16px;font-size:14px;cursor:pointer;color:#666;transition:color .2s;position:relative}.tab-button:hover{color:#1890ff}.tab-button.active{font-weight:600}.tab-edit-icon{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#999;cursor:pointer;padding:8px}.tab-edit-icon:hover{color:#666}.trading-panel-content{padding:16px;max-height:calc(100vh - 200px);overflow-y:auto}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:13px;font-weight:500;color:#333;margin-bottom:6px}.input-with-controls{display:flex;align-items:center;gap:8px}.quantity-input,.price-input,.symbol-input,.trigger-input{flex:1;border-radius:6px;border:1px solid #d1d5db;padding:8px 12px;font-size:14px}.quantity-input:focus,.price-input:focus,.symbol-input:focus{border-color:#1890ff;outline:none;box-shadow:0 0 0 2px #1890ff1a}.input-controls{display:flex;flex-direction:column;gap:2px}.control-button{width:24px;height:20px;border:1px solid #d1d5db;background:#fff;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:10px;color:#666;padding:0}.control-button:hover{background:#f3f4f6;border-color:#1890ff}.clear-button{width:24px;height:24px;border:1px solid #d1d5db;background:#fff;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#666;padding:0}.clear-button:hover{background:#f3f4f6;border-color:#1890ff}.lot-info{font-size:12px;color:#999;margin-left:8px}.lot-info-inline{font-size:12px;color:#999;margin-left:12px}.radio-group{display:flex;gap:16px}.radio-group .ant-radio-wrapper{font-size:14px}.advanced-toggle{background:none;border:none;color:#1890ff;cursor:pointer;font-size:13px;padding:4px 0;text-align:left}.advanced-toggle:hover{text-decoration:underline}.advanced-options{margin-top:12px;padding:12px;background:#f9fafb;border-radius:6px}.checkbox-group{display:flex;align-items:center;gap:8px;margin-bottom:8px}.checkbox-group:last-child{margin-bottom:0}.percent-input{width:80px;border-radius:4px;border:1px solid #d1d5db;padding:4px 8px;font-size:12px}.funds-summary{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;margin:16px 0}.funds-item{display:flex;align-items:center;gap:8px;font-size:13px}.funds-item span:first-child{color:#666;font-weight:500}.funds-amount{font-weight:600;font-size:14px}.refresh-icon{cursor:pointer;color:#999;font-size:14px;padding:4px}.refresh-icon:hover{color:#1890ff}.action-buttons{margin-top:16px}.action-buttons .ant-btn{height:44px;font-size:15px;font-weight:600;border-radius:6px}.action-buttons .ant-btn-primary{color:#fff}body[data-theme=dark] .trading-panel{background:#0f172af2;color:#e2e8f0}body[data-theme=dark] .trading-panel-tabs{border-bottom-color:#ffffff1a}body[data-theme=dark] .tab-button{color:#94a3b8}body[data-theme=dark] .tab-button.active{color:#1890ff}body[data-theme=dark] .form-group label{color:#e2e8f0}body[data-theme=dark] .quantity-input,body[data-theme=dark] .price-input,body[data-theme=dark] .symbol-input,body[data-theme=dark] .trigger-input,body[data-theme=dark] .control-button,body[data-theme=dark] .clear-button{background:#0f172a80;border-color:#818cf873;color:#e2e8f0}body[data-theme=dark] .funds-summary{border-top-color:#ffffff1a;border-bottom-color:#ffffff1a}body[data-theme=dark] .advanced-options{background:#0f172a4d}@media (max-width: 640px){.trading-panel{width:calc(100vw - 32px);max-width:360px}}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{font-family:Inter,SF Pro Display,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#0f172a;background-color:#f5f6fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ant-table-cell-padding-block: 8px}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{padding-block:8px!important}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-x:hidden;overflow-y:auto;transition:background .3s ease}#root{min-height:100vh}.app-layout{min-height:100vh;width:100%;background:transparent}.app-main{min-height:100vh;flex:1;min-width:0;display:flex;flex-direction:column;background:transparent;overflow:hidden}.app-sider{background:transparent!important;border-right:1px solid rgba(15,23,42,.08);padding:1.5rem 0;min-height:100%;overflow-y:auto}body[data-theme=dark] .app-sider{border-right-color:#ffffff1f}.sider-brand{display:flex;align-items:center;gap:.75rem;padding:0 1.5rem 1.25rem}.brand-mark{width:48px;height:48px;border-radius:999px;padding:2px;background:linear-gradient(135deg,#0f172ae6,#2563eb59);border:1px solid rgba(212,175,55,.4);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 12px 30px #0f172a40}.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:50%}.app-header{display:flex;align-items:center;justify-content:space-between;padding:0 1.5rem;background:#ffffffa6;border-bottom:1px solid rgba(15,23,42,.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:sticky;top:0;z-index:30}body[data-theme=dark] .app-header{background:#0f172aa6;border-bottom-color:#ffffff14}.header-left,.header-right,.logo-stack{display:flex;align-items:center;gap:1rem}.logo-badge{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid rgba(212,175,55,.8);box-shadow:0 8px 24px #0f172a33}body[data-theme=dark] .logo-badge{border-color:#d4af37f2}.logo-copy{display:flex;flex-direction:column;gap:.25rem}.logo-subline{display:flex;align-items:center;gap:.5rem}.profile-trigger{padding:0;height:auto}.profile-meta{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.app-content{padding:8px;background:transparent;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.dashboard-content{width:100%;max-width:1200px;margin:0 auto;overflow-x:hidden;overflow-y:hidden}.trend-tag{margin-top:12px}.list-meta{display:flex;align-items:center;gap:.75rem}.login-wrapper{min-height:100vh;padding:32px 16px;display:flex;flex-direction:column;gap:24px;align-items:center;justify-content:center}.login-brand{margin-bottom:18px}.login-brand.logo-stack{justify-content:center}.login-logo-badge{width:60px;height:60px;border-radius:50%;border:2px solid rgba(212,175,55,.85);box-shadow:0 12px 32px #0f172a59}.login-brand .logo-copy{align-items:flex-start}.login-tagline{font-size:.85rem}.login-toggle{align-self:flex-end;background-color:#858ae8}.glass-panel{width:min(460px,100%);border-radius:22px;box-shadow:0 24px 80px #0f172a26;display:flex;flex-direction:column;align-items:center;gap:16px}.glass-panel form{width:100%}.login-copy{width:100%;text-align:center}body[data-theme=dark] .glass-panel{background:#0f172acc!important;box-shadow:0 24px 80px #00000073}.login-copy .eyebrow{font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:#94a3b8}.login-form-footer{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.login-hint{margin-top:1.5rem;text-align:center}.glass-panel .ant-input,.glass-panel .ant-input-affix-wrapper,.glass-panel .ant-input-password input{background:#0f172a66;border-color:#818cf866;color:#e2e8f0}.glass-panel .ant-input::placeholder,.glass-panel .ant-input-password input::placeholder{color:#e2e8f099}.glass-panel .ant-input-affix-wrapper-focused,.glass-panel .ant-input-affix-wrapper:focus,.glass-panel .ant-input:focus{border-color:#818cf8;box-shadow:0 0 0 2px #818cf840}.glass-panel button.ant-btn-primary{background-color:#858ae8}body[data-theme=dark] .ant-input,body[data-theme=dark] .ant-input-affix-wrapper,body[data-theme=dark] .ant-input-affix-wrapper .ant-input,body[data-theme=dark] .ant-input-password input,body[data-theme=dark] textarea.ant-input,body[data-theme=dark] .ant-input-number,body[data-theme=dark] .ant-input-number input{background:#0f172a80;border-color:#818cf873;color:#e2e8f0}body[data-theme=dark] .ant-input::placeholder,body[data-theme=dark] textarea.ant-input::placeholder{color:#e2e8f0a6}body[data-theme=dark] .ant-input-affix-wrapper-focused,body[data-theme=dark] .ant-input:focus,body[data-theme=dark] .ant-input-affix-wrapper:focus,body[data-theme=dark] .ant-input-number-focused{border-color:#818cf8;box-shadow:0 0 0 2px #818cf840}body[data-theme=dark] input:-webkit-autofill,body[data-theme=dark] input:-webkit-autofill:hover,body[data-theme=dark] input:-webkit-autofill:focus{-webkit-text-fill-color:#e2e8f0;box-shadow:0 0 0 1000px #0f172a80 inset;transition:background-color 9999s ease-in-out 0s}.table-card{display:flex;flex-direction:column;height:calc(100vh - 80px);overflow:hidden}.table-card .ant-card-body{padding:.9rem;flex:1;overflow:hidden;display:flex;flex-direction:column}.table-card .ant-tabs{flex:1;display:flex;flex-direction:column;overflow:hidden}.table-card .ant-tabs-content-holder{flex:1;overflow:hidden}.table-card .ant-tabs-content{height:100%}.table-card .ant-tabs-tabpane{height:100%;overflow:hidden}.table-card .ant-table-tbody>tr>td{padding-block:8px}.table-card .ant-table-body{scrollbar-width:thin;scrollbar-color:transparent transparent}.table-card .ant-table-body::-webkit-scrollbar{width:8px;height:8px}.table-card .ant-table-body::-webkit-scrollbar-track{background:transparent}.table-card .ant-table-body::-webkit-scrollbar-thumb{background:transparent;border-radius:4px}.table-card:hover .ant-table-body{scrollbar-color:rgba(0,0,0,.2) transparent}.table-card:hover .ant-table-body::-webkit-scrollbar-thumb{background:#0003}body[data-theme=dark] .table-card:hover .ant-table-body{scrollbar-color:rgba(255,255,255,.3) transparent}body[data-theme=dark] .table-card:hover .ant-table-body::-webkit-scrollbar-thumb{background:#ffffff4d}.table-scroll{max-height:calc(100vh - 220px)}.ant-table-summary{background-color:#fafafa;border-radius:0 0 8px 8px;overflow:hidden}.ant-table-summary>tr>td{border-top:2px solid #e8e8e8;font-weight:600}.ant-table-summary>tr>td:first-child{border-radius:0 0 0 8px}.ant-table-summary>tr>td:last-child{border-radius:0 0 8px}body[data-theme=dark] .ant-table-summary{background-color:#0f172a80}body[data-theme=dark] .ant-table-summary>tr>td{border-top-color:#ffffff1f}.ant-table-tbody>tr:hover>td{background-color:#f5f5f5!important}body[data-theme=dark] .ant-table-tbody>tr:hover>td{background-color:#ffffff0d!important}.ant-table{border-radius:8px;overflow:hidden}.ant-table-thead>tr>th{background-color:#fafafa;font-weight:600;border-bottom:2px solid #e8e8e8}body[data-theme=dark] .ant-table-thead>tr>th{background-color:#0f172a99;border-bottom-color:#ffffff1f}@media (max-height: 800px){.ant-table-scroll{max-height:calc(100vh - 400px)}}@media (min-height: 900px){.ant-table-scroll{max-height:calc(100vh - 500px)}}.ant-table{background-color:transparent!important}.ant-table-tbody>tr>td{background-color:transparent!important}body[data-theme=dark] .ant-table{background-color:transparent!important}body[data-theme=dark] .ant-table-tbody>tr>td{background-color:transparent!important}.ant-btn{border-radius:6px;font-weight:500;transition:all .2s ease}.ant-btn-sm{height:28px;padding:0 12px;font-size:13px}.ant-btn-default{border-color:#d9d9d9}.ant-btn-default:hover{border-color:#40a9ff;color:#40a9ff}body[data-theme=dark] .ant-btn-default{border-color:#fff3;background-color:#ffffff0d;color:#ffffffd9}body[data-theme=dark] .ant-btn-default:hover{border-color:#818cf8;color:#818cf8;background-color:#818cf81a}.mobile-nav-drawer .ant-drawer-body{padding:0;background:var(--mobile-nav-bg, rgba(255, 255, 255, .9))}body[data-theme=dark] .mobile-nav-drawer .ant-drawer-body{--mobile-nav-bg: rgba(15, 23, 42, .92)}.mobile-nav-body{display:flex;flex-direction:column;height:100%}.mobile-nav-body .ant-menu{flex:1;border-inline-end:none!important}.mobile-nav-actions{padding:1rem 1.5rem 1.5rem;border-top:1px solid rgba(15,23,42,.08)}body[data-theme=dark] .mobile-nav-actions{border-top-color:#ffffff14}@media (max-width: 992px){.profile-meta{display:none}.header-right{gap:.5rem}.app-content{padding:8px}.sider-brand{padding:0 1.25rem 1rem}}@media (max-width: 640px){.logo-stack{gap:.75rem}.logo-copy{gap:.15rem}.logo-subline{display:none}.login-wrapper{padding:24px 12px}.glass-panel{width:100%}}
