@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
.mft-app{--ink:#18212d;--muted:#788291;--line:#e9edf1;--green:#169b70;--red:#dc6670;--canvas:#f7f8fa;--nav:#15252a;display:flex;min-height:100vh;background:var(--canvas);color:var(--ink);font:calc(14px * 1.2)/1.5 'DM Sans',sans-serif;letter-spacing:-.01em;isolation:isolate;position:relative}.mft-app *{box-sizing:border-box}.mft-app button,.mft-app input,.mft-app select{font:inherit}.mft-app button{cursor:pointer}.mft-sidebar{width:238px;flex:0 0 238px;background:var(--nav);color:#e8efed;display:flex;flex-direction:column;padding:26px 15px 18px;min-height:100vh;position:sticky;top:0;height:100vh;z-index:5}.mft-brand{height:58px;display:flex;align-items:center;gap:11px;padding:0 10px;color:#fff;text-decoration:none;font:800 calc(20px * 1.2) Manrope,sans-serif;letter-spacing:-1px}.mft-brand-light{font-weight:500;color:#b9c8c5}.mft-brand small{display:block;color:#91a49f;font:600 calc(9px * 1.2) 'DM Sans',sans-serif;letter-spacing:1.6px;margin-top:1px}.mft-brand-mark{width:35px;height:35px;border-radius:11px;background:#31bd8b;color:#0e2922;display:grid;place-items:center;font:800 calc(21px * 1.2) Manrope,sans-serif}.mft-account{display:flex;align-items:center;gap:10px;border-block:1px solid #ffffff15;padding:18px 8px;margin:20px 0 21px}.mft-avatar{width:34px;height:34px;border-radius:50%;background:#e5c6aa;color:#634b3a;display:inline-grid;place-items:center;font-size:calc(11px * 1.2);font-weight:700;flex:0 0 auto}.mft-account b,.mft-account small{display:block}.mft-account b{font-size:calc(12px * 1.2);color:#f8faf9}.mft-account small{font-size:calc(10px * 1.2);color:#91a49f;margin-top:2px}.mft-chevron{margin-left:auto;color:#93a39f}.mft-nav-label{font-size:calc(9px * 1.2);color:#758a84;letter-spacing:1.4px;font-weight:700;padding:0 10px 9px}.mft-nav{display:grid;gap:4px}.mft-nav-item{border:0;border-radius:7px;background:none;color:#aebcb8;text-align:left;padding:11px 11px;display:flex;align-items:center;gap:12px;font-size:calc(12px * 1.2);transition:.15s}.mft-nav-item>span{width:17px;color:#96aba4;font-size:calc(17px * 1.2);text-align:center}.mft-nav-item:hover{color:#fff;background:#ffffff0b}.mft-nav-item.is-active{color:#fff;background:#ffffff12;font-weight:600}.mft-nav-item.is-active>span{color:#54d4a4}.mft-side-bottom{margin-top:auto}.mft-market-open{display:flex;align-items:center;gap:10px;padding:13px 10px;background:#ffffff0a;border-radius:7px}.mft-market-open>i,.mft-market-status i,.mft-live-dot{width:7px;height:7px;border-radius:50%;background:#39c894;display:inline-block;box-shadow:0 0 0 3px #39c89420}.mft-market-open b,.mft-market-open small{display:block}.mft-market-open b{font-size:calc(11px * 1.2)}.mft-market-open small{font-size:calc(9px * 1.2);color:#91a49f;margin-top:2px}.mft-side-foot{font-size:calc(9px * 1.2);color:#758a84;line-height:1.8;padding:16px 10px 0}.mft-side-foot a{color:#91a49f;text-decoration:none}.mft-main{flex:1;min-width:0;display:flex;flex-direction:column}.mft-topbar{height:64px;display:flex;align-items:center;padding:0 36px;border-bottom:1px solid var(--line);background:#fff;gap:20px}.mft-breadcrumb{font-size:calc(11px * 1.2);color:#969eaa}.mft-breadcrumb span{padding:0 8px;color:#c4c9cf}.mft-breadcrumb b{color:#344052;font-weight:600}.mft-top-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.mft-market-status{font-size:calc(10px * 1.2);color:#687382;display:flex;gap:8px;align-items:center}.mft-market-status i{width:6px;height:6px}.mft-icon-btn{border:0;background:transparent;color:#747f8c;font-size:calc(17px * 1.2);position:relative}.mft-icon-btn em{width:6px;height:6px;border-radius:50%;background:#e37c81;position:absolute;top:1px;right:0}.mft-top-user{border:0;background:transparent;display:flex;align-items:center;gap:9px;font-size:calc(10px * 1.2);color:#546070}.mft-avatar-sm{width:26px;height:26px;font-size:calc(9px * 1.2)}.mft-menu-toggle{display:none;border:0;background:none;color:#374350}.mft-content{padding:30px 36px 24px;width:100%;max-width:1580px;margin:0 auto;flex:1}.mft-page{display:none}.mft-page.is-visible{display:block;animation:mftFade .22s ease}@keyframes mftFade{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}.mft-heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.mft-eyebrow{font-size:calc(9px * 1.2);color:#89939f;letter-spacing:1.2px;font-weight:700;display:flex;align-items:center;gap:8px}.mft-eyebrow .mft-live-dot{width:6px;height:6px}.mft-heading-row h1{font:700 calc(25px * 1.2)/1.2 Manrope,sans-serif;letter-spacing:-.8px;margin:8px 0 4px;color:#1e2935}.mft-heading-row p{margin:0;color:#89929e;font-size:calc(11px * 1.2)}.mft-wave{color:#e4ad61;font-size:calc(20px * 1.2)}.mft-button{border:0;border-radius:6px;padding:10px 15px;font-size:calc(11px * 1.2);font-weight:600;transition:.15s;white-space:nowrap}.mft-button:hover{transform:translateY(-1px);filter:brightness(.97)}.mft-button-dark{background:#1c3535;color:#fff;box-shadow:0 2px 4px #182c2c12}.mft-button-outline{background:#fff;color:#485465;border:1px solid #dfe4e9}.mft-button-small{padding:7px 10px;font-size:calc(10px * 1.2)}.mft-demo-banner{background:#f0f7f5;border:1px solid #dcece7;border-radius:6px;min-height:40px;display:flex;align-items:center;gap:9px;padding:8px 12px;color:#607a72;font-size:calc(10px * 1.2);margin-bottom:17px}.mft-demo-banner b{color:#326457}.mft-demo-icon{border:1px solid #a7c9bd;border-radius:50%;width:15px;height:15px;display:grid;place-items:center;font-size:calc(9px * 1.2);font-weight:700;flex:0 0 auto}.mft-banner-close{margin-left:auto;border:0;background:none;color:#8eaaa2;font-size:calc(17px * 1.2)}.mft-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.mft-stat-card{background:#fff;border:1px solid #edf0f2;border-radius:7px;padding:15px 16px 12px;min-width:0;box-shadow:0 2px 6px #1a28320a}.mft-stat-top{display:flex;align-items:center;justify-content:space-between;color:#8a94a0;font-size:calc(10px * 1.2)}.mft-stat-icon{color:#a4b0b6;background:#f4f7f7;width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:calc(13px * 1.2)}.mft-help-tip{display:inline-grid;place-items:center;border:1px solid #bbc4cb;border-radius:50%;width:12px;height:12px;font-size:calc(8px * 1.2);margin-left:3px;color:#929ba5}.mft-stat-card>strong{display:block;font:700 calc(23px * 1.2) Manrope,sans-serif;letter-spacing:-.7px;margin:12px 0 9px;color:#202b37;white-space:nowrap}.mft-stat-card>strong small{font:600 calc(12px * 1.2) 'DM Sans',sans-serif;letter-spacing:0}.mft-stat-foot{display:flex;align-items:center;color:#929ba4;font-size:calc(9px * 1.2);gap:5px;min-height:16px}.mft-stat-foot b{font-weight:600}.mft-positive{color:var(--green)!important}.mft-negative{color:var(--red)!important}.mft-spark{margin-left:auto;width:67px;height:22px;overflow:visible}.mft-spark path{fill:none;stroke:#2eb78a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mft-text-link{border:0;background:none;padding:0;color:#287c67;font-size:calc(10px * 1.2);font-weight:600}.mft-section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 11px}.mft-section-heading h2,.mft-panel-heading h2{font:700 calc(14px * 1.2) Manrope,sans-serif;margin:0;color:#293542;letter-spacing:-.2px}.mft-section-heading p,.mft-panel-heading p{margin:3px 0 0;font-size:calc(10px * 1.2);color:#929ba6}.mft-updated{font-size:calc(9px * 1.2);color:#9ba3aa}.mft-refresh{font-size:calc(14px * 1.2);color:#84928e;margin-left:4px}.mft-ai-card{background:#fff;border:1px solid #edf0f2;border-radius:7px;padding:15px 19px;display:grid;grid-template-columns:minmax(260px, .8fr) minmax(0,1.5fr);gap:20px;align-items:center}.mft-ai-label{font-size:calc(9px * 1.2);letter-spacing:1px;font-weight:700;color:#63756f}.mft-ai-label>span{color:#23ad7e;font-size:calc(13px * 1.2)}.mft-ai-demo{color:#279777;border:1px solid #c7e8dc;border-radius:3px;font-size:calc(8px * 1.2);padding:2px 5px;margin-left:5px}.mft-ai-copy h3{font:700 calc(15px * 1.2) Manrope,sans-serif;margin:8px 0 5px;color:#27343e}.mft-ai-copy>p{font-size:calc(9px * 1.2);line-height:1.6;color:#8c969e;margin:0;max-width:420px}.mft-signal-legend{display:flex;gap:12px;align-items:center;margin-top:12px;font-size:calc(8px * 1.2);color:#8c969e;flex-wrap:wrap}.mft-signal-legend span{display:flex;gap:5px;align-items:center}.mft-green-dot,.mft-red-dot{width:6px;height:6px;border-radius:50%;background:#21b783}.mft-red-dot{background:#df7278}.mft-prediction-chart{min-width:0}.mft-chart-legend{display:flex;gap:16px;justify-content:flex-end;margin:0 3px 3px;font-size:calc(8px * 1.2);color:#727e89}.mft-chart-legend span:before{content:'';width:7px;height:2px;background:#2ab889;display:inline-block;vertical-align:middle;margin-right:4px}.mft-chart-legend span:nth-child(2):before{background:#e27d82}.mft-chart-legend span:nth-child(3):before{background:#8c9caa}.mft-prediction-chart svg{width:100%;height:94px;overflow:visible}.mft-gridline{stroke:#eff2f3;stroke-width:1;stroke-dasharray:3 4;fill:none}.mft-line-green,.mft-line-red{fill:none;stroke:#2ab889;stroke-width:2;vector-effect:non-scaling-stroke}.mft-line-red{stroke:#e27d82;stroke-width:1.7}.mft-line-faint{stroke:none}.mft-chart-times{display:flex;justify-content:space-between;color:#abb2b9;font-size:calc(8px * 1.2);margin-top:-1px}.mft-dashboard-columns{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,.85fr);gap:14px;margin-top:15px}.mft-panel{background:#fff;border:1px solid #edf0f2;border-radius:7px;min-width:0;box-shadow:0 2px 6px #1a28320a}.mft-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 12px}.mft-table-wrap{width:100%;overflow-x:auto}.mft-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.mft-table th{font-size:calc(8px * 1.2);letter-spacing:.55px;color:#9aa2ab;font-weight:600;background:#fafbfc;padding:9px 12px;border-block:1px solid #f0f2f4}.mft-table td{font-size:calc(9px * 1.2);color:#606b78;padding:11px 12px;border-bottom:1px solid #f2f4f5}.mft-table tbody tr:last-child td{border-bottom:0}.mft-table td b{color:#36414e;font-size:calc(10px * 1.2)}.mft-table td small{display:block;color:#a0a7ae;font-size:calc(8px * 1.2);margin-top:2px}.mft-coin{width:25px;height:25px;display:inline-grid;place-items:center;border-radius:50%;font-size:calc(12px * 1.2);font-weight:700;vertical-align:middle;margin-right:7px}.mft-euro{background:#e8efff;color:#5874bc}.mft-bitcoin{background:#fff1df;color:#d98d2f}.mft-gold{background:#f5f0df;color:#ac8c36;font-size:calc(9px * 1.2)}.mft-index{background:#e8f4ee;color:#448f73;font-size:calc(7px * 1.2)}.mft-side-pill,.mft-closed-pill{display:inline-flex;padding:3px 7px;border-radius:4px;font-size:calc(8px * 1.2);font-weight:600}.mft-side-pill.is-buy{background:#e8f6f0;color:#278b69}.mft-side-pill.is-sell{background:#fdf0f0;color:#c96c72}.mft-closed-pill{background:#f2f4f6;color:#87909a}.mft-watchlist{padding:0 14px}.mft-watchlist>button{display:flex;width:100%;align-items:center;gap:8px;padding:10px 0;border:0;border-bottom:1px solid #f0f2f4;background:transparent;text-align:left}.mft-watch-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;font-size:calc(11px * 1.2);font-weight:700;flex:0 0 auto}.mft-watchlist>button>span:nth-child(2){min-width:0}.mft-watchlist b,.mft-watchlist small{display:block}.mft-watchlist b{font-size:calc(9px * 1.2);color:#35414c}.mft-watchlist small{font-size:calc(8px * 1.2);color:#a0a7ae;margin-top:2px}.mft-watch-price{margin-left:auto;text-align:right;font-size:calc(9px * 1.2);font-weight:600;color:#46515d;white-space:nowrap}.mft-watch-price small{font-size:calc(8px * 1.2);font-weight:500}.mft-mini-chart{font-size:calc(18px * 1.2);margin-left:4px}.mft-mini-chart.is-up{color:#2eb78a}.mft-mini-chart.is-down{color:#dc797f}.mft-full-link{display:flex;align-items:center;justify-content:space-between;width:calc(100% - 28px);margin:10px 14px 12px;border:0;background:none;color:#397c69;font-size:calc(9px * 1.2);font-weight:600}.mft-disclaimer{margin-top:15px;background:#f0f2f4;border-radius:5px;padding:10px 12px;color:#84909b;font-size:calc(9px * 1.2);line-height:1.6}.mft-disclaimer b{color:#66727d}.mft-footer{border-top:1px solid #e9edf0;padding:12px 36px;color:#a0a7ae;display:flex;justify-content:space-between;font-size:calc(8px * 1.2)}.mft-footer a{color:#75847e;text-decoration:none}.mft-demo-tag,.mft-order-demo{font-size:calc(8px * 1.2);letter-spacing:.7px;color:#418b75;background:#e9f5f0;padding:6px 9px;border-radius:4px;font-weight:700}.mft-market-tabs{display:flex;gap:5px;overflow-x:auto;margin:4px 0 14px;padding-bottom:2px}.mft-market-tabs button{border:0;background:transparent;color:#89939d;font-size:calc(10px * 1.2);padding:8px 13px;border-radius:5px;white-space:nowrap}.mft-market-tabs button.is-active{background:#1b3735;color:white}.mft-trade-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:13px;align-items:start}.mft-chart-panel,.mft-order-panel{background:#fff;border:1px solid #edf0f2;border-radius:7px;overflow:hidden}.mft-instrument-head{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f2f4}.mft-instrument-name{display:flex;align-items:center;gap:9px}.mft-instrument-name h2{margin:0;font:700 calc(13px * 1.2) Manrope,sans-serif}.mft-instrument-name small{font-size:calc(9px * 1.2);color:#929ba5}.mft-instrument-price{text-align:right}.mft-instrument-price b{font:700 calc(17px * 1.2) Manrope,sans-serif;display:block}.mft-instrument-price span{font-size:calc(9px * 1.2)}.mft-tv-chart{height:410px;background:#fff;position:relative}.mft-tv-chart iframe{width:100%;height:100%;border:0}.mft-tv-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#74828c;background:linear-gradient(180deg,#fff,#fafcfc);gap:8px}.mft-tv-placeholder>span{font:600 calc(13px * 1.2) Manrope,sans-serif;color:#596b70}.mft-tv-placeholder small{font-size:calc(10px * 1.2);color:#99a4aa}.mft-chart-note{border-top:1px solid #f0f2f4;padding:9px 13px;font-size:calc(8px * 1.2);color:#9ba4aa}.mft-chart-note a{color:#508573}.mft-order-panel{padding:16px}.mft-order-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.mft-order-head h2{font:700 calc(13px * 1.2) Manrope,sans-serif;margin:0}.mft-order-demo{font-size:calc(7px * 1.2);padding:4px 6px}.mft-field-label{display:block;font-size:calc(9px * 1.2);color:#77838e;font-weight:600;margin:11px 0 6px}.mft-order-panel select,.mft-order-panel input,.mft-form-grid input,.mft-form-grid select{height:37px;border:1px solid #e3e8eb;border-radius:5px;background:#fff;color:#43505b;padding:0 10px;font-size:calc(10px * 1.2);width:100%;outline:none}.mft-order-panel input:focus,.mft-form-grid input:focus,.mft-form-grid select:focus{border-color:#68b79b;box-shadow:0 0 0 3px #53b48f19}.mft-order-toggle{display:grid;grid-template-columns:1fr 1fr;background:#f2f4f5;padding:3px;border-radius:5px;margin:16px 0}.mft-order-toggle button{border:0;background:transparent;color:#858f98;font-size:calc(10px * 1.2);border-radius:4px;padding:8px}.mft-order-toggle button.is-buy{background:#20aa7b;color:#fff}.mft-order-toggle button.is-sell{background:#d96f75;color:#fff}.mft-input-with-suffix{position:relative}.mft-input-with-suffix input{padding-right:55px}.mft-input-with-suffix span{position:absolute;right:10px;top:10px;font-size:calc(9px * 1.2);color:#949da5}.mft-order-summary{padding:12px 0;margin:13px 0;border-block:1px solid #eff1f2;display:grid;gap:9px}.mft-order-summary>div{display:flex;justify-content:space-between;align-items:center;font-size:calc(9px * 1.2);color:#89939c}.mft-order-summary b{font-size:calc(9px * 1.2);color:#49545f;font-weight:600}.mft-button-buy{width:100%;background:#20aa7b;color:white}.mft-button-buy.is-sell{background:#d96f75}.mft-order-footnote{text-align:center;color:#a1a8ae;font-size:calc(8px * 1.2);margin:9px 0 0}.mft-trading-bottom{grid-template-columns:1.4fr 1fr}.mft-market-list{padding:0 15px 9px}.mft-market-row{display:grid;grid-template-columns:1.2fr .85fr .7fr .55fr;align-items:center;padding:10px 0;border-top:1px solid #f0f2f4;gap:8px;font-size:calc(9px * 1.2)}.mft-market-row button{border:0;background:none;text-align:left;padding:0;color:#44505c;font-weight:600}.mft-market-row small{display:block;color:#a0a7ae;font-size:calc(8px * 1.2);font-weight:400}.mft-market-info{padding-bottom:16px}.mft-market-info>p{font-size:calc(10px * 1.2);color:#7d8993;line-height:1.75;padding:0 16px;margin:0 0 10px}.mft-market-info>.mft-text-link{margin-left:16px}.mft-wallet-balance{background:#183331;border-radius:8px;padding:23px 25px;color:#fff;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow:hidden}.mft-wallet-balance:after{content:'';width:260px;height:260px;border:1px solid #ffffff13;border-radius:50%;position:absolute;right:60px;top:-155px;box-shadow:0 0 0 24px #ffffff08,0 0 0 50px #ffffff05}.mft-wallet-balance>span{color:#b5cbc5;font-size:calc(10px * 1.2)}.mft-wallet-balance>strong{font:700 calc(30px * 1.2) Manrope,sans-serif;letter-spacing:-1px;margin:5px 0}.mft-wallet-balance>small{font-size:calc(9px * 1.2);color:#abc0ba}.mft-wallet-balance>div{display:flex;gap:9px;margin-top:16px;z-index:1}.mft-wallet-balance .mft-button-dark{background:#33bd8b;color:#12352c}.mft-wallet-balance .mft-button-outline{background:transparent;border-color:#ffffff45;color:#fff}.mft-wallet-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:14px;margin-top:15px}.mft-activity-list{padding:0 16px 7px}.mft-activity-list>div{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #f0f2f4}.mft-activity-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;font-size:calc(15px * 1.2)}.mft-activity-icon.is-deposit{background:#e8f6ef;color:#289b73}.mft-activity-icon.is-withdraw{background:#f3f0e8;color:#9a8958}.mft-activity-list b,.mft-activity-list small{display:block}.mft-activity-list b{font-size:calc(10px * 1.2);color:#404c58}.mft-activity-list small{font-size:calc(8px * 1.2);color:#a0a7ae;margin-top:2px}.mft-activity-list strong{margin-left:auto;font-size:calc(10px * 1.2)}.mft-empty-method{height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#84919b;gap:5px}.mft-empty-method>span{font-size:calc(22px * 1.2);color:#aab5ba}.mft-empty-method b{font-size:calc(10px * 1.2);color:#53606c}.mft-empty-method small{font-size:calc(9px * 1.2);color:#9ba5ac}.mft-inline-notice{margin-top:14px;background:#f6f4ee;color:#8b8165;padding:11px 13px;border-radius:5px;font-size:calc(9px * 1.2);line-height:1.6}.mft-status-pill{font-size:calc(9px * 1.2);padding:7px 10px;border-radius:4px;background:#f8f3e8;color:#ad8c4c}.mft-kyc-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.7fr);gap:14px;align-items:start}.mft-kyc-form{padding:20px}.mft-kyc-intro{display:flex;gap:12px;align-items:center}.mft-kyc-icon{width:39px;height:39px;background:#eaf5f1;color:#368d73;display:grid;place-items:center;border-radius:8px;font-size:calc(18px * 1.2)}.mft-kyc-intro h2{font:700 calc(14px * 1.2) Manrope,sans-serif;margin:0}.mft-kyc-intro p{font-size:calc(9px * 1.2);color:#8b96a0;margin:4px 0 0;line-height:1.6}.mft-kyc-steps{display:flex;align-items:center;gap:0;margin:21px 0;border-bottom:1px solid #eef0f2;padding-bottom:12px}.mft-kyc-steps span{color:#a0a8ae;font-size:calc(9px * 1.2);display:flex;align-items:center;gap:6px;margin-right:20px}.mft-kyc-steps i{width:20px;height:20px;border:1px solid #e2e6e9;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:calc(9px * 1.2)}.mft-kyc-steps .is-current{color:#32866d;font-weight:600}.mft-kyc-steps .is-current i{background:#e5f4ed;border-color:#d0eadf;color:#278c6b}.mft-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.mft-form-grid>label{display:block;font-size:calc(9px * 1.2);color:#596571;font-weight:600}.mft-form-grid input,.mft-form-grid select{margin-top:5px;font-weight:400}.mft-span-2{grid-column:span 2}.mft-upload-label span{float:right;font-size:calc(8px * 1.2);color:#9aa3aa;font-weight:400}.mft-form-grid .mft-upload-label input{height:auto;padding:9px;border-style:dashed;background:#fafbfb}.mft-form-grid .mft-consent{font-weight:400;color:#77838d;display:flex;gap:7px;align-items:flex-start;line-height:1.6}.mft-form-grid .mft-consent input{width:13px;height:13px;margin:2px 0 0;flex:0 0 auto}.mft-kyc-form form>.mft-button{margin-top:17px}.mft-privacy-note{margin-top:17px;padding-top:12px;border-top:1px solid #eff1f2;font-size:calc(8px * 1.2);color:#8b969d;line-height:1.6}.mft-kyc-aside{padding:18px}.mft-kyc-aside h3{font:700 calc(13px * 1.2) Manrope,sans-serif;margin:0 0 6px}.mft-kyc-aside>p{font-size:calc(9px * 1.2);color:#8b959e;line-height:1.65;margin:0 0 14px}.mft-kyc-reason{display:flex;gap:9px;padding:10px 0;border-top:1px solid #f0f2f3}.mft-kyc-reason>span{width:19px;height:19px;border-radius:50%;background:#eaf5f0;color:#298e6c;display:grid;place-items:center;font-size:calc(10px * 1.2);flex:0 0 auto}.mft-kyc-reason b,.mft-kyc-reason small{display:block}.mft-kyc-reason b{font-size:calc(9px * 1.2);color:#48545e}.mft-kyc-reason small{font-size:calc(8px * 1.2);color:#9aa4aa;margin-top:2px}.mft-kyc-warning{background:#f7f5ef;color:#918661;font-size:calc(8px * 1.2);line-height:1.6;padding:10px;border-radius:4px;margin-top:10px}.mft-history-stats{margin-bottom:15px}.mft-history-panel .mft-table td,.mft-history-panel .mft-table th{padding-inline:13px}.mft-history-filter{border:1px solid #e7ebed;background:#fff;border-radius:4px;padding:7px 9px;color:#64707a;font-size:calc(9px * 1.2)}.mft-profile-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.mft-profile-layout>.mft-panel{padding-bottom:17px}.mft-profile-person{display:flex;align-items:center;gap:12px;padding:7px 17px 18px}.mft-avatar-large{width:47px;height:47px;font-size:calc(13px * 1.2)}.mft-profile-person b,.mft-profile-person small{display:block}.mft-profile-person b{font-size:calc(12px * 1.2)}.mft-profile-person small{font-size:calc(9px * 1.2);color:#8e98a1;margin-top:3px}.mft-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 15px;padding:15px 17px;border-top:1px solid #eff1f2}.mft-profile-grid small,.mft-profile-grid b{display:block}.mft-profile-grid small{font-size:calc(8px * 1.2);letter-spacing:.5px;color:#9ba4aa;margin-bottom:4px}.mft-profile-grid b{font-size:calc(10px * 1.2);color:#48535f;font-weight:600}.mft-preference-row,.mft-security-row{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-top:1px solid #eff1f2}.mft-preference-row b,.mft-preference-row small,.mft-security-row b,.mft-security-row small{display:block}.mft-preference-row b,.mft-security-row b{font-size:calc(10px * 1.2);color:#4b5762}.mft-preference-row small,.mft-security-row small{font-size:calc(8px * 1.2);color:#9ca5ac;margin-top:2px}.mft-preference-row input{accent-color:#259b74;width:15px;height:15px}.mft-help-layout{display:grid;grid-template-columns:1.55fr .75fr;gap:14px;align-items:start}.mft-faq{margin:0 16px;border-top:1px solid #eff1f2}.mft-faq summary{list-style:none;cursor:pointer;padding:13px 1px;color:#4b5762;font-size:calc(10px * 1.2);font-weight:600;display:flex;justify-content:space-between}.mft-faq summary::-webkit-details-marker{display:none}.mft-faq summary:after{content:'＋';color:#84938e;font-size:calc(13px * 1.2)}.mft-faq[open] summary:after{content:'−'}.mft-faq p{font-size:calc(9px * 1.2);line-height:1.7;color:#87929b;margin:0 0 13px}.mft-help-layout>.mft-panel>.mft-button{margin:16px}.mft-help-card{padding:22px;text-align:center}.mft-help-big-icon{width:40px;height:40px;border-radius:50%;background:#eaf5f0;color:#249c73;display:grid;place-items:center;margin:0 auto 12px;font-size:calc(20px * 1.2)}.mft-help-card h2{font:700 calc(15px * 1.2) Manrope,sans-serif;margin:0}.mft-help-card p{color:#8b969e;font-size:calc(9px * 1.2);line-height:1.6;max-width:210px;margin:7px auto 15px}.mft-help-card>small{display:block;font-size:calc(8px * 1.2);color:#a0a8ae;margin-top:12px}.mft-modal-backdrop{position:fixed;inset:0;background:#15252a77;display:none;align-items:center;justify-content:center;padding:20px;z-index:20}.mft-modal-backdrop.is-open{display:flex}.mft-modal{position:relative;background:white;border-radius:10px;padding:25px;width:min(360px,100%);text-align:center;box-shadow:0 20px 60px #11201f33}.mft-modal-close{position:absolute;right:12px;top:8px;border:0;background:none;color:#8b959e;font-size:calc(23px * 1.2)}.mft-modal-icon{width:33px;height:33px;border:1px solid #d0e9df;background:#eff8f3;color:#338b70;display:grid;place-items:center;border-radius:50%;margin:0 auto 12px;font-weight:700}.mft-modal h2{font:700 calc(16px * 1.2) Manrope,sans-serif;margin:0 0 7px}.mft-modal p{font-size:calc(10px * 1.2);color:#86919a;line-height:1.7;margin:0 0 18px}.mft-toast{position:fixed;bottom:22px;right:23px;background:#203a37;color:#fff;padding:11px 16px;border-radius:6px;font-size:calc(10px * 1.2);box-shadow:0 6px 22px #182b2b24;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s;z-index:30}.mft-toast.is-visible{opacity:1;transform:none}.mft-mobile-position{display:none}
@media(max-width:1100px){.mft-sidebar{width:205px;flex-basis:205px}.mft-content{padding:25px 24px}.mft-topbar{padding-inline:24px}.mft-stat-grid{gap:9px}.mft-stat-card{padding:13px}.mft-stat-card>strong{font-size:calc(19px * 1.2)}.mft-dashboard-columns{grid-template-columns:minmax(0,1.5fr) minmax(240px,.8fr)}.mft-table th,.mft-table td{padding-inline:9px}.mft-ai-card{grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr)}}
@media(max-width:820px){.mft-sidebar{position:fixed;left:-245px;top:0;transition:left .22s;box-shadow:10px 0 30px #14292a20}.mft-sidebar.is-open{left:0}.mft-menu-toggle{display:block;font-size:calc(18px * 1.2)}.mft-topbar{padding-inline:17px;height:57px}.mft-content{padding:22px 17px}.mft-footer{padding-inline:17px}.mft-stat-grid{grid-template-columns:1fr 1fr}.mft-dashboard-columns{grid-template-columns:1fr}.mft-ai-card{grid-template-columns:1fr}.mft-ai-copy>p{max-width:none}.mft-prediction-chart svg{height:110px}.mft-trade-layout{grid-template-columns:1fr}.mft-order-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.mft-order-head,.mft-order-toggle,.mft-order-summary,.mft-order-footnote,.mft-button-buy{grid-column:span 2}.mft-order-head{margin-bottom:8px}.mft-order-toggle{margin:10px 0}.mft-order-summary{margin:10px 0}.mft-wallet-grid{grid-template-columns:1fr}.mft-kyc-layout{grid-template-columns:1fr}.mft-profile-layout{grid-template-columns:1fr}.mft-help-layout{grid-template-columns:1fr  .7fr}.mft-history-panel .mft-table{min-width:800px}}
@media(max-width:560px){.mft-content{padding:19px 12px}.mft-topbar{padding:0 12px}.mft-breadcrumb{font-size:calc(10px * 1.2)}.mft-top-actions{gap:12px}.mft-market-status{display:none}.mft-top-user>span:not(.mft-avatar){display:none}.mft-heading-row{align-items:flex-start}.mft-heading-row h1{font-size:calc(22px * 1.2)}.mft-heading-row>.mft-button{padding:9px 11px;font-size:calc(9px * 1.2)}.mft-stat-card{padding:12px}.mft-stat-card>strong{font-size:calc(17px * 1.2)}.mft-stat-top{font-size:calc(9px * 1.2)}.mft-ai-card{padding:14px}.mft-signal-legend{gap:8px}.mft-section-heading{margin-top:20px}.mft-positions-panel .mft-table-wrap{display:none}.mft-mobile-position{display:block;padding:0 13px 9px}.mft-mobile-position>div{display:flex;align-items:center;padding:9px 0;border-top:1px solid #f0f2f4;gap:7px}.mft-mobile-position .mft-mobile-name{flex:1}.mft-mobile-position b,.mft-mobile-position small{display:block}.mft-mobile-position b{font-size:calc(9px * 1.2)}.mft-mobile-position small{font-size:calc(8px * 1.2);color:#9ca5ac}.mft-mobile-position .mft-mobile-pnl{text-align:right;font-weight:600;font-size:calc(9px * 1.2)}.mft-footer{font-size:calc(7px * 1.2);gap:12px}.mft-footer span:last-child{text-align:right}.mft-trading-bottom{grid-template-columns:1fr}.mft-tv-chart{height:330px}.mft-order-panel{display:block}.mft-market-row{grid-template-columns:1.1fr .8fr .8fr}.mft-market-row>span:last-child{display:none}.mft-wallet-balance{padding:20px}.mft-wallet-balance>strong{font-size:calc(26px * 1.2)}.mft-kyc-form{padding:15px}.mft-kyc-steps{justify-content:space-between}.mft-kyc-steps span{margin-right:5px;font-size:calc(8px * 1.2)}.mft-kyc-steps i{width:18px;height:18px}.mft-form-grid{gap:11px}.mft-upload-label span{float:none;display:block;margin-top:3px}.mft-help-layout{grid-template-columns:1fr}.mft-heading-row .mft-demo-tag{font-size:calc(7px * 1.2)}.mft-history-stats .mft-stat-card>strong{font-size:calc(17px * 1.2)}.mft-wallet-balance:after{right:-75px}.mft-toast{left:12px;right:12px;bottom:12px;text-align:center}}
@media(prefers-reduced-motion:reduce){.mft-app *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.mft-auth-page{min-height:75vh;padding:36px 16px;display:grid;place-items:center;background:#f7f8fa;font:400 calc(14px * 1.2)/1.55 'DM Sans',sans-serif;color:#25313d}.mft-auth-card{width:min(480px,100%);background:#fff;border:1px solid #e9edf1;border-radius:10px;padding:28px;box-shadow:0 8px 30px #192a3210}.mft-auth-card>.mft-brand-mark{margin-bottom:14px}.mft-auth-card h1{font:700 calc(22px * 1.2)/1.2 Manrope,sans-serif;margin:0 0 6px;letter-spacing:-.5px}.mft-auth-card>p{font-size:calc(12px * 1.2);color:#87929b;margin:0 0 22px}.mft-auth-card h2{font:700 calc(14px * 1.2)/1.4 Manrope,sans-serif;margin:16px 0 10px}.mft-auth-card form p{margin:0 0 10px}.mft-auth-card form label{display:block;color:#64717c;font-size:calc(11px * 1.2);font-weight:600;margin-bottom:10px}.mft-auth-card form input[type=text],.mft-auth-card form input[type=email],.mft-auth-card form input[type=password]{display:block;width:100%;height:40px;margin-top:5px;padding:0 10px;border:1px solid #e1e7ea;border-radius:5px;font:400 calc(12px * 1.2) 'DM Sans',sans-serif}.mft-auth-card form input[type=submit]{border:0;border-radius:5px;background:#1c3535;color:#fff;padding:10px 15px;font:600 calc(11px * 1.2) 'DM Sans',sans-serif;cursor:pointer}.mft-auth-card form>small{display:block;color:#89949c;font-size:calc(9px * 1.2);margin-top:9px}.mft-auth-card hr{border:0;border-top:1px solid #edf0f2;margin:20px 0}.mft-auth-error{background:#fff1f0;color:#aa4b50;padding:10px 12px;border-radius:5px;font-size:calc(10px * 1.2);margin-bottom:12px}.mft-auth-card .mft-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.mft-auth-card .mft-button{font-size:calc(11px * 1.2)}
.mft-logout{font-size:calc(10px * 1.2);color:#77847f;text-decoration:none;white-space:nowrap}.mft-logout:hover{color:#267d65}.mft-auth-page{min-height:100vh;padding:clamp(20px,5vw,64px);background:radial-gradient(ellipse at 10% 10%,#1d3b3730,transparent 42%),#f5f7f8}.mft-auth-shell{width:min(1120px,100%);min-height:650px;margin:auto;display:grid;grid-template-columns:.9fr 1.1fr;background:#fff;border:1px solid #e7ecee;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px #10231c16}.mft-auth-intro{padding:clamp(28px,5vw,64px);background:linear-gradient(145deg,#142b2b,#1f4940);color:#fff;display:flex;flex-direction:column}.mft-auth-intro .mft-brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:12px;font:700 20px Manrope,sans-serif}.mft-auth-intro .mft-brand small{display:block;font:600 9px 'DM Sans',sans-serif;letter-spacing:2px;opacity:.62}.mft-auth-intro .mft-brand-light{font-weight:400;color:#99d7bc}.mft-auth-intro-copy{margin:auto 0;padding:45px 0}.mft-auth-kicker{display:block;color:#39a783;font:700 10px 'DM Sans',sans-serif;letter-spacing:1.5px;margin-bottom:14px}.mft-auth-intro .mft-auth-kicker{color:#8bd8b8}.mft-auth-intro h1{font:700 clamp(30px,4vw,48px)/1.08 Manrope,sans-serif;letter-spacing:-1.4px;margin:10px 0 18px;max-width:450px}.mft-auth-intro p,.mft-auth-intro li{font:400 15px/1.7 'DM Sans',sans-serif;color:#d2dfda}.mft-auth-intro ul{padding-left:20px;margin-top:22px}.mft-auth-intro li{padding:4px 0}.mft-auth-intro>small{font:400 11px/1.6 'DM Sans',sans-serif;color:#a8bcb5}.mft-auth-card{width:auto;align-self:center;border:0;box-shadow:none;padding:clamp(26px,5vw,62px)}.mft-auth-card>h2{font:700 clamp(21px,2.5vw,28px)/1.2 Manrope,sans-serif;margin:0 0 8px;color:#20302f}.mft-auth-card .mft-auth-subtitle{font-size:calc(12px * 1.2);color:#85918f;margin:0 0 25px}.mft-auth-forms{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mft-auth-form-block h3{font:700 15px Manrope,sans-serif;margin:0 0 14px;color:#253433}.mft-auth-divider{display:none}.mft-auth-card form label{font-size:calc(11px * 1.2);color:#596762}.mft-auth-card form input[type=text],.mft-auth-card form input[type=email],.mft-auth-card form input[type=password]{height:44px;background:#fff}.mft-auth-card form input[type=submit],.mft-auth-card .mft-button{min-height:44px}.mft-auth-card .login-remember{display:flex;align-items:center;gap:8px}.mft-auth-card .login-remember label{margin:0}.mft-auth-card .login-remember input{width:auto}.mft-auth-card form>small{line-height:1.55}.mft-auth-required{padding:24px;border:1px solid #e4e9eb;border-radius:8px;background:#fff}.mft-auth-required a{font-weight:700;color:#16765b}@media(max-width:760px){.mft-auth-page{padding:14px}.mft-auth-shell{grid-template-columns:1fr;min-height:unset}.mft-auth-intro{padding:24px}.mft-auth-intro-copy{padding:32px 0 18px}.mft-auth-intro h1{font-size:32px}.mft-auth-intro ul{margin:10px 0}.mft-auth-card{padding:26px 22px}.mft-auth-forms{grid-template-columns:1fr;gap:18px}.mft-auth-divider{display:block;border-top:1px solid #edf0f2;text-align:center;height:1px;margin:4px 0}.mft-auth-divider span{position:relative;top:-10px;padding:0 10px;background:white;color:#96a09d;font:700 9px 'DM Sans',sans-serif;letter-spacing:1px}}
/* Readability and responsive refinements */
.mft-app small,.mft-app .mft-eyebrow,.mft-app .mft-stat-foot,.mft-app .mft-table th,.mft-app .mft-chart-legend,.mft-app .mft-chart-times,.mft-app .mft-side-foot,.mft-app .mft-footer,.mft-app .mft-market-row,.mft-app .mft-form-grid label,.mft-app .mft-profile-grid small,.mft-app .mft-faq p,.mft-app .mft-inline-notice,.mft-app .mft-status-pill,.mft-app .mft-demo-tag,.mft-app .mft-closed-pill,.mft-app .mft-side-pill{font-size:max(12px,1em);line-height:1.5}
.mft-app .mft-table th{font-weight:700;letter-spacing:.035em}.mft-app .mft-table td{font-size:13px;line-height:1.45}.mft-app .mft-heading-row p,.mft-app .mft-section-heading p,.mft-app .mft-panel-heading p,.mft-app .mft-ai-copy>p,.mft-app .mft-help-card p{font-size:14px;line-height:1.6}.mft-auth-page,.mft-auth-page *{box-sizing:border-box}.mft-auth-intro .mft-brand small{font-size:11px}.mft-auth-intro .mft-auth-kicker,.mft-auth-card .mft-auth-kicker{font-size:12px}.mft-auth-intro>small{font-size:13px}.mft-auth-form-block h3{font-size:17px}.mft-auth-card form label,.mft-auth-card form>small{font-size:14px;line-height:1.5}.mft-auth-card form input[type=text],.mft-auth-card form input[type=email],.mft-auth-card form input[type=password]{font-size:16px;min-height:48px}
@media(max-width:820px){.mft-app{width:100%;min-width:0;overflow:hidden}.mft-main{min-width:0;width:100%}.mft-topbar{gap:10px}.mft-breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mft-top-actions{min-width:0;gap:10px}.mft-content{min-width:0}.mft-panel,.mft-stat-card,.mft-ai-card,.mft-wallet-balance{min-width:0}.mft-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.mft-table{min-width:650px}.mft-history-panel .mft-table{min-width:850px}.mft-chart-legend,.mft-chart-times{font-size:12px}.mft-order-panel input,.mft-order-panel select,.mft-form-grid input,.mft-form-grid select{max-width:100%}.mft-help-layout{grid-template-columns:1fr}.mft-auth-shell{width:100%}}
@media(max-width:560px){.mft-app{font-size:15px}.mft-content{padding:18px 12px}.mft-topbar{height:auto;min-height:58px;padding:9px 12px;flex-wrap:wrap}.mft-breadcrumb{flex:1;font-size:13px}.mft-top-actions{margin-left:auto}.mft-logout{font-size:13px}.mft-menu-toggle{flex:0 0 auto}.mft-heading-row{gap:12px;flex-wrap:wrap}.mft-heading-row>div{min-width:0;flex:1 1 100%}.mft-heading-row>.mft-button{min-height:42px;font-size:13px}.mft-heading-row h1{font-size:26px;line-height:1.2}.mft-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mft-stat-card{padding:13px 11px}.mft-stat-top,.mft-stat-foot,.mft-stat-foot span{font-size:12px;line-height:1.45}.mft-stat-card>strong{font-size:21px;line-height:1.2;overflow-wrap:anywhere}.mft-section-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.mft-ai-card{padding:16px 13px;min-width:0}.mft-prediction-chart{min-width:0;overflow:hidden}.mft-prediction-chart svg{width:100%;height:115px}.mft-signal-legend{flex-wrap:wrap;font-size:12px}.mft-panel{padding:14px 12px}.mft-panel-heading{gap:8px;align-items:flex-start}.mft-panel-heading h2,.mft-section-heading h2{font-size:18px}.mft-panel-heading p,.mft-section-heading p{font-size:13px}.mft-mobile-position{padding-inline:0}.mft-mobile-position b,.mft-mobile-position .mft-mobile-pnl{font-size:13px}.mft-mobile-position small{font-size:12px}.mft-market-row{grid-template-columns:1fr 1fr;gap:7px;font-size:13px}.mft-footer{font-size:12px;line-height:1.5;flex-wrap:wrap}.mft-form-grid{grid-template-columns:1fr}.mft-span-2{grid-column:auto}.mft-kyc-steps span{font-size:12px;line-height:1.4}.mft-kyc-steps i{width:23px;height:23px}.mft-wallet-balance>div{display:flex;flex-wrap:wrap;gap:8px}.mft-wallet-balance .mft-button{flex:1 1 135px;min-height:44px}.mft-auth-page{padding:10px}.mft-auth-shell{border-radius:12px}.mft-auth-intro{padding:23px 20px}.mft-auth-intro-copy{padding:26px 0 14px}.mft-auth-intro h1{font-size:32px}.mft-auth-intro p,.mft-auth-intro li{font-size:15px}.mft-auth-intro>small{font-size:13px}.mft-auth-card{padding:24px 18px}.mft-auth-card>h2{font-size:23px}.mft-auth-card .mft-auth-subtitle{font-size:14px}.mft-auth-form-block h3{font-size:17px}.mft-auth-card form label,.mft-auth-card form>small{font-size:14px}.mft-auth-card form input[type=submit],.mft-auth-card .mft-button{width:100%;min-height:48px;font-size:15px}.mft-auth-error{font-size:14px;line-height:1.5}.mft-history-filter{max-width:145px}.mft-toast{font-size:14px}}
@media(max-width:820px){.mft-app{overflow-x:clip;overflow-y:visible}.mft-sidebar.is-open{z-index:100}}
/* Optimofx identity verification stepper */
.mft-kyc-steps button{appearance:none;flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:4px 7px;border:0;background:transparent;color:#818d89;text-align:left;font:600 13px/1.35 'DM Sans',sans-serif;cursor:pointer}.mft-kyc-steps button span{display:block;margin:0;font-size:13px;line-height:1.35}.mft-kyc-steps button i{flex:0 0 26px;width:26px;height:26px;font-size:13px}.mft-kyc-steps button.is-current{color:#23795f}.mft-kyc-steps button.is-current i,.mft-kyc-steps button.is-complete i{background:#e3f4eb;border-color:#c3e5d4;color:#23795f}.mft-kyc-steps button.is-complete{color:#3c806b}.mft-kyc-slide[hidden],.mft-kyc-success[hidden]{display:none!important}.mft-kyc-slide h3{font:700 19px/1.3 Manrope,sans-serif;color:#253633;margin:0 0 14px}.mft-kyc-step-copy{font-size:14px;line-height:1.6;color:#74817c;margin:0 0 16px}.mft-kyc-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px}.mft-kyc-actions>span{font-size:13px;color:#7b8782}.mft-kyc-actions .mft-button{min-height:44px;font-size:14px}.mft-kyc-success{display:grid;gap:6px;margin:18px 0;padding:16px 18px;border:1px solid #a8ddbd;border-left:5px solid #15965c;border-radius:7px;background:#edfaf1;color:#17643e}.mft-kyc-success b{font:700 16px/1.4 Manrope,sans-serif}.mft-kyc-success span{font:400 13px/1.55 'DM Sans',sans-serif;color:#315e48}.mft-kyc-form .mft-privacy-note{font-size:13px;line-height:1.6}.mft-kyc-aside .mft-kyc-reason>span{font-size:14px}.mft-kyc-aside .mft-kyc-reason small,.mft-kyc-warning{font-size:13px;line-height:1.55}.mft-kyc-aside>p{font-size:14px;line-height:1.55}
+@media(max-width:820px){.mft-kyc-layout{grid-template-columns:minmax(0,1fr)}.mft-kyc-aside{order:2}.mft-kyc-form{min-width:0}.mft-kyc-steps button{gap:6px;padding:4px 2px}.mft-kyc-steps button span{font-size:12px}.mft-kyc-actions{flex-wrap:wrap}.mft-kyc-actions>span{flex:1;text-align:center}}
+@media(max-width:560px){.mft-kyc-form{padding:16px 13px}.mft-kyc-intro{align-items:flex-start}.mft-kyc-intro p{font-size:14px;line-height:1.55}.mft-kyc-steps{gap:3px;margin:17px 0;padding-bottom:10px}.mft-kyc-steps button{flex-direction:column;justify-content:center;gap:5px;text-align:center}.mft-kyc-steps button span{font-size:12px;line-height:1.25}.mft-kyc-steps button i{width:28px;height:28px;flex-basis:28px}.mft-kyc-slide h3{font-size:20px}.mft-kyc-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mft-kyc-actions>span{grid-column:1/-1;grid-row:1;font-size:13px}.mft-kyc-actions .mft-button{width:100%;min-width:0;min-height:46px;padding:9px 8px;font-size:13px}.mft-kyc-actions button[type=submit]{grid-column:1/-1}.mft-upload-label input{width:100%;min-width:0}.mft-kyc-success{padding:14px}.mft-kyc-success b{font-size:16px}.mft-kyc-success span{font-size:13px}.mft-kyc-aside{padding:16px 13px}}
/* Full viewport portal pages: remove the active WordPress theme chrome and gutters around the app */
body.mft-portal-page{margin:0!important;padding:0!important;min-width:320px;background:#f7f8fa!important;overflow-x:hidden}body.mft-portal-page #masthead,body.mft-portal-page #colophon,body.mft-portal-page .site-header,body.mft-portal-page .site-footer,body.mft-portal-page .primary-navigation,body.mft-portal-page .main-navigation,body.mft-portal-page .wp-block-navigation,body.mft-portal-page .wp-block-template-part,body.mft-portal-page .entry-header,body.mft-portal-page .entry-footer{display:none!important}body.mft-portal-page #page,body.mft-portal-page .site,body.mft-portal-page .site-content,body.mft-portal-page #content,body.mft-portal-page #primary,body.mft-portal-page #main,body.mft-portal-page .content-area,body.mft-portal-page .site-main,body.mft-portal-page .container,body.mft-portal-page .entry-content,body.mft-portal-page .wp-block-post-content,body.mft-portal-page .wp-site-blocks,body.mft-portal-page .wp-site-blocks>main{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}body.mft-portal-page .wp-site-blocks{gap:0!important}body.mft-portal-page .wp-site-blocks>*{margin-block-start:0!important}body.mft-portal-page .mft-app{width:100%;max-width:none;min-height:100vh;margin:0;border-radius:0}body.mft-portal-page .mft-auth-page{width:100%;min-height:100vh;margin:0}
body.mft-portal-page>header,body.mft-portal-page>footer,body.mft-portal-page>nav,body.mft-portal-page .wp-site-blocks>nav{display:none!important}body.mft-portal-page .is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){width:100%!important;max-width:none!important;margin-inline:0!important}
/* Break portal app out of theme page-builder width constraints */
body.mft-portal-page .mft-app,body.mft-portal-page .mft-auth-page{position:relative;left:50%;width:100vw!important;max-width:none!important;margin-left:-50vw!important;margin-right:0!important;border-radius:0!important}body.mft-portal-page .mft-app{min-height:100vh}body.mft-portal-page #wpadminbar{display:none!important}html:has(body.mft-portal-page){margin-top:0!important}
/* Remove residual theme offsets by anchoring the portal to the viewport */
html:has(body.mft-portal-page),html:has(body.mft-portal-page) body{width:100%;height:100%;margin:0!important;padding:0!important;overflow:hidden!important}body.mft-portal-page{position:relative!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}body.mft-portal-page .mft-app{position:fixed!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:100vw!important;height:100vh!important;min-height:100vh!important;max-width:none!important;margin:0!important;overflow:visible!important;z-index:1000000!important}body.mft-portal-page .mft-main{height:100vh;min-height:0;overflow-y:auto;overscroll-behavior:contain}body.mft-portal-page .mft-sidebar{height:100vh;min-height:100vh}body.mft-portal-page .mft-auth-page{position:fixed!important;inset:0!important;left:0!important;top:0!important;width:100vw!important;height:100vh!important;min-height:100vh!important;margin:0!important;overflow-y:auto!important;z-index:1000000!important}
/* Polished full-viewport sign-in and account creation */
body.mft-portal-page .mft-auth-page{padding:0!important;min-height:100dvh!important;display:grid;place-items:stretch;background:#f4f7f6!important}
body.mft-portal-page .mft-auth-shell{width:100%!important;min-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;grid-template-columns:minmax(300px,.86fr) minmax(0,1.14fr)!important}
body.mft-portal-page .mft-auth-intro{padding:clamp(30px,6vw,88px);justify-content:center}
body.mft-portal-page .mft-auth-intro-copy{margin:0;padding:clamp(24px,5vh,58px) 0}
body.mft-portal-page .mft-auth-card{width:100%;max-width:980px;justify-self:center;align-self:center;padding:clamp(30px,5vw,76px)}
body.mft-portal-page .mft-auth-forms{gap:clamp(20px,3vw,42px)}
body.mft-portal-page .mft-auth-form-block{padding:24px;border:1px solid #e8eeeb;border-radius:14px;background:#fff;box-shadow:0 12px 30px #17372b0a}
body.mft-portal-page .mft-auth-card form label{margin-bottom:14px}
body.mft-portal-page .mft-auth-card form input[type=text],body.mft-portal-page .mft-auth-card form input[type=email],body.mft-portal-page .mft-auth-card form input[type=password]{border-radius:9px;background:#fbfcfc;transition:border-color .18s,box-shadow .18s}
body.mft-portal-page .mft-auth-card form input:focus{outline:0;border-color:#159b71;box-shadow:0 0 0 3px #159b711c}
body.mft-portal-page .mft-auth-card form input[type=submit],body.mft-portal-page .mft-auth-card .mft-button{width:100%;border-radius:9px;background:#159b71;color:white;font-size:15px;font-weight:700;transition:transform .18s,background .18s}
body.mft-portal-page .mft-auth-card form input[type=submit]:hover,body.mft-portal-page .mft-auth-card .mft-button:hover{background:#117b5b;transform:translateY(-1px)}
/* Visual-only dashboard refinement; existing interface wording is unchanged. */
.mft-app .mft-panel,.mft-app .mft-stat-card,.mft-app .mft-ai-card{border-radius:14px;box-shadow:0 8px 26px #172a3010;border:1px solid #e8edf0}
.mft-app .mft-stat-card{transition:transform .18s,box-shadow .18s}
.mft-app .mft-stat-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #172a3018}
.mft-app .mft-nav-item{border-radius:10px;min-height:46px}
.mft-app .mft-topbar{background:#fff;border-bottom:1px solid #e9edf1}
@media(max-width:760px){body.mft-portal-page .mft-auth-page{padding:0!important;overflow-y:auto!important}body.mft-portal-page .mft-auth-shell{min-height:100dvh!important;grid-template-columns:1fr!important}body.mft-portal-page .mft-auth-intro{padding:24px 22px}body.mft-portal-page .mft-auth-intro-copy{padding:24px 0 10px}body.mft-portal-page .mft-auth-card{padding:25px 18px;align-self:start}body.mft-portal-page .mft-auth-forms{grid-template-columns:1fr;gap:14px}body.mft-portal-page .mft-auth-form-block{padding:18px}}
/* Professional registration form, responsive on narrow screens */
.mft-signup-standalone{width:min(560px,calc(100% - 28px));margin:30px auto;padding:clamp(20px,4vw,34px);border:1px solid #e5ece8;border-radius:16px;background:#fff;box-shadow:0 18px 48px #163a2b12;color:#20302f;font-family:'DM Sans',sans-serif}
.mft-signup-standalone>h2{margin:0 0 20px;font:700 26px/1.2 Manrope,sans-serif;color:#20302f}
.mft-registration-form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.mft-registration-form>label,.mft-registration-form .mft-signup-phone>label{display:block;min-width:0;margin:0;color:#52625c;font-size:14px;font-weight:600;line-height:1.45}
.mft-registration-form input[type=text],.mft-registration-form input[type=tel],.mft-registration-form input[type=email],.mft-registration-form input[type=password],.mft-registration-form select{display:block;width:100%;height:46px;margin-top:6px;padding:0 11px;border:1px solid #dce5e0;border-radius:8px;background:#fbfcfc;color:#253530;font:400 15px 'DM Sans',sans-serif}
.mft-registration-form input:focus,.mft-registration-form select:focus{outline:0;border-color:#169b70;box-shadow:0 0 0 3px #169b701b}
.mft-signup-phone{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:end;gap:12px;grid-column:1/-1}
.mft-registration-form select[name=phone_code]{padding-inline:8px;font-size:14px}
.mft-registration-form fieldset.mft-signup-experience{grid-column:1/-1;display:flex;align-items:center;gap:20px;margin:0;padding:12px 14px;border:1px solid #dce5e0;border-radius:8px}
.mft-signup-experience legend{padding:0 5px;color:#52625c;font-size:14px;font-weight:600}
.mft-signup-experience label{display:flex;align-items:center;gap:7px;color:#34443e;font-size:14px}
.mft-signup-experience input{accent-color:#159b71}
.mft-registration-form>button,.mft-registration-form>.mft-button{grid-column:1/-1;width:100%;min-height:48px;border:0;border-radius:8px;background:#159b71;color:#fff;font-size:15px;font-weight:700;cursor:pointer}
.mft-registration-form>small{grid-column:1/-1;color:#74817b;font-size:13px;line-height:1.5}
.mft-registration-form .mft-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:560px){.mft-registration-form{grid-template-columns:1fr;gap:12px}.mft-signup-phone{grid-column:auto}.mft-registration-form fieldset.mft-signup-experience,.mft-registration-form>button,.mft-registration-form>small{grid-column:auto}.mft-signup-standalone{margin:18px auto;padding:20px 16px}.mft-signup-standalone>h2{font-size:23px}}
/* Refined dashboard styling and slightly larger secondary text */
.mft-app{--canvas:#f3f6f7;--line:#e5ebee}
.mft-app .mft-main{background:linear-gradient(180deg,#f7f9fa 0%,#f1f5f6 100%)}
.mft-app .mft-topbar{box-shadow:0 2px 12px #14252a08;backdrop-filter:blur(10px)}
.mft-app .mft-content{max-width:1680px;margin-inline:auto}
.mft-app .mft-heading-row h1,.mft-app .mft-panel-heading h2,.mft-app .mft-section-heading h2{letter-spacing:-.035em}
.mft-app .mft-stat-grid{gap:15px}
.mft-app .mft-stat-card,.mft-app .mft-panel,.mft-app .mft-ai-card{border-color:#e4eaed;border-radius:15px;box-shadow:0 7px 24px #1a313a0b}
.mft-app .mft-stat-card{background:linear-gradient(145deg,#fff,#fbfcfc)}
.mft-app .mft-stat-top,.mft-app .mft-stat-foot,.mft-app .mft-stat-foot span,.mft-app .mft-table th,.mft-app .mft-table td,.mft-app .mft-eyebrow,.mft-app .mft-demo-tag,.mft-app .mft-status-pill,.mft-app .mft-closed-pill,.mft-app .mft-side-pill{font-size:max(13px,1em);line-height:1.5}
.mft-app .mft-table td{font-size:14px}
.mft-app .mft-nav-item{font-size:14px;min-height:48px;transition:background .18s,color .18s,transform .18s}
.mft-app .mft-nav-item.is-active{box-shadow:inset 3px 0 #38ca91;background:#ffffff16}
.mft-app .mft-button{min-height:42px;border-radius:9px;font-weight:700;transition:transform .18s,box-shadow .18s,background .18s}
.mft-app .mft-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px #15382b17}
.mft-app .mft-market-row,.mft-app .mft-footer,.mft-app .mft-inline-notice,.mft-app .mft-side-foot{font-size:13px;line-height:1.55}
.mft-app .mft-panel-heading p,.mft-app .mft-heading-row p,.mft-app .mft-section-heading p,.mft-app .mft-ai-copy>p,.mft-app .mft-help-card p{font-size:15px;line-height:1.6}
.mft-app .mft-mobile-position small{font-size:13px}
.mft-app .mft-stat-card>strong{letter-spacing:-.035em}
@media(max-width:820px){.mft-app .mft-content{max-width:none}.mft-app .mft-stat-grid{gap:11px}}
@media(max-width:560px){.mft-app .mft-content{padding:17px 12px}.mft-app .mft-stat-grid{gap:9px}.mft-app .mft-panel,.mft-app .mft-stat-card,.mft-app .mft-ai-card{border-radius:12px}.mft-app .mft-table td{font-size:13px}.mft-app .mft-panel-heading p,.mft-app .mft-heading-row p,.mft-app .mft-section-heading p{font-size:14px}}
/* Dashboard appearance toggle */
.mft-app .mft-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border:1px solid #dce4e8;border-radius:9px;background:#f8fafb;color:#435260;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.mft-app .mft-theme-toggle:hover{background:#edf3f5}
.mft-app[data-theme="dark"]{--ink:#e8eef3;--muted:#a2afba;--line:#2b3944;--canvas:#101820;color:#e8eef3;color-scheme:dark}
.mft-app[data-theme="dark"] .mft-main{background:#101820;color:#e8eef3}
.mft-app[data-theme="dark"] .mft-topbar{background:#16212a;border-color:#2a3944;color:#e8eef3}
.mft-app[data-theme="dark"] .mft-content{color:#e8eef3}
.mft-app[data-theme="dark"] .mft-stat-card,.mft-app[data-theme="dark"] .mft-panel,.mft-app[data-theme="dark"] .mft-ai-card,.mft-app[data-theme="dark"] .mft-order-panel,.mft-app[data-theme="dark"] .mft-table-wrap,.mft-app[data-theme="dark"] .mft-wallet-balance,.mft-app[data-theme="dark"] .mft-kyc-form,.mft-app[data-theme="dark"] .mft-kyc-aside,.mft-app[data-theme="dark"] .mft-profile-card,.mft-app[data-theme="dark"] .mft-help-card,.mft-app[data-theme="dark"] .mft-order-summary,.mft-app[data-theme="dark"] .mft-faq,.mft-app[data-theme="dark"] .mft-activity-list,.mft-app[data-theme="dark"] .mft-market-card,.mft-app[data-theme="dark"] .mft-market-row{background:#18242d;color:#e8eef3;border-color:#2b3944;box-shadow:0 7px 24px #0003}
.mft-app[data-theme="dark"] .mft-stat-card{background:linear-gradient(145deg,#1c2a34,#17232c)}
.mft-app[data-theme="dark"] h1,.mft-app[data-theme="dark"] h2,.mft-app[data-theme="dark"] h3,.mft-app[data-theme="dark"] h4,.mft-app[data-theme="dark"] .mft-heading-row,.mft-app[data-theme="dark"] .mft-panel-heading,.mft-app[data-theme="dark"] .mft-section-heading,.mft-app[data-theme="dark"] .mft-stat-card>strong,.mft-app[data-theme="dark"] .mft-table b,.mft-app[data-theme="dark"] .mft-market-row b{color:#e8eef3}
.mft-app[data-theme="dark"] .mft-heading-row p,.mft-app[data-theme="dark"] .mft-panel-heading p,.mft-app[data-theme="dark"] .mft-section-heading p,.mft-app[data-theme="dark"] .mft-muted,.mft-app[data-theme="dark"] .mft-eyebrow,.mft-app[data-theme="dark"] .mft-market-row small,.mft-app[data-theme="dark"] .mft-footer{color:#a2afba}
.mft-app[data-theme="dark"] .mft-table{color:#dce5eb}
.mft-app[data-theme="dark"] .mft-table th{background:#1d2a34;color:#b5c1ca;border-color:#2b3944}
.mft-app[data-theme="dark"] .mft-table td,.mft-app[data-theme="dark"] .mft-table tr{border-color:#2b3944}
.mft-app[data-theme="dark"] .mft-table tbody tr:nth-child(even){background:#1b2831}
.mft-app[data-theme="dark"] .mft-table tbody tr:hover{background:#22323d}
.mft-app[data-theme="dark"] input:not([type=checkbox]):not([type=radio]),.mft-app[data-theme="dark"] select,.mft-app[data-theme="dark"] textarea{background:#111b23;color:#e8eef3;border-color:#354550}
.mft-app[data-theme="dark"] input::placeholder,.mft-app[data-theme="dark"] textarea::placeholder{color:#83929e}
.mft-app[data-theme="dark"] .mft-inline-notice,.mft-app[data-theme="dark"] .mft-demo-banner{background:#1b302d;color:#c7e5d9;border-color:#315248}
.mft-app[data-theme="dark"] .mft-footer{border-color:#2b3944}
.mft-app[data-theme="dark"] .mft-theme-toggle{background:#26343e;color:#e8eef3;border-color:#42525e}
.mft-app[data-theme="dark"] .mft-theme-toggle:hover{background:#31434f}
@media(max-width:560px){.mft-app .mft-theme-toggle{padding:7px 9px;font-size:12px}.mft-app .mft-theme-toggle span{display:none}}
/* Typography refresh: consistent, readable dashboard hierarchy */
.mft-app{font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.55;letter-spacing:0}
.mft-app .mft-heading-row h1{font:750 30px/1.2 Manrope,'Segoe UI',sans-serif;letter-spacing:-.6px}
.mft-app .mft-section-heading h2,.mft-app .mft-panel-heading h2{font:750 19px/1.3 Manrope,'Segoe UI',sans-serif;letter-spacing:-.25px}
.mft-app .mft-stat-card>strong{font:750 27px/1.2 Manrope,'Segoe UI',sans-serif;letter-spacing:-.55px}
.mft-app .mft-stat-card>strong small{font:650 15px/1.3 'DM Sans','Segoe UI',sans-serif}
.mft-app .mft-ai-copy h3{font:700 19px/1.35 Manrope,'Segoe UI',sans-serif}
.mft-app .mft-heading-row p,.mft-app .mft-panel-heading p,.mft-app .mft-section-heading p,.mft-app .mft-ai-copy>p,.mft-app .mft-help-card p{font-size:15px;line-height:1.6}
.mft-app .mft-nav-item{font-size:15px;font-weight:600;letter-spacing:.01em}
.mft-app .mft-nav-item.is-active{font-weight:750}
.mft-app .mft-account b,.mft-app .mft-top-user,.mft-app .mft-breadcrumb,.mft-app .mft-market-status{font-size:14px;font-weight:600}
.mft-app .mft-stat-top,.mft-app .mft-stat-foot,.mft-app .mft-stat-foot span,.mft-app .mft-market-row,.mft-app .mft-footer,.mft-app .mft-inline-notice,.mft-app .mft-side-foot,.mft-app .mft-disclaimer{font-size:14px;line-height:1.55}
.mft-app .mft-table th{font-size:13px;font-weight:750;letter-spacing:.65px}
.mft-app .mft-table td{font-size:14px;line-height:1.5}
.mft-app .mft-table td b,.mft-app .mft-watchlist b{font-size:14px;font-weight:700}
.mft-app .mft-table td small,.mft-app .mft-watchlist small{font-size:13px;line-height:1.45}
.mft-app .mft-eyebrow,.mft-app .mft-demo-tag,.mft-app .mft-status-pill,.mft-app .mft-closed-pill,.mft-app .mft-side-pill,.mft-app .mft-order-demo{font-size:13px;font-weight:700;line-height:1.45}
.mft-app .mft-chart-legend,.mft-app .mft-chart-times,.mft-app .mft-signal-legend,.mft-app .mft-updated{font-size:13px;line-height:1.45}
.mft-app .mft-button,.mft-app .mft-text-link,.mft-app .mft-market-tabs button,.mft-app .mft-field-label{font-size:14px;font-weight:650}
.mft-app .mft-form-grid label,.mft-app .mft-form-grid input,.mft-app .mft-form-grid select,.mft-app .mft-form-grid textarea,.mft-app .mft-order-panel label,.mft-app .mft-order-panel input,.mft-app .mft-order-panel select{font-size:15px}
.mft-app .mft-modal p,.mft-app .mft-toast,.mft-app .mft-faq p,.mft-app .mft-kyc-step-copy,.mft-app .mft-privacy-note{font-size:14px;line-height:1.6}
.mft-app .mft-mobile-position b,.mft-app .mft-mobile-position .mft-mobile-pnl{font-size:14px}
.mft-app .mft-mobile-position small,.mft-app .mft-profile-grid small,.mft-app .mft-kyc-reason small{font-size:13px}
@media(max-width:820px){.mft-app .mft-heading-row h1{font-size:28px}.mft-app .mft-stat-card>strong{font-size:25px}}
@media(max-width:560px){.mft-app{font-size:15px}.mft-app .mft-heading-row h1{font-size:26px}.mft-app .mft-section-heading h2,.mft-app .mft-panel-heading h2{font-size:18px}.mft-app .mft-stat-card>strong{font-size:22px}.mft-app .mft-stat-top,.mft-app .mft-stat-foot,.mft-app .mft-stat-foot span{font-size:13px}.mft-app .mft-table td{font-size:13px}.mft-app .mft-chart-legend,.mft-app .mft-chart-times,.mft-app .mft-signal-legend{font-size:12px}.mft-app .mft-heading-row p,.mft-app .mft-panel-heading p,.mft-app .mft-section-heading p{font-size:14px}}
.mft-profile-edit-form{margin:0 17px 18px;padding:18px;border:1px solid #e5ebee;border-radius:12px;background:#f8fafb}
.mft-profile-edit-form h3{margin:0 0 4px;color:#253633;font:700 18px/1.35 Manrope,'Segoe UI',sans-serif}
.mft-profile-edit-form>p{margin:0 0 14px;color:#74817c;font-size:14px;line-height:1.5}
.mft-profile-edit-form .mft-form-grid{margin-bottom:14px}
.mft-profile-form-notice{margin:0 0 12px;padding:11px 13px;border-radius:8px;background:#eaf7ef;color:#216b45;font-size:14px;font-weight:650}
.mft-profile-edit-form .mft-button{min-height:46px}
.mft-profile-edit-form summary{cursor:pointer}
@media(max-width:560px){.mft-profile-edit-form{margin:0 0 14px;padding:14px 12px}.mft-profile-edit-form h3{font-size:17px}}
.mft-app[data-theme="dark"] .mft-profile-edit-form{border-color:#29454c;background:#172a30;color:#ecf4f1;box-shadow:0 12px 32px #10212622}
.mft-app[data-theme="dark"] .mft-profile-edit-form h3,.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid>label{color:#ecf4f1}
.mft-app[data-theme="dark"] .mft-profile-edit-form>p{color:#a9bbb9}
.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid input,.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid select{background:#20383e!important;border:1px solid #3a555b!important;color:#f5fbf9!important;border-radius:7px;min-height:43px;padding:9px 11px}
.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid input:focus,.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid select:focus{border-color:#42c999!important;box-shadow:0 0 0 3px #37bb871c}
.mft-wallet-ledger{padding:0 16px 10px}.mft-ledger-entry{display:flex;align-items:center;gap:11px;padding:13px 0;border-top:1px solid #edf0f2}.mft-ledger-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e9f6ef;color:#16865e;font-size:18px}.mft-ledger-copy{flex:1;min-width:0}.mft-ledger-copy b,.mft-ledger-copy small{display:block}.mft-ledger-copy b{font-size:14px;color:#263a3e}.mft-ledger-copy small{font-size:12px;color:#819095;margin-top:3px;overflow-wrap:anywhere}.mft-ledger-entry>strong{font-size:15px;white-space:nowrap}.mft-payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:4px 16px 13px}.mft-payment-methods span{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px;border:1px solid #e8edef;border-radius:8px;background:#fafcfc;color:#43545a;font-size:13px;font-weight:700}.mft-payment-note{display:block;padding:0 16px 17px;color:#89969a;line-height:1.5}.mft-wallet-action-form{display:grid;gap:10px;margin-top:16px;text-align:left}.mft-wallet-action-form label{font-size:13px;font-weight:650}.mft-wallet-action-form input{width:100%;height:45px;padding:9px 11px;border:1px solid #dbe2e5;border-radius:7px;background:#fff;color:#27383e}.mft-chat-backdrop[hidden]{display:none!important}.mft-chat-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:flex-end;padding:22px;background:#101d2355}.mft-chat-dialog{width:min(420px,100%);height:min(620px,calc(100vh - 44px));display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 24px 70px #0b1b2166;overflow:hidden}.mft-chat-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:18px;background:#172a30;color:#fff}.mft-chat-dialog>header b,.mft-chat-dialog>header small{display:block}.mft-chat-dialog>header b{font-size:17px}.mft-chat-dialog>header small{margin-top:4px;color:#c2d1ce;font-size:12px;line-height:1.5}.mft-chat-dialog>header button{border:0;background:transparent;color:#fff;font-size:25px;line-height:1}.mft-chat-messages{flex:1;overflow:auto;padding:16px;background:#f6f8f8}.mft-chat-empty{color:#738187;font-size:13px;line-height:1.6}.mft-chat-message{max-width:88%;padding:9px 12px;margin:0 0 10px;border-radius:11px;background:#fff;box-shadow:0 2px 9px #10242a0d}.mft-chat-message.is-customer{margin-left:auto;background:#e5f5ec}.mft-chat-message small{display:block;color:#758489;font-size:11px}.mft-chat-message p{margin:5px 0 0;color:#263a3e;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.mft-chat-form{padding:13px 15px 15px;border-top:1px solid #e9eff0}.mft-chat-form label{display:block;margin-bottom:6px;color:#405259;font-size:12px;font-weight:700}.mft-chat-form textarea{display:block;width:100%;min-height:72px;padding:10px;border:1px solid #dbe3e5;border-radius:8px;resize:vertical}.mft-chat-form .mft-button{margin-top:9px;width:100%}.mft-contact-options{display:grid;gap:7px;padding:0 19px 19px;text-align:left}.mft-contact-options>b{font-size:13px;color:#34484d}.mft-contact-options>span,.mft-contact-options>a{font-size:12px;color:#66777b;line-height:1.5}.mft-contact-options>a{overflow-wrap:anywhere}.mft-contact-chat{display:block;padding:8px 10px;border:1px solid #e7edef;border-radius:7px;background:#f8fbfa;text-decoration:none!important;color:#2e705d!important;font-weight:650}.mft-trading-widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}.mft-trading-widgets>.mft-panel{min-width:0;overflow:hidden}.mft-trading-widgets tv-screener,.mft-trading-widgets tv-market-summary,.mft-trading-widgets tv-advanced-chart{display:block;min-height:320px}.mft-trading-ticker{grid-column:1/-1}.mft-trading-ticker tv-ticker-tape{display:block;min-height:90px}.mft-tv-chart iframe{display:block;width:100%;height:100%;min-height:420px;border:0}.mft-tv-chart{background:#10191d}
@media(max-width:700px){.mft-trading-widgets{grid-template-columns:1fr}.mft-trading-ticker{grid-column:auto}.mft-chat-backdrop{padding:0}.mft-chat-dialog{width:100%;height:min(680px,100vh);border-radius:16px 16px 0 0}.mft-ledger-entry{gap:8px}.mft-ledger-copy small{font-size:11px}}
.mft-wallet-action-form[hidden]{display:none!important}.mft-contact-options h2{line-height:1.35}
/* Mobile-first layout refinements: reserve a separate row for top actions and prevent narrow cards from colliding. */
@media(max-width:600px){
	.mft-app{width:100%;min-width:0;overflow-x:hidden}
	.mft-app .mft-main{width:100%;min-width:0}
	.mft-app .mft-topbar{height:auto!important;min-height:88px;flex-wrap:wrap;align-content:center;gap:5px 9px;padding:8px 12px}
	.mft-app .mft-menu-toggle{order:1;flex:0 0 36px;width:36px;height:36px;padding:0;display:grid;place-items:center}
	.mft-app .mft-breadcrumb{order:2;flex:1 1 calc(100% - 50px);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	.mft-app .mft-top-actions{order:3;flex:1 0 100%;width:100%;min-width:0;margin:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;padding:1px 0 0}
	.mft-app .mft-market-status{display:none}
	.mft-app .mft-theme-toggle{min-height:34px;padding:6px 9px;font-size:13px}
	.mft-app .mft-theme-toggle span{display:none}
	.mft-app .mft-icon-btn{width:34px;height:34px;flex:0 0 34px}
	.mft-app .mft-top-user{min-height:34px;padding:3px 6px;gap:5px}
	.mft-app .mft-top-user>span:not(.mft-avatar){display:none}
	.mft-app .mft-logout{font-size:13px;white-space:nowrap;padding:5px 7px}
	.mft-app .mft-content{width:100%;min-width:0;padding:17px 12px 20px}
	.mft-app .mft-heading-row{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:15px}
	.mft-app .mft-heading-row>div{width:100%;min-width:0}
	.mft-app .mft-heading-row h1{max-width:100%;font-size:clamp(23px,7vw,28px);line-height:1.18;overflow-wrap:anywhere}
	.mft-app .mft-heading-row p{max-width:100%;line-height:1.5}
	.mft-app .mft-heading-row>.mft-button,.mft-app .mft-heading-row>.mft-demo-tag,.mft-app .mft-heading-row>.mft-status-pill{align-self:flex-start;max-width:100%;white-space:normal}
	.mft-app .mft-demo-banner{align-items:flex-start;flex-wrap:wrap;line-height:1.55;padding:10px}
	.mft-app .mft-demo-banner>[data-mft-quote-status]{flex:1 1 calc(100% - 34px);min-width:0;overflow-wrap:anywhere}
	.mft-app .mft-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
	.mft-app .mft-stat-card{min-width:0;overflow:hidden;padding:11px 10px}
	.mft-app .mft-stat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;line-height:1.35}
	.mft-app .mft-stat-icon{flex:0 0 auto}
	.mft-app .mft-stat-card>strong{display:block;max-width:100%;font-size:clamp(16px,5vw,22px);line-height:1.25;overflow-wrap:anywhere}
	.mft-app .mft-stat-foot{min-width:0;flex-wrap:wrap;gap:4px 8px;line-height:1.35}
	.mft-app .mft-section-heading{align-items:flex-start;flex-wrap:wrap;gap:6px}
	.mft-app .mft-ai-card,.mft-app .mft-panel,.mft-app .mft-wallet-balance,.mft-app .mft-chart-panel,.mft-app .mft-order-panel{min-width:0;max-width:100%}
	.mft-app .mft-market-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;white-space:nowrap;scrollbar-width:thin;padding-bottom:7px}
	.mft-app .mft-market-tabs button{flex:0 0 auto}
	.mft-app .mft-instrument-head{flex-wrap:wrap;gap:10px}
	.mft-app .mft-instrument-price{margin-left:auto;text-align:right}
	.mft-app .mft-trade-layout{min-width:0;grid-template-columns:minmax(0,1fr)}
	.mft-app .mft-order-panel{display:block;padding:14px}
	.mft-app .mft-order-panel>*{max-width:100%}
	.mft-app .mft-order-summary{width:100%}
	.mft-app .mft-tv-chart{width:100%;height:340px;min-height:300px}
	.mft-app .mft-tv-chart iframe{min-height:300px}
	.mft-app .mft-trading-widgets{grid-template-columns:minmax(0,1fr);gap:10px}
	.mft-app .mft-trading-widgets>.mft-panel{width:100%;min-width:0}
	.mft-app .mft-trading-widgets tv-screener,.mft-app .mft-trading-widgets tv-market-summary{min-height:300px}
	.mft-app .mft-trading-widgets tv-advanced-chart{min-height:330px}
	.mft-app .mft-wallet-balance>div{display:flex;flex-wrap:wrap;gap:8px}
	.mft-app .mft-wallet-balance .mft-button{flex:1 1 130px}
	.mft-app .mft-profile-grid{grid-template-columns:minmax(0,1fr);gap:13px;padding-inline:13px}
	.mft-app .mft-form-grid{grid-template-columns:minmax(0,1fr)}
	.mft-app .mft-form-grid .mft-span-2{grid-column:auto}
	.mft-app .mft-kyc-steps{overflow-x:auto;justify-content:flex-start;gap:12px}
	.mft-app .mft-kyc-steps span{flex:0 0 auto}
	.mft-app .mft-table-wrap{max-width:100%;overflow-x:auto}
	.mft-app .mft-history-panel .mft-table{min-width:820px}
	.mft-app .mft-footer{align-items:flex-start;flex-direction:column;gap:6px;padding:12px}
	.mft-app .mft-footer span:last-child{text-align:left}
}
@media(max-width:380px){
	.mft-app .mft-content{padding-inline:9px}
	.mft-app .mft-stat-grid{gap:7px}
	.mft-app .mft-stat-card{padding:9px 8px}
	.mft-app .mft-stat-card>strong{font-size:16px}
	.mft-app .mft-topbar{padding-inline:9px}
	.mft-app .mft-logout{font-size:12px}
}

/* Keep history totals aligned with the dashboard cards as the viewport narrows. */
.mft-app .mft-history-stats{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.mft-app .mft-history-stats .mft-stat-card{min-width:0}
@media(max-width:1200px){.mft-app .mft-history-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.mft-app .mft-history-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.mft-app .mft-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.mft-app .mft-close-trade{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid #e8b5b8;border-radius:7px;background:#fff5f5;color:#a4434c;font:700 12px/1.2 'DM Sans','Segoe UI',sans-serif;white-space:nowrap;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.mft-app .mft-close-trade:hover{background:#ffe9ea;border-color:#de8c91;transform:translateY(-1px)}
.mft-app .mft-close-trade:disabled{opacity:.65;cursor:wait;transform:none}
.mft-app .mft-history-action{min-width:105px}
.mft-app[data-theme="dark"] .mft-close-trade{background:#382427;border-color:#654047;color:#ffb9be}
.mft-app[data-theme="dark"] .mft-close-trade:hover{background:#492a2e;border-color:#88515a}
@media(max-width:820px){.mft-app .mft-history-panel .mft-table{min-width:970px}.mft-app .mft-positions-panel .mft-table{min-width:740px}}
@media(max-width:600px){.mft-app .mft-close-trade-mobile{flex:0 0 auto;min-height:32px;padding:5px 8px;font-size:11px}.mft-app .mft-mobile-position>div{gap:7px}.mft-app .mft-history-action{min-width:105px}}
.mft-app .mft-kyc-status-layout{align-items:start}
.mft-app .mft-kyc-request-form{display:grid;gap:12px;margin-top:18px}
.mft-app .mft-kyc-request-form>p{margin:0;color:#70817a;font-size:14px;line-height:1.6}
.mft-app .mft-kyc-status-message{margin:18px 0}
.mft-app .mft-kyc-rejected{display:grid;gap:6px;margin:18px 0;padding:16px 18px;border:1px solid #f0c4c7;border-left:5px solid #c6535e;border-radius:8px;background:#fff2f2;color:#83323a}
.mft-app .mft-kyc-rejected b{font:700 16px/1.4 Manrope,'Segoe UI',sans-serif}
.mft-app .mft-kyc-rejected span{font-size:14px;line-height:1.55;color:#824c51}
.mft-app[data-theme="dark"] .mft-kyc-success{background:#182d27;border-color:#315b49;color:#bde8ce}
.mft-app[data-theme="dark"] .mft-kyc-success span{color:#b8d4c3}
.mft-app[data-theme="dark"] .mft-kyc-rejected{background:#332326;border-color:#653c42;color:#ffd1d4}
.mft-app[data-theme="dark"] .mft-kyc-rejected span{color:#e0b7ba}
.mft-app[data-theme="dark"] .mft-kyc-request-form>p{color:#adbbb6}

/* Compact, searchable trading market browser. */
.mft-app .mft-trading-bottom{align-items:start;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:16px}
.mft-app .mft-market-browser{overflow:hidden;padding:0}
.mft-app .mft-market-browser .mft-panel-heading{align-items:center;padding:18px 20px 12px}
.mft-app .mft-market-count{flex:0 0 auto;color:#74847f;font-size:12px;font-weight:650}
.mft-app .mft-market-toolbar{padding:0 18px 12px}
.mft-app .mft-market-search{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid #e1e9e6;border-radius:9px;background:#f8faf9;color:#71827c}
.mft-app .mft-market-search>span{font-size:19px;line-height:1}
.mft-app .mft-market-search input{width:100%;min-width:0;height:38px;padding:0;border:0!important;outline:0;background:transparent!important;color:var(--ink);font:500 14px/1.4 'DM Sans','Segoe UI',sans-serif;box-shadow:none!important}
.mft-app .mft-market-search input::placeholder{color:#9aa7a2}
.mft-app .mft-market-list{padding:0 18px 6px}
.mft-app .mft-market-list.is-expanded{max-height:410px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b7c8c1 transparent}
.mft-app .mft-market-row{grid-template-columns:minmax(0,1.3fr) minmax(86px,.7fr) minmax(95px,.7fr) minmax(72px,.45fr);gap:10px;min-height:54px;padding:8px 4px;border-top:1px solid #edf1ef;font-size:13px}
.mft-app .mft-market-row button{min-width:0;font-size:14px;line-height:1.3}
.mft-app .mft-market-row button small{margin-top:3px;font-size:12px;line-height:1.35}
.mft-app .mft-market-row>b{font-size:13px;white-space:nowrap}
.mft-app .mft-market-row>span:nth-of-type(1){font-size:12px;white-space:nowrap}
.mft-app .mft-market-row>span:last-child{justify-self:end;color:#8a9691;font-size:11px;font-weight:650}
.mft-app .mft-market-list-footer{display:flex;justify-content:center;padding:8px 16px 14px;border-top:1px solid #edf1ef}
.mft-app .mft-market-list-footer button{min-height:38px;padding:7px 12px;border-radius:8px}
.mft-app .mft-market-list-footer button[hidden]{display:none!important}
.mft-app .mft-market-empty{margin:0;padding:20px 4px;color:#788781;font-size:13px}
.mft-app .mft-market-info{padding-bottom:18px}
.mft-app .mft-market-info>p{margin:0 18px 14px;color:#788781;font-size:14px;line-height:1.65}
.mft-app .mft-market-info>.mft-text-link{margin:0 18px}
.mft-app[data-theme="dark"] .mft-market-count{color:#a4b4ad}
.mft-app[data-theme="dark"] .mft-market-search{background:#121c22;border-color:#35434a;color:#a9bbb3}
.mft-app[data-theme="dark"] .mft-market-search input{color:#edf3f5}
.mft-app[data-theme="dark"] .mft-market-list-footer{border-color:#2b3944}
.mft-app[data-theme="dark"] .mft-market-info>p{color:#a2afb8}
@media(max-width:980px){.mft-app .mft-trading-bottom{grid-template-columns:minmax(0,1fr);align-items:start}.mft-app .mft-market-info{max-width:none}}
@media(max-width:600px){.mft-app .mft-market-browser .mft-panel-heading{padding:14px 13px 10px}.mft-app .mft-market-toolbar{padding:0 12px 10px}.mft-app .mft-market-list{padding-inline:12px}.mft-app .mft-market-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;min-height:58px;padding:9px 2px}.mft-app .mft-market-row button{grid-column:1;grid-row:1 / span 2}.mft-app .mft-market-row>b{grid-column:2;grid-row:1;justify-self:end}.mft-app .mft-market-row>span:nth-of-type(1){grid-column:2;grid-row:2;justify-self:end}.mft-app .mft-market-row>span:last-child{display:none}.mft-app .mft-market-list.is-expanded{max-height:360px}}
/* TradingView market workspace widgets */
.mft-tv-ticker-panel{margin:0 0 16px;padding:13px 16px 7px;overflow:hidden;border:1px solid #e4eaed;border-radius:15px;background:#fff;box-shadow:0 7px 24px #1a313a0b}
.mft-tv-section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 7px;color:#65756f;font-size:12px;font-weight:750;letter-spacing:.08em}
.mft-tv-section-label small{color:#8a9692;font-size:12px;font-weight:500;letter-spacing:0}
.mft-tv-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:15px;margin:0 0 15px}
.mft-tv-widget-panel{padding-bottom:14px;overflow:hidden}
.mft-tv-widget-panel .mft-panel-heading,.mft-tv-screener-panel .mft-panel-heading{padding:17px 19px 12px}
.mft-tv-provider{flex:0 0 auto;padding:5px 8px;border:1px solid #dce8e2;border-radius:6px;background:#f3f8f5;color:#517466;font-size:11px;font-weight:750;letter-spacing:.07em}
.mft-tv-widget-panel tv-advanced-chart{display:block;width:100%;height:430px;min-height:350px}
.mft-tv-widget-panel tv-market-summary{display:block;width:100%;height:430px;min-height:350px}
.mft-tv-screener-panel{margin-bottom:15px;padding-bottom:14px;overflow:hidden}
.mft-tv-screener-panel tv-screener{display:block;width:100%;height:530px;min-height:420px}
.mft-tv-ticker-panel tv-ticker-tape{display:block;width:100%;min-height:48px}
.mft-tv-loading{display:grid;min-height:110px;place-items:center;padding:18px;color:#788890;font-size:14px;text-align:center}
.mft-app[data-theme="dark"] .mft-tv-ticker-panel{background:#18242d;border-color:#2b3944;box-shadow:0 7px 24px #0003}
.mft-app[data-theme="dark"] .mft-tv-section-label{color:#c1d0d7}
.mft-app[data-theme="dark"] .mft-tv-section-label small{color:#9eabb8}
.mft-app[data-theme="dark"] .mft-tv-provider{background:#1e322e;border-color:#315248;color:#b5d9c9}
.mft-app[data-theme="dark"] tv-ticker-tape,.mft-app[data-theme="dark"] tv-advanced-chart,.mft-app[data-theme="dark"] tv-market-summary,.mft-app[data-theme="dark"] tv-screener{color-scheme:dark}
@media(max-width:980px){.mft-tv-dashboard-grid{grid-template-columns:1fr}.mft-tv-widget-panel tv-advanced-chart{height:390px}.mft-tv-widget-panel tv-market-summary{height:350px}}
@media(max-width:560px){.mft-tv-ticker-panel{padding:11px 10px 5px;border-radius:12px}.mft-tv-section-label{align-items:flex-start;flex-direction:column;gap:2px;font-size:11px}.mft-tv-section-label small{font-size:11px}.mft-tv-dashboard-grid{gap:11px}.mft-tv-widget-panel .mft-panel-heading,.mft-tv-screener-panel .mft-panel-heading{padding:14px 13px 10px}.mft-tv-widget-panel tv-advanced-chart{height:350px;min-height:330px}.mft-tv-widget-panel tv-market-summary{height:330px;min-height:300px}.mft-tv-screener-panel tv-screener{height:500px;min-height:420px}.mft-tv-provider{font-size:10px;padding:4px 6px}}
/* Sidebar refresh: branded logo, scrollable navigation and pinned account footer */
.mft-app .mft-sidebar{width:264px;flex:0 0 264px;height:100dvh;min-height:0;padding:18px 13px 12px;overflow:hidden;background:linear-gradient(180deg,#102522 0%,#132b28 100%);border-right:1px solid #ffffff0c}
.mft-app .mft-brand{width:100%;height:auto;min-height:62px;flex:0 0 auto;justify-content:center;padding:3px 5px 10px;margin:0 0 9px}
.mft-app .mft-brand-logo{display:block;width:min(100%,226px);height:58px;object-fit:contain;object-position:center}
.mft-app .mft-brand-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f7fbf9;font-size:19px;letter-spacing:-.4px;font-weight:800}
.mft-auth-intro .mft-brand-text{display:block;color:#14231f;font:800 24px/1.1 Manrope,'DM Sans',sans-serif;letter-spacing:-.6px}
.mft-app .mft-account{flex:0 0 auto;margin:8px 0 15px;padding:12px 10px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff09}
.mft-app .mft-account b{font-size:14px;font-weight:750}
.mft-app .mft-account small{font-size:12px;color:#a5b9b1}
.mft-app .mft-nav-label{flex:0 0 auto;padding:2px 11px 8px;color:#92aaa0;font-size:11px;letter-spacing:1.5px}
.mft-app .mft-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;gap:5px;padding:2px 3px 8px 0;scrollbar-width:thin;scrollbar-color:#55756a transparent}
.mft-app .mft-nav-item{position:relative;min-height:46px;border:1px solid transparent;border-radius:10px;padding:10px 11px;color:#bdcbc5;font-size:14px;font-weight:650;letter-spacing:.01em;transition:background .18s,border-color .18s,color .18s,transform .18s}
.mft-app .mft-nav-item>span{width:20px;color:#9bb7ab;font-size:18px}
.mft-app .mft-nav-item:hover{background:#ffffff0d;border-color:#ffffff0c;color:#fff;transform:translateX(2px)}
.mft-app .mft-nav-item.is-active{background:linear-gradient(105deg,#1d936e,#21785f);border-color:#65d7a333;color:#fff;font-weight:750;box-shadow:0 7px 18px #071a1633,inset 0 1px #ffffff1c}
.mft-app .mft-nav-item.is-active>span{color:#b5f1d5}
.mft-app .mft-side-bottom{z-index:2;flex:0 0 auto;margin-top:8px;padding:10px 0 0;background:linear-gradient(180deg,#132b28 0%,#102522 100%);border-top:1px solid #ffffff14}
.mft-app .mft-market-open{min-height:50px;padding:10px;border:1px solid #ffffff10;background:#ffffff0a}
.mft-app .mft-market-open b{font-size:13px;font-weight:700}
.mft-app .mft-market-open small{font-size:12px}
.mft-app .mft-side-foot{padding:10px 10px 0;font-size:12px;line-height:1.6}
body.admin-bar .mft-app .mft-sidebar{top:32px;height:calc(100dvh - 32px)}
@media(max-height:800px) and (min-width:821px){.mft-app .mft-sidebar{padding-top:12px;padding-bottom:8px}.mft-app .mft-brand{min-height:52px;margin-bottom:4px}.mft-app .mft-brand-logo{height:49px}.mft-app .mft-account{margin:5px 0 9px;padding:9px}.mft-app .mft-nav-label{padding-bottom:5px}.mft-app .mft-nav-item{min-height:41px;padding-block:8px}.mft-app .mft-side-bottom{margin-top:5px;padding-top:7px}.mft-app .mft-side-foot{padding-top:7px}}
@media(max-width:782px){body.admin-bar .mft-app .mft-sidebar{top:46px;height:calc(100dvh - 46px)}}
@media(max-width:820px){.mft-app .mft-sidebar{width:264px;flex:0 0 264px;height:100dvh;min-height:0;left:-278px;overflow:hidden}.mft-app .mft-sidebar.is-open{left:0}.mft-app .mft-brand-logo{width:min(100%,226px)}}
@media(min-width:821px) and (max-width:1100px){.mft-app .mft-sidebar{width:224px;flex-basis:224px}.mft-app .mft-brand-logo{width:min(100%,200px)}}

/* Unified charcoal and emerald dark palette */
.mft-app[data-theme="dark"]{--ink:#f2f5f7;--muted:#a2afb8;--line:#29343d;--green:#28b887;--red:#e46f78;--canvas:#10161c;color:#f2f5f7;background:#10161c}
.mft-app[data-theme="dark"] .mft-main,.mft-app[data-theme="dark"] .mft-content{background:#10161c;color:#f2f5f7}
.mft-app[data-theme="dark"] .mft-topbar{background:#141b22;border-color:#29343d;color:#f2f5f7}
.mft-app[data-theme="dark"] .mft-sidebar{background:linear-gradient(180deg,#10231f 0%,#0e1c1a 100%);border-color:#293a35}
.mft-app[data-theme="dark"] .mft-side-bottom{background:linear-gradient(180deg,#10231f 0%,#0e1c1a 100%);border-color:#293a35}
.mft-app[data-theme="dark"] .mft-stat-card,.mft-app[data-theme="dark"] .mft-panel,.mft-app[data-theme="dark"] .mft-ai-card,.mft-app[data-theme="dark"] .mft-order-panel,.mft-app[data-theme="dark"] .mft-table-wrap,.mft-app[data-theme="dark"] .mft-wallet-balance,.mft-app[data-theme="dark"] .mft-kyc-form,.mft-app[data-theme="dark"] .mft-kyc-aside,.mft-app[data-theme="dark"] .mft-profile-card,.mft-app[data-theme="dark"] .mft-help-card,.mft-app[data-theme="dark"] .mft-order-summary,.mft-app[data-theme="dark"] .mft-faq,.mft-app[data-theme="dark"] .mft-activity-list,.mft-app[data-theme="dark"] .mft-market-card,.mft-app[data-theme="dark"] .mft-market-row,.mft-app[data-theme="dark"] .mft-chart-panel,.mft-app[data-theme="dark"] .mft-trading-widgets>.mft-panel{background:#171f27;color:#f2f5f7;border-color:#29343d;box-shadow:0 8px 24px #00000020}

.mft-app .mft-risk-fields{grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.mft-app .mft-risk-fields label{display:grid;gap:5px;font-size:13px;font-weight:600}.mft-app .mft-risk-fields label:first-child{grid-column:span 2}.mft-app .mft-risk-fields input,.mft-app .mft-risk-fields select{width:100%;min-width:0}.mft-app .mft-lot-calc{border:1px solid var(--line);border-radius:6px;padding:7px 9px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 8px}.mft-app .mft-lot-calc span{font-size:12px;color:var(--muted)}.mft-app .mft-lot-calc b{font-size:13px}.mft-app .mft-lot-calc button{grid-column:span 2;border:0;background:#eaf5f0;color:#187b5c;padding:5px;border-radius:4px;font-weight:700}.mft-app .mft-lot-calc button:disabled{opacity:.5;cursor:not-allowed}.mft-app .mft-order-summary>div:nth-child(n+4){border-top:1px solid var(--line);padding-top:8px}.mft-app[data-theme="dark"] .mft-order-summary>div:nth-child(n+4){border-color:#33414b}.mft-app[data-theme="dark"] .mft-lot-calc{border-color:#33414b;background:#151d24}.mft-app[data-theme="dark"] .mft-lot-calc button{background:#1d493c;color:#8ee1bd}
.mft-app[data-theme="dark"] .mft-stat-card{background:#171f27}
.mft-app[data-theme="dark"] h1,.mft-app[data-theme="dark"] h2,.mft-app[data-theme="dark"] h3,.mft-app[data-theme="dark"] h4,.mft-app[data-theme="dark"] .mft-heading-row,.mft-app[data-theme="dark"] .mft-panel-heading,.mft-app[data-theme="dark"] .mft-section-heading,.mft-app[data-theme="dark"] .mft-stat-card>strong,.mft-app[data-theme="dark"] .mft-table b,.mft-app[data-theme="dark"] .mft-market-row b{color:#f2f5f7}
.mft-app[data-theme="dark"] .mft-heading-row p,.mft-app[data-theme="dark"] .mft-panel-heading p,.mft-app[data-theme="dark"] .mft-section-heading p,.mft-app[data-theme="dark"] .mft-muted,.mft-app[data-theme="dark"] .mft-eyebrow,.mft-app[data-theme="dark"] .mft-market-row small,.mft-app[data-theme="dark"] .mft-footer,.mft-app[data-theme="dark"] .mft-stat-top,.mft-app[data-theme="dark"] .mft-stat-foot{color:#a2afb8}
.mft-app[data-theme="dark"] .mft-table,.mft-app[data-theme="dark"] .mft-table td{color:#dce3e8}
.mft-app[data-theme="dark"] .mft-table th{background:#1c252e;color:#b9c4cc;border-color:#29343d}
.mft-app[data-theme="dark"] .mft-table td,.mft-app[data-theme="dark"] .mft-table tr{border-color:#29343d}
.mft-app[data-theme="dark"] .mft-table tbody tr:nth-child(even){background:#1a232b}
.mft-app[data-theme="dark"] .mft-table tbody tr:hover{background:#202c35}
.mft-app[data-theme="dark"] input:not([type=checkbox]):not([type=radio]),.mft-app[data-theme="dark"] select,.mft-app[data-theme="dark"] textarea{background:#11181f;color:#f2f5f7;border-color:#35414a}
.mft-app[data-theme="dark"] input::placeholder,.mft-app[data-theme="dark"] textarea::placeholder{color:#9aa8b1}
.mft-app[data-theme="dark"] .mft-inline-notice,.mft-app[data-theme="dark"] .mft-demo-banner{background:#182923;color:#c8e7db;border-color:#29463a}
.mft-app[data-theme="dark"] .mft-theme-toggle{background:#1b252d;color:#e8eef2;border-color:#35414a}
.mft-app[data-theme="dark"] .mft-theme-toggle:hover{background:#222e37}
.mft-app[data-theme="dark"] .mft-nav-item.is-active{background:linear-gradient(105deg,#247a62,#1e6b56);border-color:#28b88755;box-shadow:0 7px 18px #071a1633,inset 0 1px #ffffff1c}
.mft-app[data-theme="dark"] .mft-button-dark{background:#28b887;color:#10221c}
.mft-app[data-theme="dark"] .mft-button-outline{background:#1b252d;color:#e4ebef;border-color:#35414a}
.mft-app[data-theme="dark"] .mft-stat-icon{background:#202a33;color:#aebcc4}
.mft-app[data-theme="dark"] .mft-tv-ticker-panel{background:#171f27;border-color:#29343d}
.mft-app[data-theme="dark"] .mft-tv-section-label{color:#d7e0e5}
.mft-app[data-theme="dark"] .mft-tv-section-label small{color:#a2afb8}
.mft-app[data-theme="dark"] .mft-profile-edit-form{background:#171f27;border-color:#29343d}
.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid input,.mft-app[data-theme="dark"] .mft-profile-edit-form .mft-form-grid select{background:#202a33!important;border-color:#35414a!important}
.mft-app[data-theme="dark"] .mft-trading-widgets tv-screener,.mft-app[data-theme="dark"] .mft-trading-widgets tv-market-summary,.mft-app[data-theme="dark"] .mft-trading-widgets tv-advanced-chart{color-scheme:dark}

/* Final responsive alignment pass for dashboard, account pages, and navigation. */
@media (max-width: 820px) {
	.mft-app{width:100%;min-width:0;overflow-x:clip}
	.mft-app .mft-sidebar{position:fixed;inset:0 auto 0 0;left:-284px;width:min(280px,86vw);height:100dvh;min-height:0;flex:0 0 auto;z-index:1001;transition:left .22s ease;box-shadow:12px 0 36px #07151255}
	.mft-app .mft-sidebar.is-open{left:0}
	.mft-app .mft-main{width:100%;min-width:0}
	.mft-app .mft-menu-toggle{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:9px;background:#f1f5f4}
	.mft-app[data-theme="dark"] .mft-menu-toggle{background:#202a32;color:#edf3f5}
	.mft-app .mft-content{width:100%;max-width:none;padding:20px clamp(14px,3vw,24px)}
	.mft-app .mft-dashboard-columns,.mft-app .mft-tv-dashboard-grid,.mft-app .mft-trading-widgets,.mft-app .mft-profile-layout,.mft-app .mft-help-layout,.mft-app .mft-wallet-grid,.mft-app .mft-kyc-layout,.mft-app .mft-trade-layout{grid-template-columns:minmax(0,1fr);min-width:0}
	.mft-app .mft-dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.mft-app .mft-ai-card{grid-template-columns:minmax(0,1fr);gap:14px}
	.mft-app .mft-panel,.mft-app .mft-stat-card,.mft-app .mft-ai-card,.mft-app .mft-wallet-balance{min-width:0;max-width:100%}
	.mft-app .mft-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.mft-app .mft-table{min-width:650px}
	.mft-app .mft-history-panel .mft-table{min-width:820px}
	.mft-app .mft-tv-widget-panel,.mft-app .mft-tv-screener-panel,.mft-app .mft-chart-panel{min-width:0;max-width:100%;overflow:hidden}
	.mft-app .mft-order-panel{width:100%;min-width:0}
	.mft-app .mft-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.mft-app .mft-form-grid .mft-span-2{grid-column:1/-1}
	.mft-app .mft-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.mft-app .mft-footer{gap:8px;flex-wrap:wrap}
}
@media (max-width: 600px) {
	.mft-app .mft-topbar{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;gap:5px 9px;height:auto;min-height:0;padding:9px 12px}
	.mft-app .mft-menu-toggle{grid-column:1;grid-row:1}
	.mft-app .mft-breadcrumb{grid-column:2;grid-row:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	.mft-app .mft-top-actions{grid-column:1/-1;grid-row:2;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:8px;width:100%;min-width:0;margin:0}
	.mft-app .mft-top-user{min-width:34px}
	.mft-app .mft-content{padding:15px 12px 22px}
	.mft-app .mft-heading-row{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:15px}
	.mft-app .mft-heading-row>div{flex:1 1 100%;width:100%;min-width:0}
	.mft-app .mft-heading-row>.mft-button,.mft-app .mft-heading-row>.mft-status-pill{max-width:100%;white-space:normal}
	.mft-app .mft-heading-row h1{font-size:clamp(23px,7vw,28px);overflow-wrap:anywhere}
	.mft-app .mft-dashboard-stat-grid,.mft-app .mft-history-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
	.mft-app .mft-stat-card{padding:11px 10px}
	.mft-app .mft-stat-card>strong{font-size:clamp(17px,5.4vw,22px);white-space:normal;overflow-wrap:anywhere}
	.mft-app .mft-stat-top,.mft-app .mft-stat-foot{font-size:12px;line-height:1.4}
	.mft-app .mft-stat-foot{align-items:flex-start;flex-wrap:wrap}
	.mft-app .mft-section-heading,.mft-app .mft-panel-heading{align-items:flex-start;gap:8px}
	.mft-app .mft-section-heading h2,.mft-app .mft-panel-heading h2{font-size:17px}
	.mft-app .mft-panel-heading{padding:13px 12px 10px}
	.mft-app .mft-watchlist{padding-inline:10px}
	.mft-app .mft-watchlist>button{gap:6px;min-width:0}
	.mft-app .mft-watch-price{font-size:12px}
	.mft-app .mft-mini-chart{display:none}
	.mft-app .mft-trade-layout,.mft-app .mft-form-grid{grid-template-columns:minmax(0,1fr)}
	.mft-app .mft-form-grid .mft-span-2{grid-column:auto}
	.mft-app .mft-profile-grid{grid-template-columns:minmax(0,1fr);gap:12px}
	.mft-app .mft-profile-edit-form{margin-inline:0;padding:14px 12px}
	.mft-app .mft-kyc-steps{justify-content:flex-start;overflow-x:auto;gap:10px;padding-bottom:5px}
	.mft-app .mft-kyc-steps span{flex:0 0 auto}
	.mft-app .mft-wallet-balance{padding:17px 15px}
	.mft-app .mft-wallet-balance>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
	.mft-app .mft-wallet-balance .mft-button{min-width:0;white-space:normal;padding-inline:8px}
	.mft-app .mft-tv-widget-panel tv-advanced-chart{height:330px;min-height:300px}
	.mft-app .mft-tv-widget-panel tv-market-summary{height:320px;min-height:290px}
	.mft-app .mft-tv-screener-panel tv-screener{height:450px;min-height:390px}
	.mft-app .mft-footer{align-items:flex-start;flex-direction:column;font-size:12px}
	.mft-app .mft-footer span:last-child{text-align:left}
	.mft-auth-page{padding:0!important;min-height:100dvh}
	.mft-auth-shell{width:100%;min-height:100dvh;border:0;border-radius:0;grid-template-columns:minmax(0,1fr)}
	.mft-auth-intro{padding:22px 18px}
	.mft-auth-intro-copy{padding:20px 0 10px}
	.mft-auth-intro h1{font-size:clamp(27px,8vw,34px)}
	.mft-auth-card{padding:22px 16px}
	.mft-auth-forms{grid-template-columns:minmax(0,1fr);gap:16px}
}
@media (max-width: 380px) {
	.mft-app .mft-content{padding-inline:9px}
	.mft-app .mft-topbar{padding-inline:9px}
	.mft-app .mft-dashboard-stat-grid,.mft-app .mft-history-stats{gap:7px}
	.mft-app .mft-stat-card{padding:9px 8px}
	.mft-app .mft-stat-top,.mft-app .mft-stat-foot{font-size:11px}
	.mft-app .mft-stat-card>strong{font-size:16px}
	.mft-app .mft-wallet-balance>div{grid-template-columns:minmax(0,1fr)}
}

/* Keep the mobile header in its own full-height rows and neutralize theme button sizing. */
.mft-app .mft-icon-plain{display:grid;place-items:center;flex:0 0 40px;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #e2e9e8!important;border-radius:10px!important;background:#eff6f4!important;color:#267b66!important;box-shadow:none!important;line-height:1!important}
.mft-app[data-theme="dark"] .mft-icon-plain{background:#22332f!important;border-color:#354a44!important;color:#7bd6b1!important}
@media(max-width:600px){
	.mft-app .mft-topbar{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:40px 38px!important;align-content:start!important;gap:7px 9px!important;height:auto!important;min-height:98px!important;padding:8px 12px 9px!important;position:relative;z-index:2}
	.mft-app .mft-menu-toggle{grid-column:1!important;grid-row:1!important;order:0!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #e2e9e8!important;border-radius:9px!important;box-shadow:none!important}
	.mft-app .mft-breadcrumb{grid-column:2!important;grid-row:1!important;order:0!important;align-self:center!important;min-width:0!important;max-width:100%!important;line-height:1.3!important;overflow:hidden!important;text-overflow:ellipsis!important}
	.mft-app .mft-top-actions{grid-column:1/-1!important;grid-row:2!important;order:0!important;display:flex!important;justify-content:flex-end!important;align-self:center!important;gap:8px!important;width:100%!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0!important;overflow:visible!important}
	.mft-app .mft-market-status{display:none!important}
	.mft-app .mft-theme-toggle,.mft-app .mft-icon-btn,.mft-app .mft-top-user{box-sizing:border-box!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #e0e7e6!important;border-radius:9px!important;background:#f1f5f4!important;box-shadow:none!important;line-height:1!important}
	.mft-app .mft-theme-toggle{font-size:17px!important}
	.mft-app .mft-icon-btn{font-size:17px!important}
	.mft-app .mft-top-user{position:relative!important}
	.mft-app .mft-top-user>span:not(.mft-avatar){display:none!important}
	.mft-app .mft-top-user .mft-avatar{width:25px!important;height:25px!important;margin:0!important}
	.mft-app .mft-logout{flex:0 0 auto!important;width:auto!important;height:36px!important;min-height:36px!important;padding:0 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;line-height:1!important}
	.mft-app .mft-content{position:relative!important;padding-top:18px!important}
	.mft-app .mft-heading-row{margin-top:0!important}
}
@media(max-width:380px){
	.mft-app .mft-topbar{padding-inline:9px!important}
	.mft-app .mft-top-actions{gap:6px!important}
	.mft-app .mft-theme-toggle,.mft-app .mft-icon-btn,.mft-app .mft-top-user{flex-basis:34px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important}
	.mft-app .mft-logout{font-size:12px!important;padding-inline:5px!important}
}
.mft-app .mft-dashboard-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.mft-app .mft-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:6px 16px 14px}
.mft-app .mft-payment-method{min-width:0;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;border:1px solid #e8edef;border-radius:9px;background:#fff}
.mft-app .mft-payment-method svg{display:block;width:74px;height:31px;max-width:100%}
.mft-app .mft-payment-method b{color:#43545a;font-size:12px;line-height:1.2;text-align:center}
.mft-app[data-theme="dark"] .mft-payment-method{background:#1c252e;border-color:#35414a}
.mft-app[data-theme="dark"] .mft-payment-method b{color:#dce5eb}
@media(max-width:1200px){.mft-app .mft-dashboard-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.mft-app .mft-dashboard-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.mft-app .mft-dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1201px){.mft-app .mft-dashboard-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Subtle typography weight refinement */
.mft-app{font-weight:450}
.mft-app .mft-heading-row h1,.mft-app .mft-section-heading h2,.mft-app .mft-panel-heading h2,.mft-app .mft-ai-copy h3{font-weight:750}
.mft-app .mft-nav-item,.mft-app .mft-breadcrumb b,.mft-app .mft-stat-top,.mft-app .mft-stat-foot,.mft-app .mft-heading-row p,.mft-app .mft-panel-heading p,.mft-app .mft-section-heading p,.mft-app .mft-table td,.mft-app .mft-watchlist b,.mft-app .mft-profile-grid b,.mft-app .mft-form-grid label,.mft-app .mft-kyc-status-message{font-weight:500}
.mft-app .mft-stat-card>strong,.mft-app .mft-table td b,.mft-app .mft-market-row b,.mft-app .mft-mobile-position b{font-weight:750}
.mft-app[data-theme="dark"] .mft-stat-top,.mft-app[data-theme="dark"] .mft-stat-foot,.mft-app[data-theme="dark"] .mft-heading-row p,.mft-app[data-theme="dark"] .mft-panel-heading p{font-weight:500}
/* Clear, responsive trade ticket */
@media(min-width:1101px){.mft-app .mft-trade-layout{grid-template-columns:minmax(0,1.55fr) minmax(360px,.9fr);gap:18px;align-items:start}.mft-app .mft-order-panel{position:sticky;top:18px;padding:22px;border-radius:16px}}
@media(max-width:1100px){.mft-app .mft-trade-layout{grid-template-columns:minmax(0,1fr)!important}.mft-app .mft-order-panel{position:static}}
.mft-app .mft-order-panel{border-radius:16px;box-shadow:0 10px 28px #152b3010}
.mft-app .mft-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.mft-app .mft-order-head h2{font:750 21px/1.25 Manrope,sans-serif;margin:3px 0 0;color:#24313c}
.mft-app .mft-order-kicker{font-size:11px;letter-spacing:.12em;font-weight:700;color:#87939b}
.mft-app .mft-order-demo{padding:6px 9px;border-radius:999px;background:#edf4f1;color:#27765d;font-size:11px;font-weight:800;letter-spacing:.04em}
.mft-app .mft-order-panel>.mft-field-label{display:block;margin:10px 0 6px;font-size:13px;font-weight:700;color:#52616c}
.mft-app .mft-order-panel select,.mft-app .mft-order-panel input{height:46px;border-radius:9px;font-size:15px}
.mft-app .mft-order-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:transparent;padding:0;margin:16px 0}
.mft-app .mft-order-toggle button{min-height:84px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:12px 15px;border:1px solid #e4eaed;border-radius:12px;background:#fff;color:#65727c;text-align:left;transition:transform .15s,box-shadow .15s,background .15s}
.mft-app .mft-order-toggle button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #152b3014}
.mft-app .mft-order-toggle button span{font-size:13px;font-weight:800;letter-spacing:.04em}
.mft-app .mft-order-toggle button strong{font:750 20px/1.2 Manrope,sans-serif;font-variant-numeric:tabular-nums}
.mft-app .mft-order-toggle button small{font-size:11px;opacity:.82}
.mft-app .mft-order-toggle button.is-buy{background:#168c67;border-color:#168c67;color:#fff}
.mft-app .mft-order-toggle button.is-sell{background:#cf515b;border-color:#cf515b;color:#fff}
.mft-app .mft-input-with-suffix input{height:50px;border-radius:9px;font-size:17px;font-weight:700}
.mft-app .mft-risk-fields{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
.mft-app .mft-risk-fields label{font-size:13px;font-weight:700;gap:6px}
.mft-app .mft-risk-fields input,.mft-app .mft-risk-fields select{height:44px;border-radius:9px;font-size:15px}
.mft-app .mft-lot-calc{min-height:88px;padding:11px 12px;border-radius:10px;background:#f6f9f8}
.mft-app .mft-lot-calc b{font-size:16px;font-weight:750}
.mft-app .mft-lot-calc button{padding:8px 10px;border-radius:7px;font-size:13px}
.mft-app .mft-order-summary{padding:14px;margin:14px 0;border:1px solid #e8edef;border-radius:12px;background:#f8fafb}
.mft-app .mft-order-summary>div{font-size:13px;line-height:1.45}
.mft-app .mft-order-summary b{font-size:14px;font-weight:700;color:#34434e;font-variant-numeric:tabular-nums}
.mft-app .mft-button-buy{min-height:52px;border-radius:10px;font-size:16px;font-weight:800;letter-spacing:.01em}
.mft-app .mft-button-buy.is-sell{background:#cf515b}
.mft-app .mft-order-footnote{margin:12px 0 0;font-size:12px;line-height:1.55;color:#7d8a93}
.mft-app[data-theme="dark"] .mft-order-head h2,.mft-app[data-theme="dark"] .mft-order-summary b{color:#edf3f5}
.mft-app[data-theme="dark"] .mft-order-demo{background:#203b33;color:#9ee0c3}
.mft-app[data-theme="dark"] .mft-order-toggle button:not(.is-buy):not(.is-sell){background:#1c2831;border-color:#35434d;color:#e1e9ee}
.mft-app[data-theme="dark"] .mft-order-summary{background:#141e26;border-color:#34414a}
.mft-app[data-theme="dark"] .mft-lot-calc{background:#151f27}
@media(max-width:600px){.mft-app .mft-order-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 12px;padding:16px}.mft-app .mft-order-head,.mft-app .mft-order-toggle,.mft-app .mft-order-panel>[data-mft-select-instrument],.mft-app .mft-order-panel>.mft-risk-fields,.mft-app .mft-order-panel>.mft-order-summary,.mft-app .mft-order-panel>[data-mft-submit-order],.mft-app .mft-order-footnote{grid-column:1/-1}.mft-app .mft-order-toggle button{min-height:76px;padding:10px}.mft-app .mft-order-toggle button strong{font-size:18px}.mft-app .mft-order-head h2{font-size:19px}.mft-app .mft-order-summary{gap:8px}.mft-app .mft-order-summary>div{font-size:12px}.mft-app .mft-order-summary b{font-size:13px}}
/* Trading workspace: full-width ticket followed by the selected market chart */
.mft-app .mft-trade-layout-stacked{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:stretch}
.mft-app .mft-order-panel-top{position:static!important;display:grid;grid-template-columns:minmax(220px,1fr) minmax(270px,1.15fr) minmax(140px,.65fr);gap:14px 18px;align-items:end;padding:22px;border-radius:16px;overflow:visible}
.mft-app .mft-order-panel-top>.mft-order-head,.mft-app .mft-order-panel-top>.mft-risk-fields,.mft-app .mft-order-panel-top>.mft-order-summary,.mft-app .mft-order-panel-top>.mft-button-buy,.mft-app .mft-order-panel-top>.mft-order-footnote{grid-column:1/-1}
.mft-app .mft-order-panel-top>.mft-order-head{margin:0 0 1px}
.mft-app .mft-ticket-instrument,.mft-app .mft-ticket-size{min-width:0}
.mft-app .mft-ticket-instrument .mft-field-label,.mft-app .mft-ticket-size .mft-field-label{display:grid;gap:7px;margin:0;color:#52616c;font-size:13px;font-weight:750}
.mft-app .mft-ticket-instrument select{width:100%;height:48px;border:1px solid #e3e8eb;border-radius:9px;background:#fff;color:#43505b;padding:0 12px;font-size:15px}
.mft-app .mft-order-panel-top>.mft-order-toggle{margin:0;align-self:end}
.mft-app .mft-order-panel-top>.mft-risk-fields{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0}
.mft-app .mft-order-panel-top>.mft-risk-fields label{min-width:0;font-size:13px}
.mft-app .mft-order-panel-top>.mft-risk-fields label:first-child{grid-column:auto}
.mft-app .mft-order-panel-top>.mft-risk-fields input,.mft-app .mft-order-panel-top>.mft-risk-fields select{min-width:0;width:100%;height:45px}
.mft-app .mft-order-panel-top .mft-lot-calc{min-width:0;min-height:66px}
.mft-app .mft-order-panel-top>.mft-order-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:14px;margin:0;border:1px solid #e8edef;border-radius:11px;background:#f8fafb}
.mft-app .mft-order-panel-top>.mft-order-summary>div{display:grid;gap:5px;align-content:start;font-size:12px}
.mft-app .mft-order-panel-top>.mft-order-summary b{font-size:14px;overflow-wrap:anywhere}
.mft-app .mft-order-panel-top>[data-mft-submit-order]{justify-self:end;width:min(360px,100%);min-height:50px}
.mft-app .mft-order-panel-top>.mft-order-footnote{margin:0}
.mft-app .mft-chart-panel-large{min-width:0;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px #152b3010}
.mft-app .mft-chart-panel-large .mft-instrument-head{min-height:76px;padding:16px 20px}
.mft-app .mft-chart-panel-large .mft-instrument-price{display:grid;justify-items:end;gap:2px}
.mft-app .mft-chart-panel-large .mft-instrument-price>span:first-child{font-size:11px;color:#85929c}
.mft-app .mft-chart-panel-large .mft-instrument-price>b{font-size:22px;font-variant-numeric:tabular-nums}
.mft-app .mft-chart-panel-large .mft-tv-chart{height:clamp(480px,72vh,760px);min-height:480px;background:#10191d}
.mft-app .mft-chart-panel-large .mft-chart-note{padding:8px 16px;font-size:12px;color:#81909a}
.mft-app[data-theme="dark"] .mft-order-panel-top .mft-ticket-instrument select,.mft-app[data-theme="dark"] .mft-order-panel-top .mft-ticket-size input{background:#111b23;color:#edf3f5;border-color:#354550}
.mft-app[data-theme="dark"] .mft-order-panel-top>.mft-order-summary{background:#141e26;border-color:#34414a}
.mft-app[data-theme="dark"] .mft-ticket-instrument .mft-field-label,.mft-app[data-theme="dark"] .mft-ticket-size .mft-field-label{color:#c5d0d7}
@media(max-width:1100px){.mft-app .mft-order-panel-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.mft-app .mft-order-panel-top>.mft-ticket-instrument,.mft-app .mft-order-panel-top>.mft-order-toggle,.mft-app .mft-order-panel-top>.mft-ticket-size{grid-column:1/-1}.mft-app .mft-order-panel-top>.mft-risk-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.mft-app .mft-order-panel-top>.mft-order-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.mft-app .mft-chart-panel-large .mft-tv-chart{height:clamp(430px,65vh,680px);min-height:430px}}
@media(max-width:600px){.mft-app .mft-order-panel-top{grid-template-columns:minmax(0,1fr);gap:13px;padding:16px}.mft-app .mft-order-panel-top>.mft-order-head,.mft-app .mft-order-panel-top>.mft-ticket-instrument,.mft-app .mft-order-panel-top>.mft-order-toggle,.mft-app .mft-order-panel-top>.mft-ticket-size,.mft-app .mft-order-panel-top>.mft-risk-fields,.mft-app .mft-order-panel-top>.mft-order-summary,.mft-app .mft-order-panel-top>[data-mft-submit-order],.mft-app .mft-order-panel-top>.mft-order-footnote{grid-column:1}.mft-app .mft-order-panel-top>.mft-risk-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mft-app .mft-order-panel-top>.mft-risk-fields>.mft-lot-calc{grid-column:1/-1}.mft-app .mft-order-panel-top>.mft-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mft-app .mft-order-panel-top>[data-mft-submit-order]{width:100%}.mft-app .mft-chart-panel-large .mft-instrument-head{padding:12px 14px;gap:10px}.mft-app .mft-chart-panel-large .mft-instrument-price>b{font-size:18px}.mft-app .mft-chart-panel-large .mft-tv-chart{height:460px;min-height:390px}}
/* Open trades below the snapshot: data table on desktop, position cards on mobile */
.mft-app .mft-trading-open-panel{grid-column:1/-1;overflow:hidden}
.mft-app .mft-trading-open-desktop{display:block}
.mft-app .mft-trading-open-mobile{display:none}
.mft-app .mft-trading-open-desktop .mft-table{min-width:740px}
.mft-app .mft-trading-open-desktop .mft-table th,.mft-app .mft-trading-open-desktop .mft-table td{padding:13px 15px}
.mft-app .mft-trading-open-desktop .mft-table td small{display:block;color:#87949c;margin-top:3px;white-space:normal}
.mft-app .mft-trading-open-mobile{padding:0 14px 14px}
.mft-app .mft-trading-position-card{padding:14px;border:1px solid #e7ecef;border-radius:12px;background:#fff;margin-top:10px}
.mft-app .mft-trading-position-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:11px;border-bottom:1px solid #edf0f2}
.mft-app .mft-trading-position-card-head b,.mft-app .mft-trading-position-card-head small{display:block}
.mft-app .mft-trading-position-card-head b{font-size:15px;font-weight:750}
.mft-app .mft-trading-position-card-head small{font-size:12px;color:#87939d;margin-top:2px}
.mft-app .mft-trading-position-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.mft-app .mft-trading-position-card-grid>span{font-size:11px;color:#85919a}
.mft-app .mft-trading-position-card-grid b{display:block;margin-top:3px;color:#34414b;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.mft-app .mft-trading-position-card .mft-close-trade{width:100%;min-height:40px}
.mft-app[data-theme="dark"] .mft-trading-position-card{background:#18242d;border-color:#34414a}
.mft-app[data-theme="dark"] .mft-trading-position-card-head{border-color:#34414a}
.mft-app[data-theme="dark"] .mft-trading-position-card-grid b{color:#e4ebef}
@media(max-width:760px){.mft-app .mft-trading-open-desktop{display:none}.mft-app .mft-trading-open-mobile{display:block}}
.mft-app .mft-trading-widgets>.mft-trading-ticker{grid-column:1/-1}
.mft-app .mft-dashboard-columns{grid-template-columns:minmax(0,1fr);margin-top:12px}
.mft-app .mft-tv-ticker-panel{margin-top:8px;margin-bottom:12px}
.mft-app .mft-help-directory{width:100%;min-height:360px}
.mft-app .mft-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:8px 18px 20px}
.mft-app .mft-contact-grid article{display:grid;gap:6px;padding:18px;border:1px solid #e5ebee;border-radius:10px;background:#fafcfc}
.mft-app .mft-contact-grid article span{font-size:13px;color:#78858d;font-weight:600}
.mft-app .mft-contact-grid article a{font-size:16px;color:#267c62;font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.mft-app .mft-contact-grid .mft-contact-phones a{font-size:14px}
.mft-app .mft-contact-grid .mft-contact-chat-tile .mft-button{width:100%;min-height:44px;font-size:14px}
.mft-app .mft-contact-grid .mft-contact-chat-tile small{color:#7f8b94;font-size:12px;text-align:center}
.mft-app .mft-contact-grid .mft-contact-chat-tile{align-content:start}
.mft-app[data-theme="dark"] .mft-contact-grid article{background:#202a33;border-color:#35414a}
.mft-app[data-theme="dark"] .mft-contact-grid article span{color:#aab7c0}
.mft-app[data-theme="dark"] .mft-contact-grid article a{color:#67d3a7}
.mft-app[data-theme="light"] .mft-profile-edit-form{background:#f8fafb;border-color:#e5ebee;color:#26343b}
.mft-app[data-theme="light"] .mft-profile-edit-form h3,.mft-app[data-theme="light"] .mft-profile-edit-form .mft-form-grid>label{color:#253633}
.mft-app[data-theme="light"] .mft-profile-edit-form>p{color:#74817c}
.mft-app[data-theme="light"] .mft-profile-edit-form .mft-form-grid input,.mft-app[data-theme="light"] .mft-profile-edit-form .mft-form-grid select{background:#fff!important;border:1px solid #dbe3e7!important;color:#26343b!important}
.mft-app[data-theme="light"] .mft-profile-edit-form .mft-form-grid input:focus,.mft-app[data-theme="light"] .mft-profile-edit-form .mft-form-grid select:focus{border-color:#42c999!important;box-shadow:0 0 0 3px #37bb871c}
@media(max-width:600px){.mft-app .mft-contact-grid{grid-template-columns:1fr;padding:6px 12px 14px}.mft-app .mft-help-directory{min-height:0}}
.mft-app .mft-history-panel .mft-table{width:100%;min-width:1120px;table-layout:fixed}
.mft-app .mft-history-panel .mft-table th,.mft-app .mft-history-panel .mft-table td{vertical-align:middle;padding:12px 10px}
.mft-app .mft-history-panel .mft-table th:nth-child(1),.mft-app .mft-history-panel .mft-table td:nth-child(1){width:16%;white-space:normal}
.mft-app .mft-history-panel .mft-table th:nth-child(2),.mft-app .mft-history-panel .mft-table td:nth-child(2){width:8%}
.mft-app .mft-history-panel .mft-table th:nth-child(3),.mft-app .mft-history-panel .mft-table td:nth-child(3),.mft-app .mft-history-panel .mft-table th:nth-child(4),.mft-app .mft-history-panel .mft-table td:nth-child(4){width:11%}
.mft-app .mft-history-panel .mft-table th:nth-child(5),.mft-app .mft-history-panel .mft-table td:nth-child(5){width:7%}
.mft-app .mft-history-panel .mft-table th:nth-child(6),.mft-app .mft-history-panel .mft-table td:nth-child(6),.mft-app .mft-history-panel .mft-table th:nth-child(7),.mft-app .mft-history-panel .mft-table td:nth-child(7){width:10%}
.mft-app .mft-history-panel .mft-table th:nth-child(8),.mft-app .mft-history-panel .mft-table td:nth-child(8){width:11%;text-align:right;font-variant-numeric:tabular-nums}
.mft-app .mft-history-panel .mft-table th:nth-child(9),.mft-app .mft-history-panel .mft-table td:nth-child(9){width:8%}
.mft-app .mft-history-panel .mft-table th:nth-child(10),.mft-app .mft-history-panel .mft-table td:nth-child(10){width:8%}
.mft-app .mft-history-panel .mft-table th:nth-child(5),.mft-app .mft-history-panel .mft-table td:nth-child(5){text-align:center;font-variant-numeric:tabular-nums}
.mft-app .mft-history-panel .mft-table th:nth-child(6),.mft-app .mft-history-panel .mft-table td:nth-child(6),.mft-app .mft-history-panel .mft-table th:nth-child(7),.mft-app .mft-history-panel .mft-table td:nth-child(7){text-align:right;font-variant-numeric:tabular-nums}
.mft-app .mft-history-panel .mft-table th:nth-child(9),.mft-app .mft-history-panel .mft-table td:nth-child(9){text-align:center}
.mft-app .mft-history-panel .mft-table td:nth-child(1) small{white-space:normal}
.mft-app .mft-history-instrument-copy{display:contents}
.mft-app .mft-dashboard-screener{width:100%;margin:0 0 14px;padding-bottom:10px;overflow:hidden}
.mft-app .mft-dashboard-screener tv-screener{display:block;width:100%;height:570px;min-height:500px}
.mft-app .mft-quick-chat{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:18px 20px}
.mft-app .mft-quick-chat-copy{display:flex;align-items:flex-start;gap:12px;min-width:0}
.mft-app .mft-quick-chat-copy h2{margin:0;color:#293542;font:700 18px/1.35 Manrope,sans-serif}
.mft-app .mft-quick-chat-copy p{margin:4px 0 0;color:#78858d;font-size:14px;line-height:1.5}
.mft-app .mft-chat-live-indicator{flex:0 0 auto;width:10px;height:10px;margin-top:6px;border-radius:50%;background:#29bd83;box-shadow:0 0 0 5px #29bd831c}
.mft-app .mft-quick-chat-action{display:grid;justify-items:center;gap:6px;min-width:180px}
.mft-app .mft-quick-chat-action .mft-button{width:100%;min-height:44px}
.mft-app .mft-quick-chat-action small{color:#7f8b94;font-size:12px;text-align:center}
.mft-app[data-theme="dark"] .mft-quick-chat-copy h2{color:#eff3f6}
.mft-app[data-theme="dark"] .mft-quick-chat-copy p{color:#aab6bf}
.mft-app[data-theme="dark"] .mft-dashboard-screener tv-screener{color-scheme:dark}
@media(max-width:700px){.mft-app .mft-dashboard-screener tv-screener{height:470px;min-height:420px}.mft-app .mft-quick-chat{align-items:stretch;flex-direction:column;padding:16px}.mft-app .mft-quick-chat-action{width:100%;min-width:0}.mft-app .mft-quick-chat-action .mft-button{width:100%;min-height:46px}.mft-app .mft-quick-chat-copy p{font-size:14px}}
.mft-app .mft-kyc-request-form .mft-form-grid textarea{width:100%;min-height:92px;margin-top:5px;padding:10px 11px;border:1px solid #dbe3e7;border-radius:7px;background:#fff;color:#26343b;font:inherit;resize:vertical}.mft-app .mft-kyc-request-form .mft-upload-label input[type=file]{display:block;width:100%;margin-top:8px;padding:9px;border:1px dashed #cbd6d9;border-radius:8px;background:#f8fafb;color:#596970;font-size:13px}.mft-app[data-theme="dark"] .mft-kyc-request-form .mft-form-grid textarea{background:#202a33;border-color:#35414a;color:#f5fbf9}.mft-app[data-theme="dark"] .mft-kyc-request-form .mft-upload-label input[type=file]{background:#202a33;border-color:#46545d;color:#d8e0e5}
@media(max-width:760px){
	.mft-app .mft-positions-panel .mft-table-wrap{display:none}	.mft-app .mft-mobile-position{display:block}
	.mft-app .mft-positions-panel{padding:0!important;overflow:hidden;border:1px solid #1c3c56;border-radius:13px;background:#0b2338!important;color:#edf5fb}
	.mft-app .mft-positions-panel>.mft-panel-heading{display:none}
	.mft-app .mft-positions-panel .mft-mobile-position{display:block;padding:0;background:#0b2338;color:#edf5fb}
	.mft-app .mft-mobile-trades-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 13px}
	.mft-app .mft-mobile-position>.mft-mobile-trades-heading{display:flex;padding:18px 16px 13px;border:0}
	.mft-app .mft-mobile-trades-heading h2{margin:0;color:#f3f7fb;font:700 20px/1.25 Manrope,'Segoe UI',sans-serif}
	.mft-app .mft-mobile-trades-heading button{border:0;background:transparent;color:#48aaff;font-size:13px;font-weight:700}
	.mft-app .mft-mobile-trades-tabs{display:flex;align-items:stretch;border-bottom:1px solid #153750;padding:0 12px}
	.mft-app .mft-mobile-position>.mft-mobile-trades-tabs{display:flex;padding:0 12px;border-top:0;border-bottom:1px solid #153750}
	.mft-app .mft-mobile-trades-tabs span{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 13px;color:#9cabb9;font-size:13px;font-weight:650}
	.mft-app .mft-mobile-trades-tabs .is-active{color:#31a4ff}
	.mft-app .mft-mobile-trades-tabs .is-active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:#159cff;content:''}
	.mft-app .mft-mobile-trades-tabs b{margin-left:6px;color:inherit;font-size:11px}
	.mft-app .mft-mobile-trades-summary{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#102d46;color:#b7c4cf;font-size:14px}
	.mft-app .mft-mobile-position>.mft-mobile-trades-summary{display:flex;padding:12px 16px;border:0;background:#102d46}
	.mft-app .mft-mobile-trades-summary strong{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
	.mft-app .mft-mobile-trades-summary .mft-positive{color:#00d58b!important}
	.mft-app .mft-mobile-trades-summary .mft-negative{color:#ff5964!important}
	.mft-app .mft-mobile-trade-list{padding:0 13px}
	.mft-app .mft-mobile-position>.mft-mobile-trade-list{display:block;padding:0 13px;border:0}
	.mft-app .mft-mobile-trade-row{display:block;margin:10px 0;padding:13px 12px;border:1px solid #1c3d57;border-radius:10px;background:#102b44}
	.mft-app .mft-mobile-trade-card-head{display:flex;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid #1a3a53}
	.mft-app .mft-mobile-trade-card-head>.mft-coin{width:25px;height:25px;margin:0;font-size:13px}
	.mft-app .mft-mobile-trade-card-head .mft-mobile-name{display:grid;flex:1;min-width:0;gap:2px}
	.mft-app .mft-mobile-trade-card-head .mft-mobile-name>b{overflow:hidden;color:#f0f5fa;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
	.mft-app .mft-mobile-trade-card-head .mft-mobile-name>small{overflow:hidden;color:#8ea3b6;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
	.mft-app .mft-mobile-trade-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding-top:6px}
	.mft-app .mft-mobile-trade-field{display:grid;gap:3px;min-width:0;padding:8px 1px;border-bottom:1px solid #1a3a53}
	.mft-app .mft-mobile-trade-field>small{color:#8fa2b3;font-size:10px;font-weight:650;letter-spacing:.02em;text-transform:uppercase}
	.mft-app .mft-mobile-trade-field>b{overflow-wrap:anywhere;color:#edf5fb;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}
	.mft-app .mft-mobile-trade-field>.mft-positive{color:#00d58b!important}
	.mft-app .mft-mobile-trade-field>.mft-negative{color:#ff5964!important}
	.mft-app .mft-mobile-trade-field:last-child:nth-child(odd){grid-column:1/-1}
	.mft-app .mft-mobile-trade-action{padding-top:10px}
	.mft-app .mft-mobile-trade-action .mft-close-trade-mobile{width:100%;min-height:36px;padding:6px 10px;border-color:#59404b;background:#2b2630;color:#ffb8bf;font-size:12px}
	.mft-app .mft-mobile-trades-empty{margin:0;padding:22px 14px;color:#a9b8c5;font-size:13px;text-align:center}
	.mft-app .mft-trading-position-card{margin:10px 0;padding:13px;border:1px solid #1c3d57;border-radius:11px;background:#102b44;color:#edf5fb}
	.mft-app .mft-trading-position-card-head{border-color:#1c3d57}
	.mft-app .mft-trading-position-card-head b{color:#f0f5fa}
	.mft-app .mft-trading-position-card-head small,.mft-app .mft-trading-position-card-grid>span{color:#9aabba}
	.mft-app .mft-trading-position-card-grid b{color:#edf5fb}
	.mft-app .mft-trading-position-card-grid .mft-trading-position-risk{grid-column:1/-1}
	.mft-app .mft-trading-position-card-grid .mft-trading-position-risk b{font-size:12px}
	.mft-app .mft-trading-position-card .mft-close-trade{width:100%;min-height:38px}
	.mft-app .mft-history-panel{overflow:hidden;border-color:#1c3d57;border-radius:13px;background:#0b2338;color:#edf5fb}
	.mft-app .mft-history-panel>.mft-panel-heading{align-items:center;padding:15px 13px;background:#0b2338}
	.mft-app .mft-history-panel>.mft-panel-heading h2{color:#f3f7fb}
	.mft-app .mft-history-panel>.mft-panel-heading p{color:#9aabba}
	.mft-app .mft-history-panel .mft-history-filter{max-width:135px;border-color:#29475f;background:#102b44;color:#e8f1f7}
	.mft-app .mft-history-panel .mft-table-wrap{overflow:visible;padding:0 10px 10px}
	.mft-app .mft-history-panel .mft-table{display:block;width:100%;min-width:0!important;table-layout:auto;white-space:normal}
	.mft-app .mft-history-panel .mft-table thead{display:none}
	.mft-app .mft-history-panel .mft-table tbody{display:grid;gap:10px}
	.mft-app .mft-history-panel .mft-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:6px 11px;border:1px solid #1c3d57;border-radius:11px;background:#102b44}
	.mft-app .mft-history-panel .mft-table tbody tr[hidden]{display:none!important}
	.mft-app .mft-history-panel .mft-table tbody td{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;width:auto!important;min-width:0;padding:8px 2px;border-bottom:1px solid #1a3a53;background:transparent;color:#edf5fb;text-align:left!important;white-space:normal;font-size:12px}
	.mft-app .mft-history-panel .mft-table tbody td:before{content:attr(data-mobile-label);color:#8fa2b3;font-size:10px;font-weight:650;letter-spacing:.03em;text-transform:uppercase}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(1){grid-column:1/-1}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(1) .mft-history-instrument-copy{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;gap:2px 7px}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(1) .mft-history-instrument-copy>.mft-coin{grid-column:1;grid-row:1/3;width:25px;height:25px;margin:0}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(1) .mft-history-instrument-copy>b,.mft-app .mft-history-panel .mft-table tbody td:nth-child(1) .mft-history-instrument-copy>small{grid-column:2}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(1) b{color:#f1f6fb;font-size:14px}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(1) small{color:#9aabba;font-size:11px}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(8){text-align:left!important}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(10){grid-column:1/-1;border-bottom:0}
	.mft-app .mft-history-panel .mft-table tbody td:nth-child(10) .mft-close-trade{width:100%;min-height:38px}
	.mft-app .mft-history-panel .mft-table tbody td.mft-history-action:empty{display:none}
}
