:root{color-scheme:dark;--bg:#0b0e13;--panel:#11151c;--panel2:#151a22;--line:#252b35;--text:#e7ebf2;--muted:#737f91;--mint:#56e0b0;--mint-dim:#14392f;--amber:#d9b26b;--red:#ed7b86;--sans:'Golos Text',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,monospace}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:13px;font-weight:400}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:4px}input:focus{outline:none;border-color:var(--mint)}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{transition:background .15s,color .15s,border-color .15s,opacity .15s}::selection{background:#25664f;color:white}[hidden]{display:none!important}.rail{width:76px;position:fixed;inset:0 auto 0 0;background:#0f1319;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;z-index:5}.brand-mark{display:flex;width:36px;height:38px;color:var(--mint);margin-top:22px}.brand-mark svg{width:36px;height:36px;stroke:none}.rail-divider{width:28px;height:1px;background:var(--line);margin:23px 0 18px}.rail-btn{width:44px;height:44px;border-radius:9px;margin:6px 0;display:grid;place-items:center;color:#758195}.rail-btn.selected{background:#17332c;color:var(--mint)}.rail-btn:hover{background:#1d2630;color:#e4e9f0}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;padding-bottom:20px}.avatar{border:1px solid #35404e;color:#9caabd;background:#1b232d;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:10px;font-weight:600;margin-top:17px}.shell{margin-left:76px}.topbar{height:78px;padding:0 32px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:21px;font-weight:650;letter-spacing:-1px}.wordmark span{font-weight:400;color:#a9b6c7}.wordmark i{font-style:normal;margin:0 18px;color:#354052;font-weight:400}.wordmark small{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:500}.top-right{display:flex;align-items:center;gap:22px}.clock{color:#8a96a8;font:11px var(--mono)}.environment{display:flex;align-items:center;gap:8px;font-size:11px;border:1px solid #383329;border-radius:6px;padding:8px 10px;background:#201e19;color:#d6b77e}.environment svg{width:13px;height:13px;margin-left:3px}.version{font:10px var(--mono);color:#626f81}.dot{display:inline-block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#647083}.amber{background:var(--amber)}.mint-dot{background:var(--mint)}main{max-width:1600px;padding:31px 32px 75px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{color:#8c9aab;font-size:9px;letter-spacing:1.7px;font-family:var(--mono);display:flex;align-items:center;gap:7px}.tiny-line{width:13px;height:2px;background:var(--mint)}h1{font-weight:550;font-size:29px;letter-spacing:-1px;margin:10px 0 9px}.heading-dot{color:var(--mint)}.page-heading p{color:#8a96a8;font-size:12px;margin:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 17px;border-radius:7px;font-size:12px;font-weight:500;white-space:nowrap}.secondary{border:1px solid #333b47;background:#151b23;color:#cbd3df}.secondary:hover{border-color:#657489;background:#1a222d}.secondary svg{width:16px;height:16px;color:#93a2b7}.count{font:10px var(--mono);color:#92a0b2;border-left:1px solid #38414e;padding-left:11px;margin-left:4px}.workspace{border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}.exchange-bar{display:flex;align-items:stretch;border-bottom:1px solid var(--line);padding:0 20px;min-height:63px;gap:4px}.exchange{display:flex;align-items:center;gap:9px;padding:0 20px;color:#8793a5;position:relative;font-size:12px}.exchange.active{color:var(--text);background:linear-gradient(0deg,#19272050,transparent)}.exchange.active:after{content:'';position:absolute;bottom:-1px;left:15px;right:15px;background:var(--mint);height:2px}.exchange:hover{color:#e7ebf2;background:#1b222c}.ex-logo{display:block;width:24px;height:24px;object-fit:contain;flex-shrink:0}.connection-dot{width:4px;height:4px;background:#4d5869;border-radius:50%;margin-left:8px}.connection-dot.connected{background:var(--mint)}.scan-form{padding:24px;display:grid;grid-template-columns:1.05fr 1.05fr 1fr 1fr;gap:26px;align-items:start}.field label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#b8c1cf;margin-bottom:9px}.field label span{font:8px var(--mono);letter-spacing:.6px;color:#67758a}.input-wrap{display:flex;align-items:center;height:47px;background:#0c1016;border:1px solid #303948;border-radius:6px;padding:0 12px;transition:border-color .2s}.input-wrap:focus-within{border-color:var(--mint);box-shadow:0 0 0 2px #56e0b00a}.input-wrap input{background:none;border:0;border-radius:0;padding:0;color:var(--text);font:16px var(--mono);min-width:0;width:100%;height:100%}.input-wrap input:disabled{opacity:.6}.input-wrap button{border:1px solid #37414d;background:#1b222c;border-radius:4px;width:25px;height:24px;color:#9eacbf;font:16px var(--mono);flex-shrink:0}.input-wrap button:hover{color:var(--mint);border-color:var(--mint)}.token-icon{width:23px;height:23px;border-radius:50%;background:#263d55;color:#afd4f8;border:1px solid #446482;display:grid;place-items:center;font-size:12px;font-weight:600;flex-shrink:0;margin-right:10px}.field small,.threshold-info small{display:block;margin-top:8px;font-size:9px;color:var(--muted)}.input-unit{font:10px var(--mono);color:#7e8a9d;padding-left:5px}.threshold-info{padding-top:0}.threshold-info>span{font-size:11px;color:#9daabc;display:flex;align-items:center;gap:7px}.info-btn{display:grid;place-items:center;font:9px var(--mono);border:1px solid #4a5565;border-radius:50%;width:12px;height:12px;padding:0;color:#8390a4}.threshold-info strong{font:19px var(--mono);display:block;margin-top:20px;color:var(--mint);letter-spacing:-.4px}.threshold-info small{margin-top:13px}.scan-control{padding-top:23px}.start-button{width:100%;height:47px;background:var(--mint);color:#09281c;font-weight:600;font-size:13px;border:1px solid #70ecc2;box-shadow:0 3px 18px #56e0b00a}.start-button:hover{background:#78e9c1}.start-button svg{width:15px;height:15px;fill:#093220;stroke-width:1}.start-button.running{color:#ffa5ac;background:#44242c;border-color:#7b3d48;box-shadow:none}.start-button.running svg{fill:#ffa5ac}.scan-control>span{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:9px;color:#8390a1;font-size:9px}.settings-bar{background:#131a21;border-top:1px solid #202833;padding:11px 24px;display:flex;justify-content:space-between;align-items:center;color:#8896a8;font-size:9px}.settings-bar>div{display:flex;align-items:center;gap:10px}.mini-shield{display:flex;align-items:center}.mini-shield svg{color:var(--mint);width:13px;height:13px}.settings-separator{color:#3e4958;margin:0 2px}.settings-bar button{display:flex;gap:7px;align-items:center;color:#a8b5c7;font-size:9px}.settings-bar button svg{width:12px;height:12px}.advanced-settings{padding:16px 24px;display:flex;gap:20px;border-top:1px solid var(--line);align-items:center}.advanced-settings label{font-size:10px;color:#99a6b8;min-width:170px}.advanced-settings input{background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:8px 10px;font:12px var(--mono);width:100%;display:block;margin-top:7px;color:white}.advanced-settings p{font-size:10px;color:var(--muted);line-height:1.7;max-width:400px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0;gap:17px}.metric{border:1px solid var(--line);background:linear-gradient(105deg,#141a22,#11151b);border-radius:8px;padding:17px 20px 18px;min-width:0}.metric-label{color:#8a97a9;font-size:0.8125rem;display:flex;align-items:center;gap:8px;margin-bottom:12px}.metric-label svg{width:14px;height:14px;color:#6c7a8e}.metric>div{display:flex;align-items:baseline;gap:8px}.metric strong{font:26px var(--mono);font-weight:450;letter-spacing:-1px}.metric>div>span:not(.metric-note){font:10px var(--mono);color:#7d8b9d}.metric-note{font-size:9px;color:#68778b;margin-left:auto;white-space:nowrap}.mint{color:var(--mint)!important}.estimate-label{font:7px var(--mono);letter-spacing:.4px;color:#677b8b;padding:2px 4px;border:1px solid #2b3744;border-radius:3px;margin-left:auto}.trading-grid{display:grid;grid-template-columns:1fr 1.06fr;gap:20px;align-items:stretch}.panel{border:1px solid var(--line);border-radius:9px;background:var(--panel);overflow:hidden;min-width:0}.panel-header{height:60px;display:flex;align-items:center;padding:0 22px;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}h2{font-size:13px;font-weight:500;margin:0}.panel-header h2{display:flex;align-items:center;gap:12px}.panel-header h2>span:not(.number-badge){font:10px var(--mono);color:#8190a4}.data-status{display:flex;align-items:center;gap:6px;font-size:9px;color:#8995a7}.data-status .dot{width:5px;height:5px}.book-labels,.book-row{display:grid;grid-template-columns:1.1fr 1fr 1.1fr .8fr;align-items:center;gap:8px;text-align:right;padding:0 22px}.book-labels span:first-child,.book-row span:first-child{text-align:left}.book-labels{height:30px;color:#64738a;font-size:9px}.best-price{display:flex;align-items:center;gap:8px;padding:10px 22px 11px;background:#56e0b006;border-top:1px solid #293d34;border-bottom:1px solid #293d34;margin-top:3px}.best-price>span:first-child{font:23px var(--mono);color:var(--mint);letter-spacing:-.8px}.best-price svg{height:15px;width:15px;color:var(--mint)}.best-price>span:nth-of-type(2){font:9px var(--mono);color:var(--mint)}.best-price small{font-size:8px;color:#6b807b;margin-left:auto;max-width:65px;line-height:1.5}.book-rows{padding:7px 0}.book-row{position:relative;font:11px var(--mono);height:32px;color:#b4c0ce;isolation:isolate}.book-row:before{content:'';position:absolute;inset:2px 0 2px auto;background:#213d3159;width:var(--depth,0%);z-index:-1}.book-row .price{color:#5fd5ad}.book-row.below .price{color:#7c8a9d}.book-row.below:before{background:#27303e40}.book-row .change{font-size:9px;color:#5dceaa}.book-row.below .change{color:#7d8a9d}.threshold-row{border-top:1px dashed #675d36;border-bottom:1px dashed #675d3622;color:#c5ab6d;background:#29231540;display:flex;align-items:center;justify-content:space-between;padding:6px 22px;margin:3px 0;font-size:9px}.threshold-row strong{font:9px var(--mono);font-weight:400}.liquidity-summary{display:flex;align-items:center;justify-content:space-between;margin:5px 21px 0;padding:12px 0;border-top:1px solid #27322e;font-size:10px;color:#9aa99f}.liquidity-summary>span{display:flex;align-items:center;gap:7px}.liquidity-summary strong{font:11px var(--mono);color:var(--mint);font-weight:400}.liquidity-summary .dot{width:4px;height:4px}.fills-panel{display:flex;flex-direction:column}.number-badge{font:9px var(--mono);background:#26303b;color:#aab8c9;border:1px solid #34404e;border-radius:4px;padding:2px 6px}.icon-button{display:grid;place-items:center;color:#78869a;width:28px;height:28px;border-radius:5px}.icon-button:hover{background:#222d38;color:white}.icon-button svg{width:15px;height:15px}.fills-labels,.fill-row{display:grid;grid-template-columns:1.1fr .9fr .8fr .9fr;gap:7px;padding:0 22px;align-items:center;text-align:right}.fills-labels span:first-child,.fill-row>div:first-child{text-align:left}.fills-labels{height:44px;border-bottom:1px solid #202832;color:#66758a;font-size:9px}.fill-rows{min-height:337px;max-height:445px;overflow:auto;flex:1}.fills-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:337px;padding:35px 20px}.empty-illustration{display:flex;align-items:center;gap:22px;margin-bottom:20px;color:#506579}.empty-illustration svg{width:55px;height:55px;stroke-width:1;fill:#131d25}.empty-illustration circle{fill:#1c322a;stroke:#598d72}.empty-illustration svg path:last-child{stroke:#74c5a1;stroke-width:1.5}.empty-line{width:35px;height:1px;background:linear-gradient(90deg,transparent,#34424e)}.empty-line:last-child{transform:rotate(180deg)}h3{font-size:13px;font-weight:450;margin:0 0 10px;color:#becad8}.fills-empty p{font-size:10px;line-height:1.9;text-align:center;color:#6e7e93;margin:0}.empty-flow{display:flex;align-items:center;gap:10px;font-size:8px;color:#56677a;margin-top:27px}.empty-flow span{padding:5px 8px;border:1px solid #26303b;border-radius:4px}.empty-flow i{font-style:normal;color:#405263}.fill-row{min-height:71px;border-bottom:1px solid #222a35;font:10px var(--mono)}.fill-row>div{display:flex;flex-direction:column;gap:6px}.fill-row small{color:#61738a;font:8px var(--mono);display:block}.fill-row .fill-price{color:#b9c8d9}.fill-row>div:first-child span{display:flex;align-items:center;gap:5px;font-size:9px}.fill-row .fill-dot{width:4px;height:4px;background:var(--mint);border-radius:50%}.activity-panel{border:1px solid var(--line);border-radius:8px;margin-top:20px;overflow:hidden;background:#0e1319}.activity-title{display:flex;align-items:center;gap:12px;padding:13px 20px;border-bottom:1px solid #202834}.activity-title h2{font-size:10px;display:flex;align-items:center;gap:9px}.terminal-caret{color:var(--mint);font:13px var(--mono)}.muted{font-size:9px;color:#627188}.text-button{color:#6b7e94;font-size:9px;margin-left:auto}.text-button:hover{color:#bac9da}.events{max-height:108px;min-height:58px;overflow:auto;padding:8px 20px}.event{display:flex;align-items:baseline;gap:15px;font-size:9px;line-height:2.35;color:#8294a9}.event time{color:#54677e;font:9px var(--mono);white-space:nowrap}.event .event-kind{color:#71849a;font:8px var(--mono);min-width:35px}.event.success .event-kind{color:var(--mint)}.event.error .event-kind{color:var(--red)}.demo-bar{display:flex;align-items:center;justify-content:space-between;border:1px dashed #313e4d;border-radius:7px;padding:11px 15px;margin-top:20px;gap:15px;background:#111b2729}.demo-bar>div{display:flex;align-items:center;gap:12px}.demo-tag{font:8px var(--mono);color:#93a6c2;letter-spacing:.8px;background:#202b3a;padding:5px 7px;border-radius:3px}.demo-bar p{font-size:10px;color:#7187a0;margin:0}.subtle{background:#1c2835;border:1px solid #2d3f50;color:#a9bdd4;font-size:9px;padding:8px 10px;border-radius:5px;gap:4px}.subtle:hover{background:#293d50;color:#d5e9fb}footer{display:flex;justify-content:space-between;margin-top:22px;font-size:8px;color:#56677b;gap:20px}footer>span{display:flex;align-items:center;gap:6px}footer .dot{width:4px;height:4px}footer i{font-style:normal;color:#3d4c5c;margin:0 3px}.persistent-status{height:36px;position:fixed;bottom:0;left:76px;right:0;background:#11181f;border-top:1px solid #2a3541;display:flex;align-items:center;gap:20px;padding:0 30px;font-size:9px;z-index:5}.persistent-status>span:first-child{color:#a5b1c2;display:flex;align-items:center;gap:7px;white-space:nowrap}.persistent-status>span:nth-child(2){color:#6c7f96}.status-right{margin-left:auto;font:8px var(--mono);color:#72849a;white-space:nowrap}.status-right i{font-style:normal;margin:0 6px;color:#45586b}#stopAll{font-size:9px;color:var(--red);white-space:nowrap}dialog{padding:27px;width:510px;max-width:calc(100% - 30px);background:#131a23;color:var(--text);border:1px solid #354354;border-radius:12px;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#03070bc7;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:23px}.dialog-top h2{font-size:21px;letter-spacing:-.5px;margin-top:9px;font-weight:500}.dialog-top .icon-button{margin-top:-5px;margin-right:-6px}#dialogContent p{font-size:12px;line-height:1.8;color:#97a9bf}#dialogContent h3{font-size:12px;color:#d5dfea;margin:20px 0 7px}#dialogContent a{color:var(--mint);text-decoration:underline}#dialogContent .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#dialogContent .dialog-field{display:block;font-size:11px;color:#a7b5c8;margin:16px 0}#dialogContent .dialog-field input,#dialogContent select{display:block;width:100%;border:1px solid #344253;border-radius:5px;background:#0b1119;color:#e0e9f5;padding:11px 12px;margin-top:8px;font-size:12px}#dialogContent .dialog-field input:focus{border-color:var(--mint)}.dialog-notice{padding:12px 14px;background:#1e2c32;border:1px solid #34454e;border-radius:6px;color:#a8bbcc!important;font-size:10px!important;line-height:1.8}.connection-item{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid #2b3543;gap:10px}.connection-item>span:nth-child(2){font-size:12px}.connection-item>small{margin-left:auto;color:#6e8198;font-size:9px}.connection-item>button{margin-left:9px;padding:7px 10px;background:#263649;border:1px solid #3b5067;border-radius:5px;font-size:10px}.connection-item>button:hover{background:#344c65}.dialog-tabs{display:flex;border-bottom:1px solid #34404d;gap:15px;margin-bottom:18px}.dialog-tabs button{color:#7c90a8;padding:10px 0;font-size:11px}.dialog-tabs button.active{color:var(--mint);border-bottom:2px solid var(--mint)}.dialog-button{background:var(--mint);color:#072419;font-size:11px;padding:11px 15px;border-radius:5px;font-weight:600}.dialog-button:hover{background:#83eccc}.danger-button{border:1px solid #6e424b;color:#f3a1a9;padding:9px 12px;border-radius:5px;font-size:10px}.dialog-code{background:#09111a;padding:12px;border-radius:5px;color:#a5c4df;font:11px var(--mono);overflow:auto;line-height:1.7;white-space:pre-wrap}#toast{position:fixed;bottom:55px;left:50%;transform:translate(-50%,15px);background:#1e2c39;border:1px solid #44617a;border-radius:7px;color:#d1e6f8;padding:12px 18px;font-size:11px;z-index:100;max-width:calc(100vw - 30px);box-shadow:0 5px 25px #0006;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.error-text{font-size:10px;color:var(--red);line-height:1.6;margin-top:8px}.pulse{animation:pulse 2s infinite}@keyframes pulse{50%{opacity:.35}}.negative{color:var(--red)!important}.empty-book{padding:45px 20px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}
@media(min-width:1600px){main{padding-top:38px}.page-heading{margin-bottom:34px}.scan-form{padding:28px;gap:35px}.metrics{margin:24px 0}.metric{padding:21px 24px}.metric strong{font-size:30px}.book-row{height:36px}.fill-rows{min-height:380px}.fills-empty{min-height:380px}}
@media(max-width:1150px){main{padding:25px 23px 70px}.topbar{padding:0 23px}.exchange{padding:0 12px}.scan-form{gap:15px;padding:21px}.threshold-info strong{font-size:16px}.metric-note{display:none}.book-row{font-size:10px}.panel-header{padding:0 17px}.panel-header h2{gap:8px}.panel-header h2>span:not(.number-badge){font-size:9px}.demo-bar{gap:10px}.demo-bar p{font-size:9px}.demo-bar>div{gap:8px}.estimate-label{font-size:6px}.book-labels,.book-row,.fills-labels,.fill-row{padding-left:17px;padding-right:17px}}
@media(max-width:900px){.rail{width:60px}.shell{margin-left:60px}.persistent-status{left:60px}.topbar{height:65px}.brand-mark{margin-top:16px}.clock,.version{display:none}.wordmark small{display:none}.wordmark i{display:none}.page-heading h1{font-size:25px}.page-heading p{font-size:10px}.button.secondary{font-size:10px;padding:11px}.secondary .count{display:none}.exchange{flex:1;justify-content:center;padding:0 6px;font-size:10px;gap:6px}.connection-dot{margin-left:2px}.scan-form{grid-template-columns:1fr 1fr;gap:20px}.threshold-info strong{margin-top:12px}.threshold-info small{margin-top:9px}.scan-control{padding-top:0}.settings-bar{font-size:8px;padding:11px 18px}.settings-bar>div{gap:6px}.metric{padding:15px}.metric-label{gap:5px}.metric-label svg{display:none}.metric strong{font-size:22px}.metric>div{gap:5px}.estimate-label{display:none}.trading-grid{grid-template-columns:1fr;gap:17px}.fill-rows{min-height:240px;max-height:380px}.fills-empty{min-height:240px}.book-row{font-size:12px;height:34px}.demo-bar{flex-wrap:wrap;gap:13px}.demo-bar>div{justify-content:space-between;width:100%}.demo-bar>div:first-child{justify-content:start}.demo-bar p{font-size:10px}.persistent-status{padding:0 18px;gap:12px}.status-right{display:none}.persistent-status>span:nth-child(2){font-size:8px}.advanced-settings{flex-wrap:wrap}.advanced-settings label{flex:1;min-width:120px}.advanced-settings p{margin:0;max-width:unset}.fills-panel{min-height:360px}}
@media(max-width:560px){.rail{display:none}.shell{margin-left:0}.topbar{height:58px;padding:0 17px}.wordmark{font-size:20px}.top-right{gap:8px}.environment{font-size:9px;padding:7px 8px}main{padding:23px 14px 76px}.page-heading{gap:13px;margin-bottom:22px}.page-heading h1{font-size:21px;letter-spacing:-.8px}.page-heading p{font-size:9px;max-width:215px;line-height:1.6}.page-heading .eyebrow{font-size:8px;letter-spacing:1px}.page-heading .secondary{font-size:0;gap:0;width:37px;height:37px;padding:9px;align-self:center}.page-heading .secondary svg{width:17px;height:17px}.exchange-bar{padding:0 5px;min-height:57px;gap:0}.exchange{font-size:9px;gap:4px;padding:0 5px}.ex-logo{width:19px;height:19px}.connection-dot{display:none}.exchange.active:after{left:5px;right:5px}.scan-form{padding:19px 15px;column-gap:15px;row-gap:21px}.field label{font-size:10px}.field label span{font-size:6px}.input-wrap{height:44px;padding:0 10px}.input-wrap input{font-size:15px}.input-unit{font-size:8px}.token-icon{width:20px;height:20px;font-size:10px;margin-right:7px}.field small{font-size:8px}.threshold-info>span{font-size:10px}.threshold-info strong{font-size:16px;margin-top:14px}.threshold-info small{font-size:8px}.start-button{font-size:11px;height:44px;padding:9px}.scan-control>span{font-size:8px}.settings-bar{padding:10px 15px;font-size:8px;align-items:flex-start;gap:5px}.settings-bar>div{flex-wrap:wrap;gap:4px;max-width:220px;line-height:1.6}.settings-bar button{font-size:8px;white-space:nowrap;padding:2px 0}.settings-separator{margin:0 2px}.metrics{gap:7px;margin:14px 0}.metric{padding:12px 9px;border-radius:6px}.metric-label{font-size:0.75rem;margin-bottom:9px;min-height:17px;align-items:flex-start;line-height:1.4}.metric strong{font-size:17px;letter-spacing:-.7px}.metric>div{gap:3px;flex-wrap:wrap}.metric>div>span:not(.metric-note){font-size:7px}.trading-grid{gap:14px}.panel-header{height:53px;padding:0 15px}.panel-header h2{font-size:12px;gap:7px}.panel-header h2>span:not(.number-badge){font-size:8px}.data-status{font-size:8px}.book-labels{font-size:8px;height:31px}.book-labels,.book-row,.fills-labels,.fill-row{padding-left:15px;padding-right:15px;gap:5px}.book-row{font-size:10px;height:31px}.book-row .change{font-size:8px}.best-price{padding:10px 15px}.best-price>span:first-child{font-size:22px}.best-price>span:nth-of-type(2){font-size:8px}.best-price small{font-size:7px}.threshold-row{padding-left:15px;padding-right:15px;font-size:8px}.threshold-row strong{font-size:8px}.liquidity-summary{margin:3px 15px 0;font-size:9px}.liquidity-summary strong{font-size:10px}.fills-labels{font-size:8px}.activity-panel{margin-top:14px}.activity-title{padding:12px 15px}.events{padding:8px 15px;max-height:110px}.event{gap:8px;font-size:8px;line-height:2}.event time{font-size:8px}.event .event-kind{font-size:7px;min-width:30px}.demo-bar{padding:12px 10px;margin-top:14px}.demo-bar p{font-size:8px}.demo-tag{font-size:7px}.demo-bar .subtle{font-size:8px;padding:8px;gap:3px}.demo-bar .icon-button{width:23px}.persistent-status{left:0;height:42px;padding:0 13px;gap:9px}.persistent-status>span:first-child{font-size:8px;max-width:45%;white-space:normal;line-height:1.5}.persistent-status>span:nth-child(2){font-size:7px;max-width:55%;line-height:1.5}footer{font-size:7px;flex-wrap:wrap;gap:9px;margin-top:18px}.advanced-settings{padding:13px 15px;gap:13px}.advanced-settings label{font-size:9px}dialog{padding:22px}.dialog-top h2{font-size:19px}.empty-book{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}




.execution-mode { border-top: 1px solid var(--line); padding: 14px 24px; }
.execution-mode label { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.execution-mode input { width: 17px; height: 17px; accent-color: #79ae96; }
.funding-mode [role="status"] { margin: 8px 0; color: var(--muted); font-size: 12px; }
.execution-mode.aggressive { background: #182722; border-color: #354b40; }
.execution-mode.aggressive label { color: #a6c7b7; }

.panel-header h2 > #bookPair {
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.fills-empty h3 { margin: 0; }
@media (max-width: 480px) {
  .panel-header h2 > #bookPair { font-size: 0.94rem; }
}

:root {
  --bg: #141414;
  --panel: #202020;
  --panel2: #262626;
  --line: #393939;
  --text: #eeeeee;
  --muted: #a4a4a4;
  --gray-inset: #181818;
  --gray-control: #2b2b2b;
  --gray-hover: #363636;
  --gray-edge: #494949;
  --gray-label: #c3c3c3;
}
:root .rail,
:root .persistent-status { background: var(--gray-inset); border-color: var(--line); }
:root .metric { background: linear-gradient(110deg, #262626, var(--panel)); }
:root :is(.avatar, .secondary, .subtle, .input-wrap button, .token-icon, .connection-item > button) {
  color: var(--gray-label);
  background: var(--gray-control);
  border-color: var(--gray-edge);
}
:root :is(.rail-btn:hover, .secondary:hover, .subtle:hover, .exchange:hover, .icon-button:hover, .connection-item > button:hover) {
  color: var(--text);
  background: var(--gray-hover);
}
:root :is(.input-wrap, .dialog-code, #dialogContent .dialog-field input, #dialogContent select) {
  background: var(--gray-inset);
  border-color: var(--line);
}
:root .input-wrap:focus-within,
:root #dialogContent .dialog-field input:focus { border-color: var(--mint); }
:root :is(.count, .info-btn, .fills-labels, .fill-row, .liquidity-summary, .connection-item, .dialog-tabs) { border-color: var(--line); }
:root :is(dialog, #toast) { background: var(--panel2); border-color: var(--line); }
:root .demo-bar { background: var(--gray-inset); border-color: var(--gray-edge); }
:root :is(.demo-tag, .dialog-notice) { color: var(--gray-label); background: var(--gray-control); border-color: var(--line); }
:root .exchange.active { background: linear-gradient(0deg, #303030, transparent); }
:root .book-row.below::before { background: #53535345; }
:root .empty-illustration { color: #ababab; }
:root .empty-illustration svg { fill: var(--gray-control); }
:root .empty-line { background: linear-gradient(90deg, transparent, var(--gray-edge)); }
:root :is(.wordmark i, .status-right i) { color: #767676; }
:root :is(.field label, .book-row, .fill-price, .fills-empty h3, #dialogContent h3, #toast) { color: var(--gray-label); }
:root :is(.rail-btn:not(.selected), .clock, .version, .eyebrow, .exchange:not(.active), .field label span, .input-unit, .threshold-info > span, .info-btn, .scan-control > span, .metric-label, .metric-label svg, .metric-note, .metric > div > span:not(.metric-note), .data-status, .book-labels, .fills-labels, .fill-row small, .demo-bar p, .persistent-status > span, .icon-button, #dialogContent p, .dialog-field, .connection-item > small, .dialog-tabs button:not(.active)) { color: var(--muted); }
:root :is(.book-row.below .price, .book-row.below .change) { color: var(--muted); }
:root :is(.connection-dot:not(.connected), .dot:not(.mint-dot):not(.amber)) { background: #858585; }
:root .input-wrap button:hover { color: var(--mint); border-color: var(--mint); }
:root #dialogContent .dialog-notice { color: var(--gray-label) !important; }
:root .dialog-code { color: var(--gray-label); }

/* Secondary typography is shared by both themes. */
.wordmark small, .version, .count,
.field label span, .field small, .threshold-info small, .input-unit,
.scan-control > span, .metric-note, .metric > div > span:not(.metric-note),
.data-status, .book-row .change, .threshold-row,
.threshold-row strong,
.fill-row small, .fill-row > div:first-child span,
.demo-tag, .demo-bar p, .demo-bar .subtle, .persistent-status,
.persistent-status > span, .status-right, #stopAll, .eyebrow,
.connection-item > small, #dialogContent .dialog-notice, .error-text {
  font-size: 0.6875rem;
}
.clock, .environment, .field label, .threshold-info > span,
.book-labels, .fills-labels, .liquidity-summary,
.liquidity-summary strong, .fill-row, .book-row,
#dialogContent .dialog-field, .connection-item > button,
.dialog-tabs button, .dialog-button, .danger-button, .dialog-code, #toast {
  font-size: 0.75rem;
}
#dialogContent p { font-size: 0.8125rem; }

@media (max-width: 560px) {
  .environment, .field label span, .input-unit, .metric > div > span:not(.metric-note),
  .scan-control > span,
  .demo-tag, .demo-bar p, .demo-bar .subtle,
  .persistent-status > span:first-child, .persistent-status > span:nth-child(2), #stopAll {
    font-size: 0.625rem;
  }
  .book-labels, .fills-labels, .book-row, .fill-row { font-size: 0.6875rem; }
  .persistent-status { height: auto; min-height: 42px; padding-block: 5px; }
  .demo-bar > div:last-child { flex-wrap: wrap; justify-content: flex-start; }
  .fill-row small { overflow-wrap: anywhere; }
}

.exchange.scan-running {
  --scan-tab-bg: #163729;
  --scan-name: #55ee8f;
  --scan-name-pulse: #a3ffbb;
  --scan-glow: #43fb83;
}
.exchange-bar .exchange { padding-inline: clamp(5px, 1vw, 14px); }



@media (max-width: 1040px) {
  .exchange-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .exchange-bar .exchange { justify-content: center; min-height: 47px; }
}
.exchange-bar .exchange.scan-running,
:root .exchange-bar .exchange.scan-running {
  background: var(--scan-tab-bg);
}
.exchange.scan-running .exchange-name {
  display: inline-block;
  color: var(--scan-name);
  text-shadow: 0 0 4px var(--scan-glow);
  animation: exchange-name-pulse 1.9s ease-in-out infinite;
}
@keyframes exchange-name-pulse {
  from, to { transform: scale(1); }
  50% {
    transform: scale(1.17);
    color: var(--scan-name-pulse);
    text-shadow: 0 0 6px var(--scan-glow), 0 0 15px var(--scan-glow), 0 0 26px var(--scan-glow);
  }
}
@media (prefers-reduced-motion: reduce) {
  .exchange.scan-running .exchange-name { animation: none; }
}

@font-face {
  font-family: "Geist Wordmark";
  src: url("/fonts/geist-wordmark.woff2") format("woff2");
  font-style: normal;
  font-weight: 650;
  font-display: swap;
  unicode-range: U+0041, U+0045, U+004C, U+0052-0053, U+006F, U+0074-0075;
}
:root .wordmark .brand-name {
  display: inline-grid;
  font-family: "Geist Wordmark", var(--sans);
  font-size: clamp(1.6875rem, 2.7vw, 2.125rem);
  font-weight: 650;
  letter-spacing: -.015em;
}
:root .wordmark .brand-lettering {
  grid-area: 1 / 1;
  padding-inline: .22em;
  color: #19385f;
  font-weight: inherit;
  -webkit-text-stroke: 1px #d6ac62;
}
:root .wordmark .brand-lettering > span {
  display: inline-block;
  color: inherit;
  font-weight: inherit;
  -webkit-text-stroke: inherit;
  transform: skewX(-19deg);
}
:root .wordmark .brand-word-glint {
  --brand-beam: -24px;
  color: transparent;
  pointer-events: none;
  -webkit-text-stroke: 1.1px #fff1c0;
  mask-image: linear-gradient(125deg,
    transparent calc(var(--brand-beam) - 19px),
    #000 var(--brand-beam),
    transparent calc(var(--brand-beam) + 19px));
}
@media (max-width: 560px) {
  :root .wordmark .brand-name { font-size: clamp(1.25rem, 5.5vw, 1.45rem); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-glint, :root .wordmark .brand-word-glint { display: none; }
}

@font-face {
  font-family: "Inter Digits";
  src: url("/fonts/inter-digits.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0025, U+002B-002E, U+0030-003A, U+003C, U+003E, U+2212;
}
.metric strong,
#purchasePrice,
.threshold-info strong,
.threshold-row strong,
.liquidity-summary strong,
.book-row,
.fill-row,
.clock,
.count {
  font-family: "Inter Digits", var(--mono);
  font-variant-numeric: tabular-nums;
}
