:root,html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0a0e13;--surface:#10161d;--surface-2:#151c25;--band:#0d1218;--border:#222c38;--border-strong:#5e6e82;--ink:#e7ecf2;--ink-muted:#93a1b3;--brand:#34d3b5;--on-brand:#0a0e13;--brand-text:#34d3b5;--brand-soft:#12302b;--buy:#4c8dff;--on-buy:#0a0e13;--buy-text:#7fb0ff;--sell:#ff8a3d;--on-sell:#0a0e13;--sell-text:#ff9f66;--profit:#3ddbb8;--loss:#ff8a4c;--warn:#f5c451;--warn-soft:#3a2a12;--focus:#34d3b5;--buy-soft:#4c8dff24;--sell-soft:#ff8a3d24;--scrim:#03060a9e;--shadow:0 24px 70px #00000080;--grid:#93a1b31a}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f6f9;--surface:#fff;--surface-2:#f1f4f8;--band:#eef2f6;--border:#dde3ea;--border-strong:#76849a;--ink:#141a22;--ink-muted:#4f5d6e;--brand:#34d3b5;--on-brand:#0a0e13;--brand-text:#0b7a68;--brand-soft:#e3f6f2;--buy:#4c8dff;--on-buy:#0a0e13;--buy-text:#1e4fa8;--sell:#ff8a3d;--on-sell:#0a0e13;--sell-text:#9a3a0b;--profit:#0b7a68;--loss:#b4470f;--warn:#7a5300;--warn-soft:#fbf2dc;--focus:#0b7a68;--buy-soft:#e6eefc;--sell-soft:#fdeee4;--scrim:#141a2261;--shadow:0 24px 60px #141a222e;--grid:#4f5d6e1f}:root{--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-pill:999px;--font-display:"Space Grotesk", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;--font-sans:Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;--font-mono:"JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;--panel-radius:12px;color:var(--ink);background:var(--bg);font-family:Inter,Segoe UI Variable,Segoe UI,system-ui,-apple-system,Roboto,sans-serif;font-size:13px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{-webkit-tap-highlight-color:transparent;overflow:hidden}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.buy-text{color:var(--buy-text)}.sell-text{color:var(--sell-text)}.theme-btn{min-width:76px}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.up{color:var(--profit)}.down{color:var(--loss)}.muted{color:var(--ink-muted)}.strong{font-weight:600}code{background:var(--surface-2);border-radius:4px;padding:1px 5px}input,select{background:var(--bg);border:1px solid var(--border-strong);border-radius:8px;outline:none;width:100%;padding:8px 10px}input:focus,select:focus{border-color:var(--brand-text)}.btn{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:7px 12px}.btn:hover:not(:disabled){border-color:var(--ink-muted)}.btn.small{padding:4px 9px;font-size:12px}.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-weight:600}.btn.danger{color:var(--loss)}.btn.block{width:100%;padding:11px}.btn.buy{background:var(--buy);color:var(--on-buy);border:0;font-weight:700}.btn.sell{background:var(--sell);color:var(--on-sell);border:0;font-weight:700}.seg{background:var(--bg);border:1px solid var(--border);border-radius:9px;gap:2px;padding:2px;display:inline-flex}.seg button{color:var(--ink-muted);background:0 0;border:0;border-radius:7px;padding:4px 9px;font-size:12px}.seg button.on{background:var(--surface-2);color:var(--ink)}.seg.wide{display:flex}.seg.wide button{flex:1;padding:8px}.chips{flex-wrap:wrap;gap:4px;display:flex}.chips button{border:1px solid var(--border);color:var(--ink-muted);background:0 0;border-radius:999px;padding:3px 10px;font-size:12px}.chips button.on{background:var(--surface-2);color:var(--ink);border-color:var(--ink-muted)}.icon-btn{color:var(--ink-muted);background:0 0;border:0;border-radius:6px;padding:2px 6px}.icon-btn:hover{background:var(--surface-2);color:var(--ink)}.icon-btn.close:hover{color:var(--loss)}.tag{text-transform:uppercase;letter-spacing:.05em;border-radius:4px;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:700}.tag.demo{background:var(--warn-soft);color:var(--warn)}.tag.live{background:var(--brand-soft);color:var(--brand-text)}.dot{background:var(--loss);border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.dot.open{background:var(--profit);box-shadow:0 0 0 3px var(--brand-soft)}.dot.connecting{background:var(--warn)}.empty{color:var(--ink-muted);text-align:center;padding:24px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--panel-radius);flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.panel-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.panel-head h2{white-space:nowrap;margin:0;font-size:13px;font-weight:600}.panel-body{flex:1;min-height:0;overflow:auto}.app{flex-direction:column;height:100%;display:flex}.topbar{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:18px;padding:8px 14px;display:flex}.brand{white-space:nowrap;align-items:center;gap:8px;display:flex}.brand img{width:24px;height:24px}.brand.big img{width:44px;height:44px}.brand.big b{font-size:20px;display:block}.brand.big span{color:var(--ink-muted)}.areas{gap:2px;display:flex}.areas button{color:var(--ink-muted);background:0 0;border:0;border-radius:8px;padding:6px 10px}.areas button.on{color:var(--ink);background:var(--surface-2)}.figures{gap:18px;margin:0 0 0 auto;display:flex}.figures div{flex-direction:column;display:flex}.figures dt{color:var(--ink-muted);font-size:11px}.figures dd{margin:0;font-weight:600}.who{align-items:center;gap:10px;display:flex}.who>div{flex-direction:column;line-height:1.2;display:flex}.who small{color:var(--ink-muted)}.grid{flex:1;grid-template:"watch chart ticket"minmax(0,1fr)"watch trades trades"minmax(200px,34%)/minmax(270px,300px) minmax(0,1fr) minmax(290px,320px);gap:8px;min-height:0;padding:8px;display:grid}.watch{grid-area:watch}.chart-panel{grid-area:chart}.ticket{grid-area:ticket;overflow:auto}.trades{grid-area:trades}.search{max-width:150px;padding:5px 9px}.watch .chips{border-bottom:1px solid var(--border);padding:8px 12px}.watch-rows{flex:1;overflow:auto}.watch-row{border-bottom:1px solid var(--grid);cursor:pointer;grid-template-columns:1.4fr 1fr 1fr .8fr;align-items:center;gap:6px;padding:6px 12px;display:grid}.watch-row>span:not(.sym){text-align:right}.watch-row.head{background:var(--surface);color:var(--ink-muted);cursor:default;z-index:1;font-size:11px;position:sticky;top:0}.watch-row:not(.head):hover{background:var(--surface-2)}.watch-row.sel{background:var(--brand-soft)}.sym{align-items:center;gap:6px;min-width:0;font-weight:600;display:flex}.sym small,.tr .sym small{color:var(--ink-muted);font-size:10.5px;font-weight:400;display:block}.star{color:var(--border-strong);background:0 0;border:0;padding:0;font-size:12px}.star.on{color:var(--warn)}.tick-up{color:var(--profit)}.tick-down{color:var(--loss)}.chart-head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.chart-title{align-items:baseline;gap:10px;min-width:0;display:flex}.chart-title strong{font-size:15px}.chart-quote{gap:8px;font-weight:600;display:flex}.chart-box{flex:1;min-height:0;position:relative}.chart-loading{color:var(--ink-muted);z-index:2;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.ticket{padding-bottom:12px}.ticket>.field,.ticket>.row2,.ticket>.trade-buttons,.ticket>.place,.ticket>.ticket-facts{margin:10px 12px 0}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field>span{color:var(--ink-muted);font-size:11.5px}.row2{grid-template-columns:1fr 1fr;gap:8px;display:grid}.stepper{grid-template-columns:38px 1fr 38px;gap:6px;display:grid}.stepper button{background:var(--surface-2);border:1px solid var(--border);border-radius:8px;font-size:16px}.stepper input{text-align:center;font-weight:600}.trade-buttons{grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;display:grid}.trade-buttons button{border:0;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:10px 8px;font-weight:600;display:flex}.trade-buttons button strong{font-size:17px}.trade-buttons .sell{background:var(--sell);color:var(--on-sell)}.trade-buttons .buy{background:var(--buy);color:var(--on-buy)}.trade-buttons .spread{color:var(--ink-muted);text-align:center;min-width:24px;font-size:11px}.place{border:0;border-radius:10px;width:calc(100% - 24px);padding:12px;font-weight:700}.place.buy{background:var(--buy);color:var(--on-buy)}.place.sell{background:var(--sell);color:var(--on-sell)}.ticket-facts{background:var(--bg);border-radius:10px;grid-template-columns:1fr 1fr;gap:8px 12px;padding:10px;display:grid}.ticket-facts dt{color:var(--ink-muted);font-size:11px}.ticket-facts dd{margin:0;font-weight:600}.panel-head.tabs{padding:4px 8px}.tabbar{gap:2px;display:flex;overflow-x:auto}.tabbar button{color:var(--ink-muted);white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:7px 11px}.tabbar button.on{color:var(--ink);background:var(--surface-2)}.tab-tools{align-items:center;gap:8px;font-weight:600;display:flex}.table{min-width:760px}.tr{border-bottom:1px solid var(--grid);align-items:center;gap:8px;padding:6px 12px;display:grid}.tr>span:not(.sym):not(:first-child){text-align:right}.tr.th{background:var(--surface);color:var(--ink-muted);z-index:1;font-size:11px;position:sticky;top:0}.tr:not(.th):hover{background:var(--surface-2)}.tr.pos{grid-template-columns:1.6fr .6fr .7fr 1fr 1fr 1fr 1fr .7fr 1fr 64px}.tr.ord{grid-template-columns:1.4fr .9fr .7fr 1fr 1fr 1fr 1fr 1.3fr 64px}.tr.deal{grid-template-columns:1.3fr 1.4fr .9fr .7fr 1fr .9fr .8fr 1fr}.tr span:nth-child(2){text-transform:capitalize}.editable{cursor:text;border-bottom:1px dashed #0000}.editable:hover{border-bottom-color:var(--ink-muted)}.actions{justify-content:flex-end;display:flex}.stops-editor{background:var(--bg);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.stops-editor label{color:var(--ink-muted);align-items:center;gap:6px;display:flex}.stops-editor input{width:120px}.history-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.journal{padding:6px 12px}.jl{border-bottom:1px solid var(--grid);gap:12px;padding:4px 0;display:flex}.jl.error{color:var(--loss)}.soon{text-align:center;max-width:560px;margin:60px auto;padding:0 20px}.soon h2{font-size:22px}.soon p{line-height:1.6}.svc{flex-direction:column;flex:1;gap:12px;width:100%;max-width:1180px;min-height:0;margin:0 auto;padding:16px;display:flex;overflow:auto}.svc-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.svc-head h2{font-size:20px;font-family:var(--font-display);margin:0}.svc-head p{max-width:62ch;margin:4px 0 0;line-height:1.5}.search.wide{max-width:320px}.cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--panel-radius);flex-direction:column;gap:12px;min-width:0;padding:14px;display:flex}.card>header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.card h3{margin:0;font-size:14px;font-weight:600}.card>footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.card.sub>footer{justify-content:flex-end}.card.sub>footer.confirm span{margin-right:auto;font-weight:600}.card.form{max-width:640px}.card .price{white-space:nowrap;font-size:15px}.clamp{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:3em;margin:0;line-height:1.5;display:-webkit-box;overflow:hidden}.stats{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px 14px;display:grid}.stats.wide{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.stat{flex-direction:column;gap:2px;min-width:0;display:flex}.stat>span{color:var(--ink-muted);font-size:11px}.stat>b{font-size:15px;font-weight:600}.stat>small{color:var(--ink-muted);font-size:11px}.badge{white-space:nowrap;text-transform:capitalize;border:1px solid #0000;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.badge.ok{background:var(--brand-soft);color:var(--brand-text)}.badge.info{background:var(--buy-soft);color:var(--buy-text)}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.bad{background:var(--sell-soft);color:var(--sell-text)}.badge.muted{background:var(--surface-2);color:var(--ink-muted);border-color:var(--border)}.head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.meter{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;height:8px;overflow:hidden}.meter i{background:var(--brand);border-radius:999px;height:100%;transition:width .4s;display:block}.meter.warn i{background:var(--warn)}.meter.loss i{background:var(--loss)}.rule-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;display:grid}.card.rule{gap:10px}.card.rule>header{align-items:baseline}.card.rule>header b{font-size:16px}.card.rule small{line-height:1.5}.steps{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.steps li{border:1px solid var(--border);min-width:130px;color:var(--ink-muted);border-radius:10px;flex:1;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;padding:8px 10px;display:grid}.steps li b{background:var(--surface-2);border-radius:50%;grid-row:span 2;place-items:center;width:24px;height:24px;font-size:12px;display:grid}.steps li small{font-size:11px}.steps li.now{border-color:var(--brand-text);color:var(--ink)}.steps li.now b{background:var(--brand);color:var(--on-brand)}.steps li.done b{background:var(--brand-soft);color:var(--brand-text)}.steps li.failed{border-color:var(--loss);color:var(--ink)}.steps li.failed b{background:var(--sell-soft);color:var(--sell-text)}.notice{background:var(--buy-soft);color:var(--ink);border-left:3px solid var(--buy-text);border-radius:9px;margin:0;padding:9px 12px;line-height:1.5}.notice.warn{background:var(--warn-soft);border-left-color:var(--warn)}.notice.error{background:var(--sell-soft);border-left-color:var(--loss)}.rules,.reasons{color:var(--ink-muted);margin:0;padding-left:18px;line-height:1.7}.reasons{color:var(--ink)}.check{align-items:center;gap:8px;display:flex}.check input{width:auto}.row3{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.mini-table{overflow-x:auto}.mt-row{border-bottom:1px solid var(--grid);grid-template-columns:.8fr 1.3fr .9fr .5fr 1fr .8fr;align-items:center;gap:10px;min-width:560px;padding:7px 2px;display:grid}.mt-row.pay{grid-template-columns:1.3fr .9fr .9fr .8fr 1.6fr}.mt-row.run{grid-template-columns:1.2fr .8fr 1.3fr .7fr 1.6fr}.mt-row.head{color:var(--ink-muted);font-size:11px}.sub-list{grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:12px;display:grid}.scrim{background:var(--scrim);z-index:40;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--border);width:min(520px,100%);max-height:100%;box-shadow:var(--shadow);border-radius:14px;flex-direction:column;display:flex}.modal>header,.modal>footer{justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex}.modal>header{border-bottom:1px solid var(--border)}.modal>header h3{margin:0;font-size:15px}.modal>footer{border-top:1px solid var(--border);justify-content:flex-end}.modal-body{flex-direction:column;gap:12px;padding:14px 16px;display:flex;overflow:auto}.app.mobile .svc{padding:4px}.app.mobile .cards,.app.mobile .sub-list,.app.mobile .row3{grid-template-columns:1fr}.app.mobile .svc-head .seg{width:100%;display:flex}.app.mobile .svc-head .seg button{flex:1}.toasts{z-index:50;flex-direction:column;gap:8px;max-width:min(380px,100vw - 32px);display:flex;position:fixed;bottom:16px;right:16px}.toast{background:var(--surface-2);border:1px solid var(--border);border-left:3px solid var(--brand-text);box-shadow:var(--shadow);border-radius:10px;padding:10px 14px}.toast.ok{border-left-color:var(--profit)}.toast.error{border-left-color:var(--loss)}.requests{z-index:60;flex-direction:column;gap:8px;width:min(380px,100vw - 24px);display:flex;position:fixed;top:64px;left:50%;transform:translate(-50%)}.request{background:var(--surface);color:var(--ink);border:1px solid var(--border);border-left:3px solid var(--brand-text);box-shadow:var(--shadow);border-radius:12px;gap:6px;padding:12px 14px;display:grid}.request.requote{border-left-color:var(--loss)}.request-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.request-price{color:var(--ink);font-size:15px}.request-timer{background:var(--surface-2);border-radius:2px;height:3px;overflow:hidden}.request-timer i{background:var(--brand-text);height:100%;transition:width .25s linear;display:block}.request-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:2px;display:grid}.login-wrap{background:radial-gradient(900px 500px at 70% 10%, var(--brand-soft), transparent), radial-gradient(700px 400px at 10% 90%, var(--band), transparent);place-items:center;height:100%;padding:20px;display:grid;overflow:auto}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:14px;width:min(400px,100%);padding:26px;display:flex}.login-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.hint{color:var(--ink-muted);margin:0;font-size:12px;line-height:1.5}.form-error{color:var(--loss);background:var(--warn-soft);border-radius:8px;padding:8px 10px}.app.mobile{padding-top:env(safe-area-inset-top)}.m-top{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.m-eq{align-items:center;gap:6px;font-weight:700;display:flex}.m-eq small{color:var(--ink-muted);font-weight:400}.m-body{flex-direction:column;flex:1;gap:8px;min-height:0;padding:8px;display:flex;overflow:auto}.m-body>.panel{border-radius:10px;flex:1}.m-body .ticket{flex:none}.m-body .chart-panel{min-height:300px}.m-quick{grid-template-columns:1fr 1fr;gap:8px;display:grid}.m-quick .btn{padding:14px;font-size:15px}.m-tabs{border-top:1px solid var(--border);background:var(--surface);padding-bottom:env(safe-area-inset-bottom);grid-template-columns:repeat(6,1fr);display:grid}.m-tabs button{color:var(--ink-muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;padding:8px 0 10px;font-size:11px;display:flex}.m-tabs button span{font-size:18px;line-height:1}.m-tabs button.on{color:var(--brand-text)}.m-account{padding-bottom:14px}.m-account>p{padding:0 12px}.figures.stacked{flex-direction:column;gap:0;margin:0 12px}.figures.stacked div{border-bottom:1px solid var(--border);flex-direction:row;justify-content:space-between;padding:10px 0}.figures.stacked dt{font-size:13px}.m-links{flex-direction:column;gap:8px;margin:14px 12px 0;display:flex}.app.mobile .search{max-width:130px}.app.mobile .watch-row{padding:10px 12px}.app.mobile .chart-head .seg button{padding:4px 6px}.app.mobile .trades .table{min-width:720px}@media (width<=860px){.toasts{bottom:calc(72px + env(safe-area-inset-bottom));left:16px}}.reasons li:first-letter{text-transform:uppercase}
