.custom-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:16px;padding-right:36px!important}.calendar-view{width:100%;display:flex;flex-direction:column}.calendar-header{margin-bottom:1rem;display:grid;text-align:center;font-weight:500;gap:.25rem;color:#94a3b8;grid-template-columns:repeat(8,1fr)}@media (max-width: 768px){.calendar-header{display:none}}.calendar-grid{display:grid;gap:.65rem;grid-template-columns:repeat(8,1fr)}@media (max-width: 768px){.calendar-grid{display:flex;flex-direction:column;gap:.5rem}}.calendar-day{position:relative;display:flex;flex-direction:column;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(18 18 26 / var(--tw-bg-opacity));padding:.5rem;height:120px;min-height:120px}@media (max-width: 768px){.calendar-day{height:auto;min-height:80px;padding:.75rem;flex-direction:column;align-items:stretch;gap:.5rem}.calendar-day.empty{display:none}}@media (max-width: 1024px) and (min-width: 769px){.calendar-day{height:100px;min-height:100px;padding:.5rem}}.calendar-day.empty{background-color:transparent}.calendar-day.profit-day{background:linear-gradient(135deg,rgba(0,204,154,.063) 0%,transparent 100%)}.calendar-day.loss-day{background:linear-gradient(135deg,rgba(255,56,56,.063) 0%,transparent 100%)}.calendar-day.break-even-day{background:linear-gradient(135deg,rgba(156,163,175,.063) 0%,transparent 100%)}.calendar-day.profit-day:before{content:"";position:absolute;inset:0;border-radius:.5rem;background-color:#00cc9a1a;pointer-events:none}.calendar-day.loss-day:before{content:"";position:absolute;inset:0;border-radius:.5rem;background-color:#ff6b6b1a;pointer-events:none}.calendar-day.break-even-day:before{content:"";position:absolute;inset:0;border-radius:.5rem;background-color:#9ca3af1a;pointer-events:none}.day-header{margin-bottom:.5rem;display:flex;align-items:flex-start;justify-content:space-between;position:relative;z-index:1;width:100%}@media (max-width: 768px){.day-header{flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:.5rem;min-width:auto;flex-shrink:0;width:100%}}.day-number{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity));position:relative;z-index:1}@media (max-width: 768px){.day-number{font-size:1.125rem;font-weight:600;color:#fff;margin-bottom:.25rem}}.day-total{font-size:.75rem;line-height:1rem;font-weight:500;position:relative;z-index:1}@media (max-width: 768px){.day-total{font-size:.75rem;white-space:nowrap}}.day-trades{display:flex;flex-direction:column;gap:.25rem;position:relative;z-index:1;max-height:120px;overflow-y:auto;scrollbar-width:none}@media (max-width: 768px){.day-trades{flex:1;max-height:none;overflow-y:visible;gap:.375rem;display:flex;flex-direction:column}}@media (max-width: 1024px) and (min-width: 769px){.day-trades{max-height:80px}}.day-trades.has-more:after{content:"";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:4px;height:4px;background-color:#6366f1;border-radius:50%;opacity:.6;animation:pulse 2s infinite}@media (max-width: 768px){.day-trades.has-more:after{display:none}}.scroll-indicator{position:absolute;bottom:2px;left:0;right:0;display:flex;justify-content:center;transition:opacity .2s ease;opacity:0;pointer-events:none}.day-trades.can-scroll:not(.is-scrolled) .scroll-indicator{opacity:.6}@media (max-width: 768px){.scroll-indicator{display:none}}@keyframes pulse{0%{transform:translate(-50%) scale(1);opacity:.6}50%{transform:translate(-50%) scale(1.5);opacity:.3}to{transform:translate(-50%) scale(1);opacity:.6}}.trade-line{display:flex;align-items:center;gap:.5rem;font-size:.75rem;line-height:1rem}@media (max-width: 768px){.trade-line{font-size:.75rem;gap:.5rem;padding:.375rem .5rem;background:rgba(255,255,255,.03);border-radius:.375rem;border:1px solid rgba(255,255,255,.05);display:flex;align-items:center;justify-content:space-between;width:100%}}.trade-pair{min-width:60px;font-weight:500}@media (max-width: 768px){.trade-pair{min-width:auto;flex-shrink:0}}.trade-profit{margin-left:auto;font-weight:500}@media (max-width: 768px){.trade-profit{margin-left:auto;white-space:nowrap}}.profit-color{color:#00cc9a}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}.drag-over{border:2px dashed #7C76FF;border-radius:.75rem;background-color:#7c76ff1a}.draggable-block{cursor:move;transition:transform .2s,opacity .2s}.draggable-block.dragging{opacity:.5;transform:scale(.95)}@media (max-width: 1024px){.trade-details-modal{padding:1rem}.trade-details-columns{flex-direction:column}.trade-details-column{width:100%}}@keyframes dragHighlight{0%{background-color:#7c76ff00}50%{background-color:#7c76ff1a}to{background-color:#7c76ff00}}.drag-highlight{animation:dragHighlight 1s ease-in-out}@media (max-width: 768px){.week-row{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;padding:1rem;background:rgba(255,255,255,.02);border-radius:.75rem;border:1px solid rgba(255,255,255,.05)}.week-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.75rem;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:0}.week-title{font-size:1rem;font-weight:600;color:#fff}.week-summary{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.week-profit{font-size:.875rem;font-weight:600}.week-stats{font-size:.75rem;color:#94a3b8}.week-days{display:flex;flex-direction:column;gap:.75rem}.week-days .calendar-day{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);padding:.75rem;border-radius:.5rem}.week-days .day-header{margin-bottom:.5rem}.week-days .day-number{font-size:1rem;font-weight:600;color:#fff}.week-days .day-total{font-size:.75rem;font-weight:500}.week-days .day-trades{gap:.5rem}.week-days .trade-line{padding:.5rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:.375rem;font-size:.75rem}}@media (max-width: 480px){.calendar-day{padding:.5rem;min-height:60px}.day-number{font-size:1rem}.day-total{font-size:.6875rem}.trade-line{font-size:.6875rem;gap:.375rem}.week-row{padding:.75rem;margin-bottom:1rem}.week-title{font-size:.875rem}.week-profit{font-size:.8125rem}}@media (max-width: 768px) and (orientation: landscape){.calendar-day{min-height:70px;padding:.5rem}.week-row{padding:.75rem;margin-bottom:1rem}}@media (max-width: 1024px) and (min-width: 769px) and (orientation: portrait){.calendar-header{font-size:.875rem}.calendar-day{height:90px;min-height:90px}.day-trades{max-height:60px}.trade-line{font-size:.75rem}}@media (min-width: 1440px){.calendar-day{height:140px;min-height:140px;padding:1rem}.day-trades{max-height:140px}.trade-line{font-size:.875rem;gap:.75rem}.day-number{font-size:1rem}.day-total{font-size:.875rem}}@media (max-width: 768px){.calendar-day{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.trade-line{touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-height:44px;display:flex;align-items:center}.week-row button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;min-height:44px}}@media (max-width: 768px){.calendar-day:focus-visible{outline:2px solid #7C76FF;outline-offset:2px}.trade-line:focus-visible{outline:2px solid #7C76FF;outline-offset:2px;border-radius:4px}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi){.calendar-day,.week-row{border:.5px solid rgba(255,255,255,.05)}}@media (prefers-reduced-motion: reduce){.calendar-day,.trade-line,.week-row button{transition:none}.scroll-indicator{animation:none}@keyframes pulse{0%,to{transform:translate(-50%) scale(1);opacity:.6}}}@media (prefers-color-scheme: dark){.calendar-day{background-color:#ffffff05}.week-row{background-color:#ffffff03}}@media (min-width: 1920px){.calendar-day{height:160px;min-height:160px;padding:1.25rem}.day-trades{max-height:160px}.trade-line{font-size:1rem;gap:1rem}.day-number{font-size:1.125rem}.day-total{font-size:1rem}}@media print{.calendar-view{color:#000!important;background:white!important}.calendar-day{background:white!important;border:1px solid #ccc!important;-moz-column-break-inside:avoid;break-inside:avoid}.week-row{background:white!important;border:1px solid #ccc!important;-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}.scroll-indicator,.week-row button{display:none!important}}.scrollbar-hide::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-o-user-select:none;user-select:none}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle:after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}
