@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap";.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.strategy-builder-v2{display:flex;flex-direction:column;height:100%;min-height:600px;background:#1a1a2e;border-radius:12px;overflow:hidden;border:1px solid #0f3460}.builder-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#16213e;border-bottom:1px solid #0f3460;flex-shrink:0}.strategy-title{display:flex;align-items:center;gap:1rem}.strategy-title h2{margin:0;font-size:1.25rem;font-weight:600;color:#e5e7eb}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600}.status-badge.status-draft{background:#6b72804d;color:#9ca3af}.status-badge.status-pending_approval{background:#f59e0b4d;color:#fbbf24}.status-badge.status-approved{background:#10b9814d;color:#34d399}.status-badge.status-archived{background:#ef44444d;color:#f87171}.btn-submit{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;padding:.5rem 1.25rem;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-submit:hover{transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b66}.builder-body{display:grid;grid-template-columns:260px 1fr 280px;flex:1;overflow:hidden;min-height:0}.panel-title{display:flex;align-items:center;gap:.5rem;padding:1rem;font-weight:600;color:#e5e7eb;border-bottom:1px solid #0f3460;flex-shrink:0;font-size:.95rem}.panel-title span{font-size:1.1rem}.panel-hint{padding:.5rem 1rem;font-size:.75rem;color:#6b7280;background:#0003;flex-shrink:0}.indicator-panel{background:#16213e;border-right:1px solid #0f3460;display:flex;flex-direction:column;overflow:hidden}.indicator-list{flex:1;overflow-y:auto;padding:.75rem}.indicator-item{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 1rem;margin-bottom:.5rem;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-left:4px solid var(--indicator-color, #6b7280);border-radius:8px;cursor:pointer;transition:all .2s ease}.indicator-item .indicator-icon{padding-top:.125rem}.indicator-item:hover{background:#ffffff14;transform:translate(4px);border-color:#ffffff26}.indicator-item.disabled{opacity:.5;cursor:not-allowed}.indicator-item.disabled:hover{transform:none;background:#ffffff0a}.indicator-item.selected{background:#3b82f626;border-color:#3b82f666}.indicator-icon{font-size:1.5rem;flex-shrink:0}.indicator-info{flex:1;min-width:0}.indicator-label{display:block;font-weight:600;color:#e5e7eb;font-size:.9rem;margin-bottom:.125rem}.indicator-desc{display:block;font-size:.7rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.indicator-details{display:none;padding-top:.5rem;border-top:1px solid rgba(255,255,255,.1);margin-top:.5rem}.indicator-item:hover .indicator-details{display:block}.indicator-detailed{font-size:.7rem;color:#9ca3af;line-height:1.5;margin:0 0 .5rem}.indicator-tip{font-size:.7rem;color:#fbbf24;background:#fbbf241a;padding:.375rem .5rem;border-radius:6px;margin:0;line-height:1.4}.indicator-info-box{background:#0000004d;border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:.75rem 1rem;margin:0 1rem}.indicator-info-box .info-detailed{font-size:.8rem;color:#d1d5db;line-height:1.5;margin:0 0 .5rem}.indicator-info-box .info-tip{font-size:.75rem;color:#fbbf24;margin:0;line-height:1.4;padding:.5rem .625rem;background:#fbbf241a;border-radius:6px;border-left:3px solid #fbbf24}.indicator-info-box .info-tip strong{color:#fcd34d}.rules-panel{background:#1a1a2e;display:flex;flex-direction:column;overflow:hidden}.rules-list{flex:1;overflow-y:auto;padding:1rem}.pending-rule-card{background:linear-gradient(135deg,#3b82f61a,#8b5cf61a);border:2px dashed rgba(59,130,246,.4);border-left:4px solid var(--indicator-color, #3b82f6);border-radius:12px;margin:1rem;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.rule-card{background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-left:4px solid var(--indicator-color, #666);border-radius:10px;margin-bottom:.75rem;transition:all .2s}.rule-card:hover{background:#ffffff0d;border-color:#ffffff1f}.rule-card.action-buy{border-left-color:#10b981}.rule-card.action-sell{border-left-color:#ef4444}.rule-card-header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#ffffff08;border-radius:10px 10px 0 0}.rule-icon{font-size:1.25rem}.rule-title{font-weight:600;color:#e5e7eb;font-size:.95rem;flex:1}.rule-badge{padding:.2rem .5rem;border-radius:4px;font-size:.7rem;font-weight:600}.rule-badge.new{background:#3b82f64d;color:#60a5fa}.rule-timeframe{padding:.2rem .6rem;background:#8b5cf64d;color:#a78bfa;border-radius:4px;font-size:.75rem;font-weight:600}.rule-delete-btn{background:transparent;border:none;color:#6b7280;width:24px;height:24px;border-radius:4px;cursor:pointer;font-size:1.2rem;line-height:1;opacity:0;transition:all .2s}.rule-card:hover .rule-delete-btn{opacity:1}.rule-delete-btn:hover{background:#ef444433;color:#f87171}.rule-card-body{padding:1rem}.rule-card-body.compact{padding:.75rem 1rem}.rule-field{margin-bottom:1rem}.rule-field:last-child{margin-bottom:0}.rule-field label{display:block;font-size:.8rem;font-weight:500;color:#9ca3af;margin-bottom:.5rem}.rule-field input,.rule-field select{width:100%;padding:.5rem .75rem;background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:6px;color:#e5e7eb;font-size:.9rem}.rule-field input:focus,.rule-field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.rule-field select{cursor:pointer}.rule-field select option{background:#1a1a2e;color:#e5e7eb}.timeframe-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.tf-btn{padding:.375rem .875rem;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:20px;color:#9ca3af;font-size:.8rem;cursor:pointer;transition:all .2s}.tf-btn:hover{background:#ffffff1a;border-color:#fff3}.tf-btn.active{background:#3b82f64d;border-color:#3b82f6;color:#60a5fa}.rule-params{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;margin-bottom:1rem}.rule-params .rule-field{margin-bottom:0}.action-buttons{display:flex;gap:.75rem}.action-btn{flex:1;padding:.625rem 1rem;border:2px solid transparent;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s}.action-btn.buy{background:#10b98126;color:#6ee7b7;border-color:#10b9814d}.action-btn.buy:hover{background:#10b98140}.action-btn.buy.active{background:#10b98166;border-color:#10b981;color:#34d399}.action-btn.sell{background:#ef444426;color:#fca5a5;border-color:#ef44444d}.action-btn.sell:hover{background:#ef444440}.action-btn.sell.active{background:#ef444466;border-color:#ef4444;color:#f87171}.rule-card-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:.75rem 1rem;border-top:1px solid rgba(255,255,255,.1)}.btn-cancel{padding:.5rem 1rem;background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:#9ca3af;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#ffffff0d;color:#e5e7eb}.btn-save{padding:.5rem 1.25rem;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:6px;color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.btn-save:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.btn-save:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.rule-info-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.rule-condition{color:#e5e7eb;font-weight:500;font-size:.9rem}.rule-action{padding:.25rem .75rem;border-radius:6px;font-size:.8rem;font-weight:600}.rule-action.action-buy{background:#10b98133;color:#34d399}.rule-action.action-sell{background:#ef444433;color:#f87171}.rule-params-display{display:flex;flex-wrap:wrap;gap:.375rem}.param-chip{padding:.2rem .5rem;background:#0003;border-radius:4px;font-size:.7rem;color:#9ca3af}.empty-rules{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;flex:1}.empty-rules .empty-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-rules h3{color:#e5e7eb;margin:0 0 .5rem;font-size:1.1rem}.empty-rules p{color:#6b7280;margin:0;font-size:.9rem}.summary-panel{background:#16213e;border-left:1px solid #0f3460;display:flex;flex-direction:column;overflow:hidden}.summary-cards{flex:1;overflow-y:auto;padding:1rem}.summary-card{padding:1rem;border-radius:10px;margin-bottom:1rem}.summary-card.buy{background:#10b9811a;border:1px solid rgba(16,185,129,.2)}.summary-card.sell{background:#ef44441a;border:1px solid rgba(239,68,68,.2)}.summary-header{display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.9rem;margin-bottom:.5rem}.summary-card.buy .summary-header{color:#34d399}.summary-card.sell .summary-header{color:#f87171}.summary-count{font-size:2rem;font-weight:700;margin-bottom:.5rem}.summary-card.buy .summary-count{color:#10b981}.summary-card.sell .summary-count{color:#ef4444}.summary-rules{margin-top:.5rem}.summary-rule{padding:.375rem .5rem;background:#0003;border-radius:4px;font-size:.75rem;color:#9ca3af;margin-bottom:.375rem}.summary-info{padding:1rem;border-top:1px solid #0f3460}.info-item{display:flex;justify-content:space-between;align-items:center;padding:.375rem 0;font-size:.85rem}.info-label{color:#6b7280}.info-value{color:#e5e7eb;font-weight:500}.logic-hint{padding:.75rem 1rem;margin:1rem;background:#3b82f61a;border-radius:8px;font-size:.75rem;color:#60a5fa;line-height:1.4}.logic-hint strong{color:#93c5fd}.indicator-list::-webkit-scrollbar,.rules-list::-webkit-scrollbar,.summary-cards::-webkit-scrollbar{width:6px}.indicator-list::-webkit-scrollbar-track,.rules-list::-webkit-scrollbar-track,.summary-cards::-webkit-scrollbar-track{background:transparent}.indicator-list::-webkit-scrollbar-thumb,.rules-list::-webkit-scrollbar-thumb,.summary-cards::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.indicator-list::-webkit-scrollbar-thumb:hover,.rules-list::-webkit-scrollbar-thumb:hover,.summary-cards::-webkit-scrollbar-thumb:hover{background:#fff3}@media (max-width: 1200px){.builder-body{grid-template-columns:220px 1fr 240px}}@media (max-width: 992px){.builder-body{grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.indicator-panel{border-right:none;border-bottom:1px solid #0f3460;max-height:180px}.indicator-list{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem}.indicator-item{flex:0 0 auto;margin-bottom:0;padding:.5rem .75rem}.indicator-desc{display:none}.summary-panel{border-left:none;border-top:1px solid #0f3460;max-height:200px}.summary-cards{display:flex;gap:1rem}.summary-card{flex:1;margin-bottom:0}}.rule-row{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:6px;margin-bottom:.375rem;font-size:.8rem;transition:all .15s}.rule-row:hover{background:#ffffff0f}.rule-row.action-open_long{border-left:3px solid #10b981}.rule-row.action-open_short{border-left:3px solid #ef4444}.rule-tf{min-width:32px;padding:.15rem .35rem;background:#8b5cf640;color:#a78bfa;border-radius:3px;font-size:.7rem;font-weight:600;text-align:center}.rule-icon-sm{font-size:.9rem;flex-shrink:0}.rule-name{color:#9ca3af;font-size:.7rem;min-width:80px}.rule-cond{color:#e5e7eb;font-weight:500;flex:1}.rule-params-sm{color:#6b7280;font-size:.65rem}.rule-action-badge{padding:.15rem .4rem;border-radius:3px;font-size:.65rem;font-weight:600}.rule-action-badge.open_long{background:#10b98140;color:#34d399}.rule-action-badge.open_short{background:#ef444440;color:#f87171}.rule-del-btn{background:transparent;border:none;color:#4b5563;width:18px;height:18px;border-radius:3px;cursor:pointer;font-size:1rem;line-height:1;opacity:0;transition:all .15s;padding:0}.rule-row:hover .rule-del-btn{opacity:1}.rule-del-btn:hover{background:#ef444433;color:#f87171}.rule-actions{display:flex;gap:4px;align-items:center;opacity:0;transition:opacity .15s}.rule-row:hover .rule-actions{opacity:1}.rule-edit-btn{background:transparent;border:none;color:#4b5563;width:24px;height:24px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.75rem;transition:all .15s;padding:0}.rule-edit-btn:hover{background:#3b82f633;color:#60a5fa}.rule-badge.edit{background:#f59e0b4d;color:#fbbf24}.section-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.section-btn{padding:.5rem .75rem;background:#1e293b80;border:1px solid #334155;border-radius:6px;color:#94a3b8;font-size:.75rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.35rem}.section-btn:hover{background:#1e293bcc;border-color:var(--section-color, #60a5fa);color:var(--section-color, #60a5fa)}.section-btn.active{background:rgba(var(--section-color-rgb, 96, 165, 250),.2);border-color:var(--section-color, #60a5fa);color:var(--section-color, #60a5fa)}.summary-rule{display:flex;align-items:center;gap:.375rem;padding:.25rem .4rem;background:#0003;border-radius:4px;font-size:.7rem;color:#9ca3af;margin-bottom:.25rem}.sr-tf{min-width:24px;padding:.1rem .25rem;background:#8b5cf64d;color:#a78bfa;border-radius:2px;font-size:.6rem;font-weight:600;text-align:center}.sr-icon{font-size:.7rem;flex-shrink:0}.sr-ind{color:#6b7280;font-size:.6rem;min-width:60px}.sr-cond{color:#d1d5db;flex:1}.strategy-builder-v3{display:flex;flex-direction:column;height:100%;min-height:600px;background:#1a1a2e;border-radius:12px;overflow:hidden;border:1px solid #0f3460}.section-tabs{display:flex;gap:0;padding:0 1rem;background:#16213e;border-bottom:1px solid #0f3460}.section-tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s}.section-tab:hover{color:#9ca3af;background:#ffffff08}.section-tab.active{color:#e5e7eb;border-bottom-color:var(--section-color, #3b82f6);background:#ffffff0d}.tab-icon{font-size:1rem}.tab-label{white-space:nowrap}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 .375rem;background:var(--section-color, #3b82f6);color:#fff;border-radius:10px;font-size:.7rem;font-weight:600}.section-description{display:flex;align-items:center;gap:.75rem;padding:.75rem 1.5rem;background:#0003;border-left:4px solid;font-size:.85rem;color:#9ca3af}.desc-icon{font-size:1.25rem}.desc-text{flex:1}.priority-badge{padding:.25rem .75rem;background:#f59e0b40;color:#fbbf24;border-radius:20px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.summary-sections{flex:1;overflow-y:auto;padding:1rem}.summary-section{padding:.75rem;margin-bottom:.75rem;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-left:3px solid var(--section-color, #6b7280);border-radius:8px;transition:all .2s}.summary-section.active{background:#ffffff0f;border-color:#ffffff26}.summary-section-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.section-icon{font-size:1rem}.section-name{flex:1;font-size:.8rem;font-weight:500;color:#d1d5db}.section-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;background:var(--section-color, #6b7280);color:#fff;border-radius:11px;font-size:.75rem;font-weight:600}.summary-rules-mini{padding-top:.5rem;border-top:1px solid rgba(255,255,255,.05)}.summary-rule-mini{display:flex;align-items:center;gap:.375rem;padding:.25rem 0;font-size:.7rem;color:#9ca3af}.summary-rule-mini span:first-child{font-size:.8rem}.summary-more{font-size:.65rem;color:#6b7280;font-style:italic;padding-top:.25rem}.logic-hint{padding:.75rem 1rem;margin:1rem;background:#3b82f614;border:1px solid rgba(59,130,246,.15);border-radius:8px;font-size:.75rem;color:#9ca3af;line-height:1.6}.hint-row{margin-bottom:.375rem}.hint-row:last-child{margin-bottom:0}.hint-row strong{color:#e5e7eb}.rule-row.section-block{border-left:3px solid #f59e0b}.rule-row.section-long{border-left:3px solid #10b981}.rule-row.section-short{border-left:3px solid #ef4444}.rule-row.section-exit{border-left:3px solid #8b5cf6}@media (max-width: 1200px){.section-tabs{overflow-x:auto}.section-tab{padding:.625rem 1rem;font-size:.8rem}.tab-label{display:none}}@media (max-width: 992px){.strategy-builder-v3 .builder-body{grid-template-columns:1fr;grid-template-rows:auto 1fr auto}.section-description{padding:.625rem 1rem;font-size:.8rem}}:root{--bg-primary: #09090b;--bg-base: #0f172a;--bg-card: #0f0f12;--bg-elevated: #161619;--bg-hover: #1c1c21;--bg-surface: rgba(15, 23, 42, .5);--bg-overlay: rgba(0, 0, 0, .5);--border-subtle: rgba(255, 255, 255, .05);--border-default: rgba(255, 255, 255, .08);--border-hover: rgba(255, 255, 255, .12);--border-strong: rgba(255, 255, 255, .15);--text-primary: #fafafa;--text-secondary: #a1a1aa;--text-muted: #52525b;--text-tertiary: #94a3b8;--green: #22c55e;--green-dim: rgba(34, 197, 94, .1);--red: #ef4444;--red-dim: rgba(239, 68, 68, .1);--blue: #3b82f6;--blue-dim: rgba(59, 130, 246, .1);--purple: #a855f7;--purple-dim: rgba(168, 85, 247, .1);--amber: #f59e0b;--amber-dim: rgba(245, 158, 11, .1);--emerald: #10b981;--emerald-dim: rgba(16, 185, 129, .1);--orange: #f97316;--orange-dim: rgba(249, 115, 22, .1);--primary-400: #34d399;--primary-500: #10b981;--primary-600: #059669;--primary-700: #047857;--accent-purple: #8b5cf6;--accent-blue: #3b82f6;--font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "JetBrains Mono", "SF Mono", monospace;--shadow-sm: 0 2px 12px rgba(0, 0, 0, .15);--shadow-md: 0 4px 20px rgba(0, 0, 0, .25);--shadow-lg: 0 8px 30px rgba(0, 0, 0, .35);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 18px;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 12px;--spacing-lg: 16px;--spacing-xl: 24px;--spacing-2xl: 32px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 28px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--space-20: 80px;--transition-base: .2s ease;--transition-fast: .15s ease;--transition-slow: .3s ease}body{background:var(--bg-primary);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dashboard-page h1{font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--text-primary)}.dashboard-page h2{font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--text-primary)}.dashboard-page h3{font-size:16px;font-weight:600;color:var(--text-primary)}.dashboard-page{min-height:100vh;background:var(--bg-primary);padding:24px 32px;font-family:var(--font-sans);color:var(--text-primary)}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.page-header h1{font-size:22px;font-weight:600;letter-spacing:-.02em}.page-subtitle{color:var(--text-secondary);font-size:13px;margin-top:4px}.header-actions{display:flex;gap:10px}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:10px;font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);border:none;position:relative;overflow:hidden}.btn svg{transition:all .3s cubic-bezier(.4,0,.2,1)}.btn-secondary{background:var(--bg-elevated);color:var(--text-secondary);border:1px solid var(--border-default)}.btn-secondary:hover{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-hover)}.btn-secondary:hover svg{transform:rotate(180deg)}.btn-primary{background:linear-gradient(135deg,var(--green) 0%,#2dd469 100%);color:#000;font-weight:600;box-shadow:0 2px 12px #22c55e40}.btn-primary:hover{background:linear-gradient(135deg,#2dd469 0%,var(--green) 100%);transform:translateY(-2px);box-shadow:0 4px 20px #22c55e59}.btn-primary:hover svg{transform:scale(1.2) rotate(90deg)}.btn-primary:active{transform:translateY(0)}.btn-danger{background:var(--red-dim);color:var(--red);border:1px solid rgba(239,68,68,.3)}.btn-danger:hover{background:#ef444433;border-color:#ef444480}.card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:20px;transition:all .2s ease}.card:hover{border-color:var(--border-default);transform:translateY(-2px)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:20px;display:flex;flex-direction:column;transition:all .2s ease}.stat-card:hover{border-color:var(--border-default);transform:translateY(-2px)}.stat-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}.stat-icon.blue{background:linear-gradient(135deg,#3b82f626,#3b82f640);color:var(--blue);box-shadow:0 4px 20px #3b82f633,inset 0 1px #ffffff1a}.stat-icon.purple{background:linear-gradient(135deg,#a855f726,#a855f740);color:var(--purple);box-shadow:0 4px 20px #a855f733,inset 0 1px #ffffff1a}.stat-icon.green{background:linear-gradient(135deg,#22c55e26,#22c55e40);color:var(--green);box-shadow:0 4px 20px #22c55e33,inset 0 1px #ffffff1a}.stat-icon.emerald{background:linear-gradient(135deg,#10b98126,#10b98140);color:var(--emerald);box-shadow:0 4px 20px #10b98133,inset 0 1px #ffffff1a}.stat-icon.orange{background:linear-gradient(135deg,#f9731626,#f9731640);color:var(--orange);box-shadow:0 4px 20px #f9731633,inset 0 1px #ffffff1a}.stat-card:hover .stat-icon{transform:translateY(-4px) scale(1.08)}.stat-card:hover .stat-icon.blue{box-shadow:0 8px 30px #3b82f659,inset 0 1px #fff3}.stat-card:hover .stat-icon.purple{box-shadow:0 8px 30px #a855f759,inset 0 1px #fff3}.stat-card:hover .stat-icon.green{box-shadow:0 8px 30px #22c55e59,inset 0 1px #fff3}.stat-card:hover .stat-icon.emerald{box-shadow:0 8px 30px #10b98159,inset 0 1px #fff3}.stat-card:hover .stat-icon.orange{box-shadow:0 8px 30px #f9731659,inset 0 1px #fff3}.stat-value{font-size:24px;font-weight:700;font-family:var(--font-mono);margin-bottom:4px}.stat-label{font-size:13px;color:var(--text-muted);margin-bottom:2px}.stat-subvalue{font-size:12px;color:var(--text-muted);opacity:.7}.panel{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);display:flex;flex-direction:column}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.panel-title{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.panel-title-icon{width:36px;height:36px;border-radius:11px;display:flex;align-items:center;justify-content:center;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}.panel-title-icon.blue{background:linear-gradient(135deg,#3b82f626,#3b82f640);color:var(--blue);box-shadow:0 2px 12px #3b82f626}.panel-title-icon.purple{background:linear-gradient(135deg,#a855f726,#a855f740);color:var(--purple);box-shadow:0 2px 12px #a855f726}.panel-title-icon.emerald{background:linear-gradient(135deg,#10b98126,#10b98140);color:var(--emerald);box-shadow:0 2px 12px #10b98126}.panel:hover .panel-title-icon{transform:scale(1.1);box-shadow:0 4px 20px #3b82f640}.panel-badge{font-size:11px;font-weight:600;padding:4px 10px;border-radius:20px;background:var(--green-dim);color:var(--green)}.panel-action{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--text-secondary);cursor:pointer;padding:6px 10px;border-radius:8px;transition:all .15s ease;text-decoration:none}.panel-action:hover{background:var(--bg-elevated);color:var(--text-primary)}.panel-body{flex:1;overflow:hidden;display:flex;flex-direction:column;padding:20px}.table-container{overflow-x:auto;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-lg)}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th{text-align:left;padding:14px 16px;background:var(--bg-elevated);color:var(--text-muted);font-weight:500;border-bottom:1px solid var(--border-subtle);white-space:nowrap}.data-table td{padding:12px 16px;color:var(--text-secondary);border-bottom:1px solid var(--border-subtle)}.data-table tr:last-child td{border-bottom:none}.data-table tr:hover td{background:var(--bg-elevated)}.badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:6px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.badge.success{background:var(--green-dim);color:var(--green)}.badge.danger{background:var(--red-dim);color:var(--red)}.badge.warning{background:var(--amber-dim);color:var(--amber)}.badge.info{background:var(--blue-dim);color:var(--blue)}.status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.status-dot.running{background:var(--green);box-shadow:0 0 10px var(--green);animation:pulse 2s infinite}.status-dot.paused{background:var(--amber)}.status-dot.stopped{background:var(--red)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.form-label{font-size:13px;font-weight:500;color:var(--text-secondary)}.form-input,.form-select,.form-textarea{background:var(--bg-elevated);border:1px solid var(--border-default);border-radius:10px;padding:10px 14px;color:var(--text-primary);font-size:14px;font-family:inherit;transition:all .2s ease}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px #3b82f61a}.form-textarea{resize:vertical;min-height:80px}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.5}}.skeleton{background:var(--bg-elevated);border-radius:8px;animation:skeleton-pulse 2s cubic-bezier(.4,0,.6,1) infinite}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--bg-hover);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--border-hover)}@media (max-width: 768px){.dashboard-page{padding:16px 20px}.stats-grid{grid-template-columns:repeat(2,1fr)}.page-header{flex-direction:column;align-items:flex-start;gap:16px}.header-actions{width:100%;justify-content:flex-end}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background-color:#0f172a;color:#f8fafc;min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:20px}.card{background:#1e293b;border-radius:12px;box-shadow:0 4px 20px #0000004d;padding:30px;border:1px solid #334155}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 24px;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}.btn-google{background:#4285f4;color:#fff}.btn-google:hover{background:#5a9cf4}.btn-logout{background:#ef444433;color:#f87171;border:1px solid rgba(239,68,68,.3)}.btn-logout:hover{background:#ef44444d}.btn-primary{width:100%;background:#6366f1;color:#fff}.btn-primary:hover{background:#818cf8}.btn-primary:disabled{background:#4338ca;opacity:.5;cursor:not-allowed}.btn-secondary{background:#475569;color:#f8fafc}.btn-secondary:hover{background:#64748b}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#f87171}.btn-sm{padding:8px 16px;font-size:14px}.login-page{display:flex!important;justify-content:center;align-items:center;min-height:100vh!important;background:linear-gradient(135deg,#0f172a,#1e293b)!important;width:100%;padding:20px}.login-card{text-align:center;min-width:380px;max-width:420px}.login-card h1{margin-bottom:10px;color:#f8fafc}.login-card p{margin-bottom:20px;color:#94a3b8}.heading-1{font-size:32px;font-weight:800;letter-spacing:-.03em;color:var(--text-primary, #f8fafc);margin:0}.text-body{font-size:15px;color:var(--text-secondary, #94a3b8);line-height:1.6;margin:0}.auth-tabs{display:flex;margin-bottom:24px;border-bottom:2px solid var(--border-default, #334155)}.auth-tab{flex:1;padding:14px 16px;background:none;border:none;font-size:15px;cursor:pointer;color:var(--text-tertiary, #94a3b8);transition:all .2s;border-bottom:2px solid transparent;margin-bottom:-2px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px}.auth-tab:hover{color:var(--text-primary, #f8fafc)}.auth-tab.active{color:var(--primary-400, #34d399);border-bottom-color:var(--primary-500, #10b981)}.tabs{display:flex;margin-bottom:20px;border-bottom:2px solid #334155}.tab{flex:1;padding:12px;background:none;border:none;font-size:15px;cursor:pointer;color:#94a3b8;transition:all .2s;border-bottom:2px solid transparent;margin-bottom:-2px}.tab:hover{color:#f8fafc}.tab.active{color:#6366f1;border-bottom-color:#6366f1;font-weight:500}.auth-form{text-align:left}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-size:14px;color:#e2e8f0;font-weight:500}.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px 14px;border:1px solid #475569;border-radius:8px;font-size:15px;transition:all .2s;background:#1e293b;color:#f8fafc}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f133}.form-group input::-moz-placeholder,.form-group textarea::-moz-placeholder{color:#64748b}.form-group input::placeholder,.form-group textarea::placeholder{color:#64748b}.form-group small{display:block;margin-top:6px;font-size:13px;color:#64748b}.form-group small.no-symbols-warning{color:#f59e0b}.perp-badge{display:inline-block;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:10px;font-weight:600;padding:2px 6px;border-radius:4px;margin-left:6px;vertical-align:middle;text-transform:uppercase;letter-spacing:.5px}.searchable-select{position:relative}.searchable-select input{width:100%;padding:12px 14px;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f8fafc;font-size:14px}.searchable-select input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.searchable-select input:disabled{opacity:.5;cursor:not-allowed}.searchable-dropdown{position:absolute;top:100%;left:0;right:0;max-height:280px;overflow-y:auto;background:#1e293b;border:1px solid #475569;border-radius:8px;margin-top:4px;z-index:100;box-shadow:0 10px 25px #0006}.dropdown-item{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;cursor:pointer;transition:background .15s;border-bottom:1px solid #334155}.dropdown-item:last-child{border-bottom:none}.dropdown-item:hover{background:#334155}.dropdown-item.selected{background:#6366f133;border-left:3px solid #6366f1}.dropdown-item .symbol-name{font-weight:600;color:#f8fafc}.dropdown-item .symbol-pair{font-size:12px;color:#94a3b8}.dropdown-empty{padding:16px;text-align:center;color:#64748b;font-size:13px}.dropdown-more{padding:10px 14px;text-align:center;color:#6366f1;font-size:12px;background:#0f172a;border-top:1px solid #334155}.selected-symbol{color:#10b981!important}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.error-message{background:#ef444426;color:#f87171;padding:12px 14px;border-radius:8px;font-size:14px;margin-bottom:16px;border:1px solid rgba(239,68,68,.3);display:flex;align-items:center;gap:8px}.divider{display:flex;align-items:center;margin:20px 0}.divider:before,.divider:after{content:"";flex:1;height:1px;background:#334155}.divider span{padding:0 15px;color:#64748b;font-size:14px}.dashboard-layout{display:flex;min-height:100vh}.sidebar{width:260px;background:#1e293b;color:#f8fafc;display:flex;flex-direction:column;position:fixed;height:100vh;overflow-y:auto;border-right:1px solid #334155}.sidebar-header{padding:24px 20px;border-bottom:1px solid #334155}.sidebar-header h2{font-size:20px;font-weight:600;color:#f8fafc}.sidebar-nav{flex:1;padding:20px 12px}.sidebar-nav a{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#94a3b8;text-decoration:none;border-radius:8px;margin-bottom:4px;transition:all .2s}.sidebar-nav a:hover{background:#6366f11a;color:#f8fafc}.sidebar-nav a.active{background:#6366f1;color:#fff}.sidebar-nav .icon{font-size:20px}.sidebar-footer{padding:16px;border-top:1px solid #334155}.user-profile{display:flex;align-items:center;gap:12px;margin-bottom:12px}.user-avatar-small{width:40px;height:40px;border-radius:50%}.user-info-small{flex:1;min-width:0}.user-name{font-size:14px;font-weight:500;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-email{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-logout-small{width:100%;padding:10px 12px;background:#ef444426;color:#f87171;border:1px solid rgba(239,68,68,.3);border-radius:8px;cursor:pointer;font-size:14px;transition:all .2s}.btn-logout-small:hover{background:#ef444440}.main-content{flex:1;margin-left:260px;padding:32px;background:#0f172a;min-height:100vh}.page-header{margin-bottom:32px}.page-header h1{font-size:32px;color:#f8fafc;margin-bottom:8px;font-weight:700}.page-header p{color:#94a3b8;font-size:16px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:#1e293b;padding:24px;border-radius:12px;border:1px solid #334155;display:flex;gap:16px;transition:all .2s}.stat-card:hover{border-color:#6366f1;box-shadow:0 4px 20px #6366f126}.stat-icon{font-size:32px;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:#6366f126;border-radius:12px}.stat-content{flex:1}.stat-label{font-size:14px;color:#94a3b8;margin-bottom:6px}.stat-value{font-size:28px;font-weight:700;color:#f8fafc;margin-bottom:4px}.stat-detail{font-size:13px;color:#64748b}.dashboard-section{background:#1e293b;border-radius:12px;padding:24px;margin-bottom:24px;border:1px solid #334155}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{font-size:20px;color:#f8fafc;font-weight:600}.empty-state{text-align:center;padding:60px 20px}.empty-state p{color:#94a3b8;margin:12px 0 24px}.empty-icon{font-size:64px;margin-bottom:16px;opacity:.6}.empty-state h3{color:#f8fafc;margin-bottom:8px}.bots-list{display:flex;flex-direction:column;gap:12px}.bot-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#334155;border-radius:10px;transition:all .2s;border:1px solid transparent}.bot-item:hover{border-color:#6366f1;background:#3f4f6b}.bot-info .bot-name{font-weight:500;color:#f8fafc;margin-bottom:4px}.bot-info .bot-type{font-size:14px;color:#94a3b8}.bot-status{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.status-badge{padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600}.status-active{background:#22c55e33;color:#4ade80}.status-paused{background:#f59e0b33;color:#fbbf24}.status-stopped{background:#ef444433;color:#f87171}.bot-last-run{font-size:12px;color:#64748b}.warning-box{display:flex;align-items:center;gap:16px;padding:16px 20px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:10px;margin-bottom:24px}.warning-icon{font-size:24px}.warning-box strong{display:block;margin-bottom:4px;color:#fbbf24}.warning-box p{margin:0;color:#fcd34d;font-size:14px}.quick-actions{background:#1e293b;border-radius:12px;padding:24px;border:1px solid #334155}.quick-actions h2{font-size:20px;color:#f8fafc;margin-bottom:20px;font-weight:600}.actions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.action-card{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;background:#334155;border-radius:12px;text-decoration:none;color:inherit;transition:all .2s;border:1px solid transparent}.action-card:hover{background:#3f4f6b;border-color:#6366f1;transform:translateY(-2px)}.action-icon{font-size:32px}.action-label{font-size:14px;font-weight:500;color:#f8fafc;text-align:center}.loading-page{display:flex;justify-content:center;align-items:center;min-height:60vh;font-size:18px;color:#94a3b8}.loading{display:flex;justify-content:center;align-items:center;min-height:100vh;font-size:18px;color:#94a3b8}.info-box{background:#6366f11a;border:1px solid rgba(99,102,241,.3);border-radius:10px;padding:16px;margin-bottom:24px;color:#a5b4fc;font-size:14px}.info-box strong{display:block;margin-bottom:6px;color:#c7d2fe}.filter-tabs{display:flex;gap:8px;margin-bottom:24px}.filter-tab{padding:10px 20px;background:#334155;border:1px solid #475569;border-radius:8px;cursor:pointer;transition:all .2s;font-size:14px;color:#94a3b8}.filter-tab:hover{background:#3f4f6b;color:#f8fafc}.filter-tab.active{background:#6366f1;color:#fff;border-color:#6366f1}.bots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,340px));gap:20px;justify-content:start}.bot-card{background:#1e293b;border:1px solid #334155;border-radius:12px;overflow:hidden;transition:all .2s;max-width:340px}.bot-card:hover{border-color:#6366f1;box-shadow:0 8px 30px #6366f133}.bot-card.completed{opacity:.7;background:#0f172a}.bot-card.completed:hover{opacity:1}.bot-card .card-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #334155;background:#172033}.bot-card .header-left{display:flex;gap:12px;align-items:center}.bot-card .bot-icon{width:36px;height:36px;background:#6366f133;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#818cf8;flex-shrink:0}.bot-card .bot-icon svg{width:18px;height:18px}.bot-card .bot-name{font-size:15px;font-weight:600;color:#f8fafc;margin:0}.bot-card .bot-type{font-size:12px;color:#94a3b8}.bot-card .header-right{display:flex;align-items:center;gap:8px}.bot-card .status-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:20px;font-size:11px;font-weight:600}.bot-card .status-dot{width:6px;height:6px;border-radius:50%}.bot-card .card-body{padding:16px}.bot-card .info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.bot-card .info-item{display:flex;flex-direction:column;gap:4px}.bot-card .info-item .info-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.bot-card .info-item .info-value{font-size:14px;color:#f8fafc;font-weight:600}.bot-card .worker-value.assigned{color:#4ade80}.bot-card .worker-value.unassigned{color:#64748b;font-style:italic;font-weight:400}.bot-card .volume-stats{margin-top:14px;padding-top:14px;border-top:1px solid #334155}.bot-card .volume-row{display:flex;gap:20px}.bot-card .volume-item{display:flex;flex-direction:column;gap:4px;flex:1}.bot-card .volume-label{font-size:10px;color:#64748b;text-transform:uppercase;font-weight:500}.bot-card .volume-value{font-size:15px;color:#f8fafc;font-weight:700}.bot-card .volume-value.total{color:#4ade80}.bot-card .volume-value.target{color:#818cf8}.bot-card .progress-container{display:flex;align-items:center;gap:12px;margin-top:10px}.bot-card .progress-bar{flex:1;height:8px;background:#334155;border-radius:4px;overflow:hidden}.bot-card .progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#22c55e);border-radius:4px}.bot-card .progress-text{font-size:12px;color:#94a3b8;font-weight:600;min-width:45px;text-align:right}.bot-card .card-actions{display:flex;flex-wrap:wrap;gap:8px;padding:14px 16px;border-top:1px solid #334155;background:#172033}.bot-card .action-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid #475569;border-radius:8px;background:#334155;color:#e2e8f0;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.bot-card .action-btn:hover{background:#3f4f6b;border-color:#6366f1}.bot-card .action-btn:disabled{opacity:.4;cursor:not-allowed}.bot-card .action-btn.start{background:#22c55e33;border-color:#22c55e66;color:#4ade80}.bot-card .action-btn.start:hover{background:#22c55e4d}.bot-card .action-btn.pause{background:#f59e0b33;border-color:#f59e0b66;color:#fbbf24}.bot-card .action-btn.pause:hover{background:#f59e0b4d}.bot-card .action-btn.stop{background:#ef444433;border-color:#ef444466;color:#f87171}.bot-card .action-btn.stop:hover{background:#ef44444d}.bot-card .action-btn.complete{background:#a855f733;border-color:#a855f766;color:#c084fc}.bot-card .action-btn.complete:hover{background:#a855f74d}.bot-card .action-btn.restore{background:#6366f133;border-color:#6366f166;color:#a5b4fc}.bot-card .action-btn.restore:hover{background:#6366f14d}.bot-card .action-btn.chart{background:#0ea5e933;border-color:#0ea5e966;color:#38bdf8}.bot-card .action-btn.chart:hover{background:#0ea5e94d}.bot-card .card-footer{padding:12px 16px;background:#ef44441a;border-top:1px solid rgba(239,68,68,.2)}.bot-card .footer-info{display:flex;align-items:center;gap:6px;color:#94a3b8;font-size:12px}.bot-card .error-info{display:flex;align-items:flex-start;gap:8px;color:#f87171;font-size:12px}.bot-card .error-info svg{flex-shrink:0;width:14px;height:14px;margin-top:1px}.bot-card .error-text{flex:1;word-break:break-word;line-height:1.4}.bot-card .error-count{color:#94a3b8;flex-shrink:0;font-weight:500}.footer-label{color:#64748b}.footer-value{color:#f8fafc}.bot-error{background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:8px;padding:12px;margin-top:12px;display:flex;align-items:center;gap:10px;font-size:13px}.error-icon{font-size:16px}.error-count{color:#f87171;font-size:12px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#1e293b;border-radius:16px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 25px 80px #00000080;border:1px solid #334155}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 24px 16px;border-bottom:1px solid #334155}.modal-header h2{font-size:22px;color:#f8fafc;font-weight:600}.modal-close{background:#334155;border:none;font-size:20px;cursor:pointer;color:#94a3b8;padding:0;width:36px;height:36px;border-radius:8px;transition:all .2s;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#3f4f6b;color:#f8fafc}.modal-body{padding:24px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #334155}.steps-indicator{display:flex;justify-content:space-between;margin-bottom:32px;position:relative}.steps-indicator:before{content:"";position:absolute;top:20px;left:40px;right:40px;height:2px;background:#334155;z-index:0}.step{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;z-index:1}.step-number{width:40px;height:40px;border-radius:50%;background:#1e293b;border:2px solid #475569;display:flex;align-items:center;justify-content:center;font-weight:600;color:#94a3b8;transition:all .3s}.step.active .step-number{background:#6366f1;border-color:#6366f1;color:#fff}.step-label{font-size:13px;color:#64748b;font-weight:500}.step.active .step-label{color:#818cf8}.step-content{min-height:300px}.step-content h3{font-size:20px;color:#f8fafc;margin-bottom:8px}.step-description{color:#94a3b8;margin-bottom:24px;font-size:14px}.bot-types-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:16px}.bot-type-card{padding:20px;border:2px solid #334155;border-radius:12px;cursor:pointer;transition:all .2s;background:#0f172a}.bot-type-card:hover{border-color:#6366f1;background:#6366f11a}.bot-type-card.selected{border-color:#6366f1;background:#6366f126}.bot-type-card h4{color:#f8fafc;margin-bottom:8px;font-size:16px}.bot-type-card p{color:#94a3b8;font-size:13px;margin:0}.coming-soon{text-align:center;padding:80px 20px}.coming-soon-icon{font-size:80px;margin-bottom:20px;opacity:.6}.coming-soon h2{color:#f8fafc;margin-bottom:12px}.coming-soon p{color:#94a3b8;font-size:16px}.dex-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-bottom:32px}.dex-card{background:#1e293b;border-radius:12px;padding:20px;border:1px solid #334155;transition:all .2s}.dex-card:hover{border-color:#6366f1}.dex-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dex-card-header h3{font-size:18px;color:#f8fafc;font-weight:600}.dex-card-body{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.dex-info-row{display:flex;justify-content:space-between;font-size:14px;color:#94a3b8}.dex-info-row span:last-child{color:#f8fafc}.dex-card-footer{padding-top:12px;border-top:1px solid #334155}.dex-list-section{background:#1e293b;border-radius:12px;padding:24px;border:1px solid #334155}.dex-list-section h2{margin-bottom:16px;color:#f8fafc;font-weight:600}.dex-table{width:100%;border-collapse:collapse}.dex-table thead{background:#0f172a}.dex-table th{padding:14px 16px;text-align:left;font-weight:600;color:#e2e8f0;font-size:14px}.dex-table td{padding:14px 16px;border-top:1px solid #334155;font-size:14px;color:#94a3b8}.dex-table tbody tr:hover{background:#172033}.status-inactive{background:#64748b33;color:#94a3b8}.wallet-tabs-container{background:#1e293b;border-radius:12px;border:1px solid #334155;overflow:hidden;margin-bottom:32px}.wallet-tabs{display:flex;gap:0;border-bottom:2px solid #334155;background:#172033;overflow-x:auto;padding:12px 20px 0}.wallet-tab{position:relative;display:flex;align-items:center;gap:12px;padding:14px 24px;background:transparent;border:none;border-bottom:3px solid transparent;margin-bottom:-2px;cursor:pointer;transition:all .2s;font-size:15px;color:#94a3b8;white-space:nowrap;min-width:-moz-fit-content;min-width:fit-content}.wallet-tab:hover{background:#6366f11a;color:#c7d2fe}.wallet-tab.active{background:#1e293b;color:#818cf8;border-bottom-color:#6366f1;font-weight:500}.tab-header{display:flex;align-items:center;gap:8px}.tab-icon{font-size:20px}.tab-name{font-size:15px;font-weight:500}.tab-status{font-size:12px;margin-left:4px}.tab-status.active{color:#4ade80}.tab-status.inactive{color:#f87171}.tab-delete{position:absolute;top:4px;right:4px;width:22px;height:22px;background:#ef444426;border:none;border-radius:50%;cursor:pointer;font-size:12px;color:#f87171;opacity:0;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.wallet-tab:hover .tab-delete{opacity:1}.tab-delete:hover{background:#ef44444d}.wallet-content{padding:32px;min-height:400px}.wallet-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;color:#94a3b8}.wallet-empty .empty-icon{font-size:72px;margin-bottom:20px;opacity:.4}.wallet-empty h3{color:#f8fafc;margin-bottom:8px}.wallet-empty p{color:#64748b}.wallet-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:16px}.wallet-loading .spinner{width:48px;height:48px;border:4px solid #334155;border-top-color:#6366f1;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.wallet-loading p{color:#94a3b8;font-size:15px}.wallet-error{display:flex;align-items:center;justify-content:center;min-height:400px;color:#f87171}.wallet-info{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.wallet-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;padding-bottom:20px;border-bottom:2px solid #334155}.wallet-header h2{font-size:28px;color:#f8fafc;margin-bottom:8px;font-weight:700}.wallet-address{font-size:14px;color:#64748b;font-family:Courier New,monospace;margin-top:8px}.stablecoin-summary{margin-top:16px;padding:14px 18px;background:#22c55e1a;border-radius:10px;border-left:4px solid #22c55e;display:flex;flex-direction:column;gap:6px}.stablecoin-label{font-size:13px;color:#4ade80;font-weight:500}.stablecoin-value{font-size:24px;font-weight:700;color:#4ade80;letter-spacing:-.5px}.stablecoin-breakdown{font-size:12px;color:#64748b;font-family:Courier New,monospace}.wallet-timestamp{font-size:13px;color:#64748b;text-align:right}.wallet-section{margin-bottom:32px}.wallet-section h3{font-size:20px;color:#f8fafc;margin-bottom:16px;display:flex;align-items:center;gap:8px;font-weight:600}.wallet-table{width:100%;border-collapse:collapse;background:#172033;border:1px solid #334155;border-radius:10px;overflow:hidden}.wallet-table thead{background:#0f172a}.wallet-table th{padding:14px 16px;text-align:left;font-weight:600;color:#e2e8f0;font-size:13px;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #334155}.wallet-table td{padding:14px 16px;font-size:14px;color:#94a3b8;border-bottom:1px solid #334155}.wallet-table tbody tr:last-child td{border-bottom:none}.wallet-table tbody tr:hover{background:#1e293b}.wallet-table td strong{color:#f8fafc;font-weight:600}.no-data{color:#64748b;font-style:italic;padding:20px 0}.badge{display:inline-block;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600}.badge-success{background:#22c55e33;color:#4ade80}.badge-danger{background:#ef444433;color:#f87171}.badge-spot{background:#0ea5e933;color:#38bdf8}.badge-perp{background:#ec489933;color:#f472b6}.section-divider{display:flex;align-items:center;margin:1.5rem 0 1rem;gap:1rem}.section-divider:before,.section-divider:after{content:"";flex:1;height:1px;background:#334155}.section-divider span{font-size:.75rem;font-weight:600;text-transform:uppercase;color:#64748b;letter-spacing:.05em}.modal-large{max-width:700px;width:95%}.text-success{color:#4ade80;font-weight:600}.text-danger{color:#f87171;font-weight:600}.toggle-group{display:flex;gap:12px;margin-top:6px}.toggle-option{display:flex;align-items:center;gap:8px;cursor:pointer;padding:10px 16px;border:1px solid #475569;border-radius:8px;font-size:14px;transition:all .2s;background:#334155;color:#94a3b8}.toggle-option:hover{border-color:#6366f1;background:#3f4f6b;color:#f8fafc}.toggle-option input[type=radio]{accent-color:#6366f1}.toggle-option input[type=radio]:checked+span{color:#818cf8;font-weight:500}.grid-info-box{display:flex;align-items:flex-start;gap:12px;padding:14px 18px;background:#6366f11a;border:1px solid rgba(99,102,241,.3);border-radius:10px;margin-bottom:20px;font-size:14px;color:#a5b4fc}.grid-info-box svg{flex-shrink:0;color:#818cf8;margin-top:2px}.grid-preview{background:#0f172a;border-radius:12px;padding:18px;margin-top:16px;border:1px solid #334155}.grid-preview .preview-label{font-size:12px;color:#64748b;margin-bottom:14px;font-weight:500}.grid-preview .preview-range{display:flex;align-items:center;gap:14px}.grid-preview .lower,.grid-preview .upper{font-size:14px;font-weight:600;color:#f8fafc;min-width:75px}.grid-preview .lower{text-align:right;color:#4ade80}.grid-preview .upper{text-align:left;color:#f87171}.grid-preview .range-bar{flex:1;height:10px;background:linear-gradient(90deg,#22c55e,#6366f1,#ef4444);border-radius:5px;display:flex;align-items:center;justify-content:space-around;padding:0 6px;position:relative}.grid-preview .grid-level{width:3px;height:18px;background:#f8fafc;border-radius:2px;box-shadow:0 2px 4px #0000004d}.grid-preview .preview-info{font-size:12px;color:#64748b;margin-top:12px;text-align:center}.metrics-comparison-section{background:#1e293b;border-radius:12px;padding:24px;margin-bottom:24px;border:1px solid #334155}.metrics-comparison-section h2{font-size:20px;color:#f8fafc;margin-bottom:4px;font-weight:600}.metrics-comparison-section .section-desc{font-size:14px;color:#64748b;margin-bottom:20px}.comparison-charts{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.comparison-chart{background:#0f172a;border-radius:12px;padding:18px;border:1px solid #334155}.comparison-chart h3{font-size:14px;color:#94a3b8;margin-bottom:14px;font-weight:500}@media (max-width: 1024px){.comparison-charts{grid-template-columns:1fr}}.comparison-charts-timeseries{display:flex;flex-direction:column;gap:24px}.comparison-chart-wide{background:#0f172a;border-radius:12px;padding:20px;border:1px solid #334155}.comparison-chart-wide h3{font-size:14px;color:#94a3b8;margin-bottom:16px;font-weight:500}.comparison-chart-wide .recharts-legend-wrapper{padding-top:10px!important}.comparison-chart-wide .recharts-legend-item-text{color:#94a3b8!important;font-size:12px!important}.workers-section{background:#1e293b;border-radius:12px;padding:24px;border:1px solid #334155}.workers-section h2{font-size:20px;color:#f8fafc;margin-bottom:20px;font-weight:600}.workers-list{display:flex;flex-direction:column;gap:12px}.dashboard-home{max-width:1400px}.admin-stats-section{margin-top:32px;padding-top:32px;border-top:1px solid #334155}.admin-stats-section h2{color:#818cf8;font-size:20px;margin-bottom:20px;font-weight:600}.admin-stats .admin-stat{background:#6366f114;border:1px solid rgba(99,102,241,.25)}.admin-action{background:#6366f114!important;border:1px solid rgba(99,102,241,.25)!important}.admin-action:hover{background:#6366f126!important;border-color:#6366f1!important}.admin-users-page{max-width:1400px}.admin-users-page .users-table{width:100%;border-collapse:collapse;background:#1e293b;border-radius:12px;overflow:hidden;border:1px solid #334155}.admin-users-page .users-table thead{background:#0f172a}.admin-users-page .users-table th{padding:16px;text-align:left;font-weight:600;color:#e2e8f0;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.admin-users-page .users-table td{padding:16px;border-top:1px solid #334155;color:#94a3b8;font-size:14px}.admin-users-page .users-table tbody tr:hover{background:#172033}.admin-users-page .user-cell{display:flex;align-items:center;gap:12px}.admin-users-page .user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px}.admin-users-page .user-name{color:#f8fafc;font-weight:500}.admin-users-page .user-email{color:#64748b;font-size:13px}.admin-users-page .role-badge{padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}.admin-users-page .role-badge.admin{background:#6366f133;color:#a5b4fc}.admin-users-page .role-badge.user{background:#22c55e33;color:#4ade80}.admin-users-page .role-badge:hover{opacity:.8}.admin-users-page .action-buttons{display:flex;gap:8px}.admin-users-page .btn-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #475569;background:#334155;color:#94a3b8;cursor:pointer;transition:all .2s}.admin-users-page .btn-icon:hover{background:#3f4f6b;color:#f8fafc}.admin-users-page .btn-icon.danger:hover{background:#ef444433;border-color:#ef444466;color:#f87171}.coming-soon-page{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:40px}.coming-soon-content{text-align:center;max-width:500px}.coming-soon-content .icon{font-size:64px;display:block;margin-bottom:20px;opacity:.7}.coming-soon-content h1{color:#f8fafc;font-size:28px;margin-bottom:12px;font-weight:700}.coming-soon-content p{color:#94a3b8;font-size:16px;margin-bottom:32px}.features-preview{background:#1e293b;border-radius:12px;padding:24px;text-align:left;border:1px solid #334155}.features-preview h3{color:#e2e8f0;font-size:14px;margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px}.features-preview ul{list-style:none;padding:0;margin:0}.features-preview li{color:#94a3b8;padding:10px 0;border-bottom:1px solid #334155;font-size:14px}.features-preview li:last-child{border-bottom:none}.features-preview li:before{content:"→ ";color:#6366f1}@media (max-width: 768px){.dashboard-layout{flex-direction:column}.sidebar{width:100%;height:auto;position:static}.main-content{margin-left:0;padding:20px}.stats-grid,.bots-grid{grid-template-columns:1fr}.actions-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.form-row{grid-template-columns:1fr}.wallet-tabs{padding:8px 12px 0}.wallet-tab{padding:12px 16px;font-size:14px}.wallet-content{padding:20px}.wallet-header{flex-direction:column;gap:12px}.wallet-timestamp{text-align:left}.wallet-table{font-size:13px}.wallet-table th,.wallet-table td{padding:10px 12px}}.test-warning{background:linear-gradient(90deg,#f59e0b,#d97706);color:#000;text-align:center;padding:10px 20px;font-weight:600;font-size:14px;position:fixed;top:0;left:0;right:0;z-index:9999;box-shadow:0 2px 10px #f59e0b4d}.test-warning-dashboard{background:linear-gradient(90deg,#f59e0b,#d97706);color:#000;text-align:center;padding:8px 20px;font-weight:600;font-size:13px;margin-bottom:20px;border-radius:8px;box-shadow:0 2px 10px #f59e0b33}.login-page{padding-top:50px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.animate-fade-in{animation:fadeIn .4s ease both}.animate-fade-in-down{animation:fadeInDown .4s ease both}.animate-fade-in-up{animation:fadeInUp .4s ease both}.animate-scale-in{animation:scaleIn .3s ease both}.mb-2{margin-bottom:8px}.mb-6{margin-bottom:24px}.my-6{margin-top:24px;margin-bottom:24px}.flex{display:flex}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-center{justify-content:center}.gap-3{gap:12px}.gap-4{gap:16px}.flex-shrink-0{flex-shrink:0}.flex-1{flex:1}.text-center{text-align:center}.text-success-300{color:#6ee7b7}.text-success-400{color:#34d399}.bg-gradient-success{background:linear-gradient(135deg,#10b98126,#22c55e26)}.border-success-400{border-color:#34d399}.rounded-xl{border-radius:12px}.p-5{padding:20px}.text-lg{font-size:18px}.text-sm{font-size:14px}.font-semibold{font-weight:600}
