 .rts-wrap{max-width:1180px;margin:0 auto;padding:24px 18px;font-family:Arial,sans-serif;color:#172033}.rts-nav{display:flex;gap:20px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.rts-nav a{color:#344054;text-decoration:none;font-weight:600}.rts-hero{display:grid;grid-template-columns:1.5fr .7fr;gap:24px;align-items:center;padding:55px 35px;border-radius:24px;background:linear-gradient(135deg,#eef4ff,#fff);border:1px solid #e4eaf2}.rts-hero h1{font-size:46px;line-height:1.08;margin:14px 0}.rts-hero p{font-size:18px;color:#667085;line-height:1.6}.rts-badge{font-size:12px;font-weight:800;letter-spacing:.12em;color:#2563eb}.rts-btn{display:inline-block;border:0;border-radius:12px;padding:13px 20px;background:#2563eb;color:#fff!important;text-decoration:none;font-weight:700;cursor:pointer}.rts-btn.big{width:100%;font-size:17px;margin:18px 0}.rts-btn.ghost{background:#eef2f7;color:#344054!important}.rts-btn:disabled{opacity:.6;cursor:wait}.rts-hero-card,.rts-box{background:#fff;border:1px solid #e4eaf2;border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(16,24,40,.06)}.rts-hero-card strong{display:block;font-size:34px;margin:12px 0}.rts-hero-card small,.rts-muted{color:#667085}.rts-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.rts-target-profit-control{display:none!important}
.rts-settings{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.rts-settings label,.rts-admin-card label{display:block;font-size:13px;font-weight:700;color:#344054}.rts-settings input,.rts-admin-card input,.rts-admin-card select{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:11px;border:1px solid #d0d5dd;border-radius:10px;background:#fff}.rts-settings input[readonly]{background:#f5f7fa}.rts-status{padding:12px 14px;border-radius:10px;background:#f5f7fa;color:#475467}.rts-chart-wrap{margin-top:22px;border:1px solid #e4eaf2;border-radius:16px;padding:10px;overflow:hidden}.rts-chart-wrap canvas{width:100%;display:block}.rts-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.rts-summary div{padding:14px;border:1px solid #e4eaf2;border-radius:12px;background:#fbfcfe}.rts-summary span{display:block;color:#667085;font-size:12px}.rts-summary b{display:block;margin-top:6px;font-size:17px}.rts-table-wrap{overflow:auto}.rts-table-wrap table{width:100%;border-collapse:collapse}.rts-table-wrap th,.rts-table-wrap td{padding:11px;border-bottom:1px solid #eaecf0;text-align:left}.rts-pill{padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.rts-pill.win{background:#ecfdf3;color:#027a48}.rts-pill.lose{background:#fef3f2;color:#b42318}.rts-auth{text-align:center}.rts-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.rts-admin-card{background:#fff;border:1px solid #ddd;border-radius:14px;padding:18px}.rts-admin-card h2{margin:0 0 5px}.rts-admin-card form{display:grid;gap:11px;margin-top:15px}@media(max-width:850px){.rts-hero{grid-template-columns:1fr}.rts-hero h1{font-size:34px}.rts-settings,.rts-summary,.rts-admin-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.rts-wrap{padding:16px 12px}.rts-box{padding:18px}.rts-settings,.rts-summary,.rts-admin-grid{grid-template-columns:1fr}.rts-head{display:block}.rts-head .rts-btn{margin-top:12px}.rts-hero{padding:30px 22px}}

.rts-status{font-weight:700;margin-top:4px}.rts-chart-wrap{min-height:280px}.rts-summary{margin-top:20px}.rts-table-wrap{margin-top:8px}
.rts-balance-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin:0 0 18px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}.rts-balance-panel span{display:block;color:#667085;font-size:13px}.rts-balance-panel strong{display:block;font-size:25px;margin-top:4px}.rts-balance-actions{display:flex;gap:8px;flex-wrap:wrap}.rts-btn.ghost{background:#fff;color:#111827;border:1px solid #d0d5dd}@media(max-width:640px){.rts-balance-panel{align-items:flex-start;flex-direction:column}.rts-balance-actions{width:100%}.rts-balance-actions .rts-btn{flex:1}}

/* Fix button click layering */
#rts-run{position:relative;z-index:20;pointer-events:auto!important;}

/* Professional trading dashboard */
.rts-wrap{background:#f7f9fc;max-width:none;min-height:100vh;padding:28px clamp(16px,3vw,42px);box-sizing:border-box}
.rts-wrap>.rts-box,.rts-wrap>.rts-hero{max-width:1180px;margin-left:auto;margin-right:auto}
.rts-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#f1f5ff 100%);border:1px solid #e6eaf0;box-shadow:0 18px 45px rgba(16,24,40,.08)}
.rts-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-100px;top:-120px;background:rgba(37,99,235,.08);pointer-events:none}
.rts-hero-card{position:relative;z-index:1;background:rgba(255,255,255,.86);backdrop-filter:blur(8px);border-color:#e5e7eb;box-shadow:0 14px 35px rgba(16,24,40,.08)}
.rts-balance-panel{background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.05);border-color:#e6eaf0}
.rts-status{display:flex;align-items:center;gap:9px;border:1px solid #e6eaf0;background:#f8fafc;min-height:20px}
.rts-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#98a2b3;flex:0 0 8px}
.rts-chart-wrap{position:relative;background:linear-gradient(180deg,#fff,#fbfcfe);padding:18px 14px 10px;border-color:#e6eaf0;box-shadow:0 10px 28px rgba(16,24,40,.05)}
.rts-chart-wrap:before{content:"Performance";position:absolute;top:14px;left:18px;font-size:12px;font-weight:800;color:#344054;letter-spacing:.02em}
.rts-chart-wrap canvas{margin-top:12px;min-height:280px}
.rts-summary div{background:#fff;border-color:#e6eaf0;box-shadow:0 5px 16px rgba(16,24,40,.035)}
.rts-summary span{font-weight:600}
.rts-table-wrap{border:1px solid #e6eaf0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.04)}
.rts-table-wrap table{margin:0}
.rts-table-wrap th{background:#f8fafc;color:#475467;font-size:12px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.rts-table-wrap td{font-size:13px;background:#fff}
.rts-table-wrap tbody tr:hover td{background:#f9fbff}
.rts-pill{display:inline-block;min-width:44px;text-align:center}
.rts-btn{box-shadow:0 5px 12px rgba(37,99,235,.18);transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.rts-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px rgba(37,99,235,.23)}
.rts-btn.ghost{box-shadow:none}
.rts-settings input,.rts-admin-card input,.rts-admin-card select{outline:none;transition:border-color .15s,box-shadow .15s}
.rts-settings input:focus,.rts-admin-card input:focus,.rts-admin-card select:focus{border-color:#84a9ff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
@media(max-width:600px){.rts-chart-wrap{padding:14px 8px 8px}.rts-chart-wrap canvas{min-height:240px}}
.rts-chart-wrap{min-height:330px}
.rts-chart-wrap canvas{height:300px!important;min-height:300px!important}
.rts-pill{display:inline-flex;align-items:center;justify-content:center;min-width:48px}
.rts-summary b{font-variant-numeric:tabular-nums}

.rts-run-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}.rts-run-actions .rts-btn{margin:18px 0}.rts-btn.stop{background:#b42318!important;box-shadow:0 5px 12px rgba(180,35,24,.18)}.rts-btn.stop:hover:not(:disabled){box-shadow:0 8px 18px rgba(180,35,24,.23)}@media(max-width:600px){.rts-run-actions{grid-template-columns:1fr}}

/* v3.1 stop button hardening */
.rts-run-actions{position:relative;z-index:1000;isolation:isolate}.rts-run-actions .rts-btn.stop{position:relative;z-index:1001;pointer-events:auto!important;touch-action:manipulation}.rts-run-actions:before,.rts-run-actions:after{pointer-events:none!important}

/* v3.2 trendline */
.rts-chart-wrap{overflow:hidden}

/* v3.6: stop button visibility is controlled explicitly by JS */
.rts-run-actions #rts-stop[hidden]{display:none!important}.rts-run-actions #rts-stop:not([hidden]){display:inline-block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}

/* Trading Pro v3.7.0 - Trendline statistics */

/* TP v3.8.0 automatic statistics */

/* v4.3 Performance indicator */
.rts-performance-card{margin:18px 0 20px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 4px 18px rgba(16,24,40,.05)}
.rts-performance-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #eef2f6;background:#fbfcfe}
.rts-performance-title{font-weight:800;letter-spacing:.08em;font-size:13px;color:#101828}
.rts-performance-subtitle{font-size:12px;color:#667085;margin-top:3px}
.rts-performance-legend{display:flex;flex-wrap:wrap;gap:10px 14px;font-size:11px;color:#667085}
.rts-performance-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.rts-performance-legend .dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#2563eb}
.rts-performance-legend .dot.trend{background:#f79009}
.rts-performance-legend .dot.win{background:#12b76a}
.rts-performance-legend .dot.lose{background:#f04438}
.rts-performance-card .rts-chart-wrap{padding:10px 12px 4px;min-height:260px}
.rts-performance-card canvas{display:block;width:100%;height:260px}
@media(max-width:640px){.rts-performance-head{align-items:flex-start;flex-direction:column}.rts-performance-legend{gap:8px 12px}.rts-performance-card .rts-chart-wrap{padding:6px}.rts-performance-card canvas{height:230px}}

/* Deposit / Withdraw pages */
.rts-money-page{max-width:900px;margin:0 auto}.rts-money-balance{margin:18px 0;padding:22px;border-radius:18px;background:#f8fafc;border:1px solid #eaecf0}.rts-money-balance span{display:block;color:#667085;font-size:13px}.rts-money-balance strong{display:block;margin-top:6px;font-size:30px}.rts-money-form{display:grid;gap:14px;padding:22px;border:1px solid #eaecf0;border-radius:18px}.rts-money-form label{display:grid;gap:8px;font-weight:600}.rts-money-form input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #d0d5dd;border-radius:12px;font-size:16px}.rts-money-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 22px}.rts-money-history{width:100%;border-collapse:collapse}.rts-money-history th,.rts-money-history td{padding:11px 10px;border-bottom:1px solid #eaecf0;text-align:left}.rts-box-inner{margin:24px 0;padding:18px;border:1px solid #eaecf0;border-radius:18px}.rts-money-form .rts-status{min-height:20px}.rts-money-form .rts-btn{border:0;cursor:pointer}

/* Trading Pro 4.5 - unified member theme and page flow */
.rts-wrap{background:#f4f7fb;color:#101828;min-height:100vh;padding:0 20px 42px}
.rts-topbar{max-width:1180px;margin:0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.rts-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:#101828!important}
.rts-brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#0f3fae);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.2)}
.rts-brand b{display:block;font-size:16px;line-height:1.1}.rts-brand small{display:block;color:#667085;font-size:11px;margin-top:3px}.rts-top-actions a{font-size:13px;font-weight:700;text-decoration:none;color:#344054}
.rts-nav{max-width:1180px;margin:0 auto 12px;display:flex;align-items:center;gap:6px;padding:7px;background:#fff;border:1px solid #e4e7ec;border-radius:15px;box-shadow:0 6px 20px rgba(16,24,40,.04);overflow:auto}
.rts-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-width:92px;padding:10px 13px;border-radius:10px;color:#475467!important;text-decoration:none!important;font-size:13px;font-weight:700;white-space:nowrap}
.rts-nav a:hover{background:#f2f5fa}.rts-nav a.active{background:#eef4ff;color:#175cd3!important}.rts-nav-icon{font-size:15px;font-weight:900}
.rts-flow{max-width:1180px;margin:0 auto 18px;display:flex;align-items:center;gap:9px;overflow:auto;padding:8px 2px;color:#667085;font-size:11px;white-space:nowrap}.rts-flow span:not(.rts-flow-label){background:#fff;border:1px solid #e4e7ec;padding:7px 10px;border-radius:999px}.rts-flow-label{font-weight:900;color:#175cd3;letter-spacing:.08em}.rts-flow i{font-style:normal;color:#98a2b3}
.rts-wrap>.rts-box,.rts-wrap>.rts-hero{max-width:1180px;margin-left:auto;margin-right:auto}
.rts-hero{border-radius:22px!important;padding:34px!important}.rts-box{border-radius:20px!important}
.rts-money-page{max-width:920px!important}.rts-money-balance{position:relative;background:linear-gradient(135deg,#eef4ff,#f8fbff);border-color:#dbe7ff;overflow:hidden}.rts-money-balance:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-50px;top:-65px;background:rgba(37,99,235,.08)}.rts-money-balance strong{font-size:34px;position:relative;z-index:1}.rts-money-balance small{display:block;color:#667085;margin-top:7px;position:relative;z-index:1}
.rts-step-card{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 20px}.rts-step{position:relative;padding:14px 14px 14px 48px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.rts-step span{position:absolute;left:14px;top:14px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#667085;font-weight:800;font-size:12px}.rts-step.active{border-color:#bfd3ff;background:#f8fbff}.rts-step.active span{background:#2563eb;color:#fff}.rts-step b{display:block;font-size:13px}.rts-step small{display:block;color:#667085;margin-top:4px;line-height:1.35}
.rts-money-form{background:#fff;box-shadow:0 8px 22px rgba(16,24,40,.04)}.rts-money-shortcuts{margin:12px 0 22px}.rts-money-history th{background:#f8fafc;font-size:12px;color:#475467}.rts-box-inner{background:#fff}
.rts-run-actions .rts-btn{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}.rts-balance-actions .rts-btn{text-decoration:none!important}
@media(max-width:700px){.rts-wrap{padding:0 10px 30px}.rts-topbar{min-height:64px}.rts-top-actions{display:none}.rts-nav{border-radius:13px}.rts-nav a{min-width:78px;padding:9px 8px}.rts-nav a span:last-child{font-size:11px}.rts-flow{margin-bottom:12px}.rts-step-card{grid-template-columns:1fr}.rts-hero{padding:24px!important}.rts-money-balance strong{font-size:28px}}

/* Trading Pro 4.5 - unified member theme and page flow */
.rts-wrap{background:#f4f7fb;color:#101828;min-height:100vh;padding:0 20px 42px}
.rts-topbar{max-width:1180px;margin:0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}.rts-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:#101828!important}.rts-brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#0f3fae);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.2)}.rts-brand b{display:block;font-size:16px;line-height:1.1}.rts-brand small{display:block;color:#667085;font-size:11px;margin-top:3px}.rts-top-actions a{font-size:13px;font-weight:700;text-decoration:none;color:#344054}
.rts-nav{max-width:1180px;margin:0 auto 12px;display:flex;align-items:center;gap:6px;padding:7px;background:#fff;border:1px solid #e4e7ec;border-radius:15px;box-shadow:0 6px 20px rgba(16,24,40,.04);overflow:auto}.rts-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-width:92px;padding:10px 13px;border-radius:10px;color:#475467!important;text-decoration:none!important;font-size:13px;font-weight:700;white-space:nowrap}.rts-nav a:hover{background:#f2f5fa}.rts-nav a.active{background:#eef4ff;color:#175cd3!important}.rts-nav-icon{font-size:15px;font-weight:900}
.rts-flow{max-width:1180px;margin:0 auto 18px;display:flex;align-items:center;gap:9px;overflow:auto;padding:8px 2px;color:#667085;font-size:11px;white-space:nowrap}.rts-flow span:not(.rts-flow-label){background:#fff;border:1px solid #e4e7ec;padding:7px 10px;border-radius:999px}.rts-flow-label{font-weight:900;color:#175cd3;letter-spacing:.08em}.rts-flow i{font-style:normal;color:#98a2b3}
.rts-wrap>.rts-box,.rts-wrap>.rts-hero{max-width:1180px;margin-left:auto;margin-right:auto}.rts-hero{border-radius:22px!important;padding:34px!important}.rts-box{border-radius:20px!important}.rts-money-page{max-width:920px!important}
.rts-money-balance{position:relative;background:linear-gradient(135deg,#eef4ff,#f8fbff);border-color:#dbe7ff;overflow:hidden}.rts-money-balance:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-50px;top:-65px;background:rgba(37,99,235,.08)}.rts-money-balance strong{font-size:34px;position:relative;z-index:1}.rts-money-balance small{display:block;color:#667085;margin-top:7px;position:relative;z-index:1}
.rts-step-card{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 20px}.rts-step{position:relative;padding:14px 14px 14px 48px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.rts-step span{position:absolute;left:14px;top:14px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#667085;font-weight:800;font-size:12px}.rts-step.active{border-color:#bfd3ff;background:#f8fbff}.rts-step.active span{background:#2563eb;color:#fff}.rts-step b{display:block;font-size:13px}.rts-step small{display:block;color:#667085;margin-top:4px;line-height:1.35}
.rts-money-form{background:#fff;box-shadow:0 8px 22px rgba(16,24,40,.04)}.rts-money-history th{background:#f8fafc;font-size:12px;color:#475467}.rts-box-inner{background:#fff}.rts-run-actions .rts-btn{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}.rts-balance-actions .rts-btn{text-decoration:none!important}
@media(max-width:700px){.rts-wrap{padding:0 10px 30px}.rts-topbar{min-height:64px}.rts-top-actions{display:none}.rts-nav{border-radius:13px}.rts-nav a{min-width:78px;padding:9px 8px}.rts-nav a span:last-child{font-size:11px}.rts-flow{margin-bottom:12px}.rts-step-card{grid-template-columns:1fr}.rts-hero{padding:24px!important}.rts-money-balance strong{font-size:28px}}

/* Trading Pro 4.5 - unified member theme and page flow */
.rts-wrap{background:#f4f7fb;color:#101828;min-height:100vh;padding:0 20px 42px}
.rts-topbar{max-width:1180px;margin:0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}.rts-brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:#101828!important}.rts-brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#0f3fae);color:#fff;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.2)}.rts-brand b{display:block;font-size:16px;line-height:1.1}.rts-brand small{display:block;color:#667085;font-size:11px;margin-top:3px}.rts-top-actions a{font-size:13px;font-weight:700;text-decoration:none;color:#344054}
.rts-nav{max-width:1180px;margin:0 auto 12px;display:flex;align-items:center;gap:6px;padding:7px;background:#fff;border:1px solid #e4e7ec;border-radius:15px;box-shadow:0 6px 20px rgba(16,24,40,.04);overflow:auto}.rts-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-width:92px;padding:10px 13px;border-radius:10px;color:#475467!important;text-decoration:none!important;font-size:13px;font-weight:700;white-space:nowrap}.rts-nav a:hover{background:#f2f5fa}.rts-nav a.active{background:#eef4ff;color:#175cd3!important}.rts-nav-icon{font-size:15px;font-weight:900}
.rts-flow{max-width:1180px;margin:0 auto 18px;display:flex;align-items:center;gap:9px;overflow:auto;padding:8px 2px;color:#667085;font-size:11px;white-space:nowrap}.rts-flow span:not(.rts-flow-label){background:#fff;border:1px solid #e4e7ec;padding:7px 10px;border-radius:999px}.rts-flow-label{font-weight:900;color:#175cd3;letter-spacing:.08em}.rts-flow i{font-style:normal;color:#98a2b3}
.rts-wrap>.rts-box,.rts-wrap>.rts-hero{max-width:1180px;margin-left:auto;margin-right:auto}.rts-hero{border-radius:22px!important;padding:34px!important}.rts-box{border-radius:20px!important}.rts-money-page{max-width:920px!important}
.rts-money-balance{position:relative;background:linear-gradient(135deg,#eef4ff,#f8fbff);border-color:#dbe7ff;overflow:hidden}.rts-money-balance:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-50px;top:-65px;background:rgba(37,99,235,.08)}.rts-money-balance strong{font-size:34px;position:relative;z-index:1}.rts-money-balance small{display:block;color:#667085;margin-top:7px;position:relative;z-index:1}
.rts-step-card{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 20px}.rts-step{position:relative;padding:14px 14px 14px 48px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.rts-step span{position:absolute;left:14px;top:14px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#667085;font-weight:800;font-size:12px}.rts-step.active{border-color:#bfd3ff;background:#f8fbff}.rts-step.active span{background:#2563eb;color:#fff}.rts-step b{display:block;font-size:13px}.rts-step small{display:block;color:#667085;margin-top:4px;line-height:1.35}
.rts-money-form{background:#fff;box-shadow:0 8px 22px rgba(16,24,40,.04)}.rts-money-history th{background:#f8fafc;font-size:12px;color:#475467}.rts-box-inner{background:#fff}.rts-run-actions .rts-btn{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}.rts-balance-actions .rts-btn{text-decoration:none!important}
@media(max-width:700px){.rts-wrap{padding:0 10px 30px}.rts-topbar{min-height:64px}.rts-top-actions{display:none}.rts-nav{border-radius:13px}.rts-nav a{min-width:78px;padding:9px 8px}.rts-nav a span:last-child{font-size:11px}.rts-flow{margin-bottom:12px}.rts-step-card{grid-template-columns:1fr}.rts-hero{padding:24px!important}.rts-money-balance strong{font-size:28px}}

/* Robot Trading 4.8.0 theme */
.robot-trading-home{background:#f3f7fb!important}
.robot-hero{background:radial-gradient(circle at 85% 20%,rgba(35,211,238,.16),transparent 28%),linear-gradient(135deg,#081526 0%,#0d213b 55%,#123a5d 100%)!important;border:1px solid #173b5d!important;color:#fff!important;box-shadow:0 22px 55px rgba(4,20,37,.20)!important}
.robot-hero h1{font-size:58px;letter-spacing:.02em;margin:10px 0 14px;color:#fff!important;text-shadow:0 4px 22px rgba(0,0,0,.2)}
.robot-hero .robot-lead{max-width:720px;color:#d5e5f2!important;font-size:18px;line-height:1.7}
.robot-hero .rts-badge{color:#67e8f9!important}
.robot-features{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 24px}.robot-features span{padding:9px 13px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.07);color:#e5f7ff;font-size:12px;font-weight:700}
.robot-info-card{background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.15)!important;color:#fff!important;backdrop-filter:blur(10px)}
.robot-info-card strong{color:#fff!important;font-size:28px;letter-spacing:.04em}.robot-info-card small{color:#c5d7e7!important;line-height:1.55;display:block;margin-bottom:18px}.robot-info-card .rts-btn.ghost{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.18);color:#fff!important}
.robot-orb{width:92px;height:92px;border-radius:28px;display:grid;place-items:center;margin-bottom:20px;background:linear-gradient(135deg,#22d3ee,#2563eb);font-size:27px;font-weight:900;box-shadow:0 18px 40px rgba(34,211,238,.22)}
.robot-explain{max-width:1180px;margin:24px auto 0;padding:30px;border:1px solid #dce6ef;border-radius:22px;background:#fff;box-shadow:0 14px 35px rgba(16,24,40,.06);display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.robot-explain h2{margin:10px 0;font-size:30px;color:#101828}.robot-explain p{color:#667085;line-height:1.7}.robot-explain-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.robot-explain-grid>div{padding:18px;border-radius:16px;border:1px solid #e4eaf1;background:#f8fbfe}.robot-explain-grid b{display:block;color:#2563eb;font-size:12px;letter-spacing:.08em}.robot-explain-grid strong{display:block;margin:6px 0;color:#101828}.robot-explain-grid span{display:block;color:#667085;font-size:13px;line-height:1.5}
@media(max-width:800px){.robot-hero h1{font-size:42px}.robot-explain{grid-template-columns:1fr;padding:22px}.robot-explain-grid{grid-template-columns:1fr}}
@media(max-width:600px){.robot-hero h1{font-size:36px}.robot-hero .robot-lead{font-size:16px}.robot-features{gap:7px}.robot-features span{font-size:11px}.robot-info-card{padding:22px}.robot-orb{width:76px;height:76px}}

/* Robot Trading 4.9 - custom front-end authentication */
.rts-top-actions{display:flex;align-items:center;gap:8px}.rts-top-actions a{padding:9px 13px;border-radius:10px}.rts-top-actions .rts-top-login{background:#eef4ff;color:#175cd3!important}.rts-auth-shell{max-width:560px;margin:30px auto 10px}.rts-auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:32px;box-shadow:0 22px 55px rgba(16,24,40,.08)}.rts-auth-brand,.rts-auth-logo{display:flex;align-items:center;gap:12px;margin-bottom:24px}.rts-auth-logo>span,.rts-auth-orb{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#22d3ee,#2563eb);color:#fff;font-weight:900;box-shadow:0 12px 26px rgba(37,99,235,.2)}.rts-auth-logo b,.rts-auth-brand b{display:block;color:#101828;letter-spacing:.03em}.rts-auth-logo small,.rts-auth-brand small{display:block;color:#98a2b3;font-size:10px;letter-spacing:.12em;margin-top:3px}.rts-auth-card h1{font-size:30px;margin:0 0 8px;color:#101828}.rts-auth-card>p{color:#667085;line-height:1.6;margin:0 0 22px}.rts-auth-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eef4ff;color:#175cd3;font-size:22px;font-weight:900;margin-bottom:15px}.rts-auth-form{display:grid;gap:15px}.rts-auth-form label{display:grid;gap:7px;color:#344054;font-weight:700;font-size:13px}.rts-auth-form input[type=text],.rts-auth-form input[type=email],.rts-auth-form input[type=password]{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:12px;padding:13px 14px;background:#fff;color:#101828;outline:none;transition:.15s}.rts-auth-form input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.10)}.rts-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-weight:500!important;color:#667085!important}.rts-check input{width:16px;height:16px}.rts-auth-error{background:#fff1f0;border:1px solid #ffd6d2;color:#b42318;border-radius:12px;padding:11px 13px;margin-bottom:16px;font-size:13px}.rts-auth-foot{text-align:center;color:#667085;font-size:13px;margin-top:20px}.rts-auth-foot a{color:#175cd3;font-weight:800;text-decoration:none}.rts-auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rts-auth-actions .rts-btn{text-align:center;text-decoration:none}@media(max-width:600px){.rts-auth-shell{margin-top:18px}.rts-auth-card{padding:24px;border-radius:20px}.rts-auth-card h1{font-size:25px}.rts-auth-actions{grid-template-columns:1fr}.rts-top-actions{display:none}}

/* v4.10 guest navigation: before login only Login/Daftar are shown */
.rts-guest-topbar{justify-content:space-between}
.rts-guest-topbar .rts-top-actions{display:flex;gap:10px;align-items:center}
.rts-guest-note{display:block;color:#9fb1c9;font-size:13px;margin-top:12px}
@media(max-width:640px){.rts-guest-topbar{gap:12px}.rts-guest-topbar .rts-brand small{display:none}.rts-guest-topbar .rts-top-actions{gap:6px}.rts-guest-topbar .rts-top-actions a{padding:8px 11px}}
.rts-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.rts-profile-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700}.rts-profile-grid input,.rts-profile-grid select{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid rgba(120,150,190,.25);border-radius:12px;background:#fff;color:#18263a}.rts-profile-grid input[readonly]{background:#f5f7fb;color:#6b7280}.rts-profile-grid .required{color:#d33;margin-left:3px}.rts-profile-note{margin:12px 0 18px;padding:12px 14px;border-radius:12px;background:rgba(40,120,210,.08);font-size:13px;line-height:1.5}.rts-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.rts-withdraw-destination{margin:18px 0;padding:18px;border:1px solid rgba(120,150,190,.22);border-radius:16px;background:rgba(248,250,253,.9)}.rts-destination-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.rts-destination-head h3{margin:5px 0 0}.rts-destination-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rts-destination-grid>div{padding:13px;border-radius:12px;background:#fff;border:1px solid rgba(120,150,190,.15)}.rts-destination-grid small{display:block;color:#68758a;margin-bottom:5px}.rts-destination-grid strong{display:block;word-break:break-word}.rts-auth-success{padding:12px 14px;border-radius:12px;background:#eaf8ef;color:#176b35;margin:12px 0}.rts-auth-error{margin:12px 0}@media(max-width:700px){.rts-profile-grid,.rts-destination-grid{grid-template-columns:1fr}.rts-destination-head{align-items:flex-start;flex-direction:column}}

/* Profile form input fix v4.23.1 */
.rts-profile-form{position:relative;z-index:10;pointer-events:auto}.rts-profile-grid{position:relative;z-index:11}.rts-profile-grid label{position:relative;z-index:12;pointer-events:auto}.rts-profile-grid input,.rts-profile-grid select{position:relative;z-index:13;pointer-events:auto;user-select:text;-webkit-user-select:text;cursor:text}.rts-profile-grid input[name="account_number"]{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;cursor:text!important;position:relative!important;z-index:20!important}

/* Trading Pro 4.23.2 - Profile layout polish */
.rts-profile-page{max-width:860px!important;margin:22px auto!important;padding:28px!important;background:#fff;border:1px solid #e4e7ec;box-shadow:0 14px 35px rgba(16,24,40,.06)}
.rts-profile-page .rts-head{margin-bottom:20px}
.rts-profile-page .rts-head h1{margin:7px 0 5px;font-size:30px;line-height:1.2}
.rts-profile-page .rts-head p{margin:0;color:#667085;font-size:14px}
.rts-profile-form{width:100%;max-width:760px;margin:0 auto}
.rts-profile-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin:22px 0!important}
.rts-profile-grid label{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0;color:#344054;font-size:13px;font-weight:700;line-height:1.35}
.rts-profile-grid input,.rts-profile-grid select{height:48px!important;min-height:48px!important;width:100%!important;box-sizing:border-box!important;padding:0 14px!important;border:1px solid #d0d5dd!important;border-radius:12px!important;background:#fff!important;color:#101828!important;font-size:15px!important;line-height:48px!important;outline:none!important;transition:border-color .15s,box-shadow .15s,background .15s!important}
.rts-profile-grid select{line-height:normal!important;cursor:pointer!important}
.rts-profile-grid input:focus,.rts-profile-grid select:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.10)!important;background:#fff!important}
.rts-profile-grid input[readonly]{background:#f8fafc!important;color:#667085!important;cursor:not-allowed!important}
.rts-profile-grid input[name="account_number"]{font-variant-numeric:tabular-nums;letter-spacing:.02em}
.rts-profile-grid label:nth-child(5){grid-column:1 / 2}
.rts-profile-grid label:nth-child(6){grid-column:2 / 3}
.rts-profile-note{max-width:760px;margin:4px auto 18px!important;padding:13px 15px!important;border:1px solid #dbe7ff!important;background:#f5f9ff!important;color:#475467!important;border-radius:12px!important}
.rts-profile-form>.rts-btn{display:block;width:100%;max-width:760px;margin:0 auto!important;height:48px!important}
.rts-profile-actions{max-width:760px;margin:14px auto 0!important;display:grid!important;grid-template-columns:1fr 1fr!important}
.rts-profile-actions .rts-btn{text-align:center}
.rts-profile-page .rts-auth-success,.rts-profile-page .rts-auth-error{max-width:760px;margin:0 auto 16px!important}
@media(max-width:700px){
  .rts-profile-page{margin:12px auto!important;padding:20px 16px!important;border-radius:18px!important}
  .rts-profile-page .rts-head h1{font-size:26px}
  .rts-profile-grid{grid-template-columns:1fr!important;gap:14px!important;margin:18px 0!important}
  .rts-profile-grid label:nth-child(5),.rts-profile-grid label:nth-child(6){grid-column:auto}
  .rts-profile-grid input,.rts-profile-grid select{height:50px!important;min-height:50px!important;font-size:16px!important;line-height:50px!important}
  .rts-profile-grid select{line-height:normal!important}
  .rts-profile-form>.rts-btn{height:50px!important}
  .rts-profile-actions{grid-template-columns:1fr!important}
}

/* v4.23.3 - Profile field label alignment */
.rts-profile-grid label > .rts-field-label{display:block!important;width:100%!important;margin:0!important;color:#344054!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important}
.rts-profile-grid label > .rts-field-label .required{display:inline!important;color:#d92d20!important;font-style:normal!important;margin-left:2px!important}
.rts-profile-grid label > input,.rts-profile-grid label > select{margin-top:0!important}

/* Trading Pro 4.23.4 - Payout fields vertical order */
@media(min-width:701px){
  .rts-profile-grid label:nth-child(4),
  .rts-profile-grid label:nth-child(5),
  .rts-profile-grid label:nth-child(6){grid-column:1 / -1!important}
}
.rts-profile-grid label:nth-child(4),
.rts-profile-grid label:nth-child(5),
.rts-profile-grid label:nth-child(6){min-width:0!important}

/* v4.23.5 - Profile fields: force single vertical column */
.rts-profile-page .rts-profile-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
}
.rts-profile-page .rts-profile-grid > label{
  grid-column:1 / -1!important;
  width:100%!important;
}
.rts-profile-page .rts-profile-grid > label:nth-child(4),
.rts-profile-page .rts-profile-grid > label:nth-child(5),
.rts-profile-page .rts-profile-grid > label:nth-child(6){
  grid-column:1 / -1!important;
}
@media(max-width:700px){
  .rts-profile-page .rts-profile-grid{grid-template-columns:1fr!important;gap:14px!important}
}

/* v4.23.6 - Clean payout form fields */
.rts-profile-page .rts-profile-grid .rts-form-field{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;min-width:0!important;grid-column:1 / -1!important;}
.rts-profile-page .rts-profile-grid .rts-form-field .rts-field-label{display:block!important;width:100%!important;margin:0!important;padding:0!important;font-size:13px!important;font-weight:700!important;line-height:20px!important;color:#344054!important;}
.rts-profile-page .rts-profile-grid .rts-form-field .required{color:#d92d20!important;margin-left:2px!important;font-style:normal!important;}
.rts-profile-page .rts-profile-grid .rts-form-field input,.rts-profile-page .rts-profile-grid .rts-form-field select{display:block!important;width:100%!important;height:50px!important;min-height:50px!important;margin:0!important;padding:0 14px!important;box-sizing:border-box!important;}
.rts-profile-page .rts-profile-grid .rts-form-field input[name="account_number"]{letter-spacing:.03em;font-variant-numeric:tabular-nums!important;}

/* v4.24.0 - Deposit destination confirmation popup */
.rts-modal[hidden]{display:none!important}
.rts-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}
.rts-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68);backdrop-filter:blur(3px)}
.rts-modal-card{position:relative;z-index:2;width:min(520px,100%);background:#fff;border-radius:20px;padding:26px;box-shadow:0 24px 70px rgba(0,0,0,.25);box-sizing:border-box}
.rts-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;line-height:1;color:#667085;cursor:pointer}
.rts-modal-card h2{margin:9px 35px 18px 0;font-size:24px;color:#101828}
.rts-deposit-destination{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rts-deposit-destination>div{border:1px solid #e4e7ec;border-radius:13px;padding:13px;background:#f8fafc;min-width:0}
.rts-deposit-destination small{display:block;color:#667085;font-size:12px;margin-bottom:5px}
.rts-deposit-destination strong{display:block;color:#101828;font-size:15px;word-break:break-word}
.rts-modal-note{margin:16px 0;color:#667085;font-size:13px;line-height:1.55}
.rts-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
body.rts-modal-open{overflow:hidden}
@media(max-width:600px){.rts-modal-card{padding:22px 18px;border-radius:18px}.rts-deposit-destination{grid-template-columns:1fr}.rts-modal-actions .rts-btn{width:100%;text-align:center}}

/* v4.24.2 - Fix duplicate required marker on Bank / E-Wallet */
.rts-profile-page .rts-payout-field > .rts-field-label .rts-required-marker{display:inline!important;position:static!important;content:none!important;color:#d92d20!important;font-style:normal!important;font-weight:700!important;margin-left:3px!important;}
.rts-profile-page .rts-payout-field > .rts-field-label::before,.rts-profile-page .rts-payout-field > .rts-field-label::after{content:none!important;display:none!important;}

/* v4.24.12 — status riwayat transaksi tetap terlihat setelah diproses */
.rts-tx-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.rts-tx-status.pending{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
.rts-tx-status.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.rts-tx-status.danger{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}

.rts-rejection-btn{display:inline-block;margin:7px 0 0;padding:5px 10px;border:1px solid #f04438;border-radius:8px;background:#fff5f4;color:#c43228;font-size:12px;font-weight:700;cursor:pointer}
.rts-rejection-btn:hover{background:#fee4e2}
.rts-rejection-card{max-width:520px}
.rts-rejection-card .rts-modal-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fee4e2;color:#d92d20;font-size:24px;font-weight:800;margin-bottom:12px}
.rts-rejection-text{white-space:pre-wrap;line-height:1.65;color:#344054;background:#f8fafc;border:1px solid #eaecf0;border-radius:12px;padding:14px;margin:12px 0 4px}

/* v4.24.15 — Riwayat transaksi modern + tombol alasan lebih mudah diklik */
.rts-money-history-wrap{margin-top:10px}
.rts-money-history-card{margin-top:24px;padding:0!important;overflow:hidden;border:1px solid #e4e7ec;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.rts-money-history-card .rts-history-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #eaecf0;background:linear-gradient(180deg,#fff,#f8fafc)}
.rts-history-head h3{margin:0;font-size:19px;color:#101828}.rts-history-head p{margin:4px 0 0;color:#667085;font-size:12px}
.rts-money-history-card .rts-table-wrap{overflow:auto}
.rts-money-history{min-width:760px}
.rts-money-history tbody tr{transition:background .15s ease}.rts-money-history tbody tr:hover{background:#f8fafc}
.rts-money-history td{vertical-align:middle!important}
.rts-tx-type{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.3px}.rts-tx-type.deposit{background:#ecfdf3;color:#027a48}.rts-tx-type.withdraw{background:#fff1f3;color:#c01048}
.rts-tx-amount{font-size:14px;color:#101828;white-space:nowrap}
.rts-date-main{display:block;font-weight:700;color:#344054;font-size:13px;white-space:nowrap}.rts-money-history td small{display:block;margin-top:3px;color:#98a2b3;font-size:10px}
.rts-rejection-btn{position:relative;z-index:5;pointer-events:auto!important;display:inline-flex!important;align-items:center;justify-content:center;min-height:32px;margin:8px 0 0;padding:6px 11px!important;border:1px solid #f04438!important;border-radius:9px!important;background:#fff!important;color:#c43228!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;text-decoration:none!important}
.rts-rejection-btn:hover,.rts-rejection-btn:focus{background:#fff5f4!important;box-shadow:0 0 0 3px rgba(240,68,56,.12);outline:none}
.rts-rejection-card{max-width:520px!important}
@media(max-width:700px){.rts-money-history-card .rts-history-head{padding:17px}.rts-money-history{min-width:700px}}

/* v4.24.17 - Modern navigation redesign */
.rts-nav{
  max-width:1180px!important;
  margin:0 auto 16px!important;
  padding:8px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid #e7ebf3!important;
  border-radius:18px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.07)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
.rts-nav::-webkit-scrollbar{display:none!important}
.rts-nav a{
  position:relative!important;
  flex:0 0 auto!important;
  min-width:96px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  padding:9px 14px!important;
  border-radius:13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  color:#667085!important;
  background:transparent!important;
  border:1px solid transparent!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
  transition:all .2s ease!important;
  text-decoration:none!important;
}
.rts-nav a:hover{
  color:#175cd3!important;
  background:#f5f8ff!important;
  transform:translateY(-1px)!important;
}
.rts-nav a.active{
  color:#fff!important;
  background:linear-gradient(135deg,#2563eb,#1749b7)!important;
  border-color:#2563eb!important;
  box-shadow:0 7px 18px rgba(37,99,235,.24)!important;
}
.rts-nav a.active:after{
  content:"";
  position:absolute;
  left:22%;
  right:22%;
  bottom:4px;
  height:3px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
}
.rts-nav-icon{
  width:26px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#f1f4f8!important;
  color:#667085!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  transition:all .2s ease!important;
}
.rts-nav a:hover .rts-nav-icon{background:#e8efff!important;color:#175cd3!important}
.rts-nav a.active .rts-nav-icon{background:rgba(255,255,255,.16)!important;color:#fff!important}
.rts-topbar{padding-top:6px!important}
.rts-flow{margin-bottom:18px!important}
@media(max-width:640px){
  .rts-nav{margin:0 -4px 14px!important;padding:7px!important;border-radius:16px!important;gap:5px!important}
  .rts-nav a{min-width:86px!important;min-height:46px!important;padding:8px 11px!important;font-size:12px!important}
  .rts-nav-icon{width:24px!important;height:24px!important;font-size:13px!important}
  .rts-nav a.active:after{left:24%;right:24%;bottom:3px}
}


/* Trading Pro 4.24.18 - Crypto Market */
.rts-market-wrap{background:#f5f7fb!important}.rts-market-head{max-width:1180px;margin:0 auto 18px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.rts-market-head h1{margin:7px 0;font-size:34px;color:#101828}.rts-market-head p{margin:0;color:#667085;max-width:720px;line-height:1.6}.rts-market-stat{min-width:150px;background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:16px 20px;text-align:center;box-shadow:0 8px 24px rgba(16,24,40,.05)}.rts-market-stat b{display:block;font-size:25px;color:#175cd3}.rts-market-stat small{color:#667085}.rts-market-toolbar{max-width:1180px;margin:0 auto 10px;display:grid;grid-template-columns:1fr 180px 130px 130px;gap:10px}.rts-market-toolbar input,.rts-market-toolbar select{height:46px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;padding:0 13px;font-size:14px;outline:none}.rts-market-toolbar input:focus,.rts-market-toolbar select:focus{border-color:#84adff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.rts-market-tabs{max-width:1180px;margin:0 auto 12px;display:flex;gap:7px;overflow:auto}.rts-market-tabs button{border:1px solid #e4e7ec;background:#fff;color:#475467;border-radius:999px;padding:9px 14px;font-weight:800;white-space:nowrap;cursor:pointer}.rts-market-tabs button.active{background:#175cd3;border-color:#175cd3;color:#fff}.rts-market-table-wrap{max-width:1180px;margin:0 auto;background:#fff;border:1px solid #e4e7ec;border-radius:18px;overflow:auto;box-shadow:0 10px 30px rgba(16,24,40,.05)}.rts-market-table{width:100%;min-width:930px;border-collapse:collapse}.rts-market-table th{padding:14px 12px;background:#f8fafc;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.04em;text-align:right;white-space:nowrap}.rts-market-table th:first-child,.rts-market-table th:nth-child(2){text-align:left}.rts-market-table td{padding:13px 12px;border-top:1px solid #f0f2f5;text-align:right;font-size:13px;color:#344054;white-space:nowrap}.rts-market-table td:first-child,.rts-market-table td:nth-child(2){text-align:left}.rts-market-table tbody tr:hover{background:#f8fbff}.rts-market-coin{display:flex;align-items:center;gap:10px}.rts-market-coin img{width:30px;height:30px;border-radius:50%;background:#f2f4f7}.rts-market-coin b{display:block;color:#101828}.rts-market-coin small{display:block;color:#98a2b3;margin-top:2px}.rts-market-table .up{color:#079455;font-weight:800}.rts-market-table .down{color:#d92d20;font-weight:800}.rts-market-loading{text-align:center!important;padding:35px!important;color:#667085!important}.rts-market-note{max-width:1180px;margin:10px auto;color:#98a2b3;font-size:11px}.rts-inline-menu .rts-btn{margin:3px}
@media(max-width:760px){.rts-market-head{align-items:stretch;flex-direction:column}.rts-market-head h1{font-size:28px}.rts-market-stat{align-self:flex-start}.rts-market-toolbar{grid-template-columns:1fr 1fr}.rts-market-toolbar input{grid-column:1/-1}.rts-market-toolbar .rts-btn{width:100%}}

/* v4.24.26: Opsi Trade dibuat konsisten dengan field dashboard lainnya */
.rts-settings select{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:11px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#101828;font-size:inherit;font-family:inherit;line-height:normal;outline:none;transition:border-color .15s,box-shadow .15s;min-height:42px;cursor:pointer;}
.rts-settings select:focus{border-color:#84a9ff;box-shadow:0 0 0 3px rgba(37,99,235,.10);outline:none;}


/* v4.24.28 - Mobile dashboard polish: preserve desktop structure while improving phone usability */
@media(max-width:700px){
  html,body{overflow-x:hidden!important}
  .rts-wrap{
    width:100%!important;
    max-width:100%!important;
    padding:12px 10px 24px!important;
    box-sizing:border-box!important;
  }
  .rts-topbar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:6px 2px 12px!important;
  }
  .rts-brand{min-width:0!important;gap:8px!important}
  .rts-brand-mark{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .rts-brand b{font-size:13px!important;white-space:nowrap!important}
  .rts-brand small{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:150px!important}
  .rts-top-actions{display:flex!important;gap:6px!important}
  .rts-top-actions a{padding:8px 10px!important;font-size:12px!important}

  .rts-nav{
    width:100%!important;
    max-width:none!important;
    margin:0 0 12px!important;
    padding:7px!important;
    box-sizing:border-box!important;
    gap:6px!important;
    border-radius:16px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
  }
  .rts-nav a{
    min-width:88px!important;
    min-height:48px!important;
    padding:8px 10px!important;
    gap:7px!important;
    font-size:12px!important;
    scroll-snap-align:start!important;
  }
  .rts-nav-icon{width:23px!important;height:23px!important;font-size:12px!important}
  .rts-flow{
    width:100%!important;
    box-sizing:border-box!important;
    margin:0 0 12px!important;
    padding:9px 10px!important;
    overflow-x:auto!important;
    white-space:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    border-radius:12px!important;
  }

  .rts-box{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    padding:16px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .rts-head{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-bottom:14px!important;
  }
  .rts-head h1{font-size:25px!important;line-height:1.15!important;margin:5px 0 4px!important}
  .rts-head p{font-size:12px!important;line-height:1.45!important;margin:0!important}
  .rts-head>.rts-btn{margin:0!important;flex:0 0 auto!important;padding:9px 11px!important;font-size:12px!important}

  .rts-balance-panel{
    margin:0 0 14px!important;
    padding:15px!important;
    border-radius:15px!important;
    gap:12px!important;
  }
  .rts-balance-panel strong{font-size:22px!important}
  .rts-balance-actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .rts-balance-actions .rts-btn{width:100%!important;box-sizing:border-box!important;text-align:center!important;padding:11px 8px!important;font-size:12px!important}

  /* Keep the parameter area visually close to desktop: two columns, compact controls. */
  .rts-settings{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    margin-top:14px!important;
  }
  .rts-settings label{
    min-width:0!important;
    font-size:11px!important;
    line-height:1.25!important;
  }
  .rts-settings input,
  .rts-settings select{
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    height:44px!important;
    margin-top:6px!important;
    padding:0 10px!important;
    border-radius:10px!important;
    font-size:14px!important;
    line-height:44px!important;
    box-sizing:border-box!important;
  }
  .rts-settings select{line-height:normal!important;padding-right:28px!important}

  .rts-run-actions{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin-top:4px!important;
  }
  .rts-run-actions .rts-btn{margin:14px 0!important;padding:12px 8px!important;font-size:13px!important}
  .rts-status{font-size:12px!important;padding:11px 12px!important}

  .rts-performance-card{
    margin:14px 0 16px!important;
    border-radius:15px!important;
  }
  .rts-performance-head{
    display:block!important;
    padding:14px!important;
  }
  .rts-performance-title{font-size:12px!important}
  .rts-performance-subtitle{font-size:11px!important}
  .rts-performance-legend{
    margin-top:10px!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px 10px!important;
    font-size:10px!important;
  }
  .rts-performance-card .rts-chart-wrap{
    padding:4px!important;
    min-height:230px!important;
  }
  .rts-performance-card canvas{height:225px!important;min-height:225px!important}

  .rts-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin:12px 0!important;
  }
  .rts-summary div{padding:10px 8px!important;border-radius:10px!important;min-width:0!important}
  .rts-summary span{font-size:9px!important;line-height:1.2!important}
  .rts-summary b{font-size:13px!important;margin-top:5px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}

  .rts-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    border-radius:13px!important;
  }
  .rts-table-wrap table{min-width:620px!important}
  .rts-table-wrap th,.rts-table-wrap td{padding:9px 8px!important;font-size:11px!important}
}

@media(max-width:420px){
  .rts-wrap{padding-left:8px!important;padding-right:8px!important}
  .rts-box{padding:13px!important}
  .rts-brand b{font-size:12px!important}
  .rts-brand small{max-width:118px!important}
  .rts-head h1{font-size:22px!important}
  .rts-head>.rts-btn{padding:8px 9px!important;font-size:11px!important}
  .rts-settings{gap:8px!important}
  .rts-settings input,.rts-settings select{font-size:13px!important;padding-left:8px!important;padding-right:8px!important}
  .rts-run-actions .rts-btn{font-size:12px!important}
  .rts-summary span{font-size:8px!important}
  .rts-summary b{font-size:12px!important}
}

/* v4.24.33 - Riwayat Trading */
.rts-trade-history-page{max-width:1180px!important}
.rts-trade-history-card{margin-top:24px;border:1px solid #e4e7ec;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.rts-trade-history-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #eaecf0;background:linear-gradient(180deg,#fff,#f8fafc)}
.rts-trade-history-head h3{margin:0;font-size:20px;color:#101828}.rts-trade-history-head p{margin:4px 0 0;color:#667085;font-size:12px}.rts-history-count{font-weight:800;color:#175cd3;background:#eef4ff;border-radius:999px;padding:8px 12px;font-size:12px;white-space:nowrap}
.rts-trade-history-table{min-width:1040px}.rts-trade-history-table th{background:#f8fafc;color:#475467;font-size:11px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}.rts-trade-history-table td,.rts-trade-history-table th{padding:12px 10px}.rts-trade-history-table tbody tr:hover{background:#f8fafc}
.rts-trade-option-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:11px;font-weight:800}.rts-profit-up{color:#039855!important;font-weight:800}.rts-profit-down{color:#d92d20!important;font-weight:800}.rts-trade-empty{text-align:center!important;color:#667085;padding:32px!important}
@media(max-width:700px){.rts-trade-history-head{padding:16px}.rts-trade-history-table{min-width:1040px}.rts-trade-history-page .rts-head{gap:10px}.rts-trade-history-page .rts-head .rts-btn{width:100%;box-sizing:border-box}.rts-history-count{font-size:11px}}

.rts-plan-note{margin:10px 0 14px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc;color:#475467;font-size:13px;font-weight:600}.rts-settings label small{display:block;margin-top:6px;color:#667085;font-size:11px;line-height:1.4}.rts-settings select{width:100%}

/* v4.24.37 - Detail Riwayat Trading */
.rts-history-count-mini{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:11px;font-weight:800;white-space:nowrap}
.rts-detail-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:92px!important;padding:8px 12px!important;font-size:11px!important;text-decoration:none!important;cursor:pointer}
.rts-trade-detail-card{width:min(760px,calc(100vw - 28px));max-width:760px!important;max-height:88vh;overflow:auto}
.rts-trade-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:16px 0}.rts-trade-detail-summary>div{padding:11px 12px;border:1px solid #eaecf0;border-radius:12px;background:#f8fafc}.rts-trade-detail-summary span{display:block;color:#667085;font-size:10px;margin-bottom:4px}.rts-trade-detail-summary b{font-size:13px;color:#101828}.rts-trade-detail-list-wrap{border:1px solid #eaecf0;border-radius:14px;overflow:hidden}.rts-trade-detail-list-head{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid #eaecf0;font-size:12px}.rts-trade-detail-list-head span{color:#667085}.rts-trade-detail-list{max-height:300px;overflow:auto}.rts-trade-detail-row{display:grid;grid-template-columns:44px 72px 1fr 1fr;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #f2f4f7;font-size:12px}.rts-trade-detail-row:last-child{border-bottom:0}.rts-trade-detail-n{color:#667085;font-weight:700}.rts-trade-detail-pl{font-weight:800}.rts-trade-detail-balance{text-align:right;font-weight:700;color:#344054}.rts-trade-detail-empty,.rts-trade-detail-error{padding:24px;text-align:center;color:#667085}.rts-trade-detail-error{color:#b42318;font-weight:700}
@media(max-width:700px){.rts-trade-detail-card{width:calc(100vw - 20px)}.rts-trade-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rts-trade-detail-row{grid-template-columns:36px 64px 1fr 1fr;gap:7px;padding:9px}.rts-detail-btn{min-width:86px!important}.rts-trade-history-table{min-width:1240px}}

/* v4.25.0 - Pisahkan Riwayat Deposit & Withdraw */
.rts-history-links{margin-top:22px}
.rts-history-links-note{margin:-6px 0 16px;color:#667085;font-size:13px}
.rts-history-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rts-history-link-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:16px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;text-decoration:none!important;color:#101828;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.rts-history-link-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(16,24,40,.08);border-color:#cfd5dd}
.rts-history-link-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:20px;font-weight:900;background:#f2f4f7}
.rts-history-link-card.deposit .rts-history-link-icon{color:#027a48;background:#ecfdf3}
.rts-history-link-card.withdraw .rts-history-link-icon{color:#b42318;background:#fef3f2}
.rts-history-link-card strong{display:block;font-size:14px}
.rts-history-link-card small{display:block;margin-top:4px;color:#667085;font-size:11px;line-height:1.45}
.rts-history-link-card>b{font-size:18px;color:#98a2b3}
.rts-transaction-history-page{max-width:1100px!important}
.rts-history-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.rts-history-page-head h3{margin:0;font-size:20px;color:#101828}
.rts-history-page-head p{margin:4px 0 0;color:#667085;font-size:12px}
.rts-history-bottom-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}
@media(max-width:700px){
  .rts-history-link-grid{grid-template-columns:1fr}
  .rts-history-page-head{align-items:flex-start;flex-direction:column}
  .rts-history-page-head .rts-btn{width:100%;box-sizing:border-box;text-align:center}
  .rts-history-bottom-actions{flex-direction:column}
  .rts-history-bottom-actions .rts-btn{width:100%;box-sizing:border-box;text-align:center}
}

/* Riwayat Withdraw: tujuan rekening / e-wallet */
.rts-withdraw-destination-cell { min-width: 170px; }
.rts-withdraw-destination-cell strong,
.rts-withdraw-destination-cell span,
.rts-withdraw-destination-cell small { display:block; }
.rts-withdraw-destination-cell span { margin-top:3px; font-weight:600; }
.rts-withdraw-destination-cell small { margin-top:2px; opacity:.72; }

/* Tata letak rekening tujuan withdraw yang rapi dan responsif */
.rts-withdraw-destination-cell{min-width:205px;max-width:260px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.rts-destination-detail{display:grid;gap:6px;line-height:1.35}
.rts-destination-bank{font-size:13px;font-weight:700;color:#344054}
.rts-destination-number,.rts-destination-owner{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;row-gap:2px;font-size:12px}
.rts-destination-number strong{font-size:13px;font-weight:700;letter-spacing:.15px;color:#101828;overflow-wrap:anywhere}
.rts-destination-owner>span:last-child{font-size:12px;color:#475467;overflow-wrap:anywhere}
.rts-destination-label{display:inline-block;color:#98a2b3;font-size:10px;font-weight:500;white-space:nowrap}
@media(max-width:700px){.rts-withdraw-destination-cell{min-width:190px;max-width:230px}}
