:root{color-scheme:dark;--bg:#07110e;--card:#0b1c17;--border:#143b31;--line:#19352c;--text:#f1f6f4;--muted:#9bafb0;--accent:#19ecac;--negative:#ff586c;--green-soft:rgba(25,236,172,.08);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,rgba(11,62,43,.15),transparent 62%),var(--bg);color:var(--text);font-size:13px;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}a{color:inherit;text-decoration:none}h2,p{margin:0}h2{font-size:16px;line-height:1.3;font-weight:650;letter-spacing:.1px}h2 small{font-size:13px;color:var(--muted);font-weight:400}small{font-size:11px}.positive{color:var(--accent)!important}.negative{color:var(--negative)!important}.muted,.subtle{color:var(--muted)}.topbar{height:60px;display:flex;align-items:center;padding:0 26px;gap:14px;border-bottom:1px solid #183c31;background:rgba(5,17,13,.8);white-space:nowrap}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand img{width:38px;height:38px}.brand span{font-size:28px;letter-spacing:-.9px;font-weight:750}.mode-badge{font-size:11px;background:#1b2b30;border:1px solid #2b3b3e;border-radius:4px;padding:3px 8px;color:#c3d4d7}.product-name{font-size:12px;color:#8eaaa8}.topbar nav{height:100%;display:flex;align-items:stretch;gap:24px;margin-left:22px}.nav-item{position:relative;font-size:14px;color:#bed0ce;padding:0 10px;transition:color .18s}.nav-item:hover{color:var(--accent)}.nav-item.selected{color:var(--accent);font-weight:650}.nav-item.selected:after{content:"";height:2px;background:var(--accent);position:absolute;left:0;right:0;bottom:5px}.connection{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--accent)}.connection i{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 7px #19ecac33}.connection .latency{margin-left:8px;color:#a4b8b8}.topbar time{font-size:11px;color:#b1c4c6;border-left:1px solid #254136;padding-left:14px;margin-left:1px}.dashboard{height:calc(100dvh - 60px);min-height:830px;padding:12px 15px 28px;display:grid;grid-template-rows:138px minmax(0,1.44fr) minmax(0,1fr);gap:12px}.kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.panel{border:1px solid var(--border);border-radius:5px;background:linear-gradient(112deg,rgba(15,36,29,.78),rgba(8,25,20,.9));box-shadow:inset 0 0 28px rgba(0,0,0,.08);min-width:0;overflow:hidden}.kpi{padding:18px 17px 15px}.kpi h2{display:flex;align-items:center;gap:10px;font-size:16px}.kpi h2 [data-icon]{margin-right:7px}.icon{width:21px;height:21px;color:var(--accent);display:block;stroke-width:1.7;flex-shrink:0}.kpi label{font-size:13px;color:#a9bcbd;display:block;margin-bottom:8px;white-space:nowrap}.wallet-values,.profit-values,.win-values,.risk-values{margin-top:20px;display:flex;align-items:center}.wallet-values{gap:18px}.wallet-values>div:not(:first-child){padding-left:16px;border-left:1px solid #29463b}.wallet-values>div:first-child{flex:1}.wallet-values b{font-size:19px;letter-spacing:.25px;white-space:nowrap}.wallet-values strong{font-size:31px;line-height:1;font-weight:750;letter-spacing:.2px;white-space:nowrap}.profit-values{gap:42px}.profit-values strong{font-size:29px;font-weight:700;line-height:1}.win-values{margin-top:18px;justify-content:space-between;gap:14px}.win-count{display:flex;align-items:baseline;gap:9px;white-space:nowrap}.win-count b{font-size:29px;line-height:1;font-weight:700}.win-count span{font-size:15px}.win-rate{color:var(--muted);font-size:14px;margin-top:8px}.win-rate b{font-size:18px;color:var(--accent);margin-left:16px}.strategy-tallies{border-left:1px solid #264136;padding-left:14px;font-size:11px;white-space:nowrap;color:var(--muted)}.strategy-tallies p+p{margin-top:16px}.strategy-tallies span{color:#d7eae4;margin-left:6px}.strategy-tallies em{color:var(--accent);font-style:normal}.strategy-tallies .negative{padding-left:4px}.risk-values{justify-content:space-between;gap:12px}.risk-values strong{font-size:20px;white-space:nowrap}.risk-small{border-left:1px solid #264136;padding-left:16px;font-size:11px;white-space:nowrap;color:#a4b7b7}.risk-small p{display:flex;justify-content:space-between;gap:18px}.risk-small p+p{margin-top:18px}.risk-small b{font-size:13px;font-weight:600;color:var(--text)}.middle-row{display:grid;grid-template-columns:2.22fr 1fr 1fr;gap:9px;min-height:0}.market-panel{padding:14px 18px 15px;display:flex;flex-direction:column}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:39px;border-bottom:1px solid #24443a;padding-bottom:11px}.market-heading h2{display:flex;align-items:center;gap:10px;font-size:18px;white-space:nowrap}.bitcoin{width:30px;height:30px;background:#f89500;color:white;border-radius:50%;display:grid;place-items:center;font-size:25px;font-weight:550}.round-heading{display:flex;align-items:center;gap:16px;white-space:nowrap;font-size:12px;color:#a3b8bb}.round-heading button{font-size:15px;font-weight:650;padding:0;color:#e9f3ef}.round-heading b{color:var(--accent);font-size:25px;line-height:1;font-weight:700;min-width:69px}.round-heading #countdown-label{margin-left:10px}.market-prices{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 6px 13px;font-size:14px}.market-prices>div{display:flex;align-items:baseline;gap:17px}.market-prices span{color:#b9cece}.market-prices b{font-size:20px;letter-spacing:.2px}.market-prices>div:last-child{margin-right:15%}.btc-chart{position:relative;flex:1;min-height:130px}.btc-chart svg{width:100%;height:100%;overflow:visible;display:block}.chart-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#b1c5bf;font-size:14px;min-height:140px}.chart-placeholder span{font-size:12px;color:var(--muted)}.chart-axis{fill:#a1b5b8;font-size:11px}.chart-label{font-size:12px;font-weight:650}.round-history{border-top:1px solid #1f3b30;padding-top:10px;margin:4px 4px 0}.history-heading{display:flex;justify-content:space-between;align-items:center;color:#9eb5b8;font-size:12px}.history-heading small{font-size:11px}.history-heading #round-counts{font-size:16px;color:var(--accent);font-weight:600}.round-strip{display:flex;gap:3px;align-items:center;margin-top:10px;height:24px}.round-chip{width:calc((100% - 147px)/50);min-width:0;flex-shrink:0;padding:0;height:23px;line-height:23px;color:var(--accent);background:#10372a;border:1px solid #225640;border-radius:3px;font-size:11px}.round-chip.down{color:var(--negative);background:#352022;border-color:#563036}.round-chip.flat,.round-chip.unknown{color:#8caaa1;background:#152820;border-color:#2b4035}.round-chip.selected{outline:1px solid #e3f5ee;outline-offset:1px}.strategy-panel{padding:16px 15px}.strategy-content{height:100%;display:flex;flex-direction:column}.strategy-profile{display:flex;align-items:center;gap:18px;padding-bottom:16px;min-height:134px}.strategy-avatar{width:101px;height:121px;object-fit:cover;border-radius:7px;border:1px solid #225447;background:#0c1b16;flex-shrink:0}.strategy-info{min-width:0;flex:1}.strategy-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:23px}.strategy-title h2{font-size:27px;letter-spacing:.6px;white-space:nowrap}.running{display:flex;align-items:center;gap:8px;border:1px solid #1a4635;padding:5px 9px;border-radius:4px;background:#08231b;color:var(--accent);font-size:12px;white-space:nowrap}.running:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.running.paused{color:#b6bbb6}.strategy-win{font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:8px}.strategy-win>span{color:#bacdce;font-size:14px;margin-right:6px}.strategy-win b{font-size:20px;color:var(--accent)}.strategy-win .negative{margin-left:0}.strategy-win small{font-size:12px;color:#dae5e1}.strategy-rules{border:1px solid #235043;border-radius:4px;flex:1;min-height:132px;padding:0 13px;display:flex;flex-direction:column;justify-content:space-evenly;cursor:pointer;transition:border-color .15s}.strategy-rules:hover{border-color:#34b28a}.rule-row{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.45;font-size:13px}.rule-row span{color:#afc4c9;white-space:nowrap}.rule-row b{font-weight:450;text-align:right}.strategy-bottom{display:grid;grid-template-columns:.8fr 1fr 1fr;border:1px solid #1e4035;border-radius:4px;margin-top:14px;padding:15px 0 13px;gap:0}.strategy-bottom>div{padding:0 12px;border-left:1px solid #203c31;min-width:0}.strategy-bottom>div:first-child{border-left:0}.strategy-bottom label{display:block;color:#a5bdc1;font-size:12px;margin-bottom:8px;white-space:nowrap}.strategy-bottom b{font-size:18px;white-space:nowrap;letter-spacing:-.25px}.bottom-row{display:grid;grid-template-columns:.94fr 1.08fr 1.08fr;gap:8px;min-height:0}.panel-heading{height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 17px;flex-shrink:0}.panel-heading h2{display:flex;align-items:center;gap:8px;font-size:15px;white-space:nowrap}.panel-heading h2 .icon{margin-right:5px}.panel-heading h2 small{font-size:12px;font-weight:400}.equity-panel{display:flex;flex-direction:column}.equity-total{display:flex;align-items:center;gap:9px;font-size:15px}.equity-total b{color:var(--accent);font-size:20px}.equity-total select{background:transparent;border:0;color:#a9bdbd;font-size:11px;width:52px;cursor:pointer;appearance:auto}.equity-chart{flex:1;min-height:100px;margin:1px 17px 4px}.equity-chart svg{width:100%;height:100%;display:block;overflow:visible}.equity-metrics{display:grid;grid-template-columns:1fr 1.1fr .8fr .8fr;margin:7px 18px 13px;padding-top:12px;border-top:1px solid #244738;gap:8px}.equity-metrics label{font-size:11px;color:#b3c7c8;display:block;white-space:nowrap;margin-bottom:7px}.equity-metrics b{font-size:15px;white-space:nowrap}.table-panel{display:flex;flex-direction:column}.table-panel .panel-heading{padding:0 16px}.table-panel .subtle{font-size:10px}.table-scroll{overflow:auto;min-height:0;flex:1;padding:0 16px 7px;scrollbar-width:thin;scrollbar-color:#245b45 transparent}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap;text-align:left}th{color:#a9bfc3;font-size:10px;font-weight:450;padding:10px 4px 11px;border-bottom:1px solid #274c3d;text-align:left}td{padding:8px 4px;border-bottom:1px solid #1b382d;font-size:11px}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{text-align:right;padding-right:0}.data-row{cursor:pointer}.data-row:hover{background:#12433255}.table-avatar{width:25px;height:25px;object-fit:cover;vertical-align:middle;border-radius:50%;margin-right:6px}.shared-avatar{position:relative;width:32px;height:25px;display:inline-block;vertical-align:middle;margin-right:5px}.shared-avatar img{position:absolute;width:22px;height:25px;object-fit:cover;border-radius:50%;border:1px solid #365a42;left:0}.shared-avatar img+img{left:12px}.direction{font-size:11px;color:var(--accent)}.direction.down{color:var(--negative)}.empty-cell{text-align:center!important;padding:28px 5px;color:#799b8d;line-height:1.9;font-size:12px;white-space:normal}.quiet-button{color:#809f94;padding:4px 0;font-size:10px;white-space:nowrap}.quiet-button:hover{color:var(--accent)}.status-note{position:fixed;bottom:3px;left:18px;right:18px;font-size:10px;color:#b4a77c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.focus-flash{animation:focus-panel 1.2s ease-out}@keyframes focus-panel{0%,35%{outline:1px solid var(--accent);box-shadow:0 0 0 4px #19ecac0a}100%{outline:1px solid transparent}}dialog{width:min(760px,calc(100vw - 40px));max-height:85dvh;color:#e8f2ed;background:#0c1c16;border:1px solid #2b5b43;border-radius:10px;padding:0;box-shadow:0 20px 100px #000a}dialog::backdrop{background:#0008;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 23px;border-bottom:1px solid #23402f}.dialog-heading h2{font-size:19px}.dialog-heading button{font-size:28px;line-height:1;color:#a3b6ad}#dialog-body{padding:22px;overflow:auto;max-height:calc(85dvh - 70px)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.detail-grid>div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #22372b;padding:12px 0;font-size:12px}.detail-grid span{color:var(--muted)}.detail-grid b{text-align:right;overflow-wrap:anywhere;font-weight:500}.detail-note{color:#94afa0;font-size:12px;line-height:1.9;margin:18px 0 0}.detail-hash{font-size:11px;overflow-wrap:anywhere;line-height:1.7;color:#8dab9b}.dialog-orders{min-width:600px}.dialog-rules h3{font-size:14px;color:var(--accent);margin:20px 0 0}.dialog-rules h3:first-child{margin:0}#dialog-body details{color:#afc7b9;font-size:12px;margin-top:16px}#dialog-body details p{margin-top:10px;line-height:1.7}
@media(min-width:1800px){.topbar{gap:18px}.topbar nav{margin-left:80px;gap:36px}.strategy-profile{gap:24px}.strategy-avatar{width:119px;height:136px}.strategy-title h2{font-size:31px}.strategy-title{margin-bottom:25px}.strategy-rules .rule-row{font-size:15px}.strategy-bottom b{font-size:22px}.strategy-bottom label{font-size:13px}.wallet-values strong{font-size:36px}.wallet-values b{font-size:22px}table td{font-size:12px}table th{font-size:11px}}
@media(max-width:1450px){.topbar{padding:0 18px;gap:10px}.product-name{font-size:10px}.topbar nav{margin-left:6px;gap:9px}.topbar time{font-size:10px}.nav-item{font-size:12px;padding:0 8px}.kpi{padding:17px 13px}.wallet-values{gap:8px}.wallet-values>div:not(:first-child){padding-left:9px}.wallet-values b{font-size:16px}.wallet-values strong{font-size:26px}.profit-values{gap:20px}.profit-values strong{font-size:27px}.risk-small{padding-left:9px}.risk-small p{gap:7px}.risk-values strong{font-size:17px}.strategy-tallies{padding-left:8px;font-size:10px}.win-values{gap:8px}.win-count{gap:6px}.win-count b{font-size:25px}.strategy-panel{padding:13px 12px}.strategy-profile{gap:12px;min-height:120px}.strategy-avatar{width:81px;height:104px}.strategy-title h2{font-size:24px}.running{padding:4px 6px;font-size:10px;gap:5px}.strategy-title{margin-bottom:18px}.strategy-win{gap:5px;font-size:11px}.strategy-win>span{margin:0;font-size:12px}.strategy-win b{font-size:18px}.rule-row{font-size:12px}.strategy-bottom>div{padding:0 9px}.strategy-bottom b{font-size:15px}.market-heading h2{font-size:16px}.round-heading{gap:9px;font-size:11px}.round-heading b{font-size:22px;min-width:62px}.round-heading button{font-size:13px}.market-panel{padding-left:14px;padding-right:14px}.market-prices b{font-size:18px}.market-prices{font-size:12px}.market-prices>div{gap:10px}.market-prices>div:last-child{margin-right:10%}.panel-heading{padding:0 13px}.panel-heading h2{font-size:14px}.table-scroll{padding-left:12px;padding-right:12px}.table-panel .panel-heading{padding:0 12px}td{padding:7px 3px;font-size:10px}th{font-size:9px;padding-left:3px;padding-right:3px}.table-avatar{width:22px;height:22px;margin-right:3px}.equity-total b{font-size:17px}.equity-metrics b{font-size:13px}.equity-metrics{gap:5px;margin-left:13px;margin-right:13px}.equity-metrics label{font-size:10px}}
@media(max-width:1150px){.product-name{display:none}.topbar time{display:none}.dashboard{height:auto;min-height:0;grid-template-rows:286px auto auto}.kpi-row{grid-template-columns:1fr 1fr}.kpi-row .kpi:nth-child(n+3){display:block}.middle-row{grid-template-columns:1fr 1fr}.middle-row .market-panel{grid-column:1 / -1;height:420px}.middle-row .strategy-panel{height:350px}.middle-row .strategy-panel:last-child{display:block}.bottom-row{grid-template-columns:1fr 1fr}.bottom-row>.panel{height:310px}.bottom-row .table-panel:last-child{grid-column:1 / -1;height:300px}.bottom-row .table-panel:last-child{display:flex}}
@media(max-width:760px){.topbar{height:58px;padding:0 12px;gap:9px}.brand img{width:29px;height:29px}.brand span{font-size:23px}.mode-badge{font-size:9px;padding:2px 5px}.topbar nav{display:none}.connection{font-size:10px;gap:5px}.connection .latency{display:none}.dashboard{height:auto;padding:10px;display:flex;flex-direction:column;gap:10px}.kpi-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kpi-row .kpi:nth-child(n+3){display:block}.kpi{padding:13px 10px;min-height:128px}.kpi h2{font-size:12px;gap:5px}.kpi h2 [data-icon]{margin-right:2px}.kpi .icon{width:16px;height:16px}.wallet-values{gap:9px;flex-wrap:wrap;margin-top:13px}.wallet-values>div:first-child{flex-basis:100%}.wallet-values>div:not(:first-child){padding-left:0;border:0;flex:1}.wallet-values strong{font-size:25px}.wallet-values b{font-size:12px}.kpi label{font-size:10px;margin-bottom:4px}.profit-values{gap:14px;margin-top:22px;flex-wrap:wrap}.profit-values strong{font-size:23px}.win-values{margin-top:16px;flex-wrap:wrap}.strategy-tallies{display:none}.win-count b{font-size:25px}.win-rate{font-size:11px}.win-rate b{font-size:14px}.risk-values{flex-wrap:wrap;margin-top:15px;gap:9px}.risk-small{border:0;padding:0;font-size:9px;width:100%}.risk-small p+p{margin-top:5px}.risk-values strong{font-size:16px}.middle-row{display:grid;grid-template-columns:1fr;gap:10px}.market-panel{height:390px;padding:12px}.market-heading{align-items:flex-start;flex-wrap:wrap;gap:10px;padding-bottom:10px}.market-heading h2{font-size:15px}.bitcoin{width:24px;height:24px;font-size:20px}.round-heading{width:100%;justify-content:space-between;gap:6px;font-size:10px}.round-heading b{font-size:20px;text-align:right}.round-heading #countdown-label{margin-left:auto}.market-prices{padding:12px 0 10px;gap:5px;justify-content:space-between}.market-prices>div{gap:4px;flex-direction:column;font-size:10px}.market-prices b{font-size:16px}.market-prices>div:last-child{margin-right:8%}.round-history{margin-left:0;margin-right:0}.round-strip{gap:2px}.round-chip{width:calc((100% - 98px)/50);height:20px;font-size:8px;line-height:18px}.history-heading{font-size:10px}.history-heading small{font-size:9px}.history-heading #round-counts{font-size:12px}.strategy-panel{min-height:330px;padding:15px}.middle-row .strategy-panel:last-child{display:block}.strategy-avatar{width:89px;height:104px}.strategy-profile{min-height:120px;gap:20px}.strategy-title h2{font-size:27px}.strategy-title{margin-bottom:20px}.running{font-size:12px;padding:4px 8px}.strategy-win{font-size:13px}.strategy-rules{min-height:130px}.strategy-bottom b{font-size:18px}.bottom-row{display:flex;flex-direction:column;gap:10px}.bottom-row .table-panel:last-child{display:flex}.equity-panel{height:300px}.table-panel{min-height:210px;max-height:360px}.table-scroll{overflow:auto}table{min-width:430px}.detail-grid{grid-template-columns:1fr}.status-note{position:static;margin:0 12px 12px;white-space:normal;line-height:1.5}.equity-metrics{margin-bottom:14px}.equity-metrics b{font-size:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Reference05 visual refinement, pass 2. */
.round-down-count{margin-left:18px}.wallet-values strong{font-size:34px}.kpi h2{font-size:17px}.market-heading h2{font-size:18px}.panel-heading h2{font-size:16px}.strategy-title h2{font-weight:750}.market-prices b{font-size:21px}.rule-row{font-size:14px}.strategy-win{font-size:14px}.strategy-bottom label{font-size:12px}.strategy-bottom b{font-size:20px}#trades td{font-size:12px;padding-top:6px;padding-bottom:6px}#trades th{font-size:11px;padding-top:9px;padding-bottom:9px}#trades .data-row{height:31px}.equity-metrics label{font-size:12px}.equity-metrics b{font-size:16px}.chart-axis{font-size:11px}.strategy-tallies{font-size:12px}.risk-small{font-size:12px}.risk-values strong{font-size:22px}.running{font-size:12px}
@media(max-width:1450px) and (min-width:1151px){.kpi h2{font-size:15px}.wallet-values strong{font-size:28px}.strategy-tallies{font-size:10px}.risk-small{font-size:10px}.risk-values strong{font-size:17px}.rule-row{font-size:12px}.strategy-bottom b{font-size:15px}.strategy-bottom label{font-size:11px}.market-heading h2{font-size:16px}.panel-heading h2{font-size:14px}.running{font-size:10px}.market-prices b{font-size:18px}#trades td{font-size:11px}#trades th{font-size:10px}}
@media(max-width:760px){.dashboard{grid-template-rows:none}.kpi h2{font-size:12px}.wallet-values strong{font-size:25px}.risk-values strong{font-size:16px}.risk-small{font-size:9px}.middle-row .market-panel{grid-column:auto;height:390px}.middle-row .strategy-panel{height:350px}.market-heading h2{font-size:15px}.market-prices b{font-size:16px}.strategy-bottom b{font-size:18px}.rule-row{font-size:13px}.bottom-row>.panel{height:300px}.bottom-row .table-panel:last-child{height:300px}.panel-heading h2{font-size:14px}.equity-metrics label{font-size:10px}.equity-metrics b{font-size:14px}}

.parameter-list{margin-top:14px}.parameter-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:15px 0;border-bottom:1px solid #254132}.parameter-row>div{flex:1}.parameter-row b{color:#e3eee8;font-size:13px;font-weight:600}.parameter-row code{display:inline-block;color:#80a394;font-size:10px;margin-left:10px;word-break:break-all}.parameter-row p{font-size:12px;color:#97b2a4;line-height:1.8;margin:6px 0 0!important}.parameter-row strong{font-size:13px;color:#25e5ac;font-weight:600;text-align:right;max-width:170px;flex-shrink:0}.parameter-row small{color:#819d8e}

.history-actions{display:flex;align-items:center;gap:16px}.realtime-button{font-size:10px;color:#a8beb4;display:flex;align-items:center;gap:5px;padding:3px 7px;border:1px solid #285641;border-radius:3px;white-space:nowrap}.realtime-button i{width:5px;height:5px;border-radius:50%;background:currentColor}.realtime-button:hover,.realtime-button.active{color:var(--accent);background:#103227}.round-tooltip{z-index:50;position:fixed;width:212px;background:#123127;border:1px solid #39765b;border-radius:5px;padding:9px 11px;box-shadow:0 5px 18px #0006;pointer-events:none;line-height:1.5}.round-tooltip b{display:block;color:#ecf5f0;font-size:12px;font-weight:550}.round-tooltip span{display:block;margin-top:4px;color:#9fbcad;font-size:10px}@media(max-width:760px){.history-actions{gap:7px}.realtime-button{font-size:9px;padding:3px 5px}.round-down-count{margin-left:8px}}

.trade-profit{font-weight:600;min-width:55px}.dialog-orders .trade-profit{min-width:74px}#trades td{padding-left:3px;padding-right:3px}#trades th{padding-left:3px;padding-right:3px}#trades td:first-child,#trades th:first-child{padding-left:0}#trades td:last-child,#trades th:last-child{padding-right:0}

.trade-profit small{display:block;font-size:9px;font-weight:400;line-height:1.35;color:var(--muted)}

.wallet-age{margin-left:auto;font-size:10px!important;font-weight:400;letter-spacing:0;color:#85ac99;white-space:nowrap}.wallet-age.stale{color:#d4b77c}.cached-value{color:#c9b78f}.wallet-kpi h2{gap:7px}@media(max-width:760px){.wallet-age{font-size:8px!important}.wallet-kpi h2{gap:4px}.wallet-kpi h2 small{display:none}}

.running.status-rest{color:#a7c5b6;border-color:#2d5040;background:#11291e}.running.status-paused{color:#c7bc97;border-color:#564b30;background:#292719}.running.status-protected,.running.status-error{color:#ff8b8b;border-color:#754242;background:#311e20}.running.status-offline,.running.status-unknown{color:#9aa9a1;border-color:#35433a;background:#18211a}.running[data-strategy-status]{cursor:help}

.strategy-identity{display:flex;flex-direction:column;gap:6px;min-width:0}.strategy-hand{font-size:12px;line-height:16px;color:var(--accent);white-space:nowrap}

.position-detail>td{padding:16px;background:#0c211b}.position-legs{width:100%;font-size:12px}.position-legs td{padding:10px 7px}.position-summary .quiet-button{color:#55dca7;white-space:nowrap}

body[data-custom-strategy="true"] .strategy-info{min-width:0;flex:1}body[data-custom-strategy="true"] .strategy-title{display:block}body[data-custom-strategy="true"] .strategy-title h2{font-size:17px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}body[data-custom-strategy="true"] .strategy-title .running{display:inline-flex;margin-top:5px}body[data-custom-strategy="true"] .strategy-identity{min-width:0}body[data-custom-strategy="true"] .strategy-tallies p{white-space:normal;line-height:1.6;font-size:10px}
