:root{font-family:Inter,Microsoft YaHei UI,PingFang SC,system-ui,sans-serif;color:#17202a;background:#f4f7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px,46%) 1fr;background:#f6f8fb}.brand-panel{position:relative;overflow:hidden;padding:clamp(48px,8vw,120px);display:flex;flex-direction:column;justify-content:center;color:#fff;background:linear-gradient(145deg,#071c32,#0b3556 58%,#0f5a72)}.brand-panel:after{content:"";position:absolute;width:480px;height:480px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-220px;bottom:-140px;box-shadow:0 0 0 70px #ffffff09,0 0 0 150px #ffffff06}.brand-mark{width:64px;height:64px;display:grid;place-items:center;margin-bottom:54px;background:#e2a44f;border-radius:18px;font-size:30px;font-weight:800;box-shadow:0 16px 40px #00000040}.eyebrow{margin:0 0 12px;color:#4b7894;font-size:12px;font-weight:800;letter-spacing:.16em}.brand-panel .eyebrow{color:#8fc8d4}.brand-panel h1{max-width:520px;margin:0;font-size:clamp(38px,5vw,66px);line-height:1.08;letter-spacing:-.04em}.brand-copy{max-width:520px;margin:28px 0;color:#c9dbe6;font-size:17px;line-height:1.8}.safety-state{display:flex;align-items:center;gap:10px;margin-top:36px;color:#bcd4df;font-size:12px;font-weight:750;letter-spacing:.1em}.safety-state span{width:9px;height:9px;border-radius:50%;background:#70d1a7;box-shadow:0 0 0 5px #70d1a724}.login-panel{display:grid;place-items:center;padding:40px}.login-card{width:min(440px,100%);padding:48px;background:#fff;border:1px solid #dce5eb;border-radius:18px;box-shadow:0 26px 70px #172b3e1a}.login-card h2{margin:0 0 10px;font-size:34px;letter-spacing:-.03em}.muted{margin:0 0 32px;color:#617080;line-height:1.65}.login-card label{display:block;margin:22px 0}.login-card label>span{display:block;margin-bottom:9px;font-size:14px;font-weight:700}.login-card input{width:100%;padding:13px 14px;border:1px solid #b9c7d1;border-radius:8px;background:#fbfcfd;outline:none;transition:.18s}.login-card input:focus{border-color:#176b8b;box-shadow:0 0 0 3px #176b8b1f;background:#fff}.login-card input[aria-invalid=true]{border-color:#b74646}.field-error{display:block;margin-top:7px;color:#aa3535}.login-card button,.secondary-button,.primary-button,.icon-button{border:0;border-radius:8px;cursor:pointer;font-weight:750}.login-card button{width:100%;min-height:48px;margin-top:8px;color:#fff;background:#0b5676}.login-card button:hover:not(:disabled){background:#064562}.login-card button:disabled{cursor:not-allowed;opacity:.5}.security-note{margin:18px 0 0;color:#788796;text-align:center;font-size:12px}.alert,.notice{margin:24px 0 -4px;padding:12px 14px;border-radius:8px}.alert{border:1px solid #edc5c5;color:#852e2e;background:#fff4f4}.notice{border:1px solid #b8dfd0;color:#155b43;background:#f0fbf6}.spinner{display:inline-block;width:15px;height:15px;margin-right:8px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;vertical-align:-2px;animation:spin .75s linear infinite}.spinner.dark{border-color:#b8c7d0;border-top-color:#0b5676}.loading-page{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:#4e6170;background:#f5f8fa}.loading-page .spinner{width:28px;height:28px}.secondary-button{padding:9px 15px;color:#164b65;background:#e8f1f5}.primary-button{padding:10px 17px;color:#fff;background:#0b5676}.icon-button{padding:4px 10px;color:#506572;background:transparent;font-size:26px}.shell-placeholder{min-height:100vh;background:#f4f7fa}.shell-placeholder>.app-header{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;color:#fff;background:#092a43}.shell-placeholder>.app-header div{display:flex;align-items:center;gap:16px}.shell-placeholder>.app-header div>span{font-size:13px;color:#b8cfdb}.shell-placeholder main{max-width:920px;margin:90px auto;padding:50px;border:1px solid #dce5eb;border-radius:16px;background:#fff}.user-block{display:flex;align-items:center;gap:16px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#03121e94}.settings-modal{width:min(540px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:32px;border-radius:16px;background:#fff;box-shadow:0 30px 90px #0000004d}.settings-modal>header{height:auto;padding:0;color:inherit;background:none}.settings-modal h2{margin:0;font-size:27px}.settings-modal label{display:block;margin:18px 0}.settings-modal label span{display:block;margin-bottom:7px;font-size:13px;font-weight:700}.settings-modal input{width:100%;padding:11px 12px;border:1px solid #b9c7d1;border-radius:8px}.settings-modal footer{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.validation-list{padding:12px 12px 12px 30px;border-radius:8px;color:#852e2e;background:#fff4f4}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.login-page{display:block;background:#f6f8fb}.brand-panel{min-height:270px;padding:38px 26px 50px;justify-content:flex-end}.brand-mark{width:48px;height:48px;margin-bottom:28px;border-radius:13px;font-size:23px}.brand-panel h1{font-size:34px}.brand-copy{margin:16px 0 0;font-size:14px}.safety-state{margin-top:20px}.login-panel{padding:0 18px 30px}.login-card{margin-top:-20px;padding:28px 24px;border-radius:14px;position:relative}.login-card h2{font-size:27px}.shell-placeholder>.app-header{height:auto;padding:16px;align-items:flex-start;gap:12px}.user-block{flex-direction:column;align-items:flex-end!important}.shell-placeholder main{margin:24px 16px;padding:28px}.settings-modal{padding:24px}}.module-page{max-width:1240px;margin:0 auto;padding:44px 28px 80px}.module-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.module-header h1{margin:0 0 10px;font-size:34px}.module-header p:last-child{margin:0;color:#617080}.safety-banner{margin:24px 0;padding:14px 16px;border:1px solid #c3dce7;border-radius:10px;color:#23536a;background:#eef8fb}.state-card{margin-top:24px;padding:50px;border:1px dashed #b8c8d2;border-radius:12px;color:#536876;text-align:center;background:#fff}.state-card strong{display:block;margin-bottom:8px;font-size:20px}.danger-button,.text-button{border:0;cursor:pointer;font-weight:600}.danger-button{padding:9px 14px;border-radius:8px;color:#9d3434;background:#fff0f0}.text-button{margin-left:8px;color:inherit;text-decoration:underline;background:transparent}.mono{font-family:Cascadia Mono,Consolas,monospace}.status-dot{padding:5px 8px;border-radius:99px;font-size:12px}.status-dot.on{color:#176044;background:#e7f6ef}.status-dot.off{color:#6e5a27;background:#f7f0d9}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.settings-modal select{width:100%;padding:11px 12px;border:1px solid #b9c7d1;border-radius:8px;background:#fff}.checkbox-row{display:flex!important;align-items:center;gap:10px}.checkbox-row input{width:auto}.checkbox-row span{margin:0!important}.confirm-dialog{width:min(440px,100%);padding:28px;border-radius:8px;background:#fff;box-shadow:0 12px 36px #0003}.confirm-dialog h2{margin-top:0;font-size:16px}.confirm-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.original-management-page{max-width:none;margin:0;padding:0;color:#000000e0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-size:14px}.original-management-page .module-header{padding:0;min-height:0;height:auto;color:inherit;background:transparent;display:block}.original-management-page .module-header h1{margin:0 0 8px;font-size:16px;font-weight:600;line-height:24px}.management-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:16px}.original-management-page .primary-button,.management-editor .primary-button{height:32px;padding:4px 15px;border:1px solid #1677ff;border-radius:6px;color:#fff;background:#1677ff;font-size:14px;font-weight:400;line-height:22px;box-shadow:0 2px #058fff1a}.original-management-page .primary-button:hover,.management-editor .primary-button:hover{border-color:#4096ff;background:#4096ff}.original-management-page button:disabled,.management-editor button:disabled{cursor:not-allowed;color:#00000040;border-color:#d9d9d9;background:#0000000a;box-shadow:none}.management-table-wrap{width:100%;overflow:auto;border-radius:8px 8px 0 0}.management-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:22px}.management-table th{position:relative;padding:16px;color:#000000e0;background:#fafafa;text-align:left;font-weight:600;border-bottom:1px solid #f0f0f0;white-space:nowrap}.management-table th:not(:last-child):after{content:"";position:absolute;top:16px;right:0;width:1px;height:22px;background:#f0f0f0}.management-table td{padding:16px;color:#000000e0;border-bottom:1px solid #f0f0f0;overflow-wrap:anywhere;vertical-align:middle}.management-table tr:hover:not(:has(.management-empty)) td{background:#fafafa}.management-table td.management-empty{padding:16px;text-align:center;color:#00000040;height:56px;font-weight:400}.management-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.management-actions button{border:0;padding:0;color:#1677ff;background:transparent;font:inherit;cursor:pointer}.management-actions button.danger{color:#ff4d4f}.management-actions button:disabled{color:#00000040;background:none;border:0}.management-tag{display:inline-block;padding:0 7px;border:1px solid #d9d9d9;border-radius:4px;color:#000000e0;background:#fafafa;font-size:12px;line-height:20px;white-space:nowrap}.management-tag.enabled{color:#389e0d;border-color:#b7eb8f;background:#f6ffed}.account-table{min-width:1060px}.management-editor{width:min(520px,100%);padding:20px 24px;border-radius:8px;font-size:14px;color:#000000e0}.management-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px;height:auto;padding:0;color:inherit;background:none}.management-editor h2{font-size:16px;font-weight:600;line-height:24px}.management-editor .icon-button{padding:0 6px;color:#00000073;font-size:22px;font-weight:400}.management-editor .form-grid{display:block}.management-editor label{display:block;margin:18px 0}.management-editor label>span{margin-bottom:8px;font-size:14px;font-weight:400}.management-editor input:not([type=checkbox]),.management-editor select{min-height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;font-size:14px;line-height:22px;color:#000000e0;background:#fff;outline:none}.management-editor input:focus,.management-editor select:focus{border-color:#4096ff;box-shadow:0 0 0 2px #0591ff1a}.management-editor .checkbox-row input{accent-color:#1677ff}.management-editor footer{gap:8px;margin-top:24px}.management-editor .secondary-button{height:32px;padding:4px 15px;border:1px solid #d9d9d9;border-radius:6px;color:#000000e0;background:#fff;font-size:14px;font-weight:400}.management-editor .muted{font-size:12px;margin:12px 0 20px;color:#8c8c8c}.original-management-page .alert{margin:8px 0 16px;font-size:12px}.management-editor .validation-list{font-size:12px}@media(max-width:600px){.module-page{padding:28px 16px 60px}.original-management-page{padding:0}.form-grid{grid-template-columns:1fr}.management-editor{padding:20px}.management-table td,.management-table th{padding:12px}.confirm-dialog{padding:22px}}.accounts-compatible-page{width:100%;min-width:0;color:#000000e0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;line-height:1.5714285714}.accounts-mobile-heading{display:none}.accounts-list-modal .ant-modal,.accounts-editor-modal .ant-modal{top:100px}.accounts-list-modal .ant-modal-body{max-height:calc(100vh - 160px);overflow:auto}.accounts-list-modal .ant-modal-content,.accounts-editor-modal .ant-modal-content{padding:20px 24px;border-radius:8px;background:#fff}.accounts-list-modal .ant-modal-header,.accounts-editor-modal .ant-modal-header{margin-bottom:8px}.accounts-list-modal .ant-modal-title,.accounts-editor-modal .ant-modal-title{font-size:16px;font-weight:600;line-height:24px}.accounts-editor-modal .ant-form-item{margin-bottom:24px}.accounts-editor-modal .ant-form-item-label{padding-bottom:8px}.accounts-editor-modal .accounts-saved-secret input::placeholder{color:#000000e0}.accounts-editor-modal .accounts-channel-alert{margin-bottom:16px}.accounts-editor-modal .ant-modal-footer{margin-top:12px}.accounts-load-error .ant-alert-action{margin-left:12px;white-space:nowrap}.mobile-shell .accounts-compatible-page{padding:24px 16px}.mobile-shell .accounts-mobile-heading{display:block;margin:0 0 16px;font-size:16px;font-weight:600;line-height:24px}.pair-table{min-width:1000px}.pair-table .pair-id{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contract-metadata{margin:16px 0 0;font-size:12px;color:#6f7772}.contract-metadata summary{cursor:pointer}.contract-readonly{display:grid;gap:10px;margin:12px 0;padding:12px;border:1px solid #f0f0f0;border-radius:6px;background:#fafafa}.contract-readonly div{display:flex;justify-content:space-between;gap:12px}.contract-readonly small{color:#8c8c8c}.contract-readonly strong{font-size:12px;font-weight:500}.management-editor label small{display:block;margin-top:5px;color:#8c8c8c;font-size:12px}.pairs-page .management-actions{gap:16px}.contract-origin-note{margin:12px 0;padding:8px 10px;border:1px solid #ffe58f;border-radius:4px;background:#fffbe6;color:#8c6d1f;font-size:12px;line-height:1.6}.tasks-page{max-width:none!important}.task-table-wrap{overflow:auto;border:1px solid #f0f0f0;border-radius:6px;background:#fff}.task-table{width:100%;border-collapse:collapse;min-width:1080px;font-size:12px}.task-table th{padding:12px 16px;color:#000000e0;background:#fafafa;text-align:left;font-size:14px}.task-table td{padding:12px 16px;border-top:1px solid #f0f0f0;vertical-align:top}.task-table td>strong,.task-table td>span,.task-table td>small{display:block;margin-bottom:5px}.task-table td>span{color:#4d5953;font-size:12px;line-height:1.5}.task-table td>small{color:#7a827d}.task-status{width:max-content;padding:0 7px;border:1px solid #d9d9d9;border-radius:4px;font-size:12px;line-height:20px}.task-status.enabled{color:#389e0d;border-color:#b7eb8f;background:#f6ffed}.task-status.disabled{color:#00000073;background:#fafafa}.table-actions{display:flex;flex-wrap:wrap;gap:8px}.table-actions button{height:26px;padding:2px 8px;border:1px solid #d9d9d9;border-radius:4px;font-size:12px;font-weight:400;color:#000000e0;background:#fff}.table-actions .danger-button{color:#ff4d4f}.task-list-empty{padding:24px 16px;border-bottom:1px solid #f0f0f0;text-align:center;color:#00000040;font-size:14px}.task-editor{width:min(1000px,calc(100vw - 32px));max-height:min(82vh,820px);padding:20px 24px!important;border-radius:10px;color:#2d3432;background:#fffef9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif}.task-editor>.task-form-toolbar{position:sticky;top:-20px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0 0 12px!important;height:auto;background:#fffef9!important;color:#2d3432}.task-editor .task-form-toolbar h2{margin:0;font-size:16px;line-height:1.4;font-weight:900}.task-form-actions{display:flex;align-items:center;gap:8px}.task-form-actions button{height:32px;padding:4px 15px;border:1px solid #d9d9d9;border-radius:6px;color:#000000e0;background:#fff;font-size:14px;font-weight:400}.task-form-actions .primary-button{color:#fff;border-color:#1677ff;background:#1677ff}.task-form-actions button:disabled{cursor:not-allowed;color:#00000040;background:#0000000a;border-color:#d9d9d9}.task-form-summary{display:grid;grid-template-columns:minmax(70px,.6fr) minmax(150px,1fr) minmax(100px,1.5fr) auto;gap:10px;align-items:center;margin:0 0 12px;padding:10px 12px;border:1px solid #d8ddd4;border-radius:8px;background:#f4f1e8}.summary-label{color:#6f7772;font-size:11px;line-height:1.2;font-weight:700}.summary-value{margin-top:3px;color:#2d3432;font-size:13px;line-height:1.25;font-weight:800;word-break:break-word}.task-summary-status{font-size:11px;color:#7a827d}.task-enable-switch{display:flex!important;align-items:center;gap:6px;margin:0!important;font-size:12px}.task-editor label.task-enable-switch>span{margin:0}.task-form-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.task-form-column{display:grid;gap:12px}.task-form-section{padding:12px 14px 4px;border:1px solid #d8ddd4;border-radius:8px;background:#fbfaf4}.task-form-section.compact{padding:10px 12px 2px;background:#fffef9}.task-editor .section-title{margin:0 0 9px;color:#2d3432;font-size:13px;line-height:1.2;font-weight:900}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.task-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.task-grid label,.task-grid .readonly-field{margin:0 0 10px}.task-editor label>span,.readonly-field>span,.action-options-field>span{display:block;margin-bottom:3px;color:#4d5953;font-size:12px;font-weight:700}.task-editor input:not([type=checkbox]),.task-editor select{width:100%;height:32px;min-height:0;padding:4px 11px;border:1px solid #cfd7ce;border-radius:6px;background:#fffef9;color:#2d3432;font-size:14px;line-height:22px;outline:none}.task-editor input:focus,.task-editor select:focus{border-color:#4096ff;box-shadow:0 0 0 2px #0591ff1a}.task-editor input:disabled,.task-editor select:disabled{color:#00000040;background:#0000000a}.task-editor input[type=checkbox]{width:14px;height:14px;min-height:0;margin:0;accent-color:#1677ff;flex:none}.readonly-field{padding:0;border:0;border-radius:0;background:none}.readonly-field strong{display:block;height:32px;padding:4px 11px;border:1px solid #cfd7ce;border-radius:6px;color:#00000040;background:#0000000a;font-size:14px;font-weight:400;line-height:22px}.readonly-field small{display:block;margin-top:4px;color:#7a827d;font-size:11px;line-height:1.3}.action-options-field{margin-bottom:10px}.direction-action-groups{min-height:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.direction-action-groups label{display:flex;align-items:center;gap:7px;margin:0;color:#4d5953;font-size:12px;font-weight:700;white-space:nowrap}.direction-action-groups label>span{margin:0}.task-profit-switch input[type=checkbox]{margin-top:9px}.task-time-window-list{display:grid;gap:8px;margin-bottom:8px}.task-time-window-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:center}.task-time-window-row>label{display:flex;align-items:center;gap:7px;margin:0;color:#4d5953;font-size:12px;font-weight:700;white-space:nowrap}.task-time-window-row>label>span{margin:0}.task-time-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:center;color:#7a827d;font-size:12px}.task-editor .advanced-panel{margin:0;padding:10px 12px;border:1px solid #d8ddd4;border-radius:8px;background:#fffef9}.advanced-panel summary{cursor:pointer;color:#4d5953;font-size:12px;font-weight:700}.advanced-panel[open] summary{margin-bottom:12px}.task-editor>.validation-list,.task-editor>.alert{margin:0 0 12px;font-size:12px}.task-editor .task-sync-panel{margin-top:12px}.tasks-page .notice{margin:8px 0 16px}@media(max-width:900px){.task-form-columns{grid-template-columns:1fr}}@media(max-width:760px){.task-table{min-width:0}.task-table thead{display:none}.task-table,.task-table tbody,.task-table tr,.task-table td{display:block;width:100%}.task-table tr{padding:10px 15px;border-top:1px solid #f0f0f0}.task-table td{display:grid;grid-template-columns:105px 1fr;padding:8px 0;border:0}.task-table td:before{content:attr(data-label);color:#7a827d;font-size:11px;font-weight:700}.table-actions{grid-column:2}.task-table td>strong,.task-table td>span,.task-table td>small{grid-column:2}.task-editor{width:100%;max-height:calc(100dvh - 24px);padding:18px!important}.task-editor>.task-form-toolbar{top:-18px}.task-form-summary{grid-template-columns:1fr 1fr}.task-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.task-time-window-row{grid-template-columns:90px 1fr}.task-time-inputs input{padding:4px!important}}@media(max-width:420px){.task-grid,.task-grid.three{grid-template-columns:1fr}.direction-action-groups{gap:8px}.task-form-actions button{padding:4px 10px}}.global-settings-page{width:100%;max-width:1080px!important;margin:0 auto;padding:0 0 4px;color:#000000e0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-size:14px;line-height:1.57142857}.settings-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:0;background:#fff}.settings-toolbar h2{margin:0;color:#111827;font-size:18px;font-weight:400;line-height:1.4}.settings-actions{display:flex;align-items:center;gap:8px}.global-settings-page .primary-button,.global-settings-page .secondary-button{height:32px;padding:4px 15px;border:1px solid #d9d9d9;border-radius:6px;color:#000000e0;background:#fff;box-shadow:0 2px #00000005;font-size:14px;font-weight:400;line-height:22px;white-space:nowrap}.global-settings-page .primary-button{color:#fff;border-color:#1677ff;background:#1677ff}.global-settings-page button:disabled{cursor:not-allowed;color:#00000040;border-color:#d9d9d9;background:#0000000a;box-shadow:none}.reference-dialog-content .global-settings-title{display:none}.reference-dialog-content .global-settings-page .settings-toolbar{position:relative;z-index:1;justify-content:flex-end;margin-top:-40px;margin-bottom:12px}.reference-page-dialog:has(.global-settings-page) .reference-dialog-close{display:none}.settings-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.settings-column{display:grid;gap:12px}.settings-panel{padding:14px 16px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:none}.settings-panel h3{margin:0 0 12px;color:#000000e0;font-size:14px;font-weight:600;line-height:22px}.global-settings-page label{display:block;margin:0 0 10px}.global-settings-page label>span{display:block;margin-bottom:8px;color:#000000e0;font-size:14px;font-weight:400;line-height:22px}.global-settings-page input:not([type=checkbox]),.global-settings-page select{width:100%;height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;color:#000000e0;background:#fff;font-size:14px;line-height:22px;outline:none}.global-settings-page input:focus,.global-settings-page select:focus{border-color:#4096ff;box-shadow:0 0 0 2px #0591ff1a}.global-settings-page input:disabled{cursor:not-allowed;color:#00000040;background:#0000000a}.global-settings-page input::placeholder{color:#00000040}.global-settings-page label small{display:block;margin-top:2px;color:#00000073;font-size:13px;font-weight:400;line-height:22px}.counted-input{position:relative}.counted-input input{padding-right:70px!important}.counted-input small{position:absolute;top:3px;right:11px;margin:0!important;color:#00000073!important;pointer-events:none}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.settings-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-fields label{min-width:0;margin:0 0 10px}.settings-card-divider{margin:4px 0 10px;border-top:1px solid #e5e7eb}.global-settings-page .setting-row-header,.global-settings-page .settings-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.global-settings-page .setting-row-header>span.setting-copy,.global-settings-page .compact-switch-row>span.setting-copy{display:grid;gap:4px;margin:0;align-self:center}.setting-copy strong{font-size:14px;font-weight:600}.global-settings-page .setting-copy small{margin:0;color:#64748b;font-size:13px;font-weight:400;line-height:22px}.settings-switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-top:10px}.global-settings-page .compact-switch-row{display:flex;min-height:32px;align-items:center;justify-content:space-between;gap:8px;margin:0}.global-settings-page .compact-switch-row>span{margin:0;font-size:14px}.global-settings-page .compact-switch-row>span>small{display:inline;color:#8c8c8c;font-size:11px}.global-settings-page input.settings-switch{position:relative;display:inline-block;appearance:none;flex:none;width:44px;min-width:44px;height:22px;margin:0;padding:0;border:0;border-radius:100px;background:#00000040;box-shadow:none;cursor:pointer;transition:background .15s}.global-settings-page input.settings-switch:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0003;transition:transform .15s}.global-settings-page input.settings-switch:checked{background:#1677ff}.global-settings-page input.settings-switch:checked:after{transform:translate(22px)}.global-settings-page input.settings-switch:disabled{cursor:not-allowed;opacity:.45}.global-settings-page input.settings-switch:focus-visible{outline:2px solid #91caff;outline-offset:2px}.settings-card-header strong{font-size:14px;font-weight:600}.settings-local-note{margin:0 0 10px;color:#64748b;font-size:12px;line-height:20px}.notification-intro{margin:-8px 0 12px;color:#64748b;font-size:13px;line-height:22px}.webhook-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.webhook-input-row .secondary-button{padding:4px 10px}.notification-switches{display:flex;flex-wrap:wrap;gap:16px;margin-top:8px}.global-settings-page .notification-switches label{display:inline-flex;align-items:center;gap:8px;margin:0}.global-settings-page .notification-switches label>span{margin:0;font-size:14px}.global-settings-page .add-bark{border-style:dashed}.settings-local-advanced{margin-top:12px;padding:10px 16px;border:1px solid #e5e7eb;border-radius:8px;font-size:12px}.settings-local-advanced summary{cursor:pointer;color:#64748b}.settings-local-advanced[open] summary{margin-bottom:12px}.settings-version{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:12px;color:#64748b;font-size:12px}.change-preview{margin:12px 0 0;padding:12px 16px;border:1px solid #ffe58f;border-radius:8px;background:#fffbe6}.change-preview h3{margin:0 0 8px;font-size:14px}.change-preview ul{margin:0;padding-left:20px;color:#8c6d1f;font-size:12px;line-height:1.7}.change-preview p{margin:8px 0 0;color:#8c6d1f;font-size:12px}.global-settings-page>.alert,.global-settings-page>.notice,.global-settings-page .notification-panel .alert,.global-settings-page .notification-panel .notice{margin:0 0 12px;font-size:12px}.global-settings-page .validation-list{font-size:12px;margin:0 0 12px}.reference-desktop .global-settings-page .settings-modal.settings-sync-dialog{width:min(900px,calc(100vw - 32px))}.settings-sync-dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.settings-sync-dialog>header h2{font-size:16px}.settings-sync-dialog .task-sync-settings{margin:0;padding:0;border:0;background:none}.settings-sync-dialog .task-sync-settings h2{font-size:14px}@media(max-width:900px){.settings-columns{grid-template-columns:1fr}}@media(max-width:600px){.global-settings-page{padding:16px}.reference-dialog-content .global-settings-page{padding:0}.reference-dialog-content .global-settings-page .settings-toolbar{margin-top:0}.settings-toolbar h2{font-size:16px}.settings-actions{flex-wrap:wrap}.global-settings-page .settings-actions button{padding:4px 10px}.settings-fields,.settings-fields.three,.settings-switch-grid{grid-template-columns:1fr}.settings-panel{padding:14px}.settings-fields label{margin:0}.notification-switches{align-items:flex-start;flex-direction:column;gap:12px}}.events-page{max-width:1280px!important}.auto-refresh{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #cbd9e1;border-radius:9px;color:#31576b;background:#fff;font-size:13px;font-weight:750}.event-filters{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;align-items:end;gap:12px;margin:18px 0;padding:16px;border:1px solid #d7e2e8;border-radius:11px;background:#fff}.event-filters label>span{display:block;margin-bottom:6px;color:#4b6372;font-size:12px;font-weight:800}.event-filters input,.event-filters select{width:100%;min-height:41px;padding:9px 10px;border:1px solid #b9c8d1;border-radius:7px;background:#fff}.filter-actions{display:flex;gap:8px}.event-version{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:14px;color:#607583;font-size:12px}.event-list{display:grid;gap:10px}.event-row{display:grid;grid-template-columns:86px minmax(0,1fr) 150px;gap:16px;padding:16px;border:1px solid #dbe4e9;border-left-width:5px;border-radius:10px;background:#fff}.event-row.level-info{border-left-color:#2e83b5}.event-row.level-warn{border-left-color:#d68c24}.event-row.level-error{border-left-color:#c84848}.event-level span{display:inline-block;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:850}.level-info .event-level span{color:#145b80;background:#e0f1fa}.level-warn .event-level span{color:#8a540d;background:#fff0d2}.level-error .event-level span{color:#8d2929;background:#fbe1e1}.event-level small{display:block;margin-top:8px;color:#71838e;font-weight:750}.event-main>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.event-main time{color:#71838e;font-size:12px}.event-main p{margin:7px 0 4px;color:#2f4f61}.event-main small{color:#778893;word-break:break-all}.event-result{text-align:right}.event-result strong,.event-result span{display:block}.event-result span{margin-top:8px;color:#71838e;font-size:11px}.event-row details{grid-column:2/4;padding-top:10px;border-top:1px solid #e4eaee}.event-row summary{cursor:pointer;color:#17617f;font-size:12px;font-weight:800}.event-row dl{display:grid;grid-template-columns:88px 1fr;gap:6px 10px;margin:12px 0 0;padding:12px;border-radius:7px;background:#f5f8fa;font-size:12px}.event-row dt{color:#647987;font-weight:750}.event-row dd{margin:0;word-break:break-all}.load-more{justify-self:center;margin:8px 0 0}.events-page .alert p{margin:5px 0 10px}.events-page .notice{margin:0 0 14px}@media(max-width:760px){.events-page .module-header{display:block}.auto-refresh{width:max-content;margin-top:14px}.event-filters{grid-template-columns:1fr}.filter-actions button{flex:1}.event-row{grid-template-columns:68px minmax(0,1fr);gap:12px;padding:13px}.event-result{grid-column:2;text-align:left}.event-result strong,.event-result span{display:inline;margin-right:10px}.event-row details{grid-column:1/3}.event-row dl{grid-template-columns:72px 1fr}.event-main>div{display:block}.event-main time{display:block;margin-top:5px}.event-version{display:grid;gap:4px}}.task-sync-settings{margin-bottom:40px!important}.task-sync-settings>header,.push-panel>header,.target-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.task-sync-settings>header h2{margin:3px 0 5px}.task-sync-settings>header p,.target-heading p,.push-panel header p{margin:0;color:#657784;font-size:12px}.task-sync-settings>header>span{padding:5px 9px;border-radius:6px;color:#305b70;background:#e8f2f6;font-size:12px;font-weight:800}.local-sync-boundary{margin:15px 0;padding:12px 14px;border:1px solid #a9d3df;border-radius:8px;color:#24566c;background:#edf9fc;font-size:13px}.sync-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sync-grid article{padding:16px;border:1px solid #dce5e9;border-radius:9px;background:#fafcfd}.sync-grid h3,.target-heading h3,.push-panel h3,.sync-results h3{margin:0 0 9px;font-size:15px}.key-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:9px 0 16px}.key-row input,.target-row input{min-height:40px;padding:9px 11px;border:1px solid #b9c8d1;border-radius:7px}.target-heading{align-items:center;margin:20px 0 10px}.target-row{display:grid;grid-template-columns:28px 1fr 1fr auto;align-items:center;gap:9px;margin:8px 0}.target-row>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#446170;background:#e9f0f3;font-size:11px;font-weight:800}.task-sync-settings>footer{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:17px;padding-top:15px;border-top:1px solid #e0e7eb}.draft-warning{color:#96600f;font-size:12px;font-weight:750}.push-panel{margin-top:22px;padding:18px;border:1px solid #dce5e9;border-radius:9px;background:#f8fafb}.task-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.task-checks label{display:flex;align-items:center;gap:7px;margin:0;padding:8px;border-radius:6px;background:#fff}.task-checks input{width:auto;min-height:auto}.state-card.compact{margin:10px 0;padding:16px}.sync-results{margin-top:20px}.sync-results article{margin-top:10px;padding:13px;border:1px solid #dce5e9;border-radius:8px}.sync-results table{width:100%;margin-top:10px;border-collapse:collapse;font-size:12px}.sync-results th,.sync-results td{padding:8px;border-top:1px solid #e2e8eb;text-align:left}.result-pill{padding:3px 7px;border-radius:999px;font-weight:800}.result-pill.synced{color:#116847;background:#dcf5ea}.result-pill.skipped{color:#83560e;background:#fff0d2}.result-pill.failed{color:#8d2929;background:#fbe1e1}@media(max-width:760px){.sync-grid{grid-template-columns:1fr}.target-row{grid-template-columns:24px 1fr}.target-row input,.target-row button{grid-column:2}.task-checks{grid-template-columns:1fr}.task-sync-settings>header,.push-panel>header{display:block}.task-sync-settings>header>span{display:inline-block;margin-top:9px}.push-panel>header button{margin-top:10px}.task-sync-settings>footer{align-items:flex-end;flex-direction:column}.sync-results{overflow:auto}}.sync-source-panel{margin-left:32px;margin-right:32px}.source-picker{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.source-picker label{margin:0}.source-picker select{width:100%;min-height:41px;padding:9px 11px;border:1px solid #b9c7d1;border-radius:7px}.source-current{margin-top:10px;padding:9px 11px;border-radius:7px;color:#466171;background:#edf3f6;font-size:12px}.source-preview{display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin-top:12px;padding:13px;border:1px solid #f0d59e;border-radius:8px;background:#fffaf0;font-size:12px}.source-preview>span{color:#6d7d87}.source-preview ul{grid-column:1/3;margin:4px 0 0;padding-left:19px}.sync-source-panel .notice,.sync-source-panel .alert{margin:10px 0}@media(max-width:760px){.sync-source-panel{margin-left:20px;margin-right:20px}.source-picker,.source-preview{grid-template-columns:1fr}.source-preview ul{grid-column:1}}.runtime-dashboard{max-width:1380px!important;margin:42px auto!important;padding:0 34px 60px!important;border:0!important;border-radius:0!important;background:transparent!important}.runtime-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.runtime-head h1{margin:0;font-size:38px;letter-spacing:-.04em}.runtime-head p:not(.eyebrow){max-width:760px;margin:10px 0 0;color:#566d7c}.runtime-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.simulation-boundary{display:flex;align-items:center;gap:14px;margin:22px 0 16px;padding:13px 16px;border:1px solid #b9ddec;border-radius:10px;color:#275d72;background:#eef9fd}.simulation-boundary span{font-size:13px}.runtime-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.runtime-summary article{padding:17px;border:1px solid #d8e4ea;border-radius:11px;background:#fff;box-shadow:0 7px 22px #1c3b500a}.runtime-summary article>span,.runtime-summary small{display:block;color:#71828e;font-size:11px}.runtime-summary strong{display:block;margin:8px 0 6px;color:#153e54;font-size:20px}.runtime-summary .mode-RUNNING{color:#14704c}.runtime-summary .mode-PAUSED_NEW_RISK{color:#996516}.pair-tabs{display:flex;gap:9px;margin:20px 0;overflow:auto;padding-bottom:3px}.pair-tabs button{min-width:185px;padding:11px 14px;border:1px solid #cbd9e1;border-radius:9px;color:#34576a;background:#fff;text-align:left;cursor:pointer}.pair-tabs button.active{border-color:#0b6586;color:#fff;background:#0b5676;box-shadow:0 8px 24px #0b567633}.pair-tabs strong,.pair-tabs span{display:block}.pair-tabs span{margin-top:4px;font-size:11px;opacity:.78}.stale-banner{display:flex;justify-content:space-between;padding:12px 15px;border:1px solid #efcd8e;border-radius:9px;color:#775016;background:#fff8e8}.runtime-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.runtime-card{min-width:0;padding:21px;border:1px solid #d8e3e9;border-radius:12px;background:#fff;box-shadow:0 8px 26px #1a37490d}.runtime-card>header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}.runtime-card h2{margin:2px 0 0;font-size:20px}.truth-badge,.offline-pill{padding:5px 9px;border-radius:999px;color:#536974;background:#e9f0f3;font-size:11px;font-weight:800}.task-focus-body,.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task-focus-body>div,.quote-grid>div{padding:14px;border-radius:9px;background:#f3f7f9}.task-focus-body span,.task-focus-body small,.quote-grid span,.quote-grid small{display:block;color:#71838e;font-size:11px}.task-focus-body strong,.quote-grid strong{display:block;margin:6px 0;color:#153e54}.quote-grid strong{font-size:27px}.unknown-note{margin:13px 0 0;color:#6c7f8b;font-size:12px}.accounts-runtime article{padding:14px 0;border-top:1px solid #e5ecef}.accounts-runtime article:first-of-type{border-top:0}.accounts-runtime article>div{display:flex;justify-content:space-between}.accounts-runtime article span{display:block;color:#6d808c;font-size:11px}.accounts-runtime article>div+span{width:max-content;margin:8px 0}.accounts-runtime dl{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 0}.accounts-runtime dt{color:#71828e;font-size:10px}.accounts-runtime dd{margin:4px 0 0;font-size:12px}.locked-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.locked-actions button{padding:10px;border:1px dashed #c8d4db;border-radius:8px;color:#7e8d96;background:#f1f4f5}.capability-lock p{margin:13px 0 0;color:#6a7c87;font-size:12px}.hedge-table-card{grid-column:1/-1}.empty-inline{padding:19px;border-radius:9px;color:#647783;background:#f4f7f9;font-size:13px}.check-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.check-list li{padding:10px 12px;border-left:3px solid #6aa98d;background:#f1f8f5}.check-list li.block{border-color:#ce6d6d;background:#fff3f3}.check-list strong,.check-list span{display:block}.check-list strong{font-size:12px}.check-list span{margin-top:3px;color:#637682;font-size:11px}@media(max-width:820px){.runtime-dashboard{margin:24px 16px!important;padding:0 0 40px!important}.runtime-head{display:block}.runtime-actions{justify-content:flex-start;margin-top:17px}.simulation-boundary{align-items:flex-start;flex-direction:column;gap:4px}.runtime-summary{grid-template-columns:1fr 1fr}.runtime-grid{grid-template-columns:1fr}.runtime-card,.hedge-table-card{grid-column:auto}.task-focus-body,.quote-grid{grid-template-columns:1fr}.accounts-runtime dl{grid-template-columns:1fr 1fr}.locked-actions{grid-template-columns:1fr}.stale-banner{display:block}.stale-banner span{display:block;margin-top:5px}.pair-tabs button{min-width:155px}}.quick-settings{grid-column:1/-1}.quick-settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.quick-settings-grid label>span{display:block;margin-bottom:5px;font-size:11px;font-weight:700}.quick-settings-grid label>div{display:flex}.quick-settings-grid input{min-width:0;flex:1;padding:9px;border:1px solid #c8d7de;border-radius:7px 0 0 7px}.quick-settings-grid button{padding:8px 12px;border:1px solid #0b6788;border-radius:0 7px 7px 0;color:#fff;background:#0b6788}.quick-settings-grid small{display:block;margin-top:4px;color:#6b7e88}.quick-profit{grid-column:1/-1}@media(max-width:700px){.quick-settings-grid{grid-template-columns:1fr}.quick-profit{grid-column:auto}}.mobile-shell{--mobile-bg:#070b12;--mobile-surface:#111925;--mobile-surface-soft:#0d141f;--mobile-line:#2d3d52;--mobile-line-strong:#3b4d65;--mobile-ink:#f3f7fb;--mobile-muted:#91a0b4;--mobile-faint:#65758b;--mobile-brand:#5dd6c5;--mobile-brand-soft:#143438;--mobile-success:#72decf;--mobile-success-soft:#102d30;--mobile-blue:#82a9ff;--mobile-blue-soft:#162643;--mobile-danger:#ff727c;--mobile-warning:#f3b966;min-height:100dvh;overflow-x:hidden;color:var(--mobile-ink);background-color:var(--mobile-bg);background-image:radial-gradient(circle at 82% -6%,rgba(87,125,214,.18),transparent 31%),radial-gradient(circle at -14% 28%,rgba(93,214,197,.1),transparent 31%);font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-variant-numeric:tabular-nums}.mobile-shell:before{content:"";position:fixed;z-index:100;inset:0;display:none;pointer-events:none}.mobile-shell.trading-stopped:before{display:block;background:linear-gradient(90deg,#e09c1a29,#f4b52e 50%,#e09c1a29) top / 100% 3px no-repeat,linear-gradient(90deg,#e09c1a29,#f4b52e 50%,#e09c1a29) bottom / 100% 3px no-repeat,linear-gradient(180deg,#e09c1a29,#f4b52e 50%,#e09c1a29) left / 3px 100% no-repeat,linear-gradient(180deg,#e09c1a29,#f4b52e 50%,#e09c1a29) right / 3px 100% no-repeat;box-shadow:inset 0 0 18px #eead2638;animation:mobile-stopped-edge-pulse-20fd44fa 2.6s ease-in-out infinite}@keyframes mobile-stopped-edge-pulse-20fd44fa{0%,to{opacity:.4;filter:brightness(.9)}50%{opacity:1;filter:brightness(1.2)}}@media(prefers-reduced-motion:reduce){.mobile-shell.trading-stopped:before{animation:none;opacity:.72}}.mobile-shell{width:min(100%,430px);min-height:100dvh;margin:0 auto;border-inline:1px solid var(--mobile-line);background:#edf2f6b8}.mobile-topbar{position:sticky;z-index:30;top:0;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-bottom:1px solid var(--mobile-line);background:var(--mobile-surface)}.mobile-topbar>div{min-width:0}.mobile-topbar small,.mobile-page-heading small,.mobile-section-heading small{display:block;color:var(--mobile-brand);font-size:10px;line-height:1;font-weight:800;letter-spacing:.08em}.mobile-topbar strong{display:block;overflow:hidden;margin-top:5px;color:var(--mobile-ink);font-size:16px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.mobile-topbar-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}.mobile-mode-switch{min-height:44px;padding:0 9px;border:0;border-radius:8px;color:var(--mobile-brand);background:transparent;font-size:11px}.mobile-mode-switch:active{background:var(--mobile-brand-soft)}.mobile-icon-button{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:8px;color:var(--mobile-muted);background:transparent}.mobile-icon-button:active{background:var(--mobile-surface-soft)}.mobile-icon-button svg{width:21px;height:21px}.mobile-page{display:grid;gap:10px;padding:10px 10px calc(82px + env(safe-area-inset-bottom))}.mobile-runtime-hero,.mobile-profit-panel,.mobile-market-card,.mobile-task-card{border:1px solid var(--mobile-line);background:var(--mobile-surface);box-shadow:0 4px 12px #2832410f}.mobile-runtime-hero{padding:14px;overflow:hidden;border-left:4px solid var(--mobile-brand);border-radius:8px}.mobile-runtime-hero>small{color:var(--mobile-brand);font-size:10px;font-weight:800;letter-spacing:.08em}.mobile-runtime-main{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.mobile-runtime-main h1{display:flex;align-items:center;gap:8px;margin:0;color:var(--mobile-ink);font-size:21px;line-height:1.15;font-weight:800}.mobile-runtime-main h1 i{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--mobile-faint)}.mobile-runtime-main h1 i.live{background:var(--mobile-success);box-shadow:0 0 0 5px #00a77d1f}.mobile-runtime-main .ant-btn{min-height:44px;border-radius:7px;color:var(--mobile-danger);border-color:#e9b8be;background:#fff7f8}.mobile-health-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:13px;color:var(--mobile-muted);font-size:10px}.mobile-health-row>span,.mobile-health-row time{min-height:24px;display:inline-flex;align-items:center;padding:0 7px;border:1px solid var(--mobile-line);border-radius:999px;background:var(--mobile-surface-soft)}.mobile-health-row .status-ok{color:var(--mobile-success);border-color:#9edac8;background:#edfbf6}.mobile-health-row .status-warn{color:#9a6500;border-color:#e7ca8a;background:#fff8e6}.mobile-health-row .status-error{color:var(--mobile-danger);border-color:#e4b6bc;background:#fff1f2}.mobile-profit-panel{overflow:hidden;border-radius:8px}.mobile-profit-panel>header{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px 0 11px;border-bottom:1px solid var(--mobile-line)}.mobile-profit-panel>header div{display:flex;align-items:baseline;gap:7px}.mobile-profit-panel>header small{color:var(--mobile-muted);font-size:10px}.mobile-profit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-profit-grid article{min-width:0;padding:9px;border-left:1px solid var(--mobile-line)}.mobile-profit-grid article:first-child{border-left:0}.mobile-profit-grid article>small{display:block;color:var(--mobile-muted);font-size:10px;font-weight:700}.mobile-profit-grid article>strong{display:block;overflow:hidden;margin-top:5px;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.mobile-profit-grid article>span{display:block;overflow:hidden;margin-top:3px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.mobile-section-heading,.mobile-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:7px 2px 0}.mobile-section-heading h2,.mobile-page-heading h1{margin:4px 0 0;color:var(--mobile-ink);font-size:17px;line-height:1.1}.mobile-section-heading>span{color:var(--mobile-muted);font-size:10px}.mobile-section-heading>button{min-height:44px;padding:0 6px;border:0;color:var(--mobile-brand);background:transparent;font-size:11px}.mobile-pair-tabs{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 3px;scrollbar-width:none}.mobile-pair-tabs::-webkit-scrollbar{display:none}.mobile-pair-tabs>button{width:128px;min-width:128px;min-height:58px;display:grid;gap:5px;padding:8px 10px;border:1px solid var(--mobile-line-strong);border-radius:8px;color:var(--mobile-muted);background:var(--mobile-surface);text-align:left;box-shadow:0 2px 7px #2832410a}.mobile-pair-tabs>button.active{color:#fff;border-color:var(--mobile-brand);background:var(--mobile-brand);box-shadow:inset 0 -3px #3420ae}.mobile-pair-tabs>button>strong{overflow:hidden;color:var(--mobile-ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobile-pair-tabs>button.active>strong,.mobile-pair-tabs>button.active>small{color:#fff}.mobile-pair-tabs>button>small{color:var(--mobile-muted);font-size:9px}.mobile-pair-tabs>button>span{display:flex;align-items:center;gap:8px}.mobile-pair-tabs>button b{font-size:11px}.mobile-market-card{overflow:hidden;border-radius:8px}.mobile-market-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-bottom:1px solid var(--mobile-line)}.mobile-market-card>header strong{overflow:hidden;color:var(--mobile-ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mobile-market-card>header span{flex:0 0 auto;color:var(--mobile-muted);font-size:9px}.mobile-quote-row{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:7px;padding:10px 11px}.mobile-quote-row>div:last-child{text-align:right}.mobile-quote-row small{display:block;color:var(--mobile-muted);font-size:9px}.mobile-quote-row strong{display:block;margin-top:4px;color:var(--mobile-ink);font-size:13px;white-space:nowrap}.mobile-quote-row svg{width:20px;color:var(--mobile-faint)}.mobile-spread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:53px;padding:8px 11px;border-top:1px solid var(--mobile-line)}.mobile-spread-row.mint{border-left:3px solid var(--mobile-success);background:var(--mobile-success-soft)}.mobile-spread-row.blue{border-left:3px solid var(--mobile-blue);background:var(--mobile-blue-soft)}.mobile-spread-row div strong,.mobile-spread-row div small{display:block}.mobile-spread-row div strong{color:var(--mobile-ink);font-size:11px}.mobile-spread-row div small{overflow:hidden;margin-top:4px;color:var(--mobile-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.mobile-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mobile-account-grid article{min-width:0;padding:10px;border:1px solid var(--mobile-line);border-radius:8px;background:var(--mobile-surface);box-shadow:0 3px 9px #2832410d}.mobile-account-grid header{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--mobile-muted);font-size:9px}.mobile-account-grid header i{width:7px;height:7px;border-radius:50%;background:var(--mobile-faint)}.mobile-account-grid header i.live{background:var(--mobile-success)}.mobile-account-grid article>strong,.mobile-account-grid article>b,.mobile-account-grid article>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-account-grid article>strong{margin-top:5px;color:var(--mobile-ink);font-size:10px}.mobile-account-grid article>b{margin-top:8px;color:var(--mobile-ink);font-size:15px}.mobile-account-grid article>small{margin-top:4px;color:var(--mobile-muted);font-size:9px}.mobile-bottom-nav{position:fixed;z-index:40;left:50%;bottom:0;width:min(100%,430px);display:grid;grid-template-columns:repeat(5,1fr);padding:5px 8px max(7px,env(safe-area-inset-bottom));border:1px solid var(--mobile-line);border-bottom:0;background:#fffffffa;box-shadow:0 -6px 18px #2832411a;transform:translate(-50%)}.mobile-bottom-nav.read-only{grid-template-columns:repeat(4,1fr)}.mobile-bottom-nav button{position:relative;min-height:52px;display:grid;place-items:center;align-content:center;gap:3px;border:0;color:var(--mobile-muted);background:transparent;font-size:10px;touch-action:manipulation}.mobile-bottom-nav button svg{width:19px;height:19px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav button.active{color:var(--mobile-brand);font-weight:700}.mobile-bottom-nav button.active:before{content:"";position:absolute;top:-5px;left:50%;width:24px;height:2px;border-radius:999px;background:var(--mobile-brand);transform:translate(-50%)}.mobile-topbar{position:relative;min-height:60px;padding:max(10px,env(safe-area-inset-top)) 14px 6px;border-bottom:0;background:transparent}.mobile-brand{min-width:0;display:flex;align-items:center;gap:10px}.mobile-brand-mark{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #315160;border-radius:12px;color:var(--mobile-brand);background:linear-gradient(145deg,#142833,#101823);box-shadow:inset 0 0 18px #5dd6c514}.mobile-brand-mark svg{width:22px;height:22px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-brand-copy{min-width:0;display:grid;gap:3px}.mobile-brand-copy strong{margin:0;color:var(--mobile-ink);font-size:14px;line-height:1.1;letter-spacing:.04em}.mobile-brand-copy small{overflow:hidden;color:var(--mobile-muted);font-size:9px;line-height:1.1;font-weight:600;letter-spacing:.03em;text-overflow:ellipsis;white-space:nowrap}.mobile-task-topbar .mobile-brand-copy strong{font-size:19px;letter-spacing:0}.mobile-task-topbar .mobile-brand-copy small{color:var(--mobile-brand);letter-spacing:.12em}.mobile-icon-button{border:1px solid #2c3c50;border-radius:12px;color:#9aabc0;background:#101722}.mobile-icon-button:active{color:var(--mobile-brand);background:#172331}.mobile-create-button{color:var(--mobile-brand)}.mobile-create-button svg{stroke-width:2;stroke-linecap:round}.mobile-page{gap:10px;padding:8px 14px calc(88px + env(safe-area-inset-bottom))}.mobile-task-page{padding-top:7px}.mobile-runtime-hero,.mobile-profit-panel,.mobile-market-card,.mobile-task-card{border-color:#2b3a50;background:linear-gradient(145deg,#121b29fa,#0c121dfa);box-shadow:0 16px 38px #00000029}.mobile-runtime-hero{padding:17px;border-left:1px solid #2b3e4d;border-radius:20px;background:linear-gradient(135deg,#132b2ff5,#111a27fa 62%)}.mobile-runtime-hero>small{color:var(--mobile-brand);font-size:9px;letter-spacing:.13em}.mobile-runtime-main{margin-top:9px}.mobile-runtime-main h1{color:var(--mobile-ink);font-size:22px;font-weight:760}.mobile-runtime-main h1 i{background:#64748b}.mobile-runtime-main h1 i.live{background:var(--mobile-brand);box-shadow:0 0 0 5px #5dd6c521}.mobile-runtime-main .ant-btn{min-height:42px;padding-inline:15px;border-color:#ff727c61;border-radius:12px;color:#ff9ba3;background:#ff727c14;box-shadow:none}.mobile-health-row{margin-top:14px;color:var(--mobile-muted);font-size:9px}.mobile-health-row>span,.mobile-health-row time{min-height:23px;border-color:#34475c;color:#a4b1c0;background:#070c136b}.mobile-health-row .status-ok{color:var(--mobile-brand);border-color:#315b58;background:#123a396b}.mobile-health-row .status-warn{color:#f4bd6c;border-color:#665037;background:#5b3d193d}.mobile-health-row .status-error{color:var(--mobile-danger);border-color:#684047;background:#5b222a3d}.mobile-profit-panel{border-radius:17px}.mobile-profit-panel>header{min-height:46px;padding:0 9px 0 13px;border-color:#94a3b824}.mobile-profit-panel>header strong{color:var(--mobile-ink);font-size:13px}.mobile-profit-panel>header small{color:var(--mobile-muted);font-size:9px}.mobile-profit-panel>header .ant-btn{color:var(--mobile-brand)}.mobile-profit-grid article{padding:10px 9px 11px;border-color:#94a3b824}.mobile-profit-grid article>small{color:var(--mobile-muted);font-size:9px}.mobile-profit-grid article>strong{color:var(--mobile-ink);font-size:13px}.mobile-profit-grid article>span{color:var(--mobile-muted);font-size:9px}.mobile-section-heading{padding:10px 2px 7px}.mobile-section-heading h2{color:var(--mobile-ink);font-size:17px}.mobile-section-heading>span{color:var(--mobile-muted);font-size:9px}.mobile-section-heading>button{color:var(--mobile-brand)}.mobile-pair-tabs{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:8px;overflow-x:auto;padding:1px 0 3px}.mobile-pair-tabs>button{width:auto;min-width:112px;min-height:76px;gap:7px;padding:10px 9px 8px;border-color:var(--mobile-line);border-radius:14px;color:var(--mobile-muted);background:var(--mobile-surface);box-shadow:none}.mobile-pair-tabs>button.active{color:var(--mobile-ink);border-color:var(--mobile-brand);background:linear-gradient(145deg,#15222e,#111a26);box-shadow:inset 0 -3px 0 var(--mobile-brand),0 10px 24px #0000002e}.mobile-pair-tabs>button>strong,.mobile-pair-tab-head>strong{color:#e9eef5;font-size:12px}.mobile-pair-tabs>button.active>strong,.mobile-pair-tabs>button.active>small{color:inherit}.mobile-pair-tabs>button>span{justify-content:space-between}.mobile-pair-tabs>button b{font-size:10px}.mobile-pair-tab-head{display:flex;align-items:center;justify-content:space-between;gap:5px}.mobile-pair-tab-head small{color:var(--mobile-muted);font-size:8px;white-space:nowrap}.mobile-market-card{border-radius:17px}.mobile-market-card>header{padding:11px 13px;border-color:#94a3b824}.mobile-market-card>header strong{color:var(--mobile-ink);font-size:11px}.mobile-market-card>header span{color:var(--mobile-muted);font-size:8px}.mobile-quote-row{padding:12px 13px}.mobile-quote-row small{color:var(--mobile-muted);font-size:8px}.mobile-quote-row strong{color:#e7edf5;font-size:12px}.mobile-quote-row svg{color:#62758c}.mobile-spread-row{min-height:58px;padding:8px 12px;border-color:#94a3b81c}.mobile-spread-row.mint{border-left-color:var(--mobile-brand);background:#5dd6c509}.mobile-spread-row.blue{border-left-color:var(--mobile-blue);background:#82a9ff09}.mobile-spread-row div strong{color:#e3eaf3;font-size:11px}.mobile-spread-row div small{color:var(--mobile-muted);font-size:8px}.mobile-spread-row>b{font-size:16px}.mobile-account-grid{gap:10px}.mobile-account-grid article{padding:13px;border-color:var(--mobile-line);border-radius:17px;background:var(--mobile-surface);box-shadow:none}.mobile-account-grid header{color:var(--mobile-muted);font-size:8px}.mobile-account-grid article>strong{color:#cbd6e3;font-size:9px}.mobile-account-grid article>b{color:var(--mobile-ink);font-size:15px}.mobile-account-grid article>small{color:var(--mobile-muted);font-size:8px}.mobile-bottom-nav{min-height:calc(68px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);border:0;border-top:1px solid rgba(71,85,105,.65);background:#0b1019f5;box-shadow:0 -10px 30px #0000003d;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-bottom-nav button{min-height:56px;color:#7c8da2;font-size:9px}.mobile-bottom-nav button.active{color:var(--mobile-brand)}.mobile-bottom-nav button.active:before{top:-6px;background:var(--mobile-brand)}.mobile-shell{width:min(100%,430px);min-height:100dvh;margin:0 auto;padding-bottom:76px;border-inline:1px solid #2d3d52;background-color:#070b12}.mobile-shell>.mobile-topbar{position:relative;z-index:12}.mobile-shell .mobile-brand{display:flex;align-items:center;gap:10px}.mobile-shell .mobile-brand-mark svg{fill:none;stroke:currentColor}.mobile-shell .mobile-more-toggle{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;padding:0;border:1px solid #2c3c50;border-radius:12px;color:#9aabc0;background:#101722;font-size:21px;cursor:pointer}.mobile-runtime.reference-mobile-runtime{display:grid;gap:10px;width:100%;max-width:none;margin:0;padding:8px 14px 20px;border:0;border-radius:0;background:transparent}.mobile-trading-toggle{min-height:42px;padding:0 15px;border:1px solid #ff727c61;border-radius:12px;color:#ff9ba3;background:#ff727c14;font-size:14px;cursor:pointer}.mobile-trading-toggle:disabled{opacity:.45;cursor:not-allowed}.mobile-viewer-pill{padding:6px 10px;border:1px solid #315b58;border-radius:9px;color:#5dd6c5;background:#123a396b;font-size:11px}.mobile-profit-panel>header>button{min-height:40px;padding:0 8px;border:0;color:#5dd6c5;background:transparent;font-size:14px;cursor:pointer}.mobile-profit-panel .compact-profit-widget{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;height:auto;min-height:64px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.mobile-profit-panel .compact-profit-label,.mobile-profit-panel .compact-profit-refresh{display:none}.mobile-profit-panel .compact-profit-cell{display:block;min-height:64px;padding:10px 9px 11px;border:0;border-left:1px solid #94a3b824;text-align:left}.mobile-profit-panel .compact-profit-cell:nth-child(2){border-left:0}.mobile-profit-panel .compact-profit-cell>small{display:block;color:#91a0b4;font-size:9px}.mobile-profit-panel .compact-profit-cell>div{display:grid;grid-template-columns:1fr;gap:3px;margin-top:4px;text-align:left}.mobile-profit-panel .compact-profit-cell b{display:block;color:#f3f7fb;font-size:13px;font-weight:700}.mobile-profit-panel .compact-profit-cell b:last-child{color:#91a0b4;font-size:9px}.mobile-profit-panel .compact-profit-cell b:last-child:before{content:"A资费 "}.mobile-profit-panel .compact-profit-status{grid-column:1/-1;position:static;padding:4px 9px;color:#ff727c;font-size:10px}.mobile-section-heading>button{min-height:28px;padding:0 6px;border:0;color:#5dd6c5;background:transparent;font-size:11px;cursor:pointer}.mobile-market-section .mobile-section-heading>button{color:#91a0b4;font-size:9px}.mobile-pair-tabs{margin-bottom:2px}.mobile-quote-row svg{fill:none;stroke:#62758c;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-spread-row{width:100%;border-right:0;border-bottom:0;text-align:left;color:#f3f7fb;cursor:pointer}.mobile-spread-row:disabled{cursor:default}.mobile-account-section{margin-top:10px}.mobile-account-history{margin-top:7px;padding:0;border:0;color:#5dd6c5;background:transparent;font-size:9px;cursor:pointer}.mobile-source-note{margin-top:4px;color:#65758b;font-size:9px;line-height:1.5}.mobile-replaced,.mobile-inline-alert,.mobile-inline-notice,.mobile-preflight{padding:10px 12px;border:1px solid #665037;border-radius:12px;color:#f4bd6c;background:#5b3d193d;font-size:11px;line-height:1.5}.mobile-replaced p{margin:6px 0 10px}.mobile-inline-alert>button{border:0;color:#5dd6c5;background:transparent;cursor:pointer}.mobile-inline-notice{color:#5dd6c5;border-color:#315b58;background:#123a396b}.mobile-check-list{display:grid;gap:7px;margin:13px 0 0;padding:0;list-style:none}.mobile-check-list li{padding:9px;border-left:3px solid #5dd6c5;background:#123a396b}.mobile-check-list li.block{border-color:#ff727c;background:#5b222a3d}.mobile-check-list strong,.mobile-check-list span{display:block;font-size:10px}.mobile-check-list span{margin-top:3px;color:#91a0b4}.mobile-bottom-nav button svg{fill:none;stroke:currentColor}.mobile-more-sheet{position:fixed;right:max(10px,calc((100vw - 430px)/2 + 10px));bottom:77px;z-index:40;width:min(330px,calc(100vw - 20px));padding:14px;border:1px solid #2d3d52;border-radius:14px;color:#f3f7fb;background:#111925;box-shadow:0 24px 60px #0006}.mobile-more-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.mobile-more-sheet h2{margin:0;font-size:18px}.mobile-more-sheet header button{border:0;color:#91a0b4;background:transparent;font-size:23px}.mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-more-grid button{min-height:48px;padding:11px;border:1px solid #2d3d52;border-radius:8px;color:#cbd6e3;background:#0d141f;text-align:left;cursor:pointer}.mobile-more-user{margin:12px 0 0;padding-top:11px;border-top:1px solid #2d3d52;color:#91a0b4;font-size:11px;line-height:1.5}.mobile-more-actions{display:flex;gap:8px;margin-top:10px}.mobile-more-actions button{flex:1;color:#ff9ba3;border:1px solid #684047;background:#5b222a3d}.desktop-surface-switch{margin-left:auto!important}.mobile-shell>.module-page{padding:16px 14px 28px;color:#f3f7fb;background:#111925}.mobile-state{padding:24px 14px;border:1px solid #2d3d52;border-radius:12px;color:#91a0b4;background:#111925;text-align:center}.orders-page{max-width:1420px!important}.auto-toggle{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:9px;color:#345a6e;background:#eaf3f6;font-size:13px;font-weight:750}.order-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:18px 0;padding:17px;border:1px solid #d8e3e9;border-radius:11px;background:#fff}.order-filters label>span{display:block;margin-bottom:6px;color:#536a79;font-size:11px;font-weight:800}.order-filters input,.order-filters select{width:100%;min-height:39px;padding:8px 10px;border:1px solid #bdcad3;border-radius:7px;background:#fff}.filter-actions{display:flex;align-items:flex-end;gap:8px;grid-column:1/-1}.orders-meta{display:flex;justify-content:space-between;margin:13px 0;color:#71838e;font-size:11px}.order-table-wrap{overflow:auto;border:1px solid #d8e2e8;border-radius:11px;background:#fff}.order-table{width:100%;min-width:1240px;border-collapse:collapse}.order-table th{padding:12px 13px;color:#506978;background:#edf3f6;text-align:left;font-size:11px}.order-table td{padding:14px 13px;border-top:1px solid #e3eaee;vertical-align:top}.order-table td>strong,.order-table td>span,.order-table td>small,.order-table td>code{display:block;margin-bottom:5px}.order-table span,.order-table small,.order-table code{color:#637783;font-size:11px}.order-table code{max-width:220px;overflow-wrap:anywhere}.order-status{width:max-content;padding:4px 8px;border-radius:999px;color:#176347!important;background:#ddf4e9;font-weight:800}.order-status.unknown{color:#7b591c!important;background:#fff1cf}.order-status.error{color:#983c3c!important;background:#fde7e7}.order-table details summary{cursor:pointer;color:#9a4a36;font-weight:700}.order-table dl{margin:8px 0 0}.order-table dt{color:#73848f;font-size:10px}.order-table dd{margin:2px 0 7px;max-width:240px;overflow-wrap:anywhere;font-size:11px}.load-more{display:block;margin:14px auto}@media(max-width:760px){.order-filters{grid-template-columns:1fr 1fr}.filter-actions{grid-column:1/-1;flex-wrap:wrap}.order-table{min-width:0}.order-table thead{display:none}.order-table,.order-table tbody,.order-table tr,.order-table td{display:block;width:100%}.order-table tr{padding:12px 15px;border-top:1px solid #dde6eb}.order-table tr:first-child{border-top:0}.order-table td{display:grid;grid-template-columns:105px 1fr;padding:7px 0;border:0}.order-table td:before{content:attr(data-label);color:#778995;font-size:10px;font-weight:800}.order-table td>*{grid-column:2}.orders-meta{display:block}.orders-meta span{display:block;margin-top:4px}}.history-page{max-width:1240px}.history-pair-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}.history-pair-grid article{padding:20px;border:1px solid #d7e2e8;border-radius:12px;background:#fff;box-shadow:0 7px 22px #1937490d}.history-pair-grid article span{color:#5f7887;font-size:11px}.history-pair-grid h2{margin:6px 0 16px;font-size:19px}.history-pair-grid dl{margin:0 0 17px}.history-pair-grid dl div{display:flex;justify-content:space-between;padding:7px 0;border-top:1px solid #edf1f3}.history-pair-grid dt{color:#75858f;font-size:11px}.history-pair-grid dd{margin:0;font-size:12px}.history-modal-backdrop{align-items:start;overflow:auto}.pair-history-modal{width:min(1180px,100%);margin:4px auto;padding:25px;border-radius:15px;background:#fff;box-shadow:0 30px 90px #0000004d}.history-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.history-title h2{margin:0;font-size:25px}.history-title p:last-child{margin:6px 0 0;color:#697c88;font-size:11px}.history-title-actions{display:flex;align-items:center;gap:10px}.history-recording{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:99px;background:#edf3f5;font-size:11px}.history-toolbar,.history-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}.segmented{display:flex;padding:3px;border-radius:8px;background:#edf2f5}.segmented button,.history-controls>button{padding:7px 10px;border:0;border-radius:6px;color:#5d717d;background:transparent}.segmented button.active{color:#fff;background:#0b5a7b}.history-calendar{position:relative}.history-calendar summary{padding:8px 11px;border:1px solid #d3dfe5;border-radius:7px;cursor:pointer;font-size:12px;list-style:none}.history-calendar-pop{position:absolute;z-index:4;top:40px;left:0;width:290px;padding:13px;border:1px solid #d4dfe5;border-radius:11px;background:#fff;box-shadow:0 18px 48px #0e2d3e2e}.history-calendar-pop>header{display:flex;justify-content:space-between;align-items:center}.history-calendar-pop>header button{border:0;background:transparent;font-size:22px}.history-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin:10px 0}.history-calendar-grid span{text-align:center;color:#798993;font-size:10px}.history-calendar-grid button{aspect-ratio:1;border:0;border-radius:6px;color:#334f5e;background:#f3f6f7}.history-calendar-grid button.outside{opacity:.45}.history-calendar-grid button.selected{color:#fff;background:#0b5a7b}.history-calendar-grid button:disabled:not(.selected){opacity:.35}.history-calendar-pop small{color:#71828d}.history-date-legend{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:15px 0}.history-date-legend>div{display:flex;border:1px solid #dbe4e9;border-radius:7px}.history-date-legend button{padding:6px;border:0;background:#fff}.history-date-legend>span,.history-caption{color:#6c7e89;font-size:11px}.history-controls{padding:10px 0;border-top:1px solid #e5ebee;border-bottom:1px solid #e5ebee}.history-controls select,.history-controls>button{padding:7px 9px;border:1px solid #d2dde3;border-radius:7px;background:#fff}.history-controls>span{margin-left:auto;color:#637985;font-size:11px}.history-loading{padding:50px;text-align:center;color:#617582}.history-chart{position:relative;margin-top:17px;padding:14px;border:1px solid #dce5ea;border-radius:10px}.history-chart>header{display:flex;justify-content:space-between}.history-chart>header span{color:#6d7f8a;font-size:10px}.history-chart>svg{display:block;width:100%;height:220px;margin-top:5px;overflow:visible}.history-chart svg text{fill:#71828c;font-size:8px}.history-grid-line{stroke:#e4eaed;stroke-width:1}.history-inspect-line{stroke:#71818b;stroke-dasharray:3 3}.history-navigator{padding:0 3%}.history-navigator-track{position:relative;height:48px;touch-action:none}.history-navigator-track svg{position:absolute;inset:3px 0;width:100%;height:42px}.history-navigator-selection{position:absolute;top:5px;height:38px;border:2px solid #2c7897;background:#2877971f;cursor:grab}.history-navigator-selection:focus,.history-navigator-handle:focus{outline:2px solid #e0a84c;outline-offset:2px}.history-navigator-handle{position:absolute;top:14px;z-index:2;width:24px;height:24px;margin-left:-12px;border:0;color:#fff;background:#0b5a7b;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);cursor:ew-resize}.history-tooltip{position:absolute;right:18px;top:48px;z-index:3;min-width:280px;padding:11px;border:1px solid #ccd9e0;border-radius:9px;background:#fffffff5;box-shadow:0 12px 28px #19354426;font-size:10px}.history-tooltip>strong{display:block;margin-bottom:6px}.history-tooltip>div{display:grid;grid-template-columns:70px repeat(3,1fr);gap:7px;padding:4px 0;border-top:1px solid #edf1f3}.history-tooltip em{grid-column:2/-1;color:#7b8991}.history-inspect{display:flex;align-items:center;gap:15px;margin-top:17px;color:#657985;font-size:11px}.history-inspect input{padding:6px;border:1px solid #ced9df;border-radius:6px}@media(max-width:850px){.history-pair-grid{grid-template-columns:1fr}.history-modal-backdrop{justify-content:start;padding:8px}.pair-history-modal{width:calc(100vw - 16px);margin:0;padding:16px}.history-title{flex-wrap:wrap}.history-title h2{max-width:250px;font-size:22px}.history-title-actions{position:absolute;right:18px}.history-recording{max-width:74px}.history-toolbar{padding-top:8px;overflow:visible}.history-calendar-pop{left:-120px}.history-date-legend{flex-wrap:nowrap;overflow:auto;padding-bottom:4px}.history-controls>span{width:100%;margin-left:0}.history-chart{padding:10px}.history-chart>header{align-items:flex-start;gap:8px}.history-chart>header span{text-align:right}.history-chart>svg{height:190px}.history-tooltip{right:8px;left:8px;min-width:0}.history-tooltip>div{grid-template-columns:56px repeat(3,1fr);gap:4px}.history-inspect{align-items:flex-start;flex-direction:column}.mobile-shell .history-page{padding-bottom:90px}}.simulation-backdrop{z-index:70}.pair-simulation-modal{width:min(900px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;padding:24px;border-radius:14px;background:#fff;box-shadow:0 30px 90px #04182566}.simulation-title{display:flex;justify-content:space-between;cursor:move;touch-action:none}.simulation-title h2{margin:0}.simulation-warning{margin:14px 0;padding:12px;border:1px solid #e7c781;border-radius:8px;color:#77511a;background:#fff8e7}.simulation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.simulation-grid label span{display:block;margin-bottom:5px;font-size:11px;font-weight:750}.simulation-grid input,.simulation-grid select{width:100%;padding:9px;border:1px solid #c8d5dc;border-radius:7px}.simulation-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}.simulation-summary article{padding:12px;border-radius:8px;background:#f2f6f8}.simulation-summary span,.simulation-summary strong{display:block}.simulation-summary span{font-size:10px}.simulation-summary strong{margin-top:5px;font-size:13px}.simulation-warnings{color:#705321;font-size:12px}@media(max-width:600px){.pair-simulation-modal{width:calc(100vw - 12px);padding:16px;transform:none!important}.simulation-grid,.simulation-summary{grid-template-columns:1fr}}.position-page{max-width:1280px!important;margin:0 auto!important;padding:38px 28px 90px!important;border:0!important;border-radius:0!important;background:transparent!important}.position-head{display:flex;justify-content:space-between;align-items:flex-start}.position-head h1{margin:0;font-size:34px}.position-head p:last-child{margin:8px 0 0;color:#637784}.position-boundary{display:flex;gap:12px;margin:20px 0 15px;padding:13px 15px;border:1px solid #e4c48c;border-radius:9px;color:#73511b;background:#fff8e8}.position-pair-tabs{display:flex;gap:8px;overflow:auto;margin:15px 0}.position-pair-tabs button{min-width:180px;padding:11px 13px;border:1px solid #ccd9e0;border-radius:9px;color:#3c5d6d;background:#fff;text-align:left}.position-pair-tabs button.active{border-color:#0b5b7d;color:#fff;background:#0b5b7d}.position-pair-tabs strong,.position-pair-tabs span{display:block}.position-pair-tabs span{margin-top:4px;font-size:10px;opacity:.78}.position-stream{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:8px;background:#fff;font-size:11px}.position-stream>span{width:8px;height:8px;border-radius:50%;background:#c66}.position-stream>span.live{background:#39a474}.position-stream>span.connecting,.position-stream>span.retrying{background:#d69a34}.position-stream small{margin-left:auto;color:#71838e}.imbalance-helper{display:flex;align-items:center;justify-content:space-between;margin:12px 0;padding:13px 15px;border:1px solid #c7dce6;border-radius:9px;color:#245a71;background:#edf8fc}.imbalance-helper span,.imbalance-helper strong{display:block}.imbalance-helper span{font-size:10px}.imbalance-helper strong{margin-top:4px}.imbalance-helper button{border:0;color:#0b5b7d;background:transparent;font-weight:800}.position-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.position-card{padding:19px;border:1px solid #d6e2e8;border-radius:12px;background:#fff;box-shadow:0 7px 22px #1e38490d}.position-card>header{display:flex;align-items:flex-start;justify-content:space-between}.position-card>header>div{display:flex;align-items:center;gap:9px}.position-card h2{margin:0;font-size:18px}.leg-badge{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;color:#fff;background:#176c8e;font-weight:850}.leg-badge.b{background:#8a5b25}.ready-pill{padding:4px 8px;border-radius:99px;font-size:10px}.ready-pill.on{color:#176345;background:#e6f6ed}.ready-pill.off{color:#805128;background:#f8ebdd}.position-amounts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.position-amounts div{padding:11px;border-radius:8px;background:#f2f6f8}.position-amounts dt,.b-position dt{color:#70828d;font-size:10px}.position-amounts dd,.b-position dd{margin:5px 0 0;font-size:12px}.disabled-command-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.disabled-command-grid button,.manual-order button,.unknown-orders button,.b-position footer button:last-child{padding:8px;border:1px dashed #c6d2d9;border-radius:7px;color:#829099;background:#f2f4f5}.position-card>p{color:#657985;font-size:11px;line-height:1.5}.unknown-orders{margin:14px 0;padding:12px;border:1px solid #efc77f;border-radius:9px;background:#fff8e9}.unknown-orders>strong{display:block;margin-bottom:8px;color:#795416}.unknown-orders article,.manual-order{display:grid;gap:5px;padding:10px 0;border-top:1px solid #e4eaed}.unknown-orders article>div,.manual-order>div{display:flex;flex-wrap:wrap;gap:6px}.unknown-orders small,.manual-order small{color:#6f818c}.b-position{margin-top:14px;padding:14px;border:1px solid #e0e7eb;border-radius:9px}.b-position>div{display:flex;justify-content:space-between}.b-position>div span{font-size:11px}.b-position dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.b-position footer{display:flex;flex-wrap:wrap;gap:7px}.register-position-modal{width:min(850px,100%);max-height:calc(100vh - 30px);overflow:auto;padding:26px;border-radius:14px;background:#fff;box-shadow:0 28px 80px #0000004d}.register-position-modal>header{display:flex;align-items:flex-start;justify-content:space-between}.register-position-modal h2{margin:0}.registration-boundary{display:grid;gap:3px;margin:15px 0;padding:12px 14px;border:1px solid #c2dce8;border-radius:9px;color:#265970;background:#eef8fb}.registration-boundary span{font-size:11px}.registration-facts{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.registration-facts div{padding:11px;border-radius:8px;background:#f2f6f8}.registration-facts dt{color:#71828d;font-size:10px}.registration-facts dd{margin:5px 0 0;font-size:11px}.register-position-modal label{display:block;margin:15px 0}.register-position-modal label>span{display:block;margin-bottom:6px;font-size:11px;font-weight:800}.register-position-modal input,.register-position-modal select{width:100%;padding:10px;border:1px solid #c4d1d9;border-radius:7px}.opening-order-search{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}.opening-order-search label{margin:0}.opening-orders{overflow:auto}.opening-orders table{width:100%;border-collapse:collapse;font-size:11px}.opening-orders th,.opening-orders td{padding:8px;border-bottom:1px solid #e5ebee;text-align:left}.opening-orders footer{display:flex;justify-content:center;gap:10px;padding:9px}.operation-id{overflow-wrap:anywhere;color:#667985;font-size:10px}.registration-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}@media(max-width:760px){.position-page{padding:22px 14px 90px!important}.position-head{display:block}.position-head .secondary-button{margin-top:12px}.position-boundary{flex-direction:column;gap:4px}.position-columns{grid-template-columns:1fr}.position-card{padding:15px}.position-card h2{font-size:16px}.position-amounts,.disabled-command-grid,.b-position dl,.registration-facts{grid-template-columns:1fr 1fr}.register-position-modal{padding:18px}.opening-order-search{grid-template-columns:1fr}.position-stream small{display:none}}.runtime-position-modal{width:min(1320px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;padding:22px;border-radius:14px;background:#edf3f6;box-shadow:0 28px 90px #071d2b66}.runtime-position-modal>header{display:flex;justify-content:space-between}.runtime-position-modal>header h2{margin:0}.runtime-position-modal .position-page{margin:0!important;padding:0!important}.runtime-position-modal .position-head{display:none}.report-modal{width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:25px;border-radius:14px;background:#fff;box-shadow:0 28px 90px #071d2b59}.report-modal>header{display:flex;align-items:flex-start;justify-content:space-between}.report-modal h2{margin:2px 0 4px}.report-modal>header span{color:#6a7d89;font-size:12px}.report-boundary{margin:15px 0;padding:12px 14px;border:1px solid #b8dce9;border-radius:9px;color:#275b70;background:#eef9fd;font-size:13px}.report-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:15px 0}.report-filters label{min-width:180px;flex:1}.report-filters label span{display:block;margin-bottom:5px;font-size:12px;font-weight:700}.report-filters input{width:100%;padding:9px;border:1px solid #cbd8df;border-radius:7px}.report-status{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0;padding:11px 13px;border-radius:8px;background:#f2f6f8;font-size:12px}.report-tabs{display:flex;gap:5px;margin:13px 0}.report-tabs button{padding:9px 16px;border:1px solid #cbd9e0;background:#fff}.report-tabs button.active{border-color:#0b688c;color:#fff;background:#0b688c}.report-table{overflow:auto}.report-table table{width:100%;border-collapse:collapse;font-size:12px}.report-table th,.report-table td{padding:10px;border-bottom:1px solid #e1e9ed;text-align:left;white-space:nowrap}.report-table th{color:#58707e;background:#f1f5f7}.report-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.account-history-modal{width:min(980px,calc(100vw - 32px))}.flow.in{color:#14704c;font-weight:800}.flow.out{color:#b34f45;font-weight:800}.inline-error,.inline-notice{padding:8px 10px;border-radius:7px;font-size:12px}.inline-error{color:#9d352e;background:#fff0ef}.inline-notice{color:#1e6a4f;background:#eef9f4}.profit-periods{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.profit-periods article{padding:12px;border-radius:9px;background:#f3f7f9}.profit-periods article>strong{color:#163e53}.profit-periods dl{display:grid;gap:6px;margin:10px 0}.profit-periods dl div{display:flex;justify-content:space-between;gap:8px}.profit-periods dt,.profit-periods dd,.profit-periods small{font-size:11px}.profit-periods dd{margin:0;font-weight:700}.profit-periods small{color:#7a6948}@media(max-width:700px){.report-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:16px}.report-filters{display:grid;grid-template-columns:1fr 1fr}.report-filters label{min-width:0}.profit-periods{grid-template-columns:1fr}.report-status{display:grid;gap:5px}}.deployment-modal{width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:24px;border-radius:14px;background:#fff}.deployment-modal>header{display:flex;justify-content:space-between}.deployment-modal h2{margin:0}.deployment-boundary{margin:15px 0;padding:12px;border:1px solid #e6c47f;border-radius:8px;color:#76521c;background:#fff8e7}.deployment-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.deployment-facts div{padding:11px;border-radius:8px;background:#f2f6f8}.deployment-facts dt{font-size:10px}.deployment-facts dd{margin:4px 0;font-size:12px}.deployment-modal progress{width:100%;margin:13px 0}.deployment-disabled{margin-top:16px;padding:14px;border:1px dashed #bdcbd2;border-radius:9px;background:#f4f6f7}.deployment-disabled label span{display:block;font-size:11px}.deployment-disabled input{width:100%;margin:6px 0 10px;padding:9px}.deployment-disabled div{display:flex;gap:8px}.deployment-disabled button{padding:9px;color:#87949b}.deployment-disabled p{font-size:11px}.deployment-modal>footer{display:flex;justify-content:flex-end;margin-top:15px}@media(max-width:600px){.deployment-facts{grid-template-columns:1fr 1fr}}.reference-desktop .runtime-dashboard{width:100%;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.runtime-dashboard .market-toolbar{display:flex;align-items:stretch;justify-content:space-between;gap:10px;margin-top:8px}.runtime-dashboard .pair-strip{display:flex;align-items:stretch;gap:6px;min-width:0;overflow-x:auto;padding:0;margin:0}.runtime-dashboard .pair-tab{width:220px;min-width:220px;height:90px;padding:8px 12px;border:1px solid #e0e4e8;border-radius:7px;background:#fff;color:#202a36;cursor:grab;text-align:left;box-shadow:none}.runtime-dashboard .pair-tab.active{border-color:#4c32d5;background:#4c32d5;color:#fff;box-shadow:inset 0 -3px #3420ae,0 6px 14px #4c32d529}.runtime-dashboard .pair-tab>span{display:block;margin:0;font-size:12px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit}.runtime-dashboard .pair-spread-row{display:flex;gap:11px;margin-top:6px}.runtime-dashboard .pair-spread-row strong{font-size:16px}.runtime-dashboard .pair-position-row,.runtime-dashboard .pair-funding-row{margin-top:5px;font-size:10px;line-height:1.1;white-space:nowrap}.runtime-dashboard .market-panel{padding:0;margin-top:8px;border:0;background:transparent}.runtime-dashboard .account-market-grid{display:grid;grid-template-columns:minmax(355px,1.18fr) minmax(355px,1.18fr) minmax(270px,.82fr) minmax(270px,.82fr);grid-auto-rows:164px;align-items:stretch;gap:8px}.runtime-dashboard .original-account-card,.runtime-dashboard .quote-card,.runtime-dashboard .spread-card{border:1px solid #e0e4e8;border-radius:7px;background:#fff}.runtime-dashboard .original-account-card{height:100%;min-height:0;padding:10px 12px;overflow:hidden}.runtime-dashboard .account-card-title,.runtime-dashboard .quote-label{display:flex;justify-content:space-between;align-items:center;color:#697585;font-size:11px;line-height:1.2}.runtime-dashboard .account-title-tags{display:flex;align-items:center;gap:6px}.runtime-dashboard .connection-state{color:#00a77d;font-size:11px;font-weight:700}.runtime-dashboard .account-name{margin-top:5px;color:#202a36;font-size:14px;font-weight:900;line-height:1.2}.runtime-dashboard .account-primary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}.runtime-dashboard .account-kpi{min-width:0;padding:6px 8px;border:0;border-radius:5px;background:#f5f7f9}.runtime-dashboard .account-kpi>span{display:block;color:#697585;font-size:10px;font-weight:700;line-height:1.2}.runtime-dashboard .account-kpi strong{display:block;margin-top:2px;color:#202a36;font-size:15px;font-weight:950;line-height:1.1}.runtime-dashboard .account-kpi small{color:#a56800;font-size:10px}.runtime-dashboard .account-kpi.highlight{background:#fff3d5}.runtime-dashboard .account-kpi.highlight strong{color:#a56800}.runtime-dashboard .account-secondary-metrics{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:6px;color:#697585;font-size:10px;line-height:1.3}.runtime-dashboard .account-lines{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px;color:#697585;font-size:10px;line-height:1.3;white-space:nowrap}.runtime-dashboard .quote-dot{display:inline-block;width:7px;height:7px;margin-right:3px;border-radius:50%;background:#b9c0bc}.runtime-dashboard .quote-stack{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;height:100%;min-width:0}.runtime-dashboard .quote-card,.runtime-dashboard .spread-card{min-height:0;padding:8px 11px;overflow:hidden}.runtime-dashboard .quote-value{display:flex;align-items:baseline;gap:8px;margin-top:4px;color:#202a36;font-size:16px;font-weight:900;line-height:1}.runtime-dashboard .quote-sub{margin-top:4px;color:#697585;font-size:10px;line-height:1.3;white-space:nowrap}.runtime-dashboard .quote-sub strong{font-size:16px;line-height:1}.runtime-dashboard .spread-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.runtime-dashboard .spread-green{background:#daf5ec;border-color:#bee7db}.runtime-dashboard .spread-blue{background:#dff3fb;border-color:#c4e5f1}.runtime-dashboard .spread-copy{min-width:0;font-size:11px}.runtime-dashboard .position-lines{display:block;margin:2px 0 0;padding:0;border:0;background:transparent;color:#697585;font-size:10px;line-height:1.3;cursor:pointer}.runtime-dashboard .spread-history-trigger{padding:0;border:0;border-radius:3px;background:transparent;cursor:pointer}.runtime-dashboard .spread-history-trigger:disabled{cursor:default}.runtime-dashboard .spread-history-trigger strong{display:block;margin:0;color:#202a36;font-size:25px;font-weight:950;line-height:1}.runtime-dashboard .workbench-grid{display:grid;grid-template-columns:274px minmax(0,1fr);gap:10px;margin-top:10px}.runtime-dashboard .task-sidebar,.runtime-dashboard .orders-panel{min-height:560px;padding:11px;border:1px solid #e0e4e8;border-radius:7px;background:#fff;box-shadow:0 5px 14px #28324112}.runtime-dashboard .orders-panel{min-width:0;overflow:hidden}.runtime-dashboard .section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.runtime-dashboard h3{margin:0;color:#202a36;font-size:16px;font-weight:950;letter-spacing:0}.runtime-dashboard .toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.runtime-dashboard .order-toolbar{align-items:flex-start;padding-bottom:6px;border-bottom:1px solid #e0e4e8}.console-small-button,.console-primary-button,.console-icon-button{display:inline-flex;align-items:center;justify-content:center;height:25px;padding:0 8px;border:1px solid #d9d9d9;border-radius:4px;background:#fff;color:#202a36;font-size:14px;line-height:1;cursor:pointer;font-weight:700}.console-primary-button{background:#1677ff;color:#fff;border-color:#1677ff}.console-icon-button{height:30px;width:30px;min-width:30px;padding:0;font-size:17px;border-radius:6px;color:#929ca8}.console-small-button:disabled,.console-icon-button:disabled{color:#aaa;background:#f5f5f5;cursor:not-allowed}.console-inline-button{height:auto;padding:0;border:0;background:transparent;color:#1677ff;font-size:10px;line-height:1;cursor:pointer}.console-inline-button:disabled{color:#aaa;cursor:not-allowed}.runtime-dashboard .order-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#697585;font-size:10px;line-height:1.3;margin-top:0}.runtime-dashboard .signal-tag{display:inline-block;padding:0 6px;border:1px solid #d9d9d9;border-radius:6px;background:#fafafa;color:#202a36;font-size:12px;font-weight:700;line-height:16px}.runtime-dashboard .task-open-average{display:inline-flex;align-items:center;gap:5px}.runtime-dashboard .task-open-average b:first-of-type{color:#00a870}.runtime-dashboard .task-open-average b:last-of-type{color:#1677ff}.runtime-dashboard .hedge-table-wrap{overflow:auto;scrollbar-width:none;border:1px solid #e0e4e8;border-radius:6px}.runtime-dashboard .original-hedge-table{width:100%;min-width:1700px;border-collapse:collapse;color:#202a36;font-size:12px;table-layout:auto}.runtime-dashboard .original-hedge-table th{height:40px;padding:8px;background:#f2f4f6;border-bottom:1px solid #e0e4e8;white-space:nowrap;font-weight:900;text-align:left}.runtime-dashboard .original-hedge-table th+th{border-left:1px solid #e8ecef}.runtime-dashboard .original-hedge-table td{height:166px;padding:0}.runtime-dashboard .original-table-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:calc(100vw - 334px);height:166px;color:#bfbfbf;font-size:14px}.runtime-dashboard .task-list{display:grid;gap:7px;margin-top:8px}.runtime-dashboard .task-list-row{width:100%;padding:9px;border:1px solid #e0e4e8;border-radius:6px;background:#fff;text-align:left;cursor:pointer}.runtime-dashboard .task-list-row.active{border-color:#4c32d5}.runtime-dashboard .task-row-main{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.runtime-dashboard .task-row-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runtime-dashboard .task-enable-state{font-size:10px;color:#929ca8}.runtime-dashboard .task-enable-state.enabled{color:#00a77d}.runtime-dashboard .task-row-tags{display:flex;gap:5px;margin-top:7px}.runtime-dashboard .task-rule-tag{padding:1px 5px;border-radius:4px;font-size:10px;color:#697585;background:#f5f7f9}.runtime-dashboard .task-row-meta{display:flex;justify-content:space-between;gap:6px;margin-top:7px;font-size:11px;color:#697585}.runtime-dashboard .hedge-column-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0;padding:12px;border:1px solid #e0e4e8;border-radius:6px;font-size:12px;background:#fafafa}.runtime-dashboard .hedge-column-options label{display:flex;align-items:center;gap:5px}.runtime-dashboard .selected-task-strip{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;color:#697585;font-size:11px}.runtime-dashboard .runtime-preflight-details{margin-top:8px;font-size:12px}.runtime-dashboard .runtime-data-note{margin:8px 0 0;color:#697585;font-size:10px;line-height:1.4}.runtime-dashboard .runtime-inline-alert,.runtime-dashboard .runtime-inline-notice{margin-top:8px;padding:8px 12px;border:1px solid #e7ca8a;border-radius:6px;background:#fff8e6;color:#9a6500;font-size:12px}.runtime-dashboard .runtime-inline-notice{color:#155b43;background:#f0fbf6;border-color:#b8dfd0}.reference-desktop>.runtime-dashboard>.modal-backdrop{z-index:120}.compact-profit-widget{position:relative;display:grid;grid-template-columns:126px repeat(3,minmax(108px,auto)) 34px;align-items:center;min-width:520px;height:58px;border:1px solid #e0e4e8;border-radius:7px;background:#fff;color:#202a36;font-variant-numeric:tabular-nums}.compact-profit-label{padding:0 14px}.compact-profit-label strong{display:block;font-size:12px;line-height:1.3}.compact-profit-label small{color:#697585;font-size:10px}.compact-profit-cell{min-width:76px;padding:0 12px;border-left:1px solid #e0e4e8;text-align:right}.compact-profit-cell>small{display:block;color:#929ca8;font-size:10px}.compact-profit-cell>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:3px;font-size:12px;font-weight:800;color:#697585}.compact-profit-refresh{border:0;background:transparent;color:#697585;font-size:20px;cursor:pointer}.compact-profit-refresh:disabled{color:#bbb;cursor:not-allowed}.compact-profit-status{position:absolute;top:100%;right:0;z-index:1;padding:5px;background:#fff1f2;color:#e15565;font-size:11px}@media(max-width:1500px){.runtime-dashboard .account-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1200px){.runtime-dashboard .workbench-grid{grid-template-columns:1fr}.runtime-dashboard .task-sidebar{min-height:auto}.runtime-dashboard .original-table-empty{width:calc(100vw - 50px)}}@media(max-width:900px){.runtime-dashboard .market-toolbar{flex-direction:column}.runtime-dashboard .account-market-grid{grid-template-columns:1fr;grid-auto-rows:auto}.runtime-dashboard .original-account-card{min-height:136px;height:auto}.runtime-dashboard .quote-stack{display:contents}.runtime-dashboard .quote-card{order:1}.runtime-dashboard .spread-card{order:2;min-height:65px}.runtime-dashboard .order-toolbar{flex-direction:column;gap:8px}.compact-profit-widget{min-width:0;width:100%;grid-template-columns:90px repeat(3,minmax(54px,1fr)) 25px}.compact-profit-label{padding:0 8px}.compact-profit-cell{padding:0 6px}.runtime-dashboard .hedge-column-options{grid-template-columns:1fr 1fr}}html:has(.reference-desktop),html:has(.mobile-shell){scrollbar-width:none}.reference-login.login-page{display:grid;grid-template-columns:none;min-height:100vh;padding:24px;place-items:center;background:#edf2f6;color:#000000e0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;line-height:1.5714285714}.reference-login .login-card{width:min(100%,360px);margin:0;padding:24px;border:0;border-radius:8px;box-shadow:0 8px 24px #1f364c1a;background:#fff}.reference-login .login-header{margin-bottom:20px}.reference-login .login-header h1{margin:0;color:#17395d;font-size:22px;line-height:1.5714285714;font-weight:600}.reference-login .login-header p{margin:5px 0 0;color:#6a7b8e;font-size:13px;line-height:1.5714285714}.reference-login .reference-login-field{display:block;margin:0 0 24px}.reference-login .reference-login-field>span{display:block;margin:0 0 8px;font-weight:400;font-size:14px;line-height:22px}.reference-login-field>span>i{color:#ff4d4f;font-style:normal}.reference-login .login-card input{display:block;width:100%;height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#000000e0;font-size:14px;line-height:22px;transition:border-color .2s,box-shadow .2s}.reference-login .login-card input:hover{border-color:#4096ff}.reference-login .login-card input:focus{border-color:#1677ff;outline:2px solid #4b89c8;outline-offset:2px;box-shadow:0 0 0 2px #0591ff1a}.reference-login .login-card input[aria-invalid=true]{border-color:#ff4d4f}.reference-login .reference-password-wrapper{display:flex;align-items:center;width:100%;height:32px;border:1px solid #d9d9d9;border-radius:6px;background:#fff}.reference-login .reference-password-wrapper:focus-within{border-color:#1677ff;outline:2px solid #4b89c8;outline-offset:2px;box-shadow:0 0 0 2px #0591ff1a}.reference-login .reference-password-wrapper:hover{border-color:#4096ff}.reference-login .reference-password-wrapper.has-error{border-color:#ff4d4f}.reference-login .reference-password-wrapper input,.reference-login .reference-password-wrapper input:focus{min-width:0;flex:1;height:30px;border:0;background:transparent;outline:none;box-shadow:none}.reference-login .login-card .password-visibility{display:grid;place-items:center;flex:0 0 32px;width:32px;height:30px;min-height:0;margin:0;padding:0 10px 0 0;border:0;color:#00000073;background:transparent;cursor:pointer}.reference-login .password-visibility svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}.reference-login .login-card .reference-login-submit{display:flex;justify-content:center;align-items:center;width:100%;height:32px;min-height:32px;margin:0;padding:4px 15px;border:1px solid #1677ff;border-radius:6px;background:#1677ff;color:#fff;box-shadow:0 2px #0591ff1a;font-size:14px;line-height:22px;font-weight:400}.reference-login .login-card .reference-login-submit:hover:not(:disabled){background:#4096ff;border-color:#4096ff}.reference-login .login-card .reference-login-submit:disabled{opacity:.65}.reference-login .alert,.reference-login .notice{margin:0 0 16px;padding:8px 12px;border-radius:8px}.reference-login .field-error{margin-top:4px;color:#ff4d4f;font-size:14px;line-height:22px}.shell-placeholder.reference-desktop{--command-bg:#edf2f6;--surface:#fff;--surface-raised:#fff;--surface-soft:#f5f7f9;--surface-tint:#daf5ec;--ink:#202a36;--muted:#697585;--brand:#4c32d5;--line:#e0e4e8;--line-strong:#cfd5db;min-height:100vh;padding:12px;overflow-x:hidden;color:var(--ink);background-color:var(--command-bg);background-image:linear-gradient(rgba(116,132,151,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(116,132,151,.075) 1px,transparent 1px);background-size:32px 32px;font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-variant-numeric:tabular-nums}.shell-placeholder.reference-desktop.trading-stopped{--command-bg:#fff8df;background-image:linear-gradient(rgba(177,128,24,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(177,128,24,.12) 1px,transparent 1px)}.reference-desktop.trading-stopped:before{content:"";position:fixed;z-index:100;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,190,46,.58),rgba(255,190,46,.16) 34%,transparent) top / 100% 88px no-repeat,linear-gradient(0deg,rgba(255,190,46,.58),rgba(255,190,46,.16) 34%,transparent) bottom / 100% 88px no-repeat,linear-gradient(90deg,rgba(255,190,46,.54),rgba(255,190,46,.14) 34%,transparent) left / 88px 100% no-repeat,linear-gradient(270deg,rgba(255,190,46,.54),rgba(255,190,46,.14) 34%,transparent) right / 88px 100% no-repeat,linear-gradient(90deg,#e09c1a57,#ffc547 50%,#e09c1a57) top / 100% 4px no-repeat,linear-gradient(90deg,#e09c1a57,#ffc547 50%,#e09c1a57) bottom / 100% 4px no-repeat,linear-gradient(180deg,#e09c1a57,#ffc547 50%,#e09c1a57) left / 4px 100% no-repeat,linear-gradient(180deg,#e09c1a57,#ffc547 50%,#e09c1a57) right / 4px 100% no-repeat;box-shadow:inset 0 0 38px #f6b22357,inset 0 0 96px #f6b22333;animation:reference-stopped-edge-pulse 2.6s ease-in-out infinite}@keyframes reference-stopped-edge-pulse{0%,to{opacity:.5;filter:brightness(.9)}50%{opacity:1;filter:brightness(1.24)}}.reference-desktop>.operator-topbar{min-height:98px;display:grid;grid-template-columns:minmax(520px,620px) minmax(0,1fr);align-items:center;column-gap:18px;margin:0;padding:10px 14px 9px;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:7px;background:var(--surface);color:var(--ink);box-shadow:0 5px 14px #28324112}.reference-desktop .brand-block{min-width:0}.reference-desktop .brand-kicker{color:#e99a13;font-size:10px;line-height:1;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.reference-desktop .brand-title{display:block;margin:4px 0 0;padding:0;border:0;background:none;color:var(--ink);font-size:24px;line-height:1;font-weight:900;cursor:pointer;text-align:left}.reference-desktop .brand-meta{display:flex;align-items:center;flex-wrap:nowrap;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.57142857;gap:10px;white-space:nowrap}.reference-viewer-chip{padding:0 5px;border:1px solid #91caff;border-radius:3px;color:#1677ff;background:#e6f4ff}.reference-desktop .command-toolbar{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0}.reference-desktop .runtime-strip{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;color:var(--muted);font-size:11px}.reference-desktop .runtime-strip strong{color:var(--ink);font-weight:700}.reference-desktop .runtime-strip>span,.reference-desktop .runtime-strip time{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft)}.reference-desktop .runtime-strip .status-ok{color:#00a77d;border-color:#8bdcc4;background:#eafff8}.reference-desktop .runtime-strip .status-warn{color:#9a6500;border-color:#e7ca8a;background:#fff8e6}.reference-desktop .runtime-strip .status-error{color:#e15565;border-color:#e4b6bc;background:#fff1f2}.reference-desktop .runtime-strip button{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 9px;border:1px solid var(--line-strong);border-radius:5px;color:var(--ink);background:#fff;font-size:11px;line-height:1;cursor:pointer}.reference-desktop .runtime-strip .logout-button{color:#ff4d4f;border-color:#ff4d4f}.reference-desktop .runtime-strip .runtime-dot{width:7px;min-width:7px;height:20px;padding:0;border:0;border-radius:4px;background:#a9b0aa}.reference-desktop .runtime-strip .runtime-dot.live{background:#00a77d;box-shadow:0 0 0 4px var(--surface-tint)}.reference-desktop .top-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}.reference-desktop .top-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:0;height:30px;padding:0 11px;border:1px solid var(--line-strong);border-radius:5px;color:var(--ink);background:#fff;font-size:14px;font-weight:700;line-height:1;letter-spacing:0;cursor:pointer}.reference-desktop .top-actions button:hover:not(:disabled){color:var(--brand);border-color:#aaa0ef;background:#f7f5ff}.reference-desktop .top-actions button.primary{color:#fff;border-color:var(--brand);background:var(--brand)}.reference-desktop .top-actions button.primary:hover{color:#fff;border-color:#3d27b7;background:#3d27b7}.reference-desktop .top-actions button.danger{color:#e15565;border-color:#ddb3b9;background:#fff7f7}.reference-desktop .top-actions button:disabled{color:#a0a8a2;background:#ecefe9;border-color:#d9ded6;cursor:not-allowed}.reference-data-origin{position:fixed;z-index:101;right:12px;bottom:5px;padding:1px 5px;border-radius:3px;color:#697585;background:#ffffffe0;font-size:10px;line-height:14px;pointer-events:none}.reference-page-backdrop{position:fixed;z-index:110;inset:0;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:100px 24px 24px;background:#00000073}.reference-page-dialog{--dialog-width:1280px;position:relative;width:min(var(--dialog-width),100%);padding:20px 24px 24px;border-radius:8px;background:#fff;color:#000000e0;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.reference-dialog-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;padding:0;border:0;background:none}.reference-dialog-header h2{margin:0;color:#000000e0;font-size:16px;line-height:24px;font-weight:600}.reference-dialog-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:4px;color:#00000073;background:transparent;font-size:24px;line-height:1;cursor:pointer}.reference-dialog-close:hover{color:#000000e0;background:#0000000f}.reference-dialog-content{min-width:0}.reference-dialog-content .module-header h1{display:none}.reference-dialog-content .modal-backdrop{z-index:120}body:has(.accounts-list-modal) .ant-modal-mask:has(+.accounts-list-modal),body:has(.accounts-editor-modal) .ant-modal-mask:has(+.accounts-editor-modal){background:#00000073}.reference-desktop .reference-dialog-content>main,.reference-desktop .reference-dialog-content>section{width:100%;max-width:none;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}.reference-dialog-content>.accounts-page>.page-heading h1,.reference-dialog-content>.pairs-page>.page-heading h1,.reference-dialog-content>.tasks-page>.page-heading h1,.reference-dialog-content>.settings-page>.page-heading h1{display:none}.reference-license-dialog{--dialog-width:720px}.reference-license-dialog p{font-size:14px;line-height:1.6}.reference-license-status{color:#e15565;font-weight:600}.reference-credential-backdrop{position:fixed;z-index:120;inset:0;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:100px 16px 24px;background:#00000073;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;color:#000000e0;font-size:14px;line-height:1.57142857}.reference-credential-modal{position:relative;width:min(440px,100%);padding:20px 24px;border-radius:8px;background:#fff;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.reference-credential-header{margin:0 0 8px}.reference-credential-header h2{margin:0;font-size:16px;line-height:24px;font-weight:600}.reference-credential-field{display:block;margin:0 0 24px}.reference-credential-field>span{display:block;margin:0 0 8px;font-weight:400;line-height:22px}.reference-credential-field>input,.reference-credential-password{display:block;width:100%;height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;color:#000000e0;background:#fff;font-size:14px;line-height:22px;transition:border-color .2s,box-shadow .2s}.reference-credential-field>input:focus,.reference-credential-password:focus-within{border-color:#1677ff;outline:none;box-shadow:0 0 0 2px #0591ff1a}.reference-credential-password{display:flex;align-items:center;padding:0}.reference-credential-password input{min-width:0;flex:1;width:100%;height:30px;padding:4px 11px;border:0;border-radius:6px;outline:none;color:inherit;background:transparent;font-size:14px;line-height:22px}.reference-credential-password>button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:30px;padding:0 10px 0 0;border:0;color:#00000073;background:transparent;cursor:pointer}.reference-credential-password svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6}.reference-credential-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.reference-credential-actions>button{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:4px 15px;border:1px solid #d9d9d9;border-radius:6px;color:#000000e0;background:#fff;font-size:14px;line-height:22px;font-weight:400;cursor:pointer;box-shadow:0 2px #00000005}.reference-credential-actions>button.primary{color:#fff;border-color:#1677ff;background:#1677ff;box-shadow:0 2px #0591ff1a}.reference-credential-actions>button:disabled,.reference-credential-field input:disabled{color:#00000040;border-color:#d9d9d9;background:#0000000a;box-shadow:none;cursor:not-allowed}.reference-credential-divider{display:flex;align-items:center;gap:16px;margin:20px 0 16px;color:#000000e0;font-size:16px;line-height:25px;font-weight:500}.reference-credential-divider:before,.reference-credential-divider:after{content:"";flex:1;height:1px;background:#0505050f}.reference-credential-note{margin:8px 0 0;color:#929ca8;font-size:11px;line-height:17px}.reference-credential-modal .alert{margin:0 0 16px;padding:8px 12px;border-radius:6px}.reference-credential-modal .validation-list{margin:0 0 16px;font-size:13px}.reference-desktop .settings-modal{width:min(520px,100%);padding:20px 24px 24px;border-radius:8px}.reference-desktop .settings-modal.task-editor{width:min(1000px,calc(100vw - 32px));border-radius:10px}@media(prefers-reduced-motion:reduce){.reference-desktop.trading-stopped:before{animation:none;opacity:.72}}@media(max-width:1200px){.reference-desktop>.operator-topbar{grid-template-columns:1fr}.reference-desktop .runtime-strip,.reference-desktop .top-actions{justify-content:flex-start}.reference-desktop .command-toolbar{margin-top:12px}}@media(max-width:720px){.shell-placeholder.reference-desktop{padding:8px}.reference-desktop>.operator-topbar{padding:14px;border-radius:8px}.reference-desktop .brand-title{font-size:26px}.reference-desktop .brand-meta{display:grid;gap:6px;white-space:normal}.reference-desktop .top-actions button{flex:1 1 98px;min-width:0}.reference-page-backdrop{padding:24px 12px}.reference-page-dialog{padding:20px 16px}.reference-data-origin{max-width:calc(100vw - 16px);right:8px;font-size:9px}}@media(max-width:480px){.reference-login.login-page{padding:16px}}@media(max-width:600px){.reference-credential-backdrop{padding-top:24px}}.readonly-source-bar[data-v-02c5b5ba]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px;padding:5px 10px;color:#25675c;background:#edf9f6;border:1px solid #c8e8df;border-radius:5px;font-size:11px}.readonly-dashboard .profit-positive[data-v-02c5b5ba]{color:#00ad91!important}.readonly-dashboard .profit-negative[data-v-02c5b5ba]{color:#f05a70!important}.readonly-dashboard .connection-state.offline[data-v-02c5b5ba]{color:#929ca8}.readonly-dashboard .quote-dot.live[data-v-02c5b5ba]{background:#00aa8d}.readonly-dashboard button[data-v-02c5b5ba]:disabled{cursor:not-allowed;opacity:.55}.readonly-dashboard .pair-tab[data-v-02c5b5ba]{cursor:pointer}.readonly-dashboard .selected-task-strip[data-v-02c5b5ba]{gap:9px;color:#37485a}.readonly-dashboard .selected-task-strip .signal-tag[data-v-02c5b5ba]{font-size:11px}.readonly-dashboard .readonly-accounts[data-v-02c5b5ba]{--dialog-width:1280px}.readonly-dashboard .readonly-verification[data-v-02c5b5ba]{--dialog-width:850px}.readonly-dashboard .readonly-positions[data-v-02c5b5ba]{--dialog-width:1050px}.readonly-account-table[data-v-02c5b5ba]{width:100%;border-collapse:collapse;margin-top:18px;font-size:13px}.readonly-account-table th[data-v-02c5b5ba],.readonly-account-table td[data-v-02c5b5ba]{text-align:left;padding:12px;border-bottom:1px solid #eee}.readonly-account-table th[data-v-02c5b5ba]{background:#fafafa}.readonly-dashboard .reference-dialog-content[data-v-02c5b5ba]{overflow:auto}.readonly-dashboard .reference-dialog-content p[data-v-02c5b5ba]{font-size:13px;line-height:1.7}.readonly-dashboard .original-table-empty[data-v-02c5b5ba]{height:166px}.readonly-task-empty[data-v-02c5b5ba]{padding:26px 12px;text-align:center;font-size:12px;color:#8996a5}.readonly-dashboard .source-order-state[data-v-02c5b5ba]{padding:1px 5px;border:1px solid #b7eb8f;background:#f6ffed;color:#52a329;border-radius:4px}
