.workspace-layout.fx-open{position:relative;min-width:calc(var(--workspace-min-width) + 416px)}.fx-panel{position:absolute;top:0;bottom:0;right:0;width:208px;padding:0 16px;display:flex;flex-direction:column;color:var(--muted);font-size:12px;line-height:16px;overflow:hidden}.fx-heading{display:flex;justify-content:space-between;padding:16px 0;height:49px;min-height:49px;border-bottom:1px solid var(--border);color:var(--text)}.fx-top{flex:none}.fx-body{flex:1;min-height:0;overflow:auto;padding-bottom:16px}.fx-time{text-align:right;font-size:10px}.fx-account{padding:8px 0 4px;display:flex;justify-content:space-between;gap:4px;color:var(--text)}.fx-account-title{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.fx-summary{flex:0 1 auto;min-width:3em;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.fx-account-block{border-bottom:1px solid var(--border);padding-bottom:4px}.fx-auto{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-bottom:4px}.fx-line{display:flex;justify-content:space-between;gap:4px;min-height:16px}.fx-currency{border-top:1px dashed var(--border);padding:4px 0}.fx-currency>.fx-line:first-child{color:var(--text)}.fx-bar{position:relative;isolation:isolate}.fx-bar>i{position:absolute;right:0;top:0;height:16px;z-index:-1;opacity:.12}.fx-negative-bar{background:var(--error)}.fx-positive-bar{background:var(--positive,#16a34a)}.fx-negative,.fx-error{color:var(--error)}.fx-positive{color:var(--positive,#16a34a)}.fx-warning{color:var(--warning,#ca8a04)}.fx-busy{color:#3b82f6}.fx-state{font-size:11px;white-space:normal;overflow-wrap:anywhere}.fx-diagnostic{overflow-wrap:anywhere}.fx-settings{font-size:11px;border-top:1px dashed var(--border);padding-top:4px;margin-top:2px}.fx-settings input[type=number]{width:72px;text-align:right}.fx-settings fieldset{border:0;padding:0;margin:0 0 4px}.fx-actions{display:flex;justify-content:flex-end;gap:8px;margin:6px 0}.fx-settings .fx-error{white-space:normal}.fx-alerts{flex:none;max-width:min(1260px,100%);margin:0 auto}.fx-alert{padding:4px 8px;display:flex;align-items:baseline;gap:8px;white-space:normal;line-height:1.5;font-size:12px}.fx-alert>span{overflow-wrap:anywhere}.fx-alert>button{flex:none}.fx-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:3px;vertical-align:1px;background:currentColor}.fx-muted{color:var(--muted)}.error-details-trigger{display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0 0 0 3px;width:13px;height:13px;min-width:13px;border:1px solid currentColor;border-radius:50%;background:transparent;color:var(--pair-warning, #d89e43);font:inherit;font-size:10px;line-height:1;cursor:help;vertical-align:middle}.error-details-trigger[data-focus-visible]{outline:1px solid currentColor;outline-offset:2px}.error-details-popover{z-index:1000;width:min(420px,calc(100vw - 16px));max-height:min(420px,80vh);box-sizing:border-box;overflow:auto;padding:14px;border:1px solid var(--border, #454b56);border-radius:5px;background:var(--page, #171b22);color:var(--text, #ddd);box-shadow:0 6px 24px #0006;font-size:12px;line-height:1.6;user-select:text}.error-details-popover section{outline:none}.error-details-heading{display:flex;align-items:flex-start;gap:12px}.error-details-heading strong{flex:1;min-width:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.error-details-heading button{flex-shrink:0}.error-details-popover pre{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.error-details-item+.error-details-item{margin-top:10px}.error-details-context{margin-top:4px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.error-details-message,.error-details-notice{margin:7px 0;overflow-wrap:anywhere}.error-details-price{margin-top:5px;font-size:12px}.error-details-fresh,.error-details-missing{color:var(--muted)}.error-details-aging{color:var(--pair-warning, #d89e43)}.error-details-expired{color:var(--pair-error, #e25c5c)}.error-details-technical{margin-top:12px;padding-top:9px;border-top:1px solid var(--border, #454b56)}.error-details-technical summary{width:fit-content;color:var(--muted);cursor:pointer}.error-details-technical summary:focus-visible{outline:1px solid currentColor;outline-offset:2px}.trading-history{overflow:auto;flex:none;font-size:12px;line-height:16px;outline:none}.trade-blocks{display:flex;gap:32px;padding:16px 16px 0;min-width:max-content;color:var(--text)}.trade-block{flex:none}.trade-positive{color:var(--positive)}.trade-negative{color:var(--negative)}.trade-read-error{padding:4px 16px;white-space:normal}.trading-records{padding-top:16px}.record-tabs{flex-wrap:wrap;align-items:center}.trade-clear{display:inline-flex;align-items:center;gap:4px;margin-left:3ch;white-space:nowrap}.trade-date-range,.trade-report-actions{display:flex;align-items:center;gap:8px;margin-bottom:16px}.trade-date-range input[type=date]{width:100px}.trade-report-actions button{padding:0 8px}.trade-groups{display:flex;flex-direction:column;gap:4px;align-items:flex-start;margin-bottom:16px}.trade-groups label{white-space:normal;overflow-wrap:anywhere}.trading-records [role=alert]{white-space:normal}.trading-history:focus-visible{outline:1px dotted var(--text);outline-offset:-1px}.compact-select{display:inline-block;min-width:0;max-width:100%;height:1lh;font:inherit;line-height:inherit;vertical-align:top}.compact-select .compact-select-trigger{display:flex;align-items:center;gap:4px;width:100%;height:inherit;min-width:0;padding:0 4px;border:0;border-radius:0;background:var(--input);color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer}.compact-select-trigger[data-hovered]:not([data-disabled]),.compact-select-trigger[data-focus-visible]{outline:1px solid var(--control-focus);outline-offset:0}.compact-select .compact-select-trigger[data-disabled]{color:var(--disabled);cursor:default}.compact-select-content{display:flex;align-items:center;gap:inherit;width:100%;min-width:0}.compact-select-value{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-select-value[data-placeholder],.compact-select-hint{color:var(--muted)}.compact-select-option[data-focused] .compact-select-hint,.compact-select-value.retained-selection[data-placeholder]{color:inherit}.compact-select-arrow{flex:none;font-size:inherit;line-height:inherit}.compact-select-popover{z-index:120;min-width:min(var(--trigger-width),calc(100vw - 16px));max-width:calc(100vw - 16px);padding:0;border:0;border-radius:0;outline:1px solid var(--border);outline-offset:0;background:var(--input);color:var(--text);box-shadow:none;font:inherit;overflow:hidden}.compact-select-listbox{max-height:min(320px,var(--available-height, 320px));margin:0;padding:0;outline:none;overflow-y:auto;overflow-x:hidden;scrollbar-width:none}.compact-select-listbox::-webkit-scrollbar{display:none}.compact-select-section{margin:0;padding:0}.compact-select-group,.compact-select-option{height:20px;padding:0 4px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-select-group{color:var(--text);background:var(--control-group);font-weight:700;cursor:default}.compact-select-option{outline:none;cursor:pointer}.compact-select-option[data-selected]{font-weight:700}.compact-select-option[data-focused]{color:#fff;background:var(--control-focus)}.ticker-popover{width:max-content;min-width:min(max(var(--trigger-width),calc(32ch + 1.5rem)),calc(100vw - 16px))}.ticker-popover .compact-select-option[data-disabled]{color:var(--disabled);cursor:default}.pnl-result{min-width:0;max-width:100%;color:var(--muted);font-size:12px;line-height:16px}.pnl-card-row{display:flex;gap:16px;align-items:flex-start}.pnl-card-capture{padding:16px;margin:-16px;width:288px;flex:none;user-select:none;background:var(--page)}.pnl-card{--pnl-border:oklch(.274 .006 286.033);--pnl-highlight:oklch(.274 .006 286.033);width:256px;border:4px double var(--pnl-border);color:var(--muted)}.pnl-card-inner{width:100%;height:100%;background:var(--page)}.pnl-card-header,.pnl-card-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;white-space:nowrap}.pnl-card-header strong,.pnl-card-body strong{font-weight:600}.pnl-apr{margin-left:auto}.pnl-highlight{color:var(--pnl-highlight)}.pnl-card-body{padding:12px 16px;border-top:1px dashed var(--pnl-border);border-bottom:1px dashed var(--pnl-border);white-space:normal;overflow-wrap:anywhere}.pnl-value{float:right;white-space:nowrap}.pnl-card-body .pnl-reveal{color:#3f3f46;white-space:normal;text-align:left;overflow-wrap:anywhere;font:inherit}.pnl-card-body .pnl-reveal.pnl-highlight{color:var(--pnl-highlight)}.pnl-card-body .pnl-reveal:hover{text-decoration:none}.pnl-logos,.pnl-logos img{display:block;width:16px;height:16px;flex:none}.pnl-logos .pnl-logo-dark{display:none}.pnl-card-actions{display:flex;flex-direction:column;align-items:flex-start;gap:16px;color:var(--text)}.pnl-card-actions>button{padding:0 8px}.pnl-card-actions .compact-select{width:auto}.pnl-card-actions .compact-select-trigger{padding:0 4px}.pnl-card-actions [role]{max-width:160px;white-space:normal}.pnl-card[data-grade=SEEKER]{--pnl-border:oklch(.696 .17 162.48);--pnl-highlight:oklch(.596 .145 163.225)}.pnl-card[data-grade=MAGICIAN]{--pnl-border:oklch(.685 .169 237.323);--pnl-highlight:oklch(.588 .158 241.966)}.pnl-card[data-grade=MASTER]{--pnl-border:oklch(.606 .25 292.717);--pnl-highlight:oklch(.541 .281 293.009)}.pnl-card[data-grade=GODLIKE]{--pnl-border:oklch(.769 .188 70.08);--pnl-highlight:oklch(.666 .179 58.318)}.pnl-card[data-grade=LEGENDARY]{--pnl-border:oklch(.645 .246 16.439);--pnl-highlight:oklch(.586 .253 17.585)}.pnl-card[data-grade=SCAM]{border:0;padding:4px;background:conic-gradient(from 90deg,#f43f5e,#f59e0b,#10b981,#0ea5e9,#8b5cf6,#f43f5e)}.pnl-card[data-grade=SCAM] .pnl-card-body{border-color:currentColor}.pnl-card[data-grade=SCAM] .pnl-highlight{background:linear-gradient(90deg,#f43f5e,#f59e0b,#10b981,#0ea5e9,#8b5cf6);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}:root[data-theme=dark] .pnl-card{--pnl-border:oklch(.92 .004 286.32);--pnl-highlight:oklch(.92 .004 286.32)}:root[data-theme=dark] .pnl-card[data-grade=SEEKER]{--pnl-border:oklch(.696 .17 162.48);--pnl-highlight:oklch(.765 .177 163.223)}:root[data-theme=dark] .pnl-card[data-grade=MAGICIAN]{--pnl-border:oklch(.685 .169 237.323);--pnl-highlight:oklch(.746 .16 232.661)}:root[data-theme=dark] .pnl-card[data-grade=MASTER]{--pnl-border:oklch(.606 .25 292.717);--pnl-highlight:oklch(.702 .183 293.541)}:root[data-theme=dark] .pnl-card[data-grade=GODLIKE]{--pnl-border:oklch(.769 .188 70.08);--pnl-highlight:oklch(.828 .189 84.429)}:root[data-theme=dark] .pnl-card[data-grade=LEGENDARY]{--pnl-border:oklch(.645 .246 16.439);--pnl-highlight:oklch(.712 .194 13.428)}:root[data-theme=dark] .pnl-card-body .pnl-reveal:not(.pnl-highlight){color:#d4d4d8}:root[data-theme=dark] .pnl-logos .pnl-logo-light{display:none}:root[data-theme=dark] .pnl-logos .pnl-logo-dark{display:block}.pnl-details{width:fit-content;max-width:100%;margin-top:16px;color:var(--text)}.pnl-details-heading{display:block;margin-bottom:4px;font-weight:600}.pnl-details-scroll{max-width:100%;overflow-x:auto}.pnl-details-scroll:focus-visible{outline:1px dotted var(--text);outline-offset:-1px}.pnl-details-table{border-collapse:collapse;white-space:nowrap;font-variant-numeric:tabular-nums;width:100%}.pnl-details-table th,.pnl-details-table td{padding:3px 0 3px 16px;text-align:right;font-weight:400}.pnl-details-table th:first-child{padding-left:0;text-align:left;max-width:120px;overflow:hidden;text-overflow:ellipsis}.pnl-details-table thead{color:var(--muted)}.pnl-details-table thead th{border-bottom:1px solid var(--soft)}.pnl-details-table tfoot th,.pnl-details-table tfoot td{border-top:1px solid var(--soft)}.pnl-details-note{max-width:440px;margin:6px 0 0;white-space:normal;overflow-wrap:anywhere;color:var(--muted)}.pnl-other-assets{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.pnl-other-assets .pnl-details-note{margin:0 0 4px}.workspace-layout.funding-open{position:relative;min-width:calc(var(--workspace-min-width) + 416px)}.funding-panel{position:absolute;top:0;bottom:0;width:208px;padding:0 16px;min-height:560px;display:flex;flex-direction:column;font-size:12px;line-height:16px;font-weight:400;color:var(--muted)}.funding-payments{left:0}.funding-market{right:0}.funding-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;padding:16px 0;height:49px;min-height:49px;border-bottom:1px solid var(--border);color:var(--text);white-space:nowrap}.funding-refresh{margin-right:auto}.funding-close{margin-left:auto}.funding-total{display:flex;gap:4px}.funding-total>span{display:flex;flex-direction:column}.funding-status{min-height:16px;flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:3px;font-size:10px;color:var(--error);overflow-wrap:anywhere}.funding-list{min-height:0;flex:1;overflow:auto;scrollbar-width:none}.funding-list::-webkit-scrollbar{display:none}.funding-list:focus-visible{outline:1px solid var(--control-focus);outline-offset:-1px}.funding-entry-line{position:relative;isolation:isolate;height:16px;display:flex;justify-content:space-between;align-items:center;gap:4px;white-space:nowrap}.funding-entry time{color:var(--muted)}.funding-amount-bar{position:absolute;right:0;top:0;height:16px;background:var(--positive-soft);z-index:-1;pointer-events:none}.funding-market .funding-amount-bar{left:0;right:auto}.funding-negative .funding-amount-bar{background:var(--negative-soft)}.funding-positive{color:var(--positive)}.funding-negative{color:var(--negative)}.funding-empty{text-align:center;padding-top:16px;white-space:normal}.funding-references{flex:none;border-top:1px dashed var(--border);padding:16px 0;max-height:180px;overflow:auto}.funding-references>div{display:flex;justify-content:space-between;gap:4px;min-height:16px;white-space:nowrap}.funding-references>div>span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.funding-reference>span:last-child{flex:none;min-width:24px;text-align:right}.funding-prediction-value{min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:right}.funding-references>.funding-reference-price{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(24px,max-content);gap:0}.funding-reference-price>span:nth-child(2){color:var(--disabled);text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis}.connection-overlay{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:2px solid var(--error);border-top-width:5px;background:var(--page);color:var(--text);box-shadow:0 12px 48px #0004;overflow-y:auto;overflow-wrap:anywhere;white-space:normal;font-size:13px;line-height:1.7}.connection-overlay::backdrop{background:#0008}.connection-overlay h1{margin:0 0 16px;color:var(--error);font-size:18px;line-height:1.5;font-weight:600;outline:none}.connection-overlay h1 span{margin-right:4px}.connection-overlay p{margin:0 0 12px}.connection-overlay .connection-overlay-status{font-weight:600}.connection-overlay-countdown{display:block;font-variant-numeric:tabular-nums}.connection-overlay-actions{display:flex;justify-content:flex-end;margin-top:20px}.connection-overlay-actions button{min-height:32px;padding:4px 14px}@media(max-width:480px){.connection-overlay{padding:20px}.connection-overlay h1{font-size:17px}}.history-panel{position:fixed;z-index:20;left:50%;bottom:16px;transform:translate(-50%);width:calc(100% - 416px);min-width:1016px;max-width:calc(100vw - 24px);height:calc(50dvh - 16px);min-height:240px;max-height:calc(100dvh - 96px);border:1px solid var(--text);color:var(--text);background:var(--page);overflow:hidden}.history-chart{width:100%;height:100%}.history-chart:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.history-toolbar{position:absolute;z-index:2;inset:0 0 auto;height:28px;display:flex;align-items:center;gap:16px;padding:0 12px;font-size:12px;line-height:16px;white-space:nowrap;pointer-events:none}.history-toolbar .history-period{flex:0 0 auto;width:auto;pointer-events:auto}.history-period .compact-select-trigger{background:var(--page);padding:0;gap:2px}.history-period .compact-select-trigger:not(:focus-visible):not([data-focus-visible]){outline:none}.history-legends{min-width:0;display:flex;align-items:center;gap:16px;overflow:hidden}.history-legends>span{overflow:hidden;text-overflow:ellipsis;pointer-events:auto}.history-a{color:#448aff}.history-b{color:#ff9800}.history-status{color:var(--muted);font-size:10px;pointer-events:auto}.history-readout{position:absolute;z-index:2;top:28px;left:12px;max-width:calc(100% - 140px);display:flex;flex-wrap:wrap;gap:2px 12px;padding:2px 4px;font-size:11px;line-height:14px;white-space:normal;overflow-wrap:anywhere;background:color-mix(in srgb,var(--page) 85%,transparent);pointer-events:none}.history-toolbar .history-close{flex:0 0 16px;width:16px;margin-left:auto;pointer-events:auto;background:var(--page)}@media(max-width:1432px){.history-panel{width:1016px;min-width:0}}@media(max-width:1040px){.history-panel{width:calc(100vw - 24px)}.history-toolbar,.history-legends{gap:8px}.history-legends{flex:1}.history-legends>span{flex:1}.history-status{font-size:9px}}@media(max-width:540px){.history-toolbar{padding:0 8px;gap:6px;background:var(--page)}.history-legends{gap:6px}.history-status{width:24px;overflow:hidden;white-space:nowrap}}.history-legends>span{display:inline-flex;align-items:center;gap:4px}.history-status{flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pair-chain-settings{display:inline-flex;align-items:center;gap:8px;height:20px}.pair-chain-fields{display:flex;align-items:center;gap:8px;height:20px}.pair-chain-field .pair-input{position:relative;width:56px;padding:0 0 0 4px;text-overflow:ellipsis}.pair-chain-field>span{position:relative;margin-right:4px;margin-left:-12px;pointer-events:none;color:var(--muted)}.pair-chain-field>.pair-chain-gas-unit{margin-left:-28px}.pair-chain-field .pair-input:disabled+span{color:var(--disabled)}.pair-chain-fields>input[type=checkbox]{width:13px;height:13px}.pair-risk-cell{min-width:0;position:relative}.pair-risk-upper{position:absolute;left:0;top:-20px}.pair-leg-title-risk>.pair-instrument{max-width:696px}@media(width<1536px){.pair-leg-title-risk>.pair-instrument{max-width:592px}}.pair-average-native{display:block;min-height:20px}.pair-risk{display:block;width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pair-risk.pair-risk-ibkr-liquidity{width:auto;max-width:100%}.risk-amount-compact{display:none}@media(width<1536px){.risk-amount-full{display:none}.risk-amount-compact{display:inline}}.risk-high{color:#fb2c36}.risk-medium{color:oklch(.795 .184 86.047)}.risk-low{color:oklch(.723 .219 149.579)}.risk-ignore{color:#71717b}.pair-risk-average{display:none;width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pair-risk-average>.pair-account-field{padding-right:0}@media(max-width:1536px){.workspace-layout[data-modifier-active] .pair-risk,.workspace-layout[data-modifier-active] .pair-risk-label{display:none}.workspace-layout[data-modifier-active] .pair-risk-average{display:block}}@media(width<1536px){.pair-row .pair-leg-values{grid-template-columns:128px 160px 208px 104px minmax(0,1fr)}.pair-leg-values>.pair-average,.header-columns>.pair-average{display:none}.header-columns.market-columns{grid-template-columns:128px 160px 208px 104px minmax(0,1fr)}}.pair-leverage{display:inline-flex;align-items:center;gap:8px;max-width:100%;height:20px}.pair-leverage-select{flex:0 1 auto}.pair-leverage .compact-select-trigger{height:20px}.pair-leverage .compact-select-value{flex:0 1 auto}.pair-leverage-apply{flex:none;padding:0;width:12px}.pair-leverage-summary{padding:0;white-space:nowrap}.pair-leverage-stale .pair-leverage-summary{color:var(--pair-warning)}.pair-row{--pair-info: color-mix(in srgb, #2563eb 70%, var(--text));--pair-warning: color-mix(in srgb, #ca8a04 70%, var(--text));--pair-error: color-mix(in srgb, #dc2626 70%, var(--text));min-height:113px;padding:16px;border-bottom:1px dashed var(--border);box-sizing:border-box;color:var(--text);background:var(--page);font-size:12px;font-weight:400;line-height:20px}.pair-row:not(.pair-row-collapsed):hover{background:var(--row-hover)}.pair-main{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:start;gap:16px}.pair-data{min-width:0}.pair-leg-title{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:8px;min-height:20px}.pair-leg-values{display:grid;grid-template-columns:128px 160px 208px 104px 104px minmax(0,1fr);min-height:20px;white-space:nowrap;color:var(--muted)}.pair-prices{display:grid;grid-template-columns:104px 104px}.pair-prices-session-marker{position:relative}.pair-session-marker{position:absolute;right:0;top:-9px;font-size:9px;line-height:10px;color:var(--pair-warning);pointer-events:auto}.pair-prices-session-block .pair-session{grid-column:1 / span 2}.pair-session{color:var(--muted)}.pair-account-value{color:var(--text);overflow:hidden;text-overflow:ellipsis;padding-right:8px}.pair-warning{color:var(--pair-warning)}.pair-input.pair-input-lot-hint{color:var(--pair-warning);box-shadow:inset 0 0 0 1px var(--pair-warning)}.pair-muted{color:var(--muted)}.pair-controls{width:240px}.pair-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 20px 20px 16px;width:240px;gap:0;height:20px;align-items:center}.pair-row button,.pair-row input,.pair-row select{box-sizing:border-box;min-width:0;margin:0;border:0;border-radius:0;font:inherit;line-height:20px}.pair-row button{cursor:pointer}.pair-row button:disabled,.pair-row input:disabled,.pair-row select:disabled{cursor:default;color:var(--disabled)}.pair-row button:focus-visible,.pair-row input:focus-visible,.pair-row select:focus-visible{position:relative;z-index:1;outline:1px solid var(--pair-info);outline-offset:0}.workspace-scroll .pair-row :is(.pair-text-button,.pair-account-number):focus{outline:none}.workspace-scroll[data-focus-visible] .pair-row :is(.pair-text-button,.pair-account-number):focus{position:relative;z-index:1;outline:1px solid var(--pair-info);outline-offset:0}.pair-text-button{padding:0;color:inherit;background:transparent;text-align:left;height:20px}.pair-instrument{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pair-sequence{width:80px;height:20px;color:var(--text)}.pair-action,.pair-collapse{text-align:center;width:100%}.pair-size-fields{position:relative;display:grid;grid-template-columns:repeat(3,80px);height:20px}.pair-amount-hint{position:absolute;top:0;z-index:10;display:flex;align-items:center;height:20px;padding:0 4px;white-space:nowrap;pointer-events:none;outline:1px solid var(--control-focus);outline-offset:-1px;background:#fff;color:#3f3f46}:root[data-theme=dark] .pair-amount-hint{background:#000;color:#d4d4d8}.pair-amount-hint-size{right:240px}.pair-amount-hint-minA{right:160px}.pair-amount-hint-maxA{right:80px}.pair-input{width:100%;height:20px;padding:0 4px;background:var(--input);color:var(--text)}.pair-input::placeholder{color:color-mix(in oklab,currentColor 50%,transparent);opacity:1}.pair-input:disabled{opacity:1}.pair-row [data-save-disabled=true]:disabled,.pair-row .pair-save-disabled button:disabled,.pair-row[data-save-pending=true] .pair-chain-settings :disabled{color:var(--text)}.pair-position-field,.pair-threshold{display:flex;height:20px;min-width:0}.pair-position-field{box-sizing:border-box;border-left:1px solid var(--page)}.pair-size-fields>.pair-input{padding-right:0}.pair-position-field .pair-input,.pair-threshold .pair-input{flex:0 0 100%;width:100%;padding-right:0}.pair-position-field>span,.pair-threshold>span{position:relative;margin-right:4px;pointer-events:none;white-space:pre}.pair-position-field>span{margin-left:-20px;color:var(--muted)}.pair-threshold>span,.pair-position-field>.pair-suffix-amount{margin-left:-12px}.pair-threshold>span{color:var(--muted)}.pair-direction{display:grid;grid-template-columns:96px 64px 40px 40px;height:20px}.pair-spread{min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding-right:8px;white-space:nowrap}.pair-spread-value{min-width:0;flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis}.pair-spread-value-long{font-size:10px}.pair-spread-label{flex:0 0 40px;color:var(--muted)}.pair-run-button{width:40px;height:20px;padding:0;text-align:center;color:var(--text);background:var(--action)}.pair-validation{color:var(--pair-error)}.pair-validation{padding-top:4px;line-height:18px;white-space:normal}.pair-leg-executing{color:var(--pair-warning)}.pair-notice{padding-top:4px;line-height:18px;display:flex;align-items:flex-start;contain:inline-size}.pair-notice-text{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pair-notice-dismiss{flex:none;height:18px;line-height:18px;color:var(--text)}.pair-notice-warn .pair-notice-text{color:var(--pair-warning)}.pair-notice-error .pair-notice-text{color:var(--pair-error)}.pair-notice-info .pair-notice-text{color:var(--muted)}.pair-row-collapsed{display:flex;align-items:center;gap:16px;min-height:0}.pair-collapsed-leg{display:flex;flex:1;align-items:center;gap:12px;min-width:0;white-space:nowrap}.pair-collapsed-leg>.pair-instrument{flex:0 1 auto}.pair-collapsed-leg>.pair-account-field,.pair-collapsed-leg>.pair-funding-cell{flex-shrink:0;padding-right:0}.pair-collapsed-leg>.pair-funding-cell{color:var(--muted)}.pair-collapsed-risk{min-width:0;max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-layout .pair-row-collapsed .pair-collapsed-risk .pair-risk{display:inline;position:static;width:auto}.pair-collapsed-risk .pair-risk+.pair-risk{margin-left:8px}.pair-collapsed-risk .risk-amount-full{display:none}.pair-collapsed-risk .risk-amount-compact{display:inline}.pair-collapsed-expand,.pair-row-collapsed>.pair-drag-handle{flex:0 0 16px;text-align:center}.pair-collapsed-expand.pair-warning{color:var(--pair-warning)}.pair-row .pair-single-buy{background:color-mix(in srgb,#22c55e 18%,var(--page))}.pair-row .pair-single-sell{background:color-mix(in srgb,#ef4444 18%,var(--page))}.pair-row .pair-single-buy:disabled,.pair-row .pair-single-sell:disabled{opacity:.6}.pair-sort-arrows{display:flex;flex-direction:column;align-items:flex-end;height:20px}.pair-row .pair-sort-arrows button{width:20px;height:10px;line-height:10px;text-align:center}.pair-row .pair-drag-handle{cursor:grab;text-align:center;touch-action:none}.pair-row .pair-drag-handle:active{cursor:grabbing}.pair-sort-picked{outline:1px dashed var(--pair-info);outline-offset:-2px}.pair-drop-before{box-shadow:inset 0 2px var(--pair-info)}.pair-drop-after{box-shadow:inset 0 -2px var(--pair-info)}.sort-hint{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:90;max-width:calc(100vw - 32px);padding:6px 12px;border:1px solid var(--border);background:var(--page);color:var(--text);white-space:normal;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.quote-fresh,.quote-missing{color:var(--muted)}.quote-aging{color:var(--pair-warning)}.quote-expired{color:var(--pair-error)}.pair-account-field{display:flex;align-items:center;min-width:0;padding-right:8px;gap:2px}.pair-account-number{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.account-ready{color:var(--muted)}.account-stale{color:var(--pair-warning)}.account-loading,.account-unavailable{color:var(--muted)}.account-state-marker{flex:none;font-size:10px}.pair-funding-cell{display:flex;align-items:center;min-width:0;padding-right:5px}.pair-funding{overflow:hidden;text-overflow:ellipsis}.pair-row button.pair-funding-selected{color:oklch(.705 .213 47.604);text-decoration:none}.pair-row button.pair-funding-selected:hover:not(:disabled){text-decoration:none}@media(max-width:1432px){.pair-leg-values{grid-template-columns:128px 160px 208px 104px minmax(0,1fr)}.pair-leg-values>.pair-average{display:none}}.pair-input:invalid,.pair-input:disabled[data-save-disabled=true][data-native-invalid]{background:var(--negative-soft)}.pair-row .pair-input:is(:hover,:focus):not(:disabled){position:relative;outline:1px solid var(--control-focus);outline-offset:0;z-index:10}.pair-input::-webkit-outer-spin-button,.pair-input::-webkit-inner-spin-button{appearance:none;margin:0}.pair-input:hover::-webkit-outer-spin-button,.pair-input:hover::-webkit-inner-spin-button{appearance:textfield!important;margin:unset!important}.dex-address-trigger{color:inherit;text-decoration:inherit}.dex-address-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;background:#00000008}.dex-address-modal{width:640px;max-width:100%;max-height:calc(100dvh - 32px);overflow:auto;background:var(--page);color:var(--text);border:1px solid var(--text)}.dex-address-dialog{padding:16px;outline:none;white-space:normal;line-height:20px}.dex-address-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.dex-address-heading h2{margin:0;font:inherit;font-weight:600;overflow-wrap:anywhere}.dex-address-heading>button{flex:none}.dex-address-dialog p{margin:0;overflow-wrap:anywhere}.dex-address-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.dex-address-table th{font-weight:600}.dex-address-table th:first-child{width:90px}.dex-address-table th,.dex-address-table td{padding:4px 0;vertical-align:top}.dex-address-table td{padding-left:8px}.dex-address-table thead th:not(:first-child){padding-left:8px}.dex-address-table .dex-address-valuation{width:124px;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dex-address-dialog .dex-address-note{margin-top:12px}.dex-address-value{display:block;overflow-wrap:anywhere;user-select:text;cursor:text}.dex-address-value:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:480px){.dex-address-table th:first-child{width:64px}.dex-address-table .dex-address-valuation{width:88px}}.accounts-panel{overflow-wrap:anywhere}.account-add{display:flex;align-items:center;gap:8px;margin-bottom:16px}.account-add>input{width:0;flex:1}.account-add>.compact-select{width:146px;flex-shrink:0}.account-add>button{flex:none}.accounts-panel p{margin:8px 0;line-height:16px}.account-editor{margin:0 0 20px}.account-heading{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.account-heading-name{min-width:0;overflow-wrap:anywhere}.account-heading>a,.account-heading>button{flex:none}.account-heading .account-toggle{margin-left:auto}.account-field{display:flex;align-items:center;gap:4px;margin:4px 0}.account-field>span{flex:none}.account-field>input,.account-field>.compact-select,.account-field>textarea{flex:1;width:0;min-width:0}.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:8px}.account-updated,.account-scope{font-size:11px;color:var(--muted)}.account-delete,.account-reconcile{margin-top:8px}.account-empty{padding:8px 0}.account-reconcile>button{white-space:normal;text-align:left}.account-scope{margin-top:16px!important}.exchange-accounts .account-editor{margin-bottom:16px}.exchange-accounts .account-heading{min-height:16px;align-items:center;margin-bottom:0}.exchange-accounts .account-heading-name{font-weight:700}.exchange-accounts .account-heading>a{text-decoration:underline}.exchange-accounts .account-field{min-height:16px;gap:8px;margin:0}.exchange-accounts .account-api-field{display:block}.account-api-field>span{display:block}.account-api-field>textarea{display:block;width:100%;field-sizing:content;font:inherit;line-height:16px;color:var(--text);border:0;border-radius:0;padding:0 4px;background:var(--input);resize:vertical;min-height:16px;white-space:pre;overflow-x:auto}.account-api-field>textarea::placeholder{color:var(--muted)}.account-api-field>textarea:hover:not(:disabled){outline:1px solid var(--control-focus)}.account-api-field>textarea:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.account-api-field>textarea:disabled{cursor:not-allowed;color:var(--muted)}.account-interval{display:block;height:16px;white-space:nowrap}.account-interval>input{width:64px;padding-left:4px}.account-interval>span{position:relative;margin-left:-20px;margin-right:4px;pointer-events:none}.account-options{display:flex;flex-direction:column;align-items:flex-start;gap:0}.account-options .check-label{height:16px;gap:8px}.exchange-accounts .account-actions{min-height:16px;gap:8px;margin-top:0}.exchange-accounts .account-save{padding:0 8px;min-height:16px}.account-check-result{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-valuation{color:#22c55e;text-decoration:underline}.account-check-result:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.exchange-accounts .account-reconcile{display:flex;gap:8px}.settings-panel:has(.exchange-accounts){grid-template-columns:minmax(232px,calc(50% - 277px)) 392px minmax(392px,1fr);scrollbar-width:none}.settings-panel:has(.exchange-accounts)::-webkit-scrollbar{display:none}.settings-panel:has(.exchange-accounts)>.settings-personal{border-right:0}.settings-panel:has(.exchange-accounts)>.settings-connections{border-left:1px solid var(--border)}.account-ping{color:#eab308}.account-heading>.account-check-result{flex:none}.account-quote-settings{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}.account-quote-settings>.check-label{height:16px;gap:4px}.registry-panel{position:relative;min-width:0}.registry-clear{position:absolute;top:-31px;right:0;color:var(--negative, #c86464)}.registry-add{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.chain-editor{margin:0 0 16px}.registry-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.chain-editor textarea{display:block;width:100%;resize:vertical;min-height:64px;padding:0 3px;border:0;font:inherit;line-height:16px;border-radius:0;background:var(--input);color:inherit}.chain-parameters{display:grid;grid-template-columns:1fr 1fr}.chain-parameters label{white-space:nowrap}.chain-parameters input:not([type=checkbox]){width:44px;padding:0 3px}.chain-quotes{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:2px 0}.chain-quotes label{display:inline-flex;align-items:center;gap:3px}.exchange-quote-settings{margin-bottom:14px;overflow-wrap:anywhere}.registry-message{margin-left:6px;overflow-wrap:anywhere}.token-toolbar{display:flex;gap:8px;margin-bottom:14px}.token-entry{margin-bottom:14px}.token-address{overflow-wrap:anywhere;user-select:all}.registry-panel p{overflow-wrap:anywhere}.settings-panel:has(.registry-panel){grid-template-columns:minmax(232px,calc(50% - 277px)) 392px minmax(392px,1fr);scrollbar-width:none}.settings-panel:has(.registry-panel)::-webkit-scrollbar{display:none}.settings-panel:has(.registry-panel)>.settings-personal{border-right:0}.settings-panel:has(.registry-panel)>.settings-connections{border-left:1px solid var(--border)}.chain-editor textarea:hover:not(:disabled){outline:1px solid var(--control-focus)}.chain-editor textarea:focus-visible{outline:2px solid var(--control-focus);outline-offset:2px}.chain-editor textarea:disabled{color:var(--muted);cursor:not-allowed}.compact-select-option[data-disabled]{color:var(--muted);cursor:not-allowed}.chain-rpc-errors{margin:4px 0 0;padding:0;list-style:none;overflow-wrap:anywhere}.notification-table{border-collapse:separate;border-spacing:8px 4px;margin:0 -8px}.notification-table th{font-weight:400;width:40px;text-align:start}.notification-table th:last-child{width:32px}.notification-table td{padding:0}.notification-test{padding:0 8px}.notification-link{display:inline;text-decoration:underline}.settings-narrow .notification-link{display:inline}.notification-label{display:block}.notification-input{display:block;width:100%;margin-bottom:4px}.notification-hint{font-size:11px;margin:0 0 8px}.settings-narrow p.notification-hint{margin-bottom:8px}.notification-delivery{overflow-wrap:anywhere;margin-top:4px}.notification-settings .error-text{overflow-wrap:anywhere}.notification-settings{margin-bottom:16px}.update-table{border-collapse:separate;border-spacing:8px 4px;margin:0 -8px;width:calc(100% + 16px);table-layout:auto}.update-table th{font-weight:400;text-align:start;color:var(--muted);white-space:nowrap}.update-table td{padding:0;white-space:normal;vertical-align:top}.update-table td.update-version{overflow-wrap:anywhere}.update-table td:last-child{width:1%}.update-table button{padding:0 8px}.update-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px;white-space:nowrap}.update-available{color:#2563eb}.update-check{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin:8px 0}.update-check>button:not(.text-button){padding:0 8px}.update-panel p{margin:8px 0;white-space:normal;overflow-wrap:anywhere}.update-marker{flex:none;color:#2563eb}.header-actions>.header-version{min-width:0;overflow:hidden;text-overflow:ellipsis}.header-actions:has(>.update-dot){position:relative}.header-actions>.update-dot{position:absolute;right:-10px;top:-7px;font-size:8px;line-height:8px}.settings-connections>.settings-tabs{flex-wrap:wrap;row-gap:4px}.header-actions>.update-dot-inline{flex:none;font-size:8px;line-height:16px;margin-left:-8px}.header-actions:has(>.update-dot-inline)>.header-version{flex:0 1 auto}.workspace-write-feedback{position:fixed;right:16px;bottom:16px;z-index:90;max-width:min(620px,calc(100vw - 32px));padding:4px 8px;color:var(--text);background:var(--page);border:1px solid var(--border);font-size:12px;line-height:20px;overflow-wrap:anywhere}.workspace-write-feedback button{margin-left:8px}.workspace-scroll[data-save-pending] .header-columns button:disabled{color:var(--text);background:transparent}.vnc-page{height:100dvh;display:flex;flex-direction:column;min-height:0}.vnc-bar{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:4px 8px;border-bottom:1px solid var(--border);white-space:normal;overflow-wrap:anywhere}.vnc-password{display:flex;align-items:center;gap:8px}.vnc-password input{width:160px;padding:0 4px}.vnc-password button{padding:0 8px}.vnc-license{margin-left:auto}.vnc-screen{flex:1;min-height:0;overflow:hidden}/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.start-1{inset-inline-start:calc(var(--spacing) * 1)}.start-2{inset-inline-start:calc(var(--spacing) * 2)}.order-1{order:1}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-1{margin:var(--spacing)}.m-2{margin:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.rounded{border-radius:.25rem}.lowercase{text-transform:lowercase}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@font-face{font-family:Fira Code VF;src:url(/fonts/FiraCode-VF.woff2)format("woff2");font-style:normal;font-weight:300 700;font-display:swap}:root{font-synthesis:none;color:#000;--page:#fff;--text:#000;--muted:oklch(44.2% .017 285.786);--disabled:oklch(70.5% .015 286.067);--input:oklch(92% .004 286.32);--control-group:oklch(87.1% .006 286.286);--action:oklch(92.9% .013 255.508);--border:oklch(55.2% .016 285.938);--soft:oklch(96.7% .001 286.375);--row-hover:oklch(98.5% 0 0);--positive:oklch(72.3% .219 149.579);--negative:oklch(63.7% .237 25.331);--positive-soft:oklch(96.2% .044 156.743);--negative-soft:oklch(93.6% .032 17.717);--error:#b91c1c;--control-focus:oklch(62.3% .214 259.815);color-scheme:light;background:#fff;font-family:Fira Code VF,Noto Sans Mono CJK SC,Noto Sans Mono CJK TC,Noto Sans,Cascadia Code PL,Lucida Console,Consolas,system-ui,monospace;font-size:12px;font-weight:400;line-height:16px}:root[data-theme=dark]{color-scheme:dark;--page:#000;--text:#fff;--muted:oklch(70.5% .015 286.067);--disabled:oklch(44.2% .017 285.786);--input:oklch(27.4% .006 286.033);--control-group:oklch(37% .013 285.805);--action:oklch(27.9% .041 260.031);--border:oklch(55.2% .016 285.938);--soft:oklch(21% .006 285.885);--row-hover:oklch(14.1% .005 285.823);--positive-soft:oklch(26.6% .065 152.934);--negative-soft:oklch(25.8% .092 26.042);--error:#fca5a5;color:var(--text);background:var(--page)}*{box-sizing:border-box}body{background:var(--page);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input,select{font:inherit;line-height:inherit;color:inherit;border:0;border-radius:0;min-width:0;padding:0}button{cursor:pointer;background:var(--input);white-space:nowrap;padding:0 4px}input,select{background:var(--input);height:16px;padding:0 4px}input::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){input::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}input::placeholder{opacity:1}select{cursor:pointer}input[type=checkbox]{appearance:auto;accent-color:#3b82f6;cursor:pointer;flex-shrink:0;width:13px;height:13px;margin:0;padding:0}button:not(.text-button,.pair-text-button):hover:not(:disabled),input:not([type=checkbox]):hover:not(:disabled){outline:1px solid var(--control-focus);outline-offset:0}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline-offset:2px;z-index:2;outline:2px solid #2563eb;position:relative}button:disabled,input:disabled,select:disabled{cursor:not-allowed;color:var(--disabled)}button:disabled{background:var(--soft)}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}strong,b{font-weight:600}p{margin:0 0 16px}button.text-button{background:0 0;padding:0}button:is(.text-button,.pair-text-button):hover:not(:disabled){text-decoration:underline}.muted{color:var(--muted)}.warning{color:#a16207}.error-text{color:var(--error)}.wrap-text{white-space:normal}.check-label{white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.workspace-scroll{--workspace-min-width:1016px;outline:none;flex:1;max-width:100%;min-height:0;overflow:auto}.workspace{width:calc(100% - 416px);min-width:var(--workspace-min-width);white-space:nowrap;flex-direction:column;height:100%;min-height:560px;margin:0 auto;display:flex}.workspace-header{border-bottom:1px solid var(--border);align-items:flex-start;gap:16px;height:49px;min-height:49px;padding:16px;display:flex}.market-columns{flex:1;grid-template-columns:128px 160px 208px 104px 104px minmax(0,1fr);min-width:0;display:grid}.header-actions{flex:none;align-items:center;gap:12px;width:240px;height:16px;display:flex}.header-actions>input{flex:1;width:0}.header-actions>button:not(.text-button){padding:0 8px}.settings-button{margin-left:auto}.header-version{flex:1}.pair-list{scrollbar-width:none;outline:none;flex:1;min-height:150px;overflow:hidden auto}.pair-list::-webkit-scrollbar{display:none}.pair-list:not([data-modifier-active])[data-focus-visible]:focus{outline:1px dotted var(--text);outline-offset:-1px}.pair-list[data-modifier-active]{outline-offset:-1px;outline:1px solid #2563eb}.pair-list[data-modifier-active][data-focus-visible]:focus{outline-offset:-3px;outline-width:3px;outline-style:double}.workspace-empty{text-align:center;color:var(--muted);padding:16px}.workspace-notice{text-align:center;white-space:normal;padding:4px 16px;font-size:11px}.composer{border-top:1px solid var(--border);flex:none;padding:16px;line-height:16px;position:relative}.composer-advanced{justify-content:flex-end;gap:16px;margin-bottom:8px;display:flex}.composer-params{align-items:center;gap:8px;display:flex}.composer-params>input{width:80px}.composer-params>input:first-child{width:64px}.composer-params label{background:0 0;gap:0;display:flex}.composer-params label input{width:48px}.composer-params label{font-size:12px}.composer-params .compact-select{width:56px}.composer-main{align-items:center;gap:8px;display:flex}.symbol-search{width:100px}.ticker-field{align-items:center;gap:2px;min-width:0;display:flex}.ticker-field .compact-select{width:216px;max-width:216px}.quantity-ratio{align-items:center;gap:2px;display:flex}.quantity-ratio input{width:48px}.composer-main>.compact-select{width:80px}.add-button{min-width:75px;margin-left:auto}.composer-hint{white-space:normal;color:var(--muted);font-size:11px;position:absolute;bottom:calc(100% + 3px);left:16px;right:16px}.pnl-panel{border-top:1px dashed var(--border);min-height:112px;color:var(--muted)}.no-data{text-align:center;padding:16px}.toast{border:1px solid var(--border);background:var(--page);z-index:100;white-space:normal;gap:16px;max-width:calc(100vw - 24px);padding:10px 14px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 2px 12px #0001}.toast button{align-self:flex-start;margin-left:auto}.settings-panel{flex:1;grid-template-columns:32% 26% 42%;align-items:stretch;min-height:240px;display:grid;overflow-y:auto}.settings-personal,.settings-connections,.settings-records{border-right:1px solid var(--border);white-space:normal;min-width:0;padding:16px}.settings-personal{justify-content:flex-end;display:flex}.settings-narrow{width:200px}.settings-narrow>strong{display:block}.settings-narrow p{margin-bottom:16px}.settings-narrow a,.settings-narrow>span{display:block}.settings-heading{justify-content:space-between;display:flex}.setting-line{white-space:nowrap;align-items:center;min-height:16px;display:flex}.setting-line .compact-select{width:auto}.setting-line input:not([type=checkbox]){width:58px}.settings-save{margin:5px 0}.settings-link-heading{margin-top:16px}.settings-tabs{white-space:nowrap;gap:0;margin-bottom:16px;display:flex}.settings-tabs>span{white-space:pre}.settings-tabs button[aria-pressed=true]{font-weight:700}.connection-heading{justify-content:space-between;margin-top:16px;display:flex}.credential-placeholder label{white-space:nowrap;display:flex}.credential-placeholder input{flex:1;width:0}.credential-placeholder p{margin-top:8px}.settings-records{border-right:0}.settings-no-data{text-align:center;color:var(--muted);margin-top:50px}dialog{color:var(--text);background:var(--page);border:1px solid var(--text);padding:0}dialog::backdrop{background:#00000008}.info-dialog{width:500px;max-width:calc(100vw - 32px);margin:auto;padding:16px;line-height:20px}.info-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.info-dialog p{white-space:normal}.info-dialog p:last-child{margin-bottom:0}.dialog-actions{justify-content:flex-end;gap:12px;display:flex}.dialog-actions button{padding:3px 10px}@media(max-width:1432px){.market-columns{grid-template-columns:128px 160px 208px 104px minmax(0,1fr)}.header-columns>.pair-average{display:none}.composer-advanced{gap:8px}.composer-params{gap:4px}.composer-params>input,.composer-params>input:first-child{width:56px}.ticker-field .compact-select{width:155px}.composer-main{gap:5px}.symbol-search{width:90px}.quantity-ratio input{width:35px}.settings-panel{grid-template-columns:27% 33% 40%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.workspace-scroll[data-focus-visible]:focus{outline:2px dotted var(--text);outline-offset:-2px}.workspace-layout{height:100%;min-width:var(--workspace-min-width)}.connection-banner{overflow-wrap:anywhere;max-width:1260px;margin:6px auto;padding:4px 8px;font-size:12px;line-height:1.5}.connection-banner button{margin-left:8px}#root:has(.workspace-scroll){flex-direction:column;height:100dvh;min-height:0;display:flex}.connection-banner{flex:none;max-width:min(1260px,100%)}.access-gate{white-space:normal;box-sizing:border-box;place-items:center;width:100%;min-height:100dvh;margin:0;padding:24px;font-size:13px;display:grid}.access-gate>form,.access-gate>section{border:1px solid var(--border);box-sizing:border-box;gap:14px;width:min(100%,440px);min-width:0;padding:24px;display:grid}.access-gate h1{margin:0;font-size:18px;line-height:1.4}.access-gate label{gap:6px;margin:0;display:grid}.access-gate input{box-sizing:border-box;width:100%;min-width:0;min-height:30px;padding:8px}.access-gate button{justify-self:start;min-height:28px}.access-gate p{overflow-wrap:anywhere;margin:0;line-height:1.55}@media(max-width:480px){.access-gate,.access-gate>form,.access-gate>section{padding:16px}}.security-panel{overflow-wrap:anywhere}.security-panel p{margin:9px 0;line-height:1.5}.security-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.credential-list{margin:10px 0;padding:0;list-style:none}.credential-list li{border-bottom:1px solid var(--border);flex-direction:column;gap:3px;padding:8px 0;display:flex}.credential-list li>button{align-self:flex-start}.credential-list li>span{color:var(--muted);font-size:11px}.security-form{margin-top:16px}.security-form label{gap:4px;margin:9px 0;display:grid}.security-form input{width:100%;min-width:0}.security-form .compact-select{width:100%}.security-form .security-actions{margin-top:8px}.composer-advanced:lang(zh-CN){flex-wrap:wrap}.composer-params>input.composer-boundary:lang(zh-CN){flex:none;width:80px}.general-settings .setting-line{white-space:normal;gap:3px}.general-settings input{flex-shrink:0}.general-settings .warning,.general-settings .error-text{overflow-wrap:anywhere}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.language-select{display:flex;justify-content:flex-end;margin-bottom:8px}.language-select .compact-select{min-width:96px}
