.test-data-btn{background:linear-gradient(115deg,#eeeaff,#f5f4ff);border:1px solid #dad2f5;color:#7763b4;white-space:nowrap;box-shadow:0 2px 8px #8872bd0b}.test-data-btn:hover:not(:disabled){background:#e6defa;border-color:#b8a9dd}.test-data-btn>svg{flex:none}.test-account-banner{display:flex;align-items:center;gap:14px;min-width:0;padding:17px 20px;margin:0 0 20px;border:1px solid #ded7f2;border-radius:12px;background:linear-gradient(110deg,#f0ecfa,#faf8ff)}.test-account-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:10px;background:#e4ddf3;color:#8974bc}.test-account-banner>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.test-account-banner strong{font-size:13px;font-weight:600;color:#7d68aa}.test-account-banner>div>span{font-size:10px;line-height:1.7;color:#9a8fae}.test-account-banner>.btn{font-size:11px;color:#8f769e;flex:none}.heading-actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:850px){.page-heading{align-items:flex-start;flex-wrap:wrap}.heading-actions{justify-content:flex-start}.test-data-btn{font-size:11px}.test-account-banner{padding:14px 16px;gap:10px}.test-account-banner>.btn{font-size:10px;padding:8px 6px}}@media(max-width:450px){.heading-actions .test-data-btn{width:100%}.test-account-banner{flex-wrap:wrap}.test-account-banner>.btn{margin-left:49px}.test-account-banner>div{flex-basis:calc(100% - 49px)}}.system-outside-badge{display:inline-flex;margin-left:6px;padding:2px 5px;border-radius:4px;background:#fff1df;color:#b7793b;font-size:9px;white-space:nowrap}.trade-system-emotion-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:2px 0 14px}.trade-system-emotion-row .trade-system-check{margin:0}.trade-emotion-select{--emotion-color:#94a4bd;display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;color:#a9b8d1}.trade-emotion-select>span{flex:none}.trade-editor-modal .trade-emotion-select select{width:132px;max-width:100%;padding:7px 10px;min-height:32px;border-radius:8px;color:var(--emotion-color);background:#111b2d;border-color:#35435b;font-size:12px;font-weight:550;cursor:pointer}.trade-emotion-select select:disabled{opacity:.55;cursor:default}.emotion-fomo{--emotion-color:#b87015;color:var(--emotion-color)}.emotion-normal{--emotion-color:#168564;color:var(--emotion-color)}.emotion-revenge-agitated{--emotion-color:#c54455;color:var(--emotion-color)}.emotion-revenge-calm{--emotion-color:#2563b7;color:var(--emotion-color)}.trade-editor-modal .emotion-fomo{--emotion-color:#efad58}.trade-editor-modal .emotion-normal{--emotion-color:#62d9a7}.trade-editor-modal .emotion-revenge-agitated{--emotion-color:#ff8091}.trade-editor-modal .emotion-revenge-calm{--emotion-color:#7bb9f5}.trade-emotion-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid currentColor;border-radius:6px;padding:2px 7px;font-size:10px;line-height:1.6;white-space:nowrap}.trade-emotion-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.8}@media(max-width:430px){.trade-system-emotion-row{gap:10px 16px}.trade-emotion-select{gap:7px}.trade-editor-modal .trade-emotion-select select{width:116px}}.image-thumb{display:block;width:100%;height:120px;padding:0;border:0;background:#f2f4fa;cursor:zoom-in;overflow:hidden}.image-thumb img{display:block;width:100%;height:100%;object-fit:cover}.image-thumb:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.picture-preview-backdrop{position:fixed;inset:0;z-index:200;background:#111827ed;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px;color:#f1f5f9}.picture-preview{width:min(1400px,100%);height:100%;max-height:1000px;display:flex;flex-direction:column;gap:14px;min-height:0}.picture-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.picture-preview-heading>div{min-width:0}.picture-preview-heading strong{display:block;overflow-wrap:anywhere;font-size:16px}.picture-preview-heading p{font-size:12px;color:#b6c2d3;margin-top:7px;overflow-wrap:anywhere}.picture-preview-close,.picture-preview-tools button{border:1px solid #64748b;background:#1e293b;border-radius:8px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#f1f5f9;white-space:nowrap}.picture-preview-close:hover,.picture-preview-tools button:hover:enabled{background:#334155}.picture-preview-close:focus-visible,.picture-preview-tools button:focus-visible,.picture-preview-nav:focus-visible{outline:3px solid #a6b7fa;outline-offset:3px}.picture-preview-tools{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;flex-wrap:wrap}.picture-preview-tools span{min-width:100px;text-align:center;color:#cbd5e1}.picture-preview-tools .picture-preview-count{min-width:55px;border:1px solid #475569;padding:5px 9px;border-radius:20px;color:#e2e8f0;font-variant-numeric:tabular-nums}.picture-preview-tools .picture-preview-wheel-hint{min-width:0;color:#94a3b8}.picture-preview-tools button:disabled,.picture-preview-nav:disabled{opacity:.4;cursor:default}.picture-preview-stage-wrap{position:relative;flex:1;min-height:0;width:100%;display:flex}.picture-preview-stage{position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;background:#0b1220;border-radius:8px;touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.picture-preview-can-pan{cursor:grab}.picture-preview-dragging{cursor:grabbing}.picture-preview-image{position:absolute;left:50%;top:50%;transform-origin:center center;will-change:transform;pointer-events:auto}.picture-preview-image img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.picture-preview-stage>p{padding:20px;text-align:center;color:#cbd5e1;line-height:1.8}.picture-preview-stage>p span{font-size:12px;color:#94a3b8}.picture-preview-nav{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:64px;padding:0;border:1px solid #64748b;background:#1e293bea;color:#f1f5f9;border-radius:12px;box-shadow:0 4px 16px #0005;z-index:1}.picture-preview-prev{left:12px}.picture-preview-next{right:12px}.picture-preview-nav:hover:enabled{background:#475569}.picture-preview-foot{display:flex;justify-content:space-between;gap:15px;font-size:11px;line-height:1.6;color:#b6c2d3}.picture-preview-foot>span{overflow-wrap:anywhere}@media(max-width:700px){.picture-preview-backdrop{padding:12px}.picture-preview{gap:10px}.picture-preview-heading strong{font-size:13px}.picture-preview-heading p{font-size:10px}.picture-preview-close{padding:6px 8px;font-size:11px}.picture-preview-tools{gap:8px;font-size:10px}.picture-preview-tools button{padding:6px 8px}.picture-preview-tools span{min-width:90px}.picture-preview-nav{width:34px;height:54px;border-radius:9px}.picture-preview-prev{left:7px}.picture-preview-next{right:7px}.picture-preview-foot{flex-direction:column;gap:4px;font-size:10px}.picture-preview-tools .picture-preview-wheel-hint{display:none}}.hypothesis-editor{margin-top:24px;padding:20px;border:1px solid #dcd6f3;border-radius:14px;background:linear-gradient(135deg,#f3efff,#f1f4ff);box-shadow:inset 3px 0 #a59ce8,0 4px 16px #7164bd08;min-width:0}.hypothesis-editor .hypothesis-section-title{margin:0 0 16px;align-items:flex-start;gap:12px}.hypothesis-section-title>div{display:flex;flex-direction:column;gap:6px;min-width:0}.hypothesis-section-title h3{font-size:14px;color:#6b5bad;letter-spacing:.15px}.hypothesis-section-note{font-size:10px;color:#9388b1}.hypothesis-section-title>.pill{background:#e7e1fa;color:#8270b7;flex:none}.hypothesis-add-row{display:flex;align-items:flex-end;gap:10px;margin:0 0 10px}.hypothesis-add-row>.field{flex:1;min-width:0}.hypothesis-add-row>.btn{flex:none;min-height:37px;border-color:#d7d0ed;color:#7e6ab1;background:#fbfaff}.hypothesis-preset-choices{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.hypothesis-preset-choices .btn{font-size:10px;padding:6px 10px;border-radius:6px;border-color:#dfd9f1;background:#ffffffa6;color:#9b8db9}.hypothesis-preset-group{display:inline-flex;align-items:center;border:1px solid #dfd9f1;border-radius:6px;overflow:hidden;background:#ffffffa6}.hypothesis-preset-group>.btn{border:0!important;border-radius:0!important;background:transparent!important}.hypothesis-preset-remove{border:0;border-left:1px solid #ded6ed;background:transparent;color:#a394b8;padding:5px 7px;font-size:15px;line-height:1}.hypothesis-preset-remove:hover{color:#bd6480;background:#f8eefa}.hypothesis-legacy-t2{display:flex;gap:8px;flex-wrap:wrap;padding:9px 10px;margin-top:12px;border:1px solid #d8cce9;border-radius:7px;color:#9582ab;font-size:10px}.hypothesis-legacy-t2>span{color:#9a91ab}.hypothesis-inline-note{font-size:10px;line-height:1.7;color:#9d723a;margin:10px 0 0;overflow-wrap:anywhere}.hypothesis-empty{padding:16px;border:1px dashed #d8d0ee;border-radius:9px;color:#a196b8;font-size:11px;text-align:center;margin-top:14px;background:#fff6}.hypothesis-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 12px}.hypothesis-tab{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;max-width:100%;padding:10px 13px;border:1px solid #ded7f0;border-radius:9px;background:#ffffffa6;overflow-wrap:anywhere;color:#978ba9}.hypothesis-tab strong{font-size:12px;font-weight:600}.hypothesis-tab span{font-size:10px}.hypothesis-tab:hover{border-color:#bfb3e3;background:#fff}.hypothesis-tab.selected{border-color:#ada0dc;box-shadow:0 0 0 2px #dcd4f566;background:#fff;color:#7d6cab}.hypothesis-edit-card{border:1px solid #dfd8ef;background:linear-gradient(150deg,#fff,#faf9ff);padding:16px;border-radius:11px;min-width:0}.hypothesis-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.hypothesis-card-heading>strong{font-size:13px;color:#8273a7;overflow-wrap:anywhere}.hypothesis-card-heading>.btn{font-size:10px;flex:none;padding:7px 10px;border-color:#e1daee;background:#faf9fd;color:#a596b7}.hypothesis-basis{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;background:#f2effa;border:1px solid #eae5f5;border-radius:8px;padding:10px 11px;margin-bottom:15px;font-size:10px;color:#9b93ab;overflow-wrap:anywhere}.hypothesis-basis-status{font-size:9px;color:#9783ba;border:1px solid #e0d6f1;border-radius:5px;padding:3px 6px;background:#faf7ff}.hypothesis-basis>strong{font-size:11px;color:#8e7eac}.hypothesis-basis b{font-weight:600}.hypothesis-basis-note,.hypothesis-basis-changed{font-size:10px;line-height:1.7;padding:9px 11px;border-radius:7px;margin:0 0 14px;overflow-wrap:anywhere}.hypothesis-basis-note{background:#f3f0fa;color:#a297b0}.hypothesis-basis-changed{background:#fff5e7;border:1px solid #f2e2c8;color:#a37b49}.hypothesis-editor .form-grid{gap:14px 16px}.hypothesis-editor .hypothesis-t2-toggle>span:nth-child(2){display:flex;align-items:center;gap:9px;min-height:38px;font-size:12px;color:#8d85a3}.hypothesis-editor .hypothesis-t2-toggle input{width:16px;height:16px;margin:0;accent-color:#9b8fd4}.hypothesis-editor textarea{min-height:70px}.hypothesis-final-pnl{background:#f2f0fa;border:1px solid #e6dff3;border-radius:9px;padding:12px}.hypothesis-final-pnl>input{font-size:14px;font-weight:600}.hypothesis-final-pnl>.muted{font-size:10px;color:#a093b3;line-height:1.7}.trade-editor-modal .hypothesis-editor{border-color:#514068;background:linear-gradient(135deg,#2e2542,#262338);box-shadow:inset 3px 0 #9b7dde,0 8px 24px #08071126}.trade-editor-modal .hypothesis-section-title h3{color:#d9c6ff}.trade-editor-modal .hypothesis-section-note{color:#a99bbb}.trade-editor-modal .hypothesis-section-title>.pill{background:#443454;color:#d5b8ff}.trade-editor-modal .hypothesis-add-row>.btn{border-color:#665080;color:#d9c0ff;background:#473255}.trade-editor-modal .hypothesis-preset-choices .btn{border-color:#584369;background:#372b44;color:#b9a2d0}.trade-editor-modal .hypothesis-preset-group{border-color:#584369;background:#372b44}.trade-editor-modal .hypothesis-preset-remove{border-color:#584369;color:#b9a2d0}.trade-editor-modal .hypothesis-preset-remove:hover{background:#503449;color:#edbbd0}.trade-editor-modal .hypothesis-legacy-t2{border-color:#564268;color:#bca8d3}.trade-editor-modal .hypothesis-legacy-t2>span{color:#9d8eaf}.trade-editor-modal .hypothesis-empty{border-color:#574366;color:#a58db7;background:#211b2b66}.trade-editor-modal .hypothesis-inline-note{color:#e8bc7c}.trade-editor-modal .hypothesis-tab{border-color:#59436c;background:#32283f;color:#b9a2d0}.trade-editor-modal .hypothesis-tab:hover{border-color:#8c69ab;background:#3b2e4b}.trade-editor-modal .hypothesis-tab.selected{border-color:#a080d4;box-shadow:0 0 0 2px #8b66b226;background:#45315b;color:#eedcff}.trade-editor-modal .hypothesis-edit-card{border-color:#514063;background:linear-gradient(150deg,#292233,#241e2f)}.trade-editor-modal .hypothesis-card-heading>strong{color:#d8c2f5}.trade-editor-modal .hypothesis-card-heading>.btn{border-color:#574266;background:#38283f;color:#cbb0dc}.trade-editor-modal .hypothesis-basis{border-color:#4f3d60;background:#33283e;color:#b5a2c3}.trade-editor-modal .hypothesis-basis-status{color:#d2b2ee;border-color:#66487d;background:#432c54}.trade-editor-modal .hypothesis-basis>strong{color:#d0bce5}.trade-editor-modal .hypothesis-basis-note{background:#32263e;color:#b5a2c3}.trade-editor-modal .hypothesis-basis-changed{background:#463326;border-color:#78583b;color:#edc18c}.trade-editor-modal .hypothesis-editor .hypothesis-t2-toggle>span:nth-child(2){color:#c2acd5}.trade-editor-modal .hypothesis-final-pnl{background:#38293f;border-color:#624774}.trade-editor-modal .hypothesis-final-pnl>.muted{color:#b49cc5}.hypothesis-section-title>.hypothesis-heading-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.hypothesis-heading-actions>.pill{background:#e7e1fa;color:#8270b7;flex:none}.hypothesis-clipboard-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d7cdeb;border-radius:7px;background:#fff;color:#7c68a5;font-size:11px;padding:6px 8px;line-height:1.4;cursor:pointer}.hypothesis-clipboard-button:hover{background:#f4efff;border-color:#bca9d9}.hypothesis-clipboard-notice{font-size:10px;line-height:1.7;color:#8270a3;margin:0 0 13px;overflow-wrap:anywhere}.trade-editor-modal .hypothesis-heading-actions>.pill{background:#443454;color:#d5b8ff}.trade-editor-modal .hypothesis-clipboard-button{border-color:#665080;background:#382b48;color:#d7bdf2}.trade-editor-modal .hypothesis-clipboard-button:hover{background:#4a365d;border-color:#9270af}.trade-editor-modal .hypothesis-clipboard-notice{color:#b9a1d0}.hypothesis-context-menu{position:fixed;z-index:1200;min-width:172px;max-width:calc(100vw - 16px);padding:5px;border:1px solid #665080;border-radius:9px;background:#282031;color:#dfcef1;box-shadow:0 12px 32px #0005}.hypothesis-context-menu>button{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;border:0;border-radius:5px;background:transparent;color:inherit;font-size:12px;line-height:1.4;text-align:left;cursor:pointer}.hypothesis-context-menu>button>span{margin-left:auto;padding-left:12px;color:#ad93c5;font-size:11px}.hypothesis-context-menu>button:hover,.hypothesis-context-menu>button:focus-visible{background:#463353;outline:0}.hypothesis-context-menu>button:disabled{opacity:.4;cursor:default;background:transparent}.hypothesis-clipboard-button:focus-visible{outline:2px solid #a080d4;outline-offset:2px}@media(max-width:700px){.hypothesis-editor{padding:16px;margin-top:20px}.hypothesis-add-row{flex-wrap:wrap}.hypothesis-add-row>.field{min-width:160px}.hypothesis-edit-card{padding:13px}.hypothesis-basis,.hypothesis-tabs{gap:7px}.hypothesis-tab{padding:9px 11px}.hypothesis-card-heading{align-items:flex-start}}.remembered-input{position:relative;display:flex;min-width:0;width:100%}.remembered-input>input{min-width:0;flex:1;padding-right:38px!important}.remembered-input-toggle{position:absolute;inset:1px 1px 1px auto;width:35px;display:grid;place-items:center;border:0;border-left:1px solid #e9edf3;background:transparent;color:#8b95a8;border-radius:0 7px 7px 0;padding:0;cursor:pointer}.remembered-input-toggle:hover{background:#f1f0fb;color:#746bc9}.remembered-input-toggle>span{font-size:20px;line-height:1;transform:translateY(-2px)}.remembered-choice-panel{position:fixed;z-index:1300;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #dddfea;border-radius:9px;padding:5px;box-shadow:0 8px 26px #20284522;font-size:12px;scrollbar-gutter:stable;min-height:45px}.remembered-choice-row{display:flex;align-items:stretch;border-radius:6px;min-height:35px;gap:2px}.remembered-choice-row:hover,.remembered-choice-row.active{background:#f1effc}.remembered-choice-row.selected{background:#f7f6fd}.remembered-input-choice{flex:1;min-width:0;border:0;background:transparent;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#68758c;text-align:left;font:inherit;cursor:pointer;border-radius:6px}.remembered-choice-label{overflow-wrap:anywhere;white-space:normal;line-height:1.65}.remembered-choice-check{color:#857aca;flex:none}.remembered-choice-remove{align-self:center;flex:none;width:27px;height:27px;padding:0;border:0;background:transparent;color:#9da6b7;border-radius:6px;font-size:19px;line-height:1;cursor:pointer;margin-right:3px}.remembered-choice-remove:hover{background:#ffecef;color:#bd4f61}.remembered-choice-remove:focus-visible,.remembered-input-toggle:focus-visible{outline:2px solid #9e94e4;outline-offset:1px}.remembered-choice-empty{padding:14px 9px;color:#9ca5b5;font-size:11px;line-height:1.8}.remembered-choice-note{padding:8px 10px 5px;color:#a1aabd;font-size:9px;border-top:1px solid #f0f1f5;margin-top:4px;line-height:1.7}.remembered-choice-panel.favorable .remembered-input-choice,.remembered-choice-panel.favorable .remembered-choice-check{color:#2563b7!important}.remembered-choice-panel.unfavorable .remembered-input-choice,.remembered-choice-panel.unfavorable .remembered-choice-check{color:#c36c17!important}.remembered-choice-panel.favorable .remembered-choice-row.active,.remembered-choice-panel.favorable .remembered-choice-row:hover,.remembered-choice-panel.favorable .remembered-choice-row.selected{background:#eff6ff}.remembered-choice-panel.unfavorable .remembered-choice-row.active,.remembered-choice-panel.unfavorable .remembered-choice-row:hover,.remembered-choice-panel.unfavorable .remembered-choice-row.selected{background:#fff6eb}.split-position-add{margin-top:16px}.split-position-add>.btn{display:inline-flex;align-items:center;gap:6px;border-style:dashed;padding:8px 12px;font-size:12px}.split-position-editor{margin-top:18px;padding:17px;border:1px solid #426477;border-radius:12px;background:linear-gradient(125deg,#152b38,#172333);min-width:0}.split-position-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.split-position-heading>div{min-width:0}.split-position-heading h3{margin:0;color:#a4e1e9;font-size:14px}.split-position-heading>div>span{display:block;color:#839dab;font-size:10px;margin-top:6px}.split-position-close{display:inline-flex;align-items:center;gap:4px;flex:none;color:#9eb0c3!important;font-size:11px}.split-total-quantity{max-width:260px;margin-bottom:16px}.split-position-rows{display:flex;flex-direction:column;gap:9px}.split-position-row{display:grid;grid-template-columns:65px minmax(130px,1fr) minmax(110px,1fr) 25px;align-items:start;gap:10px;border:1px solid #3c4b5e;border-radius:9px;padding:12px;background:#10203180;min-width:0}.split-position-name{padding-top:4px;display:flex;flex-direction:column;gap:9px}.split-position-name strong{font-size:14px;line-height:1.3;color:#a1deed;font-variant-numeric:tabular-nums}.split-position-name span{font-size:10px;color:#92a8ba;white-space:normal;overflow-wrap:anywhere}.split-position-row .field{gap:6px!important;margin:0;min-width:0}.split-position-row input{min-width:0;width:100%}.split-position-remainder{font-size:11px;color:#90a1b6;padding-top:30px}.split-position-unit{padding-top:35px;color:#7a90ab;font-size:12px}.split-position-allocation-input{display:flex;border:1px solid #475368;border-radius:8px;overflow:hidden;min-width:0;background:#0f1928}.split-position-allocation-input>input{border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;flex:1;min-width:0}.split-position-allocation-input>select{flex:none;width:60px!important;border:0!important;border-left:1px solid #475368!important;border-radius:0!important;box-shadow:none!important;padding-left:8px!important;padding-right:5px!important;min-width:0!important;background:#1a283a!important}.split-position-remove{margin-top:28px;padding:6px 4px!important;color:#97a8bd!important}.split-position-next{display:inline-flex;gap:5px;align-items:center;font-size:11px;color:#9eccdc!important;margin:7px 0 12px}.split-position-summary{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;padding-top:15px;border-top:1px solid #3b5166}.split-position-summary>.field{margin:0;min-width:0}.split-position-result{display:flex;flex-direction:column;gap:9px;min-width:0;padding-top:2px}.split-position-result>span:first-child{color:#96a8bd;font-size:11px}.split-position-result>strong{font-size:24px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap;overflow-x:auto;overflow-y:hidden}.split-position-result>strong>small{font-size:11px;font-weight:400;color:#8ca0b8}.split-position-result>span:last-child{font-size:11px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.split-position-error{font-size:11px;line-height:1.7;padding:9px 11px;color:#f0ba80;background:#67492438;border:1px solid #95674255;border-radius:7px;margin-top:13px}.split-position-inferred{font-size:10px;color:#9acacf;line-height:1.4}.split-position-apply{margin-top:13px!important;font-size:11px!important;border-color:#4b7c8c!important;background:#254459!important;color:#b7e5ee!important}.hypothesis-editor .split-position-editor{border-color:#564668;background:linear-gradient(125deg,#30263b,#272335)}.hypothesis-editor .split-position-heading h3{color:#d7c0f5}.hypothesis-editor .split-position-row{border-color:#554462;background:#241b2f80}.hypothesis-editor .split-position-name strong{color:#d0b3f1}.hypothesis-editor .split-position-summary{border-color:#524267}@media(max-width:650px){.split-position-editor{padding:13px}.split-position-row{grid-template-columns:44px minmax(0,1fr) 24px;gap:8px;padding:10px}.split-position-row>.split-position-name{grid-row:span 2}.split-position-row>.field:nth-of-type(2){grid-column:2}.split-position-row>.split-position-unit{grid-column:3;grid-row:2;padding-top:29px}.split-position-row>.split-position-remove{grid-column:3;grid-row:1;margin-top:25px}.split-position-t1 .field{grid-column:2;grid-row:2}.split-position-remainder{grid-column:2;grid-row:1;padding:0;font-size:10px}.split-position-summary{grid-template-columns:minmax(0,1fr);gap:13px}.split-position-result{display:grid;grid-template-columns:1fr 1fr;gap:8px}.split-position-result>strong{grid-column:2;grid-row:1 / span 2;text-align:right}.split-position-result>span:last-child{grid-column:1}.split-position-heading>div>span{font-size:9px}}.modal.trade-editor-modal{height:calc(100dvh - 48px);max-height:calc(100dvh - 48px)}.trade-editor-modal>.modal-header,.trade-editor-modal>.modal-footer,.trade-editor-modal>.modal-top-panel{flex:none}.trade-editor-modal>.modal-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.trade-editor-modal>.modal-top-panel{min-height:0;padding:10px 25px 12px;border-bottom:1px solid var(--border);background:#fdfdff}.trade-editor-modal>.modal-top-panel>.editor-fields{min-height:0}.trade-screenshot-frame{min-width:0;min-height:0}.trade-screenshot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.trade-screenshot-toolbar>span{font-size:10px;line-height:1.6;color:#9ba3b9}.trade-screenshot-toolbar>div{display:flex;gap:6px}.trade-screenshot-toolbar .btn{padding:4px 10px;font-size:13px;min-height:27px}.trade-screenshot-toolbar .trade-screenshot-toggle{font-size:10px}.trade-editor-modal .trade-screenshot-scroll{min-height:0;max-height:min(40dvh,var(--trade-screenshot-limit,40dvh));min-width:0;overflow:auto;resize:none;overscroll-behavior:contain;border:1px solid #e5e4ef;background:#fff;border-radius:10px;padding:12px 14px;scrollbar-gutter:stable}.trade-editor-modal .trade-screenshot-scroll[hidden]{display:none;height:0;padding:0;border:0}.trade-screenshot-shell{position:relative;min-width:0;min-height:0}.trade-screenshot-resizer{position:absolute;z-index:2;inset:auto 0 -7px;height:14px;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;outline:none;border-radius:7px}.trade-screenshot-resizer:before{content:"";position:absolute;inset:6px 6px auto;height:2px;background:#d5d3e5;border-radius:2px;transition:background .15s,height .15s}.trade-screenshot-resizer:after{content:"";position:absolute;top:5px;left:calc(50% - 24px);width:48px;height:4px;border-radius:4px;background:#b6b0d1;transition:background .15s}.trade-screenshot-resizer:hover:before,.trade-screenshot-resizer:focus-visible:before,.resizing .trade-screenshot-resizer:before{background:var(--primary);height:3px}.trade-screenshot-resizer:hover:after,.trade-screenshot-resizer:focus-visible:after,.resizing .trade-screenshot-resizer:after{background:var(--primary)}.trade-screenshot-resizer:focus-visible{box-shadow:0 0 0 2px #c7c4ff}.trade-screenshot-frame.resizing{-webkit-user-select:none;user-select:none;cursor:ns-resize}.trade-screenshot-scroll:focus-visible{outline:2px solid #aca5df;outline-offset:2px}.trade-screenshot-scroll .section-title{margin-top:0}.trade-screenshot-scroll .image-dropzone{margin:10px 0;padding:12px;gap:7px}.trade-screenshot-scroll .image-grid{margin-top:10px}.trade-screenshot-scroll .image-card .image-thumb{height:110px}.trade-screenshot-scroll .image-grid:empty{display:none}@media(max-width:700px){.modal.trade-editor-modal{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.trade-editor-modal>.modal-top-panel{padding:9px 18px 10px}.trade-editor-modal .trade-screenshot-scroll{padding:10px;max-height:min(35dvh,var(--trade-screenshot-limit,35dvh))}.trade-screenshot-toolbar{gap:7px}.trade-screenshot-toolbar>span{font-size:9px}.trade-screenshot-toolbar .btn{padding:3px 8px}.trade-screenshot-scroll .image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.modal.trade-editor-modal{--trade-ink:#e2e8f5;--trade-muted:#91a0bb;--trade-line:#303b53;--border:var(--trade-line);--profit:#62d9a7;--loss:#ff8091;background:#151d2e;color:var(--trade-ink);border:1px solid #374561;border-radius:17px;box-shadow:0 24px 90px #05091680}.trade-editor-modal>.modal-header{padding:17px 24px;background:linear-gradient(115deg,#202b45,#172033);border-color:var(--trade-line)}.trade-editor-modal>.modal-header h2{font-size:20px;letter-spacing:.3px;color:var(--trade-ink);margin-top:4px}.trade-editor-modal>.modal-header .muted,.trade-editor-modal>.modal-footer .muted{color:var(--trade-muted);font-size:11px}.trade-editor-modal>.modal-body{padding:18px 24px 24px;background:#151d2e}.trade-editor-modal>.modal-footer{padding:14px 24px;background:#192237;border-color:var(--trade-line)}.trade-editor-modal .btn-secondary{background:#1c2840;border-color:#354360;color:#b8c6df}.trade-editor-modal>.modal-header .btn-secondary{width:33px;height:33px;padding:0;border-radius:9px}.trade-editor-modal .btn-primary{background:#7563ef;box-shadow:0 4px 16px #705bdf33;padding:11px 23px}.trade-editor-modal .muted{color:var(--trade-muted)}.trade-editor-modal input,.trade-editor-modal select,.trade-editor-modal textarea{background:#101929;border:1px solid #33415b;color:#dbe6f8;border-radius:9px;font-size:13px;padding:10px 12px;min-width:0;max-width:100%}.trade-editor-modal input::placeholder,.trade-editor-modal textarea::placeholder{color:#627391}.trade-editor-modal input:focus,.trade-editor-modal select:focus,.trade-editor-modal textarea:focus{border-color:#9b89f4;box-shadow:0 0 0 2px #9585f01a}.trade-editor-modal label.field{font-size:12px;color:#a9b8d1;gap:8px}.trade-editor-modal .field small{font-size:10px;color:#768cab;font-weight:400;margin-left:5px}.trade-editor-modal .field textarea{min-height:72px}.compact-trade-fields{display:flex;flex-direction:column;gap:17px;min-width:0}.trade-core-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:14px}.trade-three-grid,.trade-risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.trade-risk-grid input:disabled{background:#19202d;color:#68758c;border-color:#293345;opacity:.7;cursor:not-allowed}.trade-result-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px 16px;border:1px solid #34435e;border-radius:11px;background:linear-gradient(110deg,#1b2940,#1d233d)}.trade-result-summary>div{display:flex;flex-direction:column;gap:8px;min-width:0;border-right:1px solid #33415b;padding-right:10px}.trade-result-summary>div:last-child{border-right:0;padding-right:0}.trade-result-summary span{font-size:10px;color:#91a2bf;display:flex;gap:7px;flex-wrap:wrap}.trade-result-summary span small{font-size:9px;color:#637896}.trade-result-summary strong{font-size:19px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#d1d9f4}.trade-result-summary strong small{font-size:10px;font-weight:400;color:#8da0c2}.trade-context-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.trade-context-selectors>.compact-choice-selector:first-child{grid-column:1/-1}.trade-context-selectors>.compact-choice-selector:nth-child(2){grid-column:1/-1}.compact-model-notice{color:#95c4bb;font-size:10px}.trade-extra-section{border:1px solid #2c3c56;border-radius:10px;background:#131d30;min-width:0}.trade-extra-section>summary{display:flex;gap:12px;align-items:center;cursor:pointer;padding:12px 14px;list-style:none;color:#acbdd7;font-size:12px}.trade-extra-section>summary:before{content:"›";font-size:18px;color:#9c8ddd;line-height:12px;transition:transform .15s}.trade-extra-section[open]>summary:before{transform:rotate(90deg)}.trade-extra-section>summary>span{margin-left:auto;color:#6881a3;font-size:10px}.trade-extra-content{padding:3px 14px 15px}.trade-combination-details{margin:0 14px 14px;border:1px solid #315e4e;border-radius:10px;overflow:hidden}.trade-combination-details>summary{padding:10px 12px;color:#8ce3b7;font-size:12px;cursor:pointer}.trade-combination-details .strategy-combination-builder{border:0!important;border-radius:0!important}.compact-rule-group{padding:10px 0;min-width:0}.compact-rule-group h3{font-size:12px;color:#a498e4;margin-bottom:8px;overflow-wrap:anywhere}.compact-rule-group .rule-row{border-color:#2d3b55;margin:0;padding:8px 0;gap:12px}.compact-rule-group .rule-row>span{font-size:11px;color:#9cafca;line-height:1.6}.compact-rule-group .rule-row select{font-size:11px;padding:6px 8px;min-width:90px}.trade-editor-modal>.modal-top-panel{padding:9px 24px 13px;background:#121c2e;border-color:#34405c}.trade-screenshot-toolbar>span{display:flex;align-items:center;gap:8px;font-size:11px;color:#a6b6cf}.trade-screenshot-toolbar b{font-size:10px;min-width:20px;padding:2px 6px;background:#2d3355;color:#bdb2ef;border-radius:5px;text-align:center}.trade-screenshot-toolbar small{font-size:9px;color:#697e9f;margin-left:4px}.trade-editor-modal .trade-screenshot-scroll{padding:10px;overflow-x:auto;overflow-y:auto;background:#101829;border-color:#2f3e59;scrollbar-gutter:auto;scrollbar-width:thin}.trade-image-strip{display:flex;flex-wrap:nowrap;gap:10px;align-items:flex-start;min-width:100%;width:max-content;height:100%;padding-bottom:5px}.trade-image-strip.dragging{outline:1px dashed #9a88ef;border-radius:9px;background:#7563ef0a}.trade-image-tile{position:relative;flex:0 0 145px;width:145px;min-width:0;height:126px;border:1px solid #374764;border-radius:9px;padding:4px;background:#1a263b;display:flex;flex-direction:column;gap:5px}.trade-image-tile .image-thumb{height:82px;width:100%;min-height:0;flex:none;border:0;border-radius:5px;background:#0d1421;padding:0;overflow:hidden;cursor:zoom-in}.trade-image-tile .image-thumb img{display:block;object-fit:cover;width:100%;height:100%}.trade-image-tile .image-placeholder{height:82px;min-height:0;font-size:9px}.trade-image-tile .remembered-input{width:100%;min-width:0}.trade-image-tile .remembered-input input{height:27px;padding:4px 24px 4px 7px;font-size:10px;border-radius:5px}.trade-image-tile .remembered-input-toggle{width:23px;color:#8f9dc1}.trade-image-remove{position:absolute;top:7px;right:7px;width:21px;height:21px;border:1px solid #ffffff38;background:#101928dd;color:#cdd9eb;border-radius:50%;font-size:16px;line-height:16px;padding:0;display:grid;place-items:center}.trade-image-remove:hover{color:#ff8e9d;border-color:#ff8e9d}.trade-image-add{width:110px;height:126px;flex:0 0 110px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px dashed #586184;background:#1d254018;border-radius:9px;color:#a99be8;padding:0}.trade-image-add>span{font-size:27px;font-weight:300;line-height:30px}.trade-image-add>small{font-size:10px;color:#7184a6}.trade-image-add:hover{border-color:#a899ee;background:#7663ef14}.trade-image-strip>.alert{max-width:240px;white-space:normal;font-size:10px}.trade-screenshot-resizer:before{background:#364661}.trade-screenshot-resizer:after{background:#6d629c}@media(max-width:700px){.trade-editor-modal>.modal-header{padding:13px 17px}.trade-editor-modal>.modal-body{padding:16px 17px 20px}.trade-editor-modal>.modal-top-panel{padding:8px 17px 12px}.trade-editor-modal>.modal-footer{padding:12px 17px}.trade-core-grid{grid-template-columns:1fr}.trade-three-grid{grid-template-columns:1fr 1fr}.trade-three-grid>.field:last-child{grid-column:1/-1}.trade-risk-grid{grid-template-columns:1fr 1fr}.trade-risk-grid>.field:last-child{grid-column:1/-1}.trade-context-selectors{grid-template-columns:1fr}.trade-result-summary{gap:9px;padding:12px}.trade-result-summary span{font-size:9px}.trade-result-summary strong{font-size:15px}.trade-result-summary span small{display:none}.compact-trade-fields{gap:14px}}.trade-system-check{display:flex;align-items:center;gap:8px;margin:2px 0 14px;font-size:12px;color:#b3c1db;cursor:pointer}.trade-system-check input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#7875ed;cursor:pointer}.modal.floating-editor{position:relative;min-width:0;min-height:0;overflow:clip}.floating-editor>.modal-header,.floating-editor>.modal-top-panel,.floating-editor>.modal-footer{flex:none}.floating-editor>.modal-body{flex:1;min-height:0;overscroll-behavior:contain}.floating-editor>.modal-header{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.floating-editor>.modal-header :is(button,a,input,select,textarea){cursor:auto;touch-action:auto}.floating-editor-active{-webkit-user-select:none;user-select:none}.floating-editor-active>.modal-header{cursor:grabbing}.floating-editor-resize{position:absolute;z-index:8;outline:none;touch-action:none;-webkit-user-select:none;user-select:none;background:transparent}.floating-editor-resize[data-disabled]{pointer-events:none}.floating-editor-resize:focus-visible{background:#8b83dc70;box-shadow:inset 0 0 0 1px var(--primary);border-radius:3px}.floating-editor-resize-n,.floating-editor-resize-s{height:8px;left:14px;right:14px;cursor:ns-resize}.floating-editor-resize-n{top:0}.floating-editor-resize-s{bottom:0}.floating-editor-resize-w,.floating-editor-resize-e{width:8px;top:14px;bottom:14px;cursor:ew-resize}.floating-editor-resize-w{left:0}.floating-editor-resize-e{right:0}.floating-editor-resize-nw,.floating-editor-resize-ne,.floating-editor-resize-sw,.floating-editor-resize-se{width:16px;height:16px}.floating-editor-resize-nw{left:0;top:0;cursor:nwse-resize}.floating-editor-resize-ne{right:0;top:0;cursor:nesw-resize}.floating-editor-resize-sw{left:0;bottom:0;cursor:nesw-resize}.floating-editor-resize-se{right:0;bottom:0;cursor:nwse-resize}@media(pointer:coarse){.floating-editor-resize-n,.floating-editor-resize-s{height:12px}.floating-editor-resize-w,.floating-editor-resize-e{width:12px}.floating-editor-resize-nw,.floating-editor-resize-ne,.floating-editor-resize-sw,.floating-editor-resize-se{width:20px;height:20px}}.sortable-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;min-width:0;max-width:100%}.sortable-chip{display:inline-flex;align-items:center;gap:0;max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal;transition:box-shadow .15s,opacity .15s}.sortable-chip>.sortable-chip-main,.sortable-chip.factor-chip>.sortable-chip-main{display:flex;align-items:center;min-width:0;max-width:100%;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;padding:0;white-space:normal;cursor:default;border-radius:4px}.sortable-chip-main.can-sort{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.sortable-chip-main.can-filter{cursor:pointer}.sortable-chip-label{white-space:normal;overflow-wrap:anywhere;word-break:normal;min-width:0;max-width:100%}.sortable-chip>.sortable-chip-remove,.sortable-chip.factor-chip>.sortable-chip-remove{display:block;flex:none;border:0;background:transparent;color:inherit;font:inherit;font-size:16px;line-height:1.2;padding:0 3px;margin-left:4px;border-radius:4px;cursor:pointer}.sortable-chip-main:focus-visible,.sortable-chip-remove:focus-visible{outline:2px solid currentColor;outline-offset:3px}.sortable-chip button:disabled{cursor:default;opacity:.55}.sortable-chip.is-dragging{opacity:.45;cursor:grabbing}.sortable-chip.is-drop-target{box-shadow:0 0 0 2px currentColor}.sortable-chip.is-combine-target{box-shadow:0 0 0 2px #6bdea0;transition:box-shadow .12s}.sortable-chip-ghost{position:fixed;z-index:10002;pointer-events:none;max-width:240px;white-space:normal;overflow-wrap:anywhere;border:1px solid currentColor;border-radius:8px;padding:7px 10px;background:#f4f2ff;color:#7565ad;font-size:11px;line-height:1.7;box-shadow:0 4px 18px #141d3430;opacity:.95}.sortable-chip-instructions{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.non-independent-badge{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:17px;height:17px;margin-right:5px;padding:0!important;border:1px solid #8791a9!important;border-radius:4px!important;background:#4a546c!important;color:#fff!important;font-size:10px!important;font-weight:600!important;line-height:1!important;vertical-align:middle;white-space:nowrap!important}.non-independent-chip .sortable-chip-label:before{content:"非";display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-right:5px;border:1px solid #8791a9;border-radius:4px;background:#4a546c;color:#fff;font-size:10px;font-weight:600;line-height:1;vertical-align:middle;white-space:nowrap}.strategy-quick-edit-backdrop{position:fixed;inset:0;z-index:1900;display:flex;align-items:center;justify-content:center;padding:20px;background:#04091680;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.strategy-quick-edit{width:370px;max-width:100%;padding:20px;border:1px solid #46546f;border-radius:13px;background:#172033;color:#d8e3f6;box-shadow:0 18px 70px #04091680}.strategy-quick-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.strategy-quick-edit-heading h3{font-size:16px;font-weight:600;margin:0;color:#e2eafa}.strategy-quick-edit-heading>button{display:grid;place-items:center;border:0;border-radius:6px;width:26px;height:26px;padding:0;background:transparent;color:#93a3bd;cursor:pointer}.strategy-quick-edit-heading>button:hover{background:#25334c;color:#e2eafa}.strategy-quick-edit-name{display:flex;flex-direction:column;gap:8px;color:#b0bed8;font-size:12px}.strategy-quick-edit-name>span{display:flex;align-items:center;gap:5px}.strategy-quick-edit-name small{margin-left:auto;font-size:10px;color:#6e83a5}.strategy-quick-edit-name input{min-width:0;width:100%;padding:10px 11px;border:1px solid #384963;border-radius:8px;background:#101a2b;color:#e0e9f8;font-size:13px}.strategy-quick-edit-name input:focus{outline:0;border-color:#9c8fe7;box-shadow:0 0 0 2px #9382eb16}.strategy-quick-edit-independent{display:flex;align-items:center;gap:7px;font-size:12px;color:#a9b9d3;margin-top:14px;cursor:pointer}.strategy-quick-edit-independent input{width:16px;height:16px;margin:0;accent-color:#8a7dea;cursor:pointer}.strategy-quick-edit-independent .non-independent-badge{margin-right:0}.strategy-quick-edit-error{margin:13px 0 0;font-size:11px;line-height:1.7;color:#ff8e9d;overflow-wrap:anywhere}.strategy-quick-edit-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:21px}.strategy-quick-edit-actions>button{min-width:64px;padding:8px 13px;border:1px solid #42516d;border-radius:7px;background:#202e48;color:#b5c5df;font-size:12px;cursor:pointer}.strategy-quick-edit-actions>.strategy-quick-edit-save{background:#7662e9;border-color:#8270e8;color:#fff}.strategy-quick-edit button:disabled,.strategy-quick-edit input:disabled{opacity:.5;cursor:default}.strategy-quick-edit button:focus-visible{outline:2px solid #ad9cf1;outline-offset:2px}.strategy-group-members{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0;max-width:100%;vertical-align:middle}.strategy-group-member{display:inline-flex;align-items:center;gap:0;min-width:0;max-width:100%;padding:3px 6px;border:1px solid #ded9f4;border-radius:6px;background:#f7f5fe;color:#7665a1;font-size:inherit;line-height:1.6;white-space:normal;text-align:left}.strategy-group-member-label{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal;white-space:normal}.strategy-group-member.can-filter-member{font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}.strategy-group-member.can-filter-member:hover{background:#eeebfa;border-color:#bcb0e5}.strategy-group-member.can-filter-member:focus-visible{outline:2px solid #9481c4;outline-offset:2px}.strategy-combination-components>.strategy-group-member{font-size:10px;line-height:1.6}.strategy-models>.strategy-model-badge.model-combination{border:1px solid #aad7bc;background:#eaf8f0;color:#327551;border-radius:9px}.strategy-model-badge.model-combination>.sortable-chip-main{padding:5px}.strategy-model-badge.model-combination .sortable-chip-label{display:flex;min-width:0;max-width:100%}.gallery-info .model-combination>.sortable-chip-main,.day-trades .model-combination>.sortable-chip-main{padding:4px}.trade-editor-modal .strategy-group-member{border-color:#5a5384;background:#252a46;color:#aaa2ff;padding:4px 7px;border-radius:7px}.trade-editor-modal .strategy-group-members{gap:6px}.compact-choice-selector{--choice-color:#9a91f5;--choice-rgb:154,145,245;min-width:0;padding:13px 15px;border:1px solid rgba(var(--choice-rgb),.18);border-radius:13px;background:linear-gradient(135deg,rgba(var(--choice-rgb),.045),rgba(var(--choice-rgb),.012));display:flex;flex-direction:column;gap:9px}.compact-choice-selector.favorable{--choice-color:#68b7f5;--choice-rgb:104,183,245}.compact-choice-selector.unfavorable{--choice-color:#edaa64;--choice-rgb:237,170,100}.compact-choice-selector.neutral{--choice-color:#b2b9cb;--choice-rgb:178,185,203}.compact-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.compact-choice-heading h3{color:var(--choice-color);font-size:13px;line-height:1.5;margin:0;font-weight:600}.compact-choice-heading>.compact-choice-add-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;padding:0;border:1px solid rgba(var(--choice-rgb),.28);border-radius:7px;color:var(--choice-color);background:rgba(var(--choice-rgb),.07);cursor:pointer}.compact-choice-options{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap;min-width:0;max-height:148px;overflow:auto;scrollbar-width:thin}.compact-choice{display:inline-flex;align-items:center;max-width:100%;min-width:0;border:1px solid rgba(var(--choice-rgb),.19);border-radius:7px;color:var(--choice-color);background:rgba(var(--choice-rgb),.035);overflow:hidden;transition:border-color .15s,background .15s}.compact-choice.is-selected{background:rgba(var(--choice-rgb),.13);border-color:rgba(var(--choice-rgb),.48)}.compact-choice.is-favorite{border-color:rgba(var(--choice-rgb),.35)}.compact-choice-selector.model .compact-choice.is-combination{border-color:#55b38480;background:#28825926;padding:4px;color:#82c6a5;border-radius:10px}.compact-choice-selector.model .compact-choice.is-combination>.compact-choice-toggle{padding:0}.compact-choice-selector.model .compact-choice.is-combination.is-selected{border-color:#6fdca4bf;background:#2882593b}.compact-choice-selector.model .compact-choice[draggable=true]>.compact-choice-toggle{cursor:grab}.compact-choice-selector.model .compact-choice.is-combine-target{border-color:#6bdea0;box-shadow:0 0 0 2px #6bdea059;background:#2c9d643b}.compact-choice>.compact-choice-toggle{color:inherit;border:0;background:transparent;padding:5px 7px;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.45;cursor:pointer}.compact-choice>.compact-choice-star,.compact-choice>.compact-choice-forget{display:inline-flex;align-items:center;justify-content:center;flex:none;align-self:stretch;min-width:23px;padding:4px 5px;border:0;border-radius:0;background:transparent;color:inherit;cursor:pointer;opacity:.7}.compact-choice.is-favorite>.compact-choice-star{opacity:1}.compact-choice>.compact-choice-forget{opacity:.45}.compact-choice button:hover,.compact-choice-add-toggle:hover{background:rgba(var(--choice-rgb),.12);opacity:1}.compact-choice-selected{min-width:0}.compact-choice-selected .compact-selected-chip{padding:6px 8px;border:1px solid rgba(var(--choice-rgb),.5);border-radius:8px;background:rgba(var(--choice-rgb),.14);color:var(--choice-color);font-size:12px;line-height:1.6}.compact-choice-selector.model .compact-choice-selected .compact-selected-chip.combination-chip{border-color:#55b384a6;background:#28825933;padding:5px;border-radius:10px;color:#82c6a5}.compact-choice-selector.model .compact-choice-selected .compact-selected-chip.is-combine-target{border-color:#6bdea0;box-shadow:0 0 0 2px #6bdea059;background:#2c9d643b}.compact-choice-more{min-width:0}.compact-choice-more summary{color:var(--choice-color);font-size:11px;line-height:1.8;cursor:pointer;opacity:.8}.compact-choice-more summary span{margin-left:4px;opacity:.65;font-variant-numeric:tabular-nums}.compact-choice-more[open] summary{margin-bottom:7px}.compact-choice-custom{display:flex;align-items:center;gap:6px;min-width:0}.compact-choice-custom>input{width:100%;min-width:0;flex:1;border:1px solid rgba(var(--choice-rgb),.25);border-radius:8px;padding:8px 9px;color:var(--choice-color);background:#0000001f;font-size:12px}.compact-choice-custom>.compact-choice-add{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;border:1px solid rgba(var(--choice-rgb),.3);border-radius:8px;padding:7px 9px;background:rgba(var(--choice-rgb),.1);color:var(--choice-color);font-size:12px;cursor:pointer}.compact-choice-selector button:disabled{opacity:.45;cursor:default}.compact-choice-selector button:focus-visible,.compact-choice-more summary:focus-visible{outline:2px solid var(--choice-color);outline-offset:2px}.compact-choice-custom>input:focus{outline:1px solid var(--choice-color);outline-offset:0}@media(max-width:600px){.compact-choice-selector{padding:11px 12px}.compact-choice-options{max-height:122px}.compact-choice-custom>.compact-choice-add{padding:7px}}.factor-multiselect{--factor-color:#68b7f5;--factor-rgb:104,183,245;position:relative;min-width:0;align-self:start}.factor-multiselect.unfavorable{--factor-color:#edaa64;--factor-rgb:237,170,100}.factor-multiselect.is-open{z-index:5}.factor-multiselect>.factor-multiselect-trigger{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid rgba(var(--factor-rgb),.28);border-radius:10px;background:rgba(var(--factor-rgb),.045);color:var(--factor-color);font-size:12px;line-height:1.5;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}.factor-multiselect>.factor-multiselect-trigger:hover,.factor-multiselect.is-open>.factor-multiselect-trigger{border-color:rgba(var(--factor-rgb),.6);background:rgba(var(--factor-rgb),.09)}.factor-multiselect-trigger-end{display:flex;align-items:center;gap:8px;flex:none}.factor-multiselect-trigger-end>svg{opacity:.8;transition:transform .15s}.factor-multiselect.is-open .factor-multiselect-trigger-end>svg{transform:rotate(180deg)}.factor-multiselect-count{min-width:19px;line-height:19px;padding:0 5px;border-radius:5px;background:rgba(var(--factor-rgb),.15);font-size:10px;text-align:center;font-variant-numeric:tabular-nums}.factor-multiselect-selected{min-width:0;margin-top:7px}.factor-multiselect-selected .factor-multiselect-chip{padding:5px 7px;border:1px solid rgba(var(--factor-rgb),.38);border-radius:7px;background:rgba(var(--factor-rgb),.1);color:var(--factor-color);font-size:11px;line-height:1.6}.factor-multiselect-panel{position:absolute;left:0;right:0;z-index:8;display:flex;flex-direction:column;min-width:0;max-height:300px;border:1px solid rgba(var(--factor-rgb),.42);border-radius:11px;background:#141e30;color:var(--factor-color);box-shadow:0 12px 30px #050b1b70;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.factor-multiselect-search{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 10px;border-bottom:1px solid rgba(var(--factor-rgb),.15);flex-shrink:0}.factor-multiselect-search>svg{flex:none;opacity:.65}.factor-multiselect-search>input{flex:1;min-width:0;width:100%;padding:4px 0;border:0;border-radius:0;background:transparent;color:var(--factor-color);font-size:11px;line-height:1.5}.factor-multiselect-search>input:focus{box-shadow:none;outline:0}.factor-multiselect-search>button{flex:none;display:inline-flex;padding:3px;background:transparent;border:0;border-radius:4px;color:var(--factor-color);opacity:.7}.factor-multiselect-options{flex:1;min-height:32px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px}.factor-multiselect-row{display:flex;align-items:center;gap:2px;min-width:0;max-width:100%;border-radius:7px;transition:background .15s}.factor-multiselect-row:hover{background:rgba(var(--factor-rgb),.06)}.factor-multiselect-row.is-selected{background:rgba(var(--factor-rgb),.09)}.factor-multiselect-choice{flex:1;display:flex;align-items:center;gap:8px;min-width:0;padding:8px 7px;cursor:pointer;font-size:11px;line-height:1.6;color:var(--factor-color)}.factor-multiselect-choice>span{min-width:0;overflow-wrap:anywhere;white-space:normal}.factor-multiselect-choice>input[type=checkbox]{width:14px;height:14px;flex:none;margin:0;padding:0;accent-color:var(--factor-color);cursor:pointer}.factor-multiselect-row>.factor-multiselect-star,.factor-multiselect-row>.factor-multiselect-forget{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:28px;padding:4px;border:0;border-radius:5px;background:transparent;color:var(--factor-color);cursor:pointer;opacity:.7}.factor-multiselect-row>.factor-multiselect-star[aria-pressed=true]{opacity:1}.factor-multiselect-row>.factor-multiselect-forget{opacity:.45}.factor-multiselect-row>.factor-multiselect-star:hover,.factor-multiselect-row>.factor-multiselect-forget:hover{opacity:1;background:rgba(var(--factor-rgb),.11)}.factor-multiselect-empty{display:block;padding:11px 8px;font-size:11px;opacity:.65}.factor-multiselect-custom{display:flex;align-items:center;gap:6px;flex-shrink:0;min-width:0;padding:8px;border-top:1px solid rgba(var(--factor-rgb),.15);background:rgba(var(--factor-rgb),.025)}.factor-multiselect-custom>input{flex:1;min-width:0;width:100%;border:1px solid rgba(var(--factor-rgb),.25);border-radius:7px;padding:7px 8px;background:#0000001c;color:var(--factor-color);font-size:11px;line-height:1.5}.factor-multiselect-custom>input:focus{border-color:var(--factor-color);box-shadow:none}.factor-multiselect-custom>button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:3px;border:1px solid rgba(var(--factor-rgb),.25);border-radius:7px;padding:7px 8px;background:rgba(var(--factor-rgb),.1);color:var(--factor-color);font-size:11px;line-height:1.5;cursor:pointer}.factor-multiselect input::placeholder{color:var(--factor-color);opacity:.5}.factor-multiselect button:focus-visible,.factor-multiselect-choice>input:focus-visible{outline:2px solid var(--factor-color);outline-offset:1px}.factor-multiselect button:disabled,.factor-multiselect input:disabled{opacity:.45;cursor:default}.strategy-combination-builder{--combo-bg:#f1fbf6;--combo-line:#b9dec8;--combo-text:#23744f;--combo-muted:#699380;--combo-input:#fff;--combo-chip:#fff;min-width:0;padding:16px 18px;border:1px solid var(--combo-line);border-radius:12px;background:var(--combo-bg);margin-bottom:18px}.strategy-combination-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.strategy-combination-heading h3{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--combo-text);margin:0}.strategy-combination-heading>span{font-size:10px;color:var(--combo-muted);white-space:nowrap}.strategy-combination-candidates{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}.strategy-combination-candidate{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;padding:6px 8px;border:1px solid var(--combo-line);border-radius:7px;background:var(--combo-chip);color:var(--combo-text);font-size:11px;cursor:grab;touch-action:auto;line-height:1.5}.strategy-combination-candidate>span{overflow-wrap:anywhere;text-align:left}.strategy-combination-candidate>small{font-size:9px;opacity:.65;white-space:nowrap}.strategy-combination-candidate>svg{flex:none}.strategy-combination-candidate:hover:not(:disabled){border-color:#42a875;background:#e7f7ee}.strategy-combination-candidate.selected{opacity:.5;cursor:default}.strategy-combination-dropzone{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;min-height:58px;padding:12px;border:1px dashed #69b18d;border-radius:9px;background:#fff6;transition:background .15s,border-color .15s}.strategy-combination-dropzone.dragging{background:#d9f5e5;border-color:#21875a;box-shadow:0 0 0 2px #4da97822}.strategy-combination-drop-hint{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;color:var(--combo-muted);font-size:11px}.strategy-combination-member{display:flex;align-items:center;gap:7px;max-width:100%;padding:6px 7px 6px 9px;border:1px solid var(--combo-line);border-radius:7px;color:var(--combo-text);background:var(--combo-chip);font-size:11px;line-height:1.6}.strategy-combination-member>span{min-width:0;overflow-wrap:anywhere}.strategy-combination-member small{margin-left:6px;font-size:9px;opacity:.6;white-space:nowrap}.strategy-combination-member>button{display:grid;place-items:center;flex:none;width:20px;height:20px;border:0;border-radius:4px;background:transparent;color:var(--combo-muted);padding:0;cursor:pointer}.strategy-combination-member>button:hover{background:#fff0f0;color:#ba4e61}.strategy-combination-save-row{display:flex;align-items:flex-end;gap:10px;min-width:0;margin-top:11px}.strategy-combination-save-row>label{display:flex;flex-direction:column;flex:1;min-width:0;gap:6px;color:var(--combo-muted);font-size:10px}.strategy-combination-save-row input{min-width:0;width:100%;background:var(--combo-input);border:1px solid var(--combo-line);border-radius:7px;color:var(--combo-text);font-size:12px;padding:8px 10px}.strategy-combination-save-row input:focus{outline:none;border-color:#49a476;box-shadow:0 0 0 2px #56ad7d1a}.strategy-combination-save{border:1px solid #287c53;border-radius:7px;padding:9px 12px;background:#287c53;color:#fff;font-size:11px;white-space:nowrap;cursor:pointer;min-height:34px}.strategy-combination-save:hover:not(:disabled){background:#206844}.strategy-combination-save:disabled{opacity:.45;cursor:default}.strategy-combination-error,.strategy-combination-success{font-size:11px;line-height:1.7;margin:9px 0 0;overflow-wrap:anywhere}.strategy-combination-error{color:#c54455}.strategy-combination-success{color:var(--combo-text)}.strategy-combination-empty{font-size:11px;color:var(--combo-muted)}.strategy-combination-saved{display:flex;flex-wrap:wrap;gap:7px;padding-top:12px;margin-top:12px;border-top:1px solid var(--combo-line)}.strategy-combination-saved>button{display:flex;align-items:center;gap:6px;max-width:100%;border:1px solid var(--combo-line);border-radius:7px;padding:5px 8px;background:var(--combo-chip);color:var(--combo-text);font-size:11px;text-align:left;cursor:pointer}.strategy-combination-saved>button>svg{flex:none}.strategy-combination-saved>button>span{min-width:0;overflow-wrap:anywhere}.strategy-combination-saved>button>small{font-size:9px;opacity:.65;white-space:nowrap}.trade-editor-modal .strategy-combination-builder{--combo-bg:#142d29;--combo-line:#315e4e;--combo-text:#8ce3b7;--combo-muted:#6baf92;--combo-input:#102620;--combo-chip:#183a2f;padding:13px 14px;margin:0}.trade-editor-modal .strategy-combination-save-row input{background:var(--combo-input);border-color:var(--combo-line);color:var(--combo-text);padding:8px 10px;font-size:12px}.trade-editor-modal .strategy-combination-dropzone{background:#102b22}.trade-editor-modal .strategy-combination-dropzone.dragging{background:#1c4537;border-color:#79cda4}.trade-editor-modal .strategy-combination-candidate:hover:not(:disabled){background:#235240;border-color:#79cda4}.strategy-combination-badge{display:inline-flex;font-size:10px;border:1px solid #acd9bd;border-radius:5px;padding:2px 6px;color:#277c50;background:#ecf9f1;line-height:1.5}.strategy-combination-card{border-color:#a7d7bc;background:linear-gradient(140deg,#f4fcf7,#fff)}.strategy-combination-card .strategy-icon{color:#2e8057;background:#e9f7ef}.strategy-combination-components{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.strategy-combination-components>span{font-size:10px;line-height:1.6;padding:2px 6px;border:1px solid #d6eade;border-radius:5px;color:#628675;max-width:100%;overflow-wrap:anywhere}@media(max-width:430px){.strategy-combination-builder{padding:13px}.strategy-combination-save-row{flex-wrap:wrap}.strategy-combination-save-row>label{flex-basis:100%}.strategy-combination-save{margin-left:auto}}.strategy-combine-confirm-backdrop{position:fixed;inset:0;z-index:1950;display:flex;align-items:center;justify-content:center;padding:20px;background:#04091680;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.strategy-combine-confirm{width:430px;max-width:100%;max-height:calc(100dvh - 40px);overflow-y:auto;padding:21px;border:1px solid #3c6b58;border-radius:14px;background:#172333;color:#d9e6f7;box-shadow:0 18px 70px #04091680}.strategy-combine-confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.strategy-combine-confirm-heading h3{display:flex;align-items:center;gap:8px;margin:0;color:#dceee5;font-size:16px;font-weight:600}.strategy-combine-confirm-heading h3>svg{color:#8adab3;flex:none}.strategy-combine-confirm-heading>button{display:grid;place-items:center;flex:none;border:0;border-radius:6px;width:28px;height:28px;padding:0;background:transparent;color:#96b4a8;cursor:pointer}.strategy-combine-confirm-heading>button:hover{background:#274235;color:#dceee5}.strategy-combine-confirm-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border:1px solid #4b8b6a;border-radius:10px;background:#163c2e;margin-bottom:17px;min-width:0}.strategy-combine-confirm-member{display:flex;align-items:center;gap:6px;padding:7px 9px;max-width:100%;min-width:0;border:1px solid #6476aa;border-radius:7px;background:#252f49;color:#bcb5fc;font-size:12px;line-height:1.6}.strategy-combine-confirm-member>span:not(.non-independent-badge){min-width:0;overflow-wrap:anywhere}.strategy-combine-confirm-member>small{flex:none;font-size:10px;opacity:.65;white-space:nowrap}.strategy-combine-confirm-name{display:flex;flex-direction:column;gap:8px;color:#a5bcd2;font-size:12px}.strategy-combine-confirm-name input{min-width:0;width:100%;padding:10px 11px;border:1px solid #42516d;border-radius:8px;background:#101b2a;color:#e0e9f8;font-size:13px}.strategy-combine-confirm-name input:focus{outline:0;border-color:#72bf95;box-shadow:0 0 0 2px #63ac811c}.strategy-combine-confirm-name input[aria-invalid=true]{border-color:#cd6d7c}.strategy-combine-confirm-error{margin:13px 0 0;font-size:11px;line-height:1.7;color:#ff8e9d;overflow-wrap:anywhere}.strategy-combine-confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:21px}.strategy-combine-confirm-actions>button{min-width:72px;padding:9px 14px;border:1px solid #42516d;border-radius:7px;background:#202e48;color:#b5c5df;font-size:12px;cursor:pointer}.strategy-combine-confirm-actions>.strategy-combine-confirm-save{background:#2d8058;border-color:#4a9b73;color:#fff}.strategy-combine-confirm-actions>.strategy-combine-confirm-save:hover:not(:disabled){background:#349a68}.strategy-combine-confirm button:disabled,.strategy-combine-confirm input:disabled{opacity:.5;cursor:default}.strategy-combine-confirm button:focus-visible{outline:2px solid #91dbb4;outline-offset:2px}@media(max-width:430px){.strategy-combine-confirm-backdrop{padding:12px}.strategy-combine-confirm{max-height:calc(100dvh - 24px);padding:17px}}.hypothesis-intro{display:flex;align-items:center;gap:17px;padding:21px 23px;background:linear-gradient(115deg,#f9f8ff,#fff);margin-bottom:20px}.hypothesis-intro-icon{width:47px;height:47px;flex:none;display:grid;place-items:center;border-radius:12px;background:#eeeafd;color:#8172c9}.hypothesis-intro>div:nth-child(2){flex:1;min-width:0}.hypothesis-intro h2{font-size:16px;line-height:1.7;color:#5d5684}.hypothesis-intro p{font-size:11px;line-height:1.85;color:#8d96ab;margin-top:5px}.hypothesis-intro>.pill{white-space:normal;text-align:center;line-height:1.7}.hypothesis-toolbar{display:flex;align-items:flex-end;gap:22px;margin-bottom:17px;flex-wrap:wrap}.hypothesis-scenario-field{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#939bb0;min-width:200px}.hypothesis-scenario-field select{color:#6756a4;border-color:#dfd9ef;font-size:12px}.hypothesis-sample-summary{display:flex;align-items:baseline;gap:9px;padding-bottom:9px;color:#9ba4b7;font-size:11px}.hypothesis-sample-summary strong{font-size:25px;font-weight:650;color:#7062ae}.hypothesis-toolbar>.btn{margin-left:auto}.hypothesis-filters{gap:13px;align-items:flex-end;padding:15px}.hypothesis-filters>label{display:flex;flex-direction:column;gap:7px;font-size:9px;color:#97a1b3;min-width:125px;flex:1}.hypothesis-filters input,.hypothesis-filters select{min-width:0;max-width:none;flex:none;width:100%}.hypothesis-filters>.btn{margin-bottom:2px;flex:none}.hypothesis-comparison-note{display:flex;flex-direction:column;gap:5px;font-size:10px;line-height:1.9;color:#929cb0;margin:0 3px 19px}.hypothesis-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.hypothesis-metric{padding:20px 21px;margin:0;min-width:0}.hypothesis-metric>span{font-size:11px;color:#929aaf}.hypothesis-metric>strong{display:block;font-size:26px;font-weight:650;letter-spacing:-.5px;color:#7561bb;margin:15px 0 12px;line-height:1.35;overflow-wrap:anywhere}.hypothesis-metric>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;color:#a1a9b9;font-size:10px}.hypothesis-metric b{font-weight:500;color:#758297;font-size:12px;font-variant-numeric:tabular-nums}.hypothesis-metric>small{display:block;color:#a4adbc;font-size:9px;line-height:1.9;margin-top:10px}.hypothesis-curve-card{padding-bottom:17px}.hypothesis-curve-card .card-heading{align-items:flex-start}.hypothesis-curve-legend{display:flex;gap:18px;font-size:10px;color:#939bb0;flex-wrap:wrap;flex:none;padding-top:2px}.hypothesis-curve-legend>span{display:flex;align-items:center;gap:6px}.hypothesis-curve-legend i{display:block;width:17px;height:3px;border-radius:3px;flex:none}.hypothesis-assumed-swatch{background:#8b6acb}.hypothesis-actual-swatch{background:#8ba0b4}.hypothesis-paired-chart{position:relative;padding:5px 23px 0 99px}.hypothesis-paired-chart svg{width:100%;height:250px;display:block;overflow:visible}.hypothesis-chart-scale{position:absolute;left:23px;top:29px;bottom:44px;display:flex;justify-content:space-between;flex-direction:column;max-width:72px;color:#a1aabc;font-size:9px;overflow-wrap:anywhere}.hypothesis-gridline{stroke:#edf0f6}.hypothesis-actual-line{stroke:#8ba0b4}.hypothesis-assumed-line{stroke:#8b6acb}.hypothesis-actual-point{fill:#8ba0b4}.hypothesis-assumed-point{fill:#8b6acb}.hypothesis-chart-dates{display:flex;justify-content:space-between;color:#a1abbe;font-size:9px;padding:3px 15px 0}.hypothesis-curve-footer{border-top:1px solid #edf0f5;margin:19px 23px 0;padding:15px 0 1px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#98a2b5;font-size:10px;flex-wrap:wrap;line-height:1.8}.hypothesis-curve-footer strong{margin-left:9px;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.hypothesis-chart-empty{min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:#a6afc3;text-align:center;padding:20px}.hypothesis-chart-empty p{font-size:11px;line-height:1.9}.hypothesis-table{min-width:950px}.hypothesis-table th,.hypothesis-table td{padding-left:18px;padding-right:18px}.hypothesis-table td{vertical-align:top;line-height:1.8}.hypothesis-table td.amount{font-size:12px;padding-top:17px}.hypothesis-table td.amount small{color:#9da8b9;font-size:9px;font-weight:400}.hypothesis-changes-cell{min-width:190px;max-width:290px}.hypothesis-change-chips{display:flex;flex-wrap:wrap;gap:5px}.hypothesis-change-chips>span{font-size:9px;line-height:1.7;padding:3px 6px;border:1px solid #e4dfef;background:#f9f7fd;color:#8b7fa4;border-radius:6px;overflow-wrap:anywhere}.hypothesis-changes-cell>p{font-size:10px;line-height:1.9;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;color:#93a0b4}.hypothesis-basis-changed{display:block;margin-top:7px;color:#b18e49;font-size:9px}.hypothesis-images{margin-top:9px;font-size:9px}.hypothesis-table .btn{font-size:10px;padding:5px 0}.hypothesis-cases .empty-state{padding:40px 23px 48px}.hypothesis-cases .empty-state p{max-width:520px}.hypothesis-page .hypothesis-filters input:focus,.hypothesis-page .hypothesis-filters select:focus{border-color:#a396d5}@media(max-width:1200px){.hypothesis-metric-grid{gap:13px}.hypothesis-metric{padding:18px}.hypothesis-intro{padding:20px}.hypothesis-curve-card .card-heading{flex-direction:column;align-items:flex-start}.hypothesis-curve-legend{gap:17px}.hypothesis-sample-summary{gap:7px}.hypothesis-toolbar{gap:17px}}@media(max-width:850px){.hypothesis-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hypothesis-toolbar>.btn{margin-left:0}.hypothesis-intro>.pill{display:none}.hypothesis-filters>label{min-width:135px}.hypothesis-sample-summary{padding-bottom:4px}.hypothesis-paired-chart{padding-left:88px}.hypothesis-chart-scale{left:17px;max-width:64px}}@media(max-width:550px){.hypothesis-intro{padding:17px;align-items:flex-start;gap:12px}.hypothesis-intro-icon{width:35px;height:35px;border-radius:9px}.hypothesis-intro h2{font-size:14px}.hypothesis-intro p{font-size:10px}.hypothesis-scenario-field{min-width:160px;flex:1}.hypothesis-toolbar{gap:13px;align-items:flex-end}.hypothesis-toolbar>.btn{width:100%;padding:10px}.hypothesis-sample-summary{font-size:9px;gap:5px}.hypothesis-sample-summary strong{font-size:22px}.hypothesis-metric-grid{gap:10px}.hypothesis-metric{padding:15px 13px}.hypothesis-metric>strong{font-size:21px;margin:12px 0 10px}.hypothesis-metric>span{font-size:10px}.hypothesis-metric>div{font-size:9px;gap:5px}.hypothesis-metric b{font-size:10px}.hypothesis-metric>small{font-size:8px}.hypothesis-paired-chart{padding:4px 13px 0 79px}.hypothesis-paired-chart svg{height:220px}.hypothesis-chart-scale{left:13px;top:29px;bottom:40px;max-width:61px;font-size:8px}.hypothesis-chart-dates{font-size:8px;padding-left:8px;padding-right:8px}.hypothesis-curve-footer{margin-left:17px;margin-right:17px;align-items:flex-start;flex-direction:column;font-size:9px;gap:7px}.hypothesis-filters{gap:11px}.hypothesis-filters>label{min-width:110px;flex-basis:40%}.hypothesis-filters>.btn{font-size:9px}.hypothesis-comparison-note{font-size:9px}.hypothesis-chart-empty{min-height:210px}.hypothesis-table th,.hypothesis-table td{padding-left:14px;padding-right:14px}}.hypothesis-scenario-input{display:flex;align-items:stretch;gap:7px}.hypothesis-scenario-input>.remembered-input{flex:1;min-width:0}.hypothesis-scenario-input>.btn{flex:none;min-height:36px;padding:7px 10px;font-size:15px}.hypothesis-scenario-field .remembered-input>input{width:100%;min-width:0;color:#6756a4;border-color:#dfd9ef;font-size:12px}.dashboard-outcomes{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-bottom:18px;padding:12px 14px;border:1px solid var(--border,#e8ebf2);border-radius:10px;background:linear-gradient(110deg,#fbfbff,#f4f5fd);color:inherit}.dashboard-outcomes.has-exclusions{border-color:#d9d5f5;background:linear-gradient(110deg,#faf9ff,#f2f2fd)}.dashboard-outcomes-heading{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;flex:none}.dashboard-outcomes-title{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--primary,#5750d9)}.dashboard-outcomes-hint{font-size:10px;color:#7e879e}.dashboard-outcomes-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.dashboard-outcome-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:5px 10px;border:1px solid #dfe2ed;border-radius:7px;background:#fff;color:#6a7690;font-size:11px;line-height:1.4;transition:background .15s,border-color .15s,color .15s}.dashboard-outcome-toggle:hover{background:#f0efff;border-color:#c2bde9}.dashboard-outcome-toggle[aria-pressed=true]{border-color:#b4ade8;background:#e9e6fc;color:#5148b6;box-shadow:inset 0 0 0 1px #b4ade825}.dashboard-outcome-mark{display:grid;place-items:center;width:12px;height:12px;border:1px solid #c7cedd;border-radius:50%;font-size:11px;font-weight:700;line-height:1}.dashboard-outcome-toggle[aria-pressed=true] .dashboard-outcome-mark{border-color:var(--primary,#5750d9);background:var(--primary,#5750d9);color:#fff}.dashboard-outcomes-reset{display:inline-flex;align-items:center;gap:4px;min-height:30px;margin-left:3px;padding:5px 7px;border:0;border-radius:6px;background:transparent;color:var(--primary,#5750d9);font-size:10px}.dashboard-outcomes-reset:hover:not(:disabled){background:#eae7fb}.dashboard-outcomes-summary{margin-left:auto;font-size:10px;color:#757f97;line-height:1.6;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-outcomes.has-exclusions .dashboard-outcomes-summary{color:#665da8}.dashboard-outcome-toggle:focus-visible,.dashboard-outcomes-reset:focus-visible{outline:2px solid var(--primary,#5750d9);outline-offset:3px}@media(max-width:700px){.dashboard-outcomes{gap:9px;padding:11px 10px}.dashboard-outcomes-heading{width:100%;justify-content:space-between}.dashboard-outcomes-controls{gap:5px;flex:1 1 100%}.dashboard-outcome-toggle{padding:5px 8px}.dashboard-outcomes-reset{margin-left:auto}.dashboard-outcomes-summary{margin-left:0}}@media(prefers-reduced-motion:reduce){.dashboard-outcome-toggle{transition:none}}.dashboard-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px;min-width:0}.dashboard-detail-stat{min-width:0;padding:16px 20px 17px;border:1px solid var(--border,#e8ebf2);border-radius:11px;background:linear-gradient(115deg,#fff,#fcfcff);box-shadow:0 3px 8px #25385802}.dashboard-detail-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#7e899f}.dashboard-detail-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;font-style:normal}.dashboard-detail-icon.win{background:#edf8f3;color:var(--profit,#168564)}.dashboard-detail-icon.loss{background:#fff0f3;color:var(--loss,#c54455)}.dashboard-detail-icon.flat{background:#f0eefc;color:#8a7dcc}.dashboard-stat-value-scroll{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c9c8df transparent}.dashboard-detail-value{display:block;width:max-content;max-width:none;margin-top:10px;font-size:clamp(18px,1.65vw,23px);font-weight:650;line-height:1.5;letter-spacing:-.4px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#66728d}.dashboard-detail-value small{margin-left:8px;font-size:11px;font-weight:400;letter-spacing:0;color:#99a2b6}.dashboard-risk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 23px 0;min-width:0}.dashboard-risk-metric{min-width:0;padding:12px 14px;border:1px solid #e7e4f2;border-radius:9px;background:linear-gradient(120deg,#faf8ff,#f9fafc)}.dashboard-risk-metric>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#7f869d;line-height:1.6}.dashboard-risk-metric>span svg{color:#9b8bbc;flex:none}.dashboard-risk-value{display:block;width:max-content;max-width:none;margin-top:6px;font-size:clamp(20px,1.8vw,24px);font-weight:650;line-height:1.5;letter-spacing:-.4px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#726391}@media(max-width:1200px){.dashboard-detail-stats{gap:12px}.dashboard-detail-stat{padding:14px 16px}}@media(max-width:700px){.dashboard-detail-stats{grid-template-columns:1fr;gap:9px;margin-bottom:18px}.dashboard-detail-stat{padding:13px 15px}.dashboard-detail-value{font-size:22px;margin-top:6px}.dashboard-risk{margin:15px 17px 0;gap:9px}.dashboard-risk-metric{padding:11px 12px}.dashboard-risk-value{font-size:21px}}@media(max-width:430px){.dashboard-risk{grid-template-columns:1fr}.dashboard-risk-metric{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-risk-metric>span{flex:none;font-size:10px}.dashboard-risk-metric .dashboard-stat-value-scroll{flex:1;text-align:right}.dashboard-risk-value{margin-top:0;margin-left:auto;font-size:20px}}@media(max-width:430px){.metric-grid{grid-template-columns:1fr}.metric-card>strong{white-space:nowrap;max-width:100%;overflow-x:auto}}:root{font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;color:#24314a;background:#f5f6fa;font-synthesis:none;font-size:14px;--primary:#5750d9;--muted:#8590a5;--border:#e8ebf2;--profit:#168564;--loss:#c54455}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,.disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #c7c4ff;outline-offset:3px}input,textarea,select{border:1px solid #dfe4ed;border-radius:8px;background:#fff;color:#33415b;padding:10px 12px;max-width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#8a83e9;box-shadow:0 0 0 3px #eeecff}input[type=checkbox]{accent-color:var(--primary);width:16px;height:16px}textarea{resize:vertical;line-height:1.75;min-height:90px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.7px;line-height:1.4;font-weight:700}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:14px}small{font-size:11px}.muted{color:var(--muted)}.tiny{font-size:11px;display:inline-flex;align-items:center;gap:4px}.profit{color:var(--profit)!important}.loss{color:var(--loss)!important}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.full-width{width:100%}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#192139;color:#acb5cd;display:flex;flex-direction:column;padding:30px 18px 18px;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:#fff;margin:0 13px 42px;font-size:18px;font-weight:700;letter-spacing:.4px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#8d99b8;margin-top:6px;font-weight:500}.brand-mark{width:38px;height:40px;border-radius:12px;display:grid;place-items:center;background:#6a62e8;color:#fff}.nav-label{font-size:10px;letter-spacing:1.5px;color:#66738e;padding:0 16px;margin-bottom:15px}.nav-item{display:flex;align-items:center;width:100%;gap:12px;border:0;background:transparent;border-radius:9px;padding:13px 16px;text-align:left;color:#a7b1ca;margin-bottom:6px;font-size:13px;transition:.15s}.nav-item:hover{background:#252e48;color:#fff}.nav-item.active{background:#393466;color:#efedff;box-shadow:inset 3px 0 #9b93ff}.nav-item.active svg{color:#aaa2ff}.nav-count{margin-left:auto;background:#4b467c;padding:2px 6px;border-radius:5px;font-size:10px;color:#dad6ff}.sidebar-bottom{margin-top:auto;padding-top:50px}.privacy-card{padding:17px 15px;border:1px solid #303a53;border-radius:10px;background:linear-gradient(140deg,#242d47,#1d273e)}.privacy-card svg{color:#9690e2;display:block;margin-bottom:10px}.privacy-card strong{color:#d7dcec;font-size:12px;font-weight:500}.privacy-card p{font-size:11px;line-height:1.9;margin-top:7px;color:#8290ad}.sidebar-version{font-size:10px;color:#687690;display:block;text-align:center;margin-top:20px}.main{margin-left:230px;min-width:0;flex:1}.topbar{height:69px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;border-bottom:1px solid var(--border)}.breadcrumb{font-size:12px;color:#97a1b3;display:flex;gap:14px;align-items:center}.breadcrumb span{color:#ccd2df}.topbar-right{display:flex;gap:18px;align-items:center}.connection-badge{display:inline-flex;align-items:center;gap:7px;color:#5c6980;font-size:11px;max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.status-dot{width:6px;height:6px;background:#7caf99;border-radius:50%;flex:none}.connection-badge.demo .status-dot{background:#daa14e}.online-label{font-size:10px;color:#9da6b6}.page-content{max-width:1600px;padding:32px 36px 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#939eb2;margin-bottom:6px}.page-heading p{font-size:12px;color:#8893a7;margin-top:9px;line-height:1.8}.heading-actions{display:flex;gap:12px;align-items:center}.account-select{background:#fff;min-width:180px;font-size:12px;height:38px}.btn{border:1px solid transparent;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-radius:8px;font-size:12px;white-space:nowrap;line-height:1.3;transition:background .15s,box-shadow .15s}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 3px 8px #5750d91f}.btn-primary:hover:not(:disabled){background:#4941c9}.btn-secondary{background:#fff;border-color:#dfe4ed;color:#596581}.btn-secondary:hover:not(:disabled){background:#f5f5ff;border-color:#c8c4ef}.btn-danger{background:#fff1f3;border-color:#ffd9e0;color:#be5062}.btn-text{background:transparent;color:var(--primary);padding:7px 9px}.btn-text:hover{background:#f0efff}.btn-large{padding:14px 18px;font-size:13px}.icon-btn{border:0;background:transparent;padding:7px;display:inline-flex;align-items:center;justify-content:center;color:#8994a7;border-radius:6px}.icon-btn:hover:not(:disabled){background:#f0effb;color:var(--primary)}.row-actions{display:flex;align-items:center;gap:6px}.notice,.alert{display:flex;align-items:center;gap:10px;border:1px solid #dedbff;background:#f0effe;border-radius:8px;padding:12px 15px;font-size:12px;color:#625b99;margin-bottom:16px;line-height:1.8}.notice>span{flex:1}.notice .icon-btn{padding:2px}.alert{display:block;background:#fff4f3;border-color:#f2d6d3;color:#b55f57}.demo-banner{padding:11px 15px;border:1px solid #eadebf;border-radius:8px;background:#fffcf3;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#988259;margin-bottom:20px}.warning-details{border:1px solid #eeddbd;border-radius:8px;padding:12px 15px;background:#fffaf0;font-size:12px;color:#9d7a43;margin-bottom:16px}.warning-details summary{cursor:pointer}.warning-details p{margin-top:9px;overflow-wrap:anywhere}.pill{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:500;padding:4px 7px;border-radius:5px;white-space:nowrap;background:#f1f4f8;color:#6e7b91}.pill-violet{background:#f0eefe;color:#7a72cb}.pill-blue{background:#eaf1fb;color:#6a8ab7}.pill-amber{background:#f9eed6;color:#b18e49}.tag{font-size:10px;border:1px solid #e9edf3;background:#fafbfd;color:#8692a6;padding:3px 6px;border-radius:4px;display:inline-block}.tags{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.card{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 3px 8px #25385802;overflow:hidden;margin-bottom:20px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 23px 16px}.card-heading h2{font-size:15px}.card-heading p{font-size:11px;color:#98a2b4;margin-top:6px;line-height:1.65}.card-heading>svg{color:#9fa6c0}.section-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;gap:12px;font-size:11px}.date-range{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);padding:5px 10px;border-radius:7px;color:#99a2b3;font-size:10px}.date-range input{border:0;padding:4px 0;font-size:11px;width:110px;box-shadow:none;background:transparent}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric-card{padding:20px 21px;margin:0;position:relative}.metric-card>div{display:flex;justify-content:space-between;align-items:center;color:#8a94a8;font-size:11px}.metric-card i{font-style:normal;width:31px;height:31px;border-radius:8px;background:#f3f2fc;display:grid;place-items:center;color:#9b95d3}.metric-card>strong{display:block;font-size:27px;letter-spacing:-1px;font-weight:650;margin:14px 0 10px;overflow-wrap:anywhere}.metric-card>p{font-size:10px;color:#9ba5b6}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(240px,1fr);gap:20px}.chart-card{min-height:370px}.chart-card .card-heading{padding-bottom:10px}.equity-chart{position:relative;padding:10px 23px 0 77px}.equity-chart svg{width:100%;height:220px;display:block}.chart-scale{position:absolute;left:21px;top:31px;bottom:44px;display:flex;flex-direction:column;justify-content:space-between;font-size:9px;color:#a6aebd;max-width:65px}.chart-dates{display:flex;justify-content:space-between;padding:2px 8px;color:#a3adbf;font-size:9px}.chart-foot{border-top:1px solid #eff1f5;margin:18px 23px 0;padding-top:15px;display:flex;justify-content:space-between;font-size:10px;color:#929cb0}.chart-foot strong{color:#67738a;margin-left:6px;font-weight:600}.chart-note{padding:8px 23px 17px;font-size:9px}.chart-empty{height:230px;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;color:#acb3c4;font-size:12px}.discipline-card{display:flex;flex-direction:column;padding-bottom:20px}.discipline-ring{width:155px;height:155px;margin:10px auto 20px;background:conic-gradient(#8880df var(--progress),#f1f1f7 0);border-radius:50%;padding:11px}.discipline-ring>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px}.discipline-ring strong{font-size:27px;letter-spacing:-1px;font-weight:600}.discipline-ring span{font-size:9px;color:#9ba5b7}.discipline-counts{display:flex;padding:0 27px;justify-content:space-between;margin-bottom:20px}.discipline-counts span{font-size:10px;color:#9aa4b8;display:flex;flex-direction:column;gap:6px}.discipline-counts strong{font-size:19px;color:#68758e;font-weight:600}.discipline-card>.btn{margin:auto 23px 0;width:calc(100% - 46px);font-size:11px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-weight:500;color:#99a2b2;font-size:10px;background:#fcfcfe;padding:13px 22px;border-top:1px solid #f0f2f6;border-bottom:1px solid #eef1f6;white-space:nowrap}td{padding:15px 22px;border-bottom:1px solid #f0f2f6;color:#6b7890}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfdff}td strong{font-size:12px;font-weight:600;color:#46526a}td small{display:block;font-size:9px;color:#a3adbd;margin-top:5px}td.amount{white-space:nowrap;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.strategy-cell{font-size:10px;max-width:180px;line-height:1.6}.filter-bar{display:flex;gap:9px;align-items:center;padding:14px;background:#fff;border:1px solid var(--border);border-radius:10px;margin-bottom:18px;flex-wrap:wrap}.filter-bar input,.filter-bar select{font-size:11px;padding:9px;max-width:175px;flex:1;min-width:110px}.search-input{display:flex;align-items:center;gap:6px;border:1px solid #dfe4ed;border-radius:7px;padding:0 10px;flex:2;color:#9ba4b7;min-width:200px}.search-input input{border:0;max-width:none;min-width:150px;box-shadow:none;padding:9px 0}.filter-bar .btn{font-size:10px}.empty-state{padding:50px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#acb3c5;text-align:center}.empty-state h3{color:#67758e}.empty-state p{font-size:12px;line-height:1.8}.empty-state .btn{margin-top:4px}.calendar-layout{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(270px,1fr);gap:20px}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);padding:8px 18px;color:#a6afbf;font-size:10px;text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0 18px;gap:6px}.calendar-day{border:1px solid #edf0f6;background:#fdfdfe;border-radius:8px;min-height:92px;padding:10px 8px;text-align:left;display:flex;flex-direction:column;gap:12px;color:#8995a9;overflow:hidden}.calendar-day>div{display:flex;align-items:center;gap:4px;height:14px}.calendar-day strong{font-size:11px;font-weight:500}.calendar-day.selected{border:1px solid #aca7ed;box-shadow:0 0 0 2px #eeedfc}.calendar-day.day-profit{background:#f5fcf9}.calendar-day.day-loss{background:#fff8f9}.calendar-day.day-flat{background:#f8f9ff}.calendar-day>small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-day .day-pnl{font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-star{font-size:7px;color:#c4a468;margin-left:auto;overflow:hidden}.today-dot{width:4px;height:4px;border-radius:50%;background:#8e85dd}.calendar-legend{padding:20px;display:flex;gap:20px;justify-content:center;font-size:9px;color:#99a3b5}.calendar-legend span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:6px;height:6px;border-radius:50%;display:inline-block}.legend-profit{background:#88c7b5}.legend-loss{background:#e5a5b0}.day-review{padding-bottom:20px}.day-summary{background:#fafafe;padding:20px 23px;display:flex;flex-direction:column;gap:10px}.day-summary>span{font-size:10px;color:#969eb2}.day-summary>strong{font-size:25px;font-weight:600}.day-summary small{color:#9ba4b7}.day-review>h3{padding:0 22px;margin:17px 0 8px;font-size:11px;color:#8b96ab}.day-review>p{padding:0 22px;font-size:12px;color:#6b7891}.day-review>.image-grid{padding:16px 22px;grid-template-columns:repeat(2,1fr)}.rating-stars{padding:19px 23px 0;color:#c7a875;letter-spacing:4px;font-size:18px}.rating-stars span{color:#dce1eb}.review-prompt{padding:28px 20px;display:flex;flex-direction:column;align-items:center;gap:16px;font-size:11px;color:#9ba6ba;text-align:center;line-height:1.9}.day-trades{margin:10px 20px 0;border-top:1px solid var(--border)}.day-trades>button{border:0;border-bottom:1px solid #f0f2f6;background:transparent;width:100%;padding:15px 0;display:flex;align-items:center;justify-content:space-between;font-size:11px;text-align:left}.day-trades small{display:block;font-size:9px;color:#a2adbf;margin-top:6px}.day-trades strong{font-size:11px;font-weight:600}.strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.strategy-card{padding:22px;margin:0;display:flex;flex-direction:column}.strategy-top{display:flex;align-items:center;gap:10px;margin-bottom:18px}.strategy-top .row-actions{margin-left:auto}.strategy-icon,.export-icon{background:#f0effe;width:42px;height:42px;border-radius:11px;color:#8b81ce;display:grid;place-items:center}.strategy-card h2{font-size:17px;margin-bottom:10px}.strategy-description{font-size:11px;color:#92a0b5;line-height:1.85;margin-top:16px;min-height:42px}.strategy-rule-preview{margin:15px 0;display:flex;flex-direction:column;gap:8px;flex:1}.strategy-rule-preview>span{display:flex;align-items:flex-start;gap:7px;color:#8b97ad;font-size:11px;line-height:1.6}.strategy-rule-preview svg{color:#a69cdb;flex:none;margin-top:2px}.strategy-metrics{margin:17px 0 5px;padding:15px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;justify-content:space-between}.strategy-metrics>span{font-size:9px;color:#9ca7bb;display:flex;flex-direction:column;gap:8px}.strategy-metrics strong{font-size:16px;color:#68738e;font-weight:600}.strategy-card>.btn{justify-content:flex-start;font-size:11px;margin-top:12px;padding-left:0}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gallery-card{margin:0}.asset-image{border:0;background:#f1f3f9;display:block;width:100%;padding:0;aspect-ratio:1.8;overflow:hidden}.asset-image img{width:100%;height:100%;object-fit:cover;display:block}.asset-image:hover img{filter:brightness(.97)}.image-placeholder{height:100%;min-height:85px;display:flex;align-items:center;justify-content:center;gap:10px;flex-direction:column;color:#9fa9bf;font-size:10px}.gallery-info{padding:18px}.gallery-info>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px}.gallery-info>div:first-child strong{color:#58647d}.gallery-info>p{font-size:10px;color:#9ba4b7;margin:9px 0 13px}.gallery-info>small{font-size:9px;color:#a6aec0;display:block;margin-top:13px;overflow-wrap:anywhere}.gallery-info .btn{padding-left:0;margin-top:12px;font-size:10px}.export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.export-card{padding:25px;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:17px}.export-card h2{font-size:17px}.export-card p{color:#949fb3;font-size:12px;line-height:1.85}.export-card .btn{margin-top:auto}.checkbox-line{display:flex;align-items:center;gap:8px;font-size:11px;color:#8e9ab0}.restore-card{margin-top:24px;padding:24px;display:flex;align-items:center;gap:20px}.restore-icon{width:48px;height:48px;border-radius:11px;display:grid;place-items:center;background:#f1f3f9;color:#9aa5ba;flex:none}.restore-card h2{font-size:15px;margin-bottom:8px}.restore-card p{font-size:11px;color:#9ca6b9;line-height:1.7}.restore-card .btn{margin-left:auto}.export-footnote{display:flex;gap:7px;color:#9fa8b9;font-size:10px;align-items:center}.account-list{padding:0 23px}.account-row{display:flex;gap:13px;align-items:center;padding:19px 0;border-top:1px solid var(--border)}.account-avatar{width:40px;height:40px;border-radius:10px;background:#eeedfb;color:#938bd6;display:grid;place-items:center;font-size:16px;flex:none}.account-row>div{flex:1}.account-row strong{font-size:13px;font-weight:500;color:#66718a}.account-row small{display:block;font-size:10px;color:#a2aabc;line-height:1.9;margin-top:5px}.settings-card{padding-bottom:23px}.settings-grid{padding:8px 23px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.settings-grid label{display:block;color:#a1abbd;font-size:10px;margin-bottom:9px}.settings-grid strong{font-weight:500;font-size:12px;color:#7e8a9f;overflow-wrap:anywhere}.settings-card>.row-actions{padding:0 23px;flex-wrap:wrap}.trash-list{padding:0 23px 20px}.trash-list>div{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid var(--border);gap:12px}.trash-list strong{font-weight:500;font-size:12px}.trash-list small{display:block;color:#a5aebf;font-size:9px;margin-top:7px}.trash-list>p{padding-top:7px;font-size:11px}.help-card{padding:23px}.help-card h2{margin-bottom:15px;font-size:15px}.help-card p{font-size:11px;color:#8d9ab0;line-height:1.9;margin-top:10px}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:27px 0 25px;color:#a9b1c0;font-size:9px;margin-top:15px}.page-footer span{display:flex;gap:5px;align-items:center}.page-footer a:hover{color:var(--primary)}.welcome{min-height:650px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:50px 42px 0;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;overflow:hidden;position:relative}.welcome-copy{z-index:1}.local-tag{display:inline-flex;align-items:center;gap:6px;color:#8a82c6;border:1px solid #e6e1f6;border-radius:20px;padding:7px 10px;font-size:10px;background:#f9f7ff;margin-bottom:24px}.welcome h2{font-size:38px;line-height:1.55;font-weight:650;letter-spacing:-1.3px}.welcome h2 span{color:#6760d7}.welcome-copy>p{font-size:12px;color:#97a1b4;line-height:2.1;margin:20px 0 25px}.welcome-actions{display:flex;gap:12px;flex-wrap:wrap}.welcome-copy>small{color:#a9b2c2;display:block;font-size:9px;margin-top:14px;line-height:1.7}.welcome-visual{padding:20px 0 20px 15px;position:relative}.sample-card{box-shadow:0 14px 50px #4f527516;border:1px solid #e5e8f2;border-radius:12px;padding:22px;background:#fff;transform:rotate(-2deg);position:relative;z-index:1}.sample-card-top{display:flex;align-items:center;gap:11px;font-size:11px;color:#65728b}.sample-card-top small{display:block;margin-top:6px;font-size:7px;letter-spacing:1px;color:#b4bbca}.sample-icon{width:36px;height:36px;background:#f1effc;color:#9a90d2;border-radius:9px;display:grid;place-items:center}.sample-card-top>.pill{margin-left:auto;font-size:8px}.sample-equity{margin-top:28px}.sample-equity>span{font-size:10px;color:#9aa5ba}.sample-equity svg{width:100%;display:block;margin-top:19px}.sample-features{display:flex;justify-content:space-between;padding-top:18px;margin-top:10px;border-top:1px solid var(--border)}.sample-features span{display:flex;align-items:center;gap:4px;color:#939eaf;font-size:9px}.sample-features svg{color:#a69dd8}.welcome-visual:before{content:"";position:absolute;inset:-50px -80px -80px -50px;background:radial-gradient(ellipse,#eeecfd 0%,transparent 65%)}.floating-label{position:relative;z-index:2;display:flex;align-items:center;gap:12px;background:#fff;box-shadow:0 5px 24px #4e526611;border:1px solid #ebeaf6;border-radius:10px;padding:16px 20px;margin:15px 50px 0 -15px;color:#8e88c5}.floating-label span{font-size:12px;color:#7b88a1;flex:1}.floating-label small{display:block;color:#a5aec0;font-size:9px;margin-top:5px}.welcome-steps{grid-column:1/-1;border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(3,1fr);padding:27px 0 30px;align-self:end;margin-top:35px;gap:22px}.welcome-steps>div{display:grid;grid-template-columns:32px 1fr;gap:4px 10px}.welcome-steps span{grid-row:span 2;color:#b4afd4;font-size:18px;font-weight:400}.welcome-steps h3{font-size:11px;color:#8590a7;font-weight:500}.welcome-steps p{font-size:9px;color:#afb6c5;line-height:1.6}.modal-backdrop{position:fixed;inset:0;background:#19243a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:790px;max-width:100%;max-height:calc(100dvh - 48px);background:#fff;border-radius:14px;box-shadow:0 20px 90px #1520384f;display:flex;flex-direction:column;overflow:hidden}.modal-header{padding:22px 25px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);gap:15px}.modal-header h2{font-size:19px}.modal-header p{font-size:11px;color:#929eb3;margin-top:7px;line-height:1.7}.modal-body{padding:23px 25px;overflow:auto}.modal-body>p{line-height:1.9;color:#7f8ba1;font-size:12px}.modal-footer{padding:17px 25px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px;background:#fdfdff}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>label,.field>span:first-child{font-size:11px;color:#78869d}.field small{font-size:10px;color:#a2acbf;line-height:1.7}.field.full,.form-grid .full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;font-size:12px}.section-title{font-size:13px;color:#737e99;margin:20px 0 13px;display:flex;align-items:center;justify-content:space-between}.rule-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.rule-row>span{flex:1;font-size:12px;line-height:1.7;color:#7c88a0}.rule-row>input{flex:1}.rule-row select{font-size:11px;min-width:100px}.image-dropzone{padding:20px;border:1px dashed #ccc8e8;background:#faf9fe;border-radius:9px;display:flex;flex-direction:column;align-items:center;gap:10px;color:#958fae;font-size:11px;text-align:center;margin:14px 0}.image-dropzone p{line-height:1.8}.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.image-card{border:1px solid var(--border);border-radius:9px;overflow:hidden;position:relative}.image-card>img,.image-card .image-placeholder{width:100%;height:120px;object-fit:cover;background:#f2f4fa}.image-card input,.image-card select,.image-card textarea{width:100%;font-size:10px;padding:6px;margin:3px 0;min-height:0}.image-caption{padding:9px;display:flex;flex-direction:column;gap:6px}.image-caption>strong,.image-caption>span{font-size:10px;overflow-wrap:anywhere;color:#9ba6ba}.image-card .btn{font-size:10px;padding:6px}.confirm-modal{width:440px}.image-lightbox{background:#121c31ef;color:#e3e7f1;flex-direction:column;gap:20px}.lightbox-top{width:min(1100px,100%);display:flex;justify-content:space-between;align-items:center}.lightbox-top p{font-size:11px;color:#99a5bd;margin-top:8px}.lightbox-top strong{font-size:13px;font-weight:500}.image-lightbox .asset-image{width:min(1100px,100%);height:calc(100dvh - 180px);aspect-ratio:auto;background:transparent}.image-lightbox .asset-image img{object-fit:contain}.image-lightbox .icon-btn{color:#c1cbde}.image-lightbox .icon-btn:hover{background:#2d3651}.image-lightbox .tag{background:#25314b;border:0;color:#b4bed2}.image-lightbox .image-placeholder{color:#9ca7c1}@media(min-width:1700px){.page-content{padding-top:42px}.welcome{padding-top:70px;min-height:730px}.welcome h2{font-size:48px}.welcome-copy>p{font-size:14px}.welcome-visual{padding-left:40px}.chart-card{min-height:390px}.equity-chart svg{height:240px}}@media(max-width:1200px){.sidebar{width:205px;padding-left:13px;padding-right:13px}.main{margin-left:205px}.page-content{padding:27px 24px 0}.topbar{padding:0 24px}.metric-grid{gap:12px}.metric-card{padding:17px}.metric-card>strong{font-size:23px}.strategy-grid,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{padding:35px 28px 0;gap:10px}.welcome h2{font-size:33px}.welcome .btn-large{padding:12px 14px;font-size:11px}.sample-card{padding:16px}.sample-features{gap:8px}.calendar-layout{grid-template-columns:minmax(0,2fr) minmax(250px,1fr)}.calendar-grid{gap:4px;padding:0 12px}.calendar-day{min-height:88px;padding:8px 5px}.calendar-day .day-pnl{font-size:9px}th,td{padding-left:16px;padding-right:16px}.dashboard-grid{grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr)}}@media(max-width:950px){.sidebar{width:78px;padding:25px 12px}.brand{margin:0 auto 30px;justify-content:center}.brand>span:last-child,.nav-label,.nav-item>span,.sidebar-bottom{display:none}.brand-mark{width:38px;height:38px}.nav-item{justify-content:center;padding:13px 7px}.nav-item svg{width:21px}.main{margin-left:78px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.account-select{min-width:145px}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:minmax(0,2.7fr) minmax(220px,1fr)}.calendar-layout{grid-template-columns:1fr}.calendar-day{min-height:110px;padding:12px}.calendar-day .day-pnl{font-size:12px}.calendar-day>small{font-size:10px}.day-review>p{max-width:700px}.settings-grid{grid-template-columns:repeat(2,1fr)}.welcome{min-height:580px}.welcome-steps{gap:10px}.welcome-visual{padding-left:0}.sample-card-top{gap:7px}.sample-card-top>.pill{display:none}.floating-label{margin-right:10px}.welcome h2{font-size:31px}}@media(max-width:700px){.sidebar{width:60px;padding:22px 8px}.main{margin-left:60px}.brand-mark{width:33px;height:33px;border-radius:9px}.brand-mark svg{width:20px}.nav-item{padding:12px 5px}.topbar{padding:0 15px;height:56px}.breadcrumb{font-size:10px;gap:7px}.topbar-right{gap:8px}.online-label{display:none}.connection-badge{font-size:9px;max-width:120px}.page-content{padding:22px 15px 0}.page-heading{flex-direction:column;gap:15px}.page-heading p{font-size:11px}.heading-actions{width:100%;justify-content:space-between}.heading-actions .account-select{flex:1}.eyebrow{font-size:8px}.dashboard-grid{grid-template-columns:1fr}.discipline-card{display:none}.metric-grid{gap:9px}.metric-card{padding:15px 12px}.metric-card>strong{font-size:21px}.metric-card>div{font-size:10px}.metric-card i{width:24px;height:24px}.metric-card i svg{width:15px}.metric-card p{font-size:9px;line-height:1.6}.section-toolbar{align-items:flex-start;flex-direction:column}.date-range{width:100%;justify-content:center}.date-range input{flex:1;width:auto}.chart-foot{gap:10px;flex-wrap:wrap}.card-heading{padding:18px 17px 13px}.equity-chart{padding-right:12px;padding-left:55px}.chart-scale{left:11px;font-size:8px;max-width:43px}.chart-foot{margin-left:17px;margin-right:17px}.chart-note{padding-left:17px;padding-right:17px;font-size:8px}.chart-card{min-height:350px}th,td{padding:13px 14px}.filter-bar{gap:7px;padding:10px}.filter-bar input,.filter-bar select{min-width:95px;max-width:none}.search-input{min-width:100%;flex-basis:100%}.strategy-grid,.gallery-grid,.export-grid{grid-template-columns:1fr}.welcome{padding:30px 22px 0;grid-template-columns:1fr;min-height:auto;gap:15px}.welcome h2{font-size:31px}.welcome-copy>p{font-size:11px}.welcome-visual{padding:5px 10px 10px}.welcome-steps{margin-top:5px;padding:22px 0;grid-template-columns:1fr;gap:16px}.floating-label{margin-right:15px;margin-top:7px;padding:12px}.welcome-actions{gap:9px}.welcome .btn-large{font-size:11px;padding:12px}.welcome-copy>small{font-size:9px}.demo-banner{font-size:10px;gap:10px;align-items:flex-start;flex-direction:column}.notice{font-size:11px;align-items:flex-start}.notice>.btn{font-size:10px;padding:6px}.calendar-weekdays{padding-left:9px;padding-right:9px}.calendar-grid{gap:3px;padding:0 7px}.calendar-day{min-height:81px;padding:7px 4px;gap:12px}.calendar-day .day-pnl{font-size:8px}.calendar-day>small{font-size:7px}.calendar-day strong{font-size:9px}.day-star{font-size:5px}.calendar-legend{font-size:8px;gap:12px}.restore-card{flex-wrap:wrap;gap:13px;padding:18px}.restore-card>div:nth-child(2){flex:1}.restore-card .btn{margin-left:0}.export-footnote{font-size:9px;line-height:1.7}.account-list{padding:0 15px}.account-row{gap:8px;flex-wrap:wrap}.account-row>div{min-width:120px}.account-avatar{width:32px;height:32px;font-size:12px}.settings-grid{padding:8px 17px 20px;gap:17px}.settings-card>.row-actions{padding:0 17px}.settings-card>.row-actions .btn{font-size:10px}.page-footer{align-items:flex-start;gap:12px;flex-direction:column;font-size:8px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-header,.modal-body{padding:18px}.modal-footer{padding:14px 18px}.form-grid{grid-template-columns:1fr}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field.full,.form-grid .full{grid-column:auto}.image-lightbox .asset-image{height:calc(100dvh - 170px)}.rule-row>span{font-size:11px}.rule-row select{min-width:83px;font-size:10px}.modal-header h2{font-size:17px}}.modal label.field{font-size:11px;color:#78869d}.editor-fields>p{font-size:12px;line-height:1.9;margin-bottom:16px}.modal-footer>.muted{font-size:10px;line-height:1.7;margin-right:auto;align-self:center}.image-dropzone.dragging{background:#eeebff;border-color:#9c93e1}.currency-shortcuts{display:flex;gap:6px;flex-wrap:wrap}.currency-shortcuts .btn{padding:5px 9px;font-size:10px}.amount-conversion{border:1px solid #e4e0fa;background:#faf9ff;border-radius:9px;padding:13px 15px}.amount-conversion>strong{font-size:18px;color:#6b62ba;font-weight:600;overflow-wrap:anywhere}.amount-conversion>span{font-size:10px;line-height:1.8}.strategy-composer{border:1px solid var(--border);border-radius:10px;padding:17px;background:#fdfdff}.strategy-composer-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.strategy-composer>p,.strategy-rule-group>p{font-size:10px;line-height:1.8}.strategy-selected{display:flex;gap:7px;flex-wrap:wrap;min-height:30px;align-items:center}.model-chip{display:inline-flex;gap:5px;align-items:center;padding:3px 5px 3px 10px;border-radius:7px;background:#eeeafb;color:#7a70b0;font-size:10px;max-width:100%}.model-chip>span{overflow-wrap:anywhere}.model-chip .icon-btn{padding:2px 5px;font-size:16px;color:#9287bd}.strategy-create-row{display:flex;gap:10px;align-items:flex-end;margin:5px 0}.strategy-create-row>.field{flex:1}.strategy-create-row>.btn{height:38px}.strategy-candidates{display:flex;flex-direction:column;gap:7px;max-height:250px;overflow:auto;padding:2px}.strategy-choice{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e9edf3;border-radius:8px;background:#fff}.strategy-choice.selected{border-color:#d9d2f2;background:#faf8ff}.strategy-choice-toggle{display:flex;align-items:center;gap:10px;flex:1;min-width:0;cursor:pointer}.strategy-choice-toggle input[type=checkbox]{width:16px;height:16px;padding:0;flex:none}.strategy-choice-toggle>span{display:flex;flex-direction:column;gap:4px;min-width:0}.strategy-choice-toggle strong{font-size:11px;font-weight:500;color:#717c93;overflow-wrap:anywhere}.strategy-choice-toggle small{font-size:9px;color:#a1a9ba}.strategy-choice-toggle strong small{margin-left:5px;color:#9b91c1}.strategy-choice>.btn{padding:5px 8px;font-size:9px}.model-notice{padding:9px 11px;background:#f3f9f6;color:#739681;border-radius:6px}.strategy-rule-group{margin:0}.strategy-rule-group h3{font-size:12px;color:#827796;margin-bottom:7px}@media(max-width:700px){.strategy-create-row{flex-direction:column;align-items:stretch}.strategy-create-row>.field{width:100%}}.strategy-models{display:inline-flex;flex-wrap:wrap;gap:6px;max-width:100%;vertical-align:middle}.strategy-model-badge{display:inline-flex;max-width:100%;padding:4px 8px;border:1px solid #ded9f4;border-radius:7px;background:#f7f5fe;color:#7665a1;font-size:10px;line-height:1.65;white-space:normal;overflow-wrap:anywhere;text-align:left}.gallery-info .strategy-models,.day-trades .strategy-models{gap:5px}.gallery-info .strategy-model-badge,.day-trades .strategy-model-badge{font-size:9px;padding:3px 7px}.trade-images-trigger{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;min-height:28px;padding:4px 7px;border:1px solid #e2def2;border-radius:7px;background:#f7f5fe;color:#786ca2;font-size:10px;cursor:pointer;transition:background .15s,border-color .15s}.trade-images-trigger:hover{background:#ede8fc;border-color:#cfc6ee}.trade-images-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sidebar,.main{transition:width .18s ease,margin-left .18s ease}.sidebar-top{display:flex;align-items:center;gap:7px;margin-bottom:32px}.sidebar-top .brand{margin:0;gap:9px;flex:1;min-width:0;font-size:16px}.sidebar-top .brand-mark{flex:none}.sidebar-top .brand small{font-size:7px;letter-spacing:1.5px}.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:27px;height:29px;padding:0;border:1px solid #3b4660;border-radius:7px;background:#263049;color:#bdc6dc}.sidebar-toggle:hover{background:#36425d;color:#fff}.nav-expanded .sidebar{width:230px;padding:30px 18px 18px}.nav-expanded .main{margin-left:230px}.nav-expanded .brand{justify-content:flex-start}.nav-expanded .brand>span:last-child,.nav-expanded .nav-label,.nav-expanded .sidebar-bottom{display:block}.nav-expanded .nav-item{justify-content:flex-start;padding:13px 16px}.nav-expanded .nav-item>span{display:inline}.nav-expanded .nav-item svg{width:19px}.nav-collapsed .sidebar{width:78px;padding:25px 12px}.nav-collapsed .main{margin-left:78px}.nav-collapsed .sidebar-top{flex-direction:column;gap:14px;margin-bottom:22px}.nav-collapsed .brand{flex:none;justify-content:center}.nav-collapsed .brand>span:last-child,.nav-collapsed .nav-label,.nav-collapsed .nav-item>span,.nav-collapsed .sidebar-bottom{display:none}.nav-collapsed .nav-item{justify-content:center;padding:13px 7px}.nav-collapsed .nav-item svg{width:21px}.nav-collapsed .sidebar-toggle{width:30px;height:27px}.entry-method-cell{min-width:90px;max-width:145px}.entry-method-badge{display:inline-flex;border:1px solid #e0e5ef;background:#f7f9fd;border-radius:6px;padding:4px 8px;font-size:10px;line-height:1.7;white-space:normal;overflow-wrap:anywhere;color:#667691}.factors-cell{min-width:175px;max-width:240px}.trade-factors{display:flex;flex-direction:column;gap:6px;max-width:100%}.factor-summary{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.7}.factor-kind{flex:none;padding:3px 0;font-size:9px;font-weight:600}.factor-tags{display:flex;flex-wrap:wrap;gap:5px;min-width:0}.factor-badge{display:inline-flex;padding:3px 7px;border:1px solid;border-radius:6px;overflow-wrap:anywhere;white-space:normal;font-size:10px;line-height:1.7}.favorable .factor-kind,.favorable .factor-badge,.factor-editor.favorable h3,.factor-editor.favorable .factor-chip,.factor-editor.favorable .factor-choice{color:#2563b7!important}.unfavorable .factor-kind,.unfavorable .factor-badge,.factor-editor.unfavorable h3,.factor-editor.unfavorable .factor-chip,.factor-editor.unfavorable .factor-choice{color:#c36c17!important}.favorable .factor-badge{background:#eff6ff;border-color:#d1e3fb}.unfavorable .factor-badge{background:#fff6eb;border-color:#f1d6b4}.gallery-info>.trade-factors{margin:0 0 12px}.day-trades .trade-factors{margin-top:7px}.trade-direction-entry{display:grid;grid-template-columns:1fr 1fr;gap:12px}.entry-method-controls{display:flex;flex-direction:column;gap:8px}.trade-factor-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.factor-editor{border:1px solid;border-radius:10px;padding:15px;min-width:0}.factor-editor.favorable{background:#f9fcff;border-color:#d8e7f9}.factor-editor.unfavorable{background:#fffcf8;border-color:#f1dfc7}.factor-editor h3{font-size:12px;margin-bottom:10px}.factor-editor p,.factor-editor small{font-size:10px;line-height:1.8}.factor-selected{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:30px;margin-bottom:10px}.factor-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid;border-radius:7px;padding:3px 5px 3px 8px;font-size:10px;line-height:1.7;max-width:100%;overflow-wrap:anywhere}.favorable .factor-chip{background:#eff6ff;border-color:#d1e3fb}.unfavorable .factor-chip{background:#fff6eb;border-color:#f1d6b4}.factor-chip>.icon-btn,.factor-chip>button{border:0;background:transparent;padding:1px 4px;font-size:16px;color:inherit;flex:none}.factor-add-row{display:flex;gap:7px;margin:10px 0;align-items:center}.factor-add-row input{width:100%;min-width:0;flex:1;font-size:11px;padding:9px}.factor-add-row .btn{padding:9px 10px;font-size:10px}.factor-candidates{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow:auto}.factor-choice{display:inline-flex;align-items:center;gap:5px;border:1px solid #e1e6ef;background:#fff;border-radius:6px;padding:5px 7px;font-size:10px;line-height:1.6;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.factor-choice input[type=checkbox]{width:13px;height:13px;flex:none;margin:0}.favorable .factor-choice input{accent-color:#2563b7}.unfavorable .factor-choice input{accent-color:#c36c17}.factor-choice.selected{box-shadow:inset 0 0 0 1px currentColor}@media(max-width:1200px){.nav-expanded .sidebar{width:205px;padding-left:13px;padding-right:13px}.nav-expanded .main{margin-left:205px}.nav-expanded .sidebar-top .brand{font-size:14px}}@media(max-width:700px){.nav-collapsed .sidebar{width:60px;padding:22px 8px}.nav-collapsed .main{margin-left:60px}.nav-collapsed .nav-item{padding:12px 5px}.trade-direction-entry,.trade-factor-editors{grid-template-columns:1fr}.factor-editor{padding:13px}.nav-expanded .nav-item{font-size:12px}}@media(prefers-reduced-motion:reduce){.sidebar,.main{transition:none}}.factor-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px}.factor-editor-heading h3{margin:0}.factor-editor-heading>span{font-size:9px;line-height:1.7}.factor-add-row{align-items:flex-end}.factor-add-row>.field{flex:1;min-width:0}.factor-add-row>.btn{flex:none}.favorable .factor-choice.selected{background:#eff6ff}.unfavorable .factor-choice.selected{background:#fff6eb}.trade-direction-entry label{font-size:11px;color:#78869d}.trade-direction-entry label>select{display:block;margin-top:8px}.strategy-models .strategy-model-badge,.factor-tags .factor-badge{padding:0}.strategy-model-badge .sortable-chip-main{padding:4px 8px;text-align:left;font-size:10px;line-height:1.65;color:inherit!important}.factor-badge .sortable-chip-main{padding:3px 7px;text-align:left;font-size:10px;line-height:1.7;color:inherit!important}.factor-tags .sortable-chip{max-width:100%}.entry-method-badge:hover{background:#eef0fb;border-color:#c6c6e7}.entry-method-badge:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.day-trade-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--border)}.day-trade-context{flex:1;min-width:0;font-size:11px}.day-trade-context>small{display:block;margin-top:7px}.day-trade-context>strong{font-size:11px;font-weight:600}.day-trade-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:none;font-size:11px}.day-trade-actions .btn{font-size:10px;padding:5px 0}.strategy-cell{min-width:150px;max-width:210px}.factors-cell .sortable-chip-main,.strategy-cell .sortable-chip-main{max-width:185px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.filter-bar select[aria-label=有利因素筛选]{color:#2563b7!important}.filter-bar select[aria-label=不利因素筛选]{color:#c36c17!important}.trade-symbol-filter{display:inline-block;border:0;background:transparent;padding:0;color:#46526a;font-size:12px;line-height:1.7;font-weight:600;text-align:left;white-space:normal;overflow-wrap:anywhere}.trade-symbol-filter:hover{text-decoration:underline;text-underline-offset:3px;color:var(--primary)}.direction-filter{border:1px solid transparent;cursor:pointer}.direction-filter:hover{border-color:currentColor}.sidebar{overflow-y:auto;scrollbar-width:thin}.sidebar-top{flex:none}.sidebar nav{flex:none}.sidebar-bottom{padding-top:30px}.trade-symbol-filter:focus-visible,.direction-filter:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.hypothesis-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;min-width:43px;padding:4px 7px;border:1px solid transparent;border-radius:7px;background:transparent;font-size:11px;line-height:1.5;font-weight:600;flex:none}.hypothesis-action.configured{color:#7463ce;background:#f2efff;border-color:#dfd8f6}.hypothesis-action.empty{color:#a1a9b7;background:#f5f6f9;border-color:#e8ebf1}.hypothesis-action:hover{border-color:currentColor;background:#eeebfb}.hypothesis-action.empty:hover{color:#7463ce}.hypothesis-action:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.hypothesis-editor-target{scroll-margin-top:10px}.library-path{margin:18px 0;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);font-size:12px}.library-path-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.library-path-heading>label{font-size:11px;color:var(--muted)}.library-path-heading .btn{font-size:10px;padding:3px 0}.library-path>strong{display:block;line-height:1.8;overflow-wrap:anywhere;margin-top:5px;color:#64748b}.library-path>strong small{display:block;font-size:9px}.library-path>p{font-size:10px;line-height:1.8;margin-top:8px}.library-path-input{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.library-path-input>input{flex:1;min-width:220px}.library-path-input>.btn{font-size:11px}.trash-permanent{color:#bd4f61}.trash-list .row-actions{flex:none}.settings-card>.library-path{margin:4px 23px 18px;padding:18px 0;min-width:0}.settings-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-grid>div{min-width:0}.settings-grid strong{display:block;overflow-wrap:anywhere}.library-path-heading{flex-wrap:wrap;min-width:0}.library-path-heading>label{min-width:0;overflow-wrap:anywhere}.library-path-heading .btn{max-width:100%;white-space:normal;text-align:left}.library-path-input>input{flex:1 1 240px;min-width:0;max-width:100%}.library-path>.alert{overflow-wrap:anywhere}.library-path>strong,.library-path>p{max-width:100%;min-width:0;overflow-wrap:anywhere}@media(max-width:950px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.settings-card>.library-path{margin:4px 17px 16px;padding:16px 0}.library-path-input>input{flex-basis:100%}.library-path-heading{gap:8px}}
