:root{--brand:#f16856;--brand-soft:#fff0ed;--nav:#22272d;--bg:#f5f7fa;--panel:#fff;--text:#172033;--muted:#758097;--border:#e6eaf0;--up:#00a981;--down:#ef4452;--shadow:0 12px 50px #1720331a;--sidebar:78px;--header:64px;--font:14px;color-scheme:light}*{box-sizing:border-box}body{margin:0;font-family:Arial,'Microsoft YaHei','PingFang SC',sans-serif;font-size:var(--font);background:var(--bg);color:var(--text);line-height:1.45}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:1px solid var(--border);border-radius:5px;background:var(--panel);color:var(--text);padding:7px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:background .14s,border-color .14s,color .14s}button:hover{border-color:#c6cdd9;background:var(--bg)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--brand);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}button.primary:hover{background:#ee5d49}button.outline{color:var(--brand);border-color:var(--brand);background:transparent}button.ghost{border-color:transparent;background:transparent}button.tiny{padding:4px 10px;font-size:12px}button.icon-button{width:32px;height:32px;padding:6px;border-color:transparent;background:transparent}button.icon-button:hover{background:var(--bg)}button.buy{background:var(--up);color:white;border-color:var(--up)}button.sell{background:var(--down);color:white;border-color:var(--down)}a{color:var(--brand);text-decoration:none}h1,h2,h3,h4,p{margin:0}h1{font-size:25px;line-height:1.25}h2{font-size:20px;line-height:1.3}h3{font-size:16px}h4{font-size:14px}small,.muted{color:var(--muted)}.up{color:var(--up)!important}.down{color:var(--down)!important}.icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.icon.small{width:16px;height:16px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:12px}.spacer{flex:1}.hidden{display:none!important}.mono,td.price,.big-price{font-variant-numeric:tabular-nums}.bold{font-weight:700}.full{width:100%}.text-right{text-align:right}.panel{background:var(--panel);border:1px solid var(--border);border-radius:5px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;gap:12px}.panel-body{padding:14px}.badge{display:inline-flex;padding:2px 9px;border-radius:4px;background:var(--bg);font-size:11px;white-space:nowrap}.badge.high{color:var(--down);background:#ffebed}.badge.mid{color:#b97a00;background:#fff4d6}.badge.green{color:var(--up);background:#e5f7f1}.badge.coral{color:var(--brand);background:var(--brand-soft)}.divider{height:1px;background:var(--border);margin:14px 0}.empty{padding:45px 20px;text-align:center;color:var(--muted)}.empty .icon{width:42px;height:42px;margin-bottom:12px}.empty h3{color:var(--text);margin-bottom:8px}.empty button{margin-top:18px}
/* Trading terminal shell */
.sidebar{position:fixed;z-index:30;inset:0 auto 28px 0;width:var(--sidebar);background:var(--nav);border-right:1px solid var(--brand);display:flex;flex-direction:column;padding:72px 5px 8px;color:#fff}.side-item{padding:10px 0;min-height:72px;flex-direction:column;gap:5px;background:transparent;border:0;color:#e9edf2;border-radius:5px;font-size:13px;margin-bottom:5px}.side-item .icon{width:25px;height:25px}.side-item:hover{background:#ffffff10;color:white}.side-item.active{background:var(--brand);color:#151e2b}.side-spacer{flex:1;min-height:12px}.topbar{height:var(--header);position:fixed;z-index:35;top:0;left:var(--sidebar);right:0;display:flex;align-items:center;gap:20px;padding:10px 16px;background:var(--panel);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;flex:none}.brand img{display:block;width:224px;height:auto}.brand-button{padding:0;border:0;background:#fff;border-radius:0}.workspace-switch{height:35px;font-weight:600;min-width:86px;font-size:14px}.global-search{display:flex;align-items:center;gap:9px;flex:1;height:36px;border:1px solid var(--border);border-radius:4px;padding:0 10px;margin:0 18px;color:var(--muted);min-width:100px;max-width:590px;cursor:pointer}.global-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search kbd{margin-left:auto;border:1px solid var(--border);font-size:10px;border-radius:3px;padding:1px 4px}.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.language-btn{padding:5px 6px;background:transparent;border:0}.header-actions .auth-btn{min-width:74px}.avatar{border-radius:50%;width:34px;height:34px;background:var(--brand-soft);border:0;padding:0;font-size:11px}.notify{position:relative}.notify:after{content:'3';position:absolute;right:1px;top:-2px;background:var(--down);color:white;border-radius:50%;font-size:9px;width:14px;height:14px;line-height:14px}.app-main{padding:var(--header) 0 28px var(--sidebar);min-height:100vh}.page{padding:12px 12px 14px}.page-heading{display:flex;align-items:center;gap:16px;min-height:49px;padding:0 4px 12px}.page-heading>p{font-size:12px;color:var(--muted);margin-top:4px}.page-heading .right{margin-left:auto;display:flex;gap:14px;align-items:center}.statusbar{position:fixed;z-index:40;bottom:0;left:0;right:0;height:28px;background:var(--nav);color:#e3e7eb;display:flex;align-items:center;gap:22px;padding:0 17px;font-size:10px}.statusbar .brand-glyph{font-weight:800;color:var(--brand);font-size:19px;width:40px;border-right:1px solid #66717b;line-height:19px}.statusbar strong{font-size:10px;color:#fff;font-weight:500;margin-left:8px}.statusbar .status-right{margin-left:auto;display:flex;align-items:center;gap:12px}.dot{display:inline-block;width:7px;height:7px;background:var(--up);border-radius:50%;margin-right:5px}.mobile-nav,.mobile-home-bar,.mobile-title,.mobile-search,.mobile-banner-title,.mobile-table-more,.mobile-subprice,.mobile-only{display:none}
/* Instrument identities */
.instrument-icon{height:32px;width:32px;flex:none;position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:23px}.instrument-icon.large{height:42px;width:42px;font-size:30px}.instrument-icon svg{width:100%;height:100%;overflow:visible}.coin{border-radius:50%;background:#ff9a00;color:white;font-family:Arial;font-weight:bold;line-height:1}.coin.eth{background:#eff1f4;color:#39414b}.coin.index{background:#eb1445;color:white;border-radius:7px;font-size:15px}.coin.apple{color:#0c1015;font-size:30px}.coin.nvda{background:#76b900;color:#fff;border-radius:5px;font-size:14px}.pair-flags{width:35px;height:32px;position:relative;display:block}.flag{width:28px;height:28px;border-radius:50%;display:inline-block;overflow:hidden;position:relative;border:1px solid #fff;vertical-align:middle;flex:none}.flag svg{width:100%;height:100%}.pair-flags .flag:last-child{position:absolute;right:-1px;bottom:0;width:23px;height:23px}.instrument-name{display:flex;align-items:center;gap:10px;min-width:0}.instrument-name strong{font-size:12px;line-height:1.2;display:block}.instrument-name small{display:block;font-size:11px;line-height:1.45;margin-top:2px}.instrument-name.large strong{font-size:19px}.instrument-name.large small{font-size:12px}.sparkline{width:100%;height:29px;display:block;overflow:visible}.market-overview{background:var(--nav);color:#fff;display:grid;grid-template-columns:repeat(4,1fr);border-radius:5px;min-height:106px;padding:18px 15px;margin-bottom:10px}.market-tile{display:flex;flex-direction:column;justify-content:center;position:relative;padding:0 17px;border-right:1px solid #57606a;cursor:pointer;min-width:0}.market-tile:last-child{border:0}.market-tile .title{display:flex;align-items:center;gap:12px;font-weight:600;margin-bottom:4px;font-size:14px}.market-tile .title .instrument-icon{width:34px;height:34px}.market-tile .bottom{display:flex;align-items:center;gap:10px;min-width:0}.market-tile .big-price{font-size:27px;line-height:1.1;font-weight:700;letter-spacing:-.4px}.market-tile .pct{font-size:16px;font-weight:700;white-space:nowrap}.market-tile .sparkline{max-width:110px;min-width:40px;flex:1;margin-left:auto}.quicklinks{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:10px}.quicklink{justify-content:flex-start;padding:15px 25px;font-weight:600;gap:20px;height:59px}.quicklink .icon{width:26px;height:26px}.quicklink .chevron{margin-left:auto;width:17px}.home-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr);gap:10px}.home-left,.home-right{display:flex;flex-direction:column;gap:10px;min-width:0}.home-right .panel{flex:none}.home-markets{padding:0 10px 4px}.home-markets .panel-heading{padding:10px 2px 8px}.tabs{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--border);padding:0 0 8px;overflow:auto;scrollbar-width:none}.tabs button{padding:5px 13px;font-size:12px;color:var(--muted);background:var(--bg);border:1px solid var(--border);flex:none}.tabs button.active{background:var(--brand-soft);color:var(--brand);border-bottom:2px solid var(--brand)}.tabs.underlined{padding:0;gap:0}.tabs.underlined button{padding:10px 17px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;font-size:13px}.tabs.underlined button.active{border-color:var(--brand);color:var(--brand)}.table-wrap{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;font-size:12px}th{font-weight:400;color:var(--muted);font-size:11px;text-align:left;height:33px;padding:5px 9px;border-bottom:1px solid var(--border);white-space:nowrap}td{height:42px;border-bottom:1px solid var(--border);padding:6px 9px;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr[data-symbol],tbody tr.clickable{cursor:pointer}tbody tr:hover{background:var(--bg)}tbody tr.selected{background:var(--brand-soft)}.market-table th:not(:first-child),.market-table td:not(:first-child){text-align:right}.market-table th:first-child,.market-table td:first-child{padding-left:3px}.market-table .spark-cell{width:23%}.market-table td.action-cell{width:104px}.market-table .outline{padding:4px 14px;font-size:11px;width:98px}.market-table .price{font-weight:600}.market-table .pct{font-weight:500}.market-table td{height:42px}.market-table .selected td:first-child{border-radius:4px 0 0 4px;position:relative}.market-table .selected td:first-child:before{content:'';position:absolute;left:-4px;top:5px;bottom:5px;width:2px;background:var(--brand)}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 10px 10px}.tool-card{justify-content:flex-start;gap:12px;padding:10px 8px;text-align:left;white-space:normal;min-height:76px}.tool-card .tool-icon{height:50px;width:48px;border:1px solid var(--border);background:var(--bg);display:grid;place-items:center;border-radius:5px;flex:none}.tool-icon .icon{width:28px;height:28px}.tool-card strong{display:block;font-size:12px;margin-bottom:4px}.tool-card small{font-size:10px;display:block}.tool-card>.icon{width:14px}.calendar-mini{padding:0 12px 8px}.calendar-mini td{height:47px}.calendar-mini th,.calendar-mini td{padding:4px}.calendar-mini td:nth-child(2){min-width:77px}.calendar-mini .flag{width:25px;height:25px;margin-right:7px}.calendar-mini .badge{min-width:47px;text-align:center;justify-content:center}.calendar-mini td:last-child{text-align:right}.news-items{padding:0 12px}.news-item{display:flex;gap:12px;padding:11px 0;align-items:center;border-top:1px solid var(--border);cursor:pointer}.news-item .news-copy{flex:1}.news-item h3{font-size:15px;margin-bottom:6px}.news-item p{font-size:11px;color:var(--muted)}.news-item img{width:108px;height:71px;border-radius:4px;object-fit:cover}.news-item:hover h3{color:var(--brand)}.announcement{margin:0 10px 10px;padding:10px;display:flex;gap:12px;align-items:center;background:var(--panel);border:1px solid var(--border);border-radius:4px;cursor:pointer}.announcement>.icon{width:29px;height:29px;padding:0;margin:0 6px}.announcement p{margin-top:5px;font-size:11px;color:var(--muted)}
/* Workspace */
.menu-bar{height:37px;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid var(--border);background:var(--panel);gap:4px}.menu-bar button{padding:4px 10px;font-size:12px;border:0;background:transparent}.menu-bar .spacer+button{color:var(--muted)}.workspace-grid{display:grid;grid-template-columns:268px minmax(0,1fr) 310px;gap:8px;padding:8px;height:calc(100vh - 129px);min-height:660px}.watch-column,.center-column,.order-column{min-width:0;display:flex;flex-direction:column;gap:8px}.watch-panel{flex:1;overflow:auto}.watch-panel .panel-heading{padding:10px}.watch-panel .tabs{margin:0 8px;gap:4px}.watch-panel .tabs button{padding:5px 9px;font-size:11px}.watch-table td{padding:7px 5px;height:49px;font-size:10px}.watch-table .instrument-name{gap:7px}.watch-table .instrument-name strong{font-size:11px}.watch-table .instrument-name small{font-size:10px}.watch-table .instrument-icon{width:28px;height:28px}.watch-table .pair-flags{transform:scale(.85);transform-origin:left center}.watch-table td:last-child{padding-right:8px}.watch-table .price{font-weight:600}.watch-table th{padding:5px}.navigator{height:156px;flex:none;padding:0 9px 10px}.navigator .panel-heading{padding:10px 0}.nav-tree button{display:flex;width:100%;border:0;justify-content:flex-start;padding:3px 0;font-size:12px;gap:10px}.nav-tree .icon{width:16px;height:16px}.chart-panel{flex:1;min-height:370px;display:flex;flex-direction:column;border:0;background:transparent}.chart-tabs{display:flex;gap:5px;height:37px;flex:none;overflow:hidden}.chart-tabs button{border-radius:5px 5px 0 0;padding:6px 11px;font-size:11px;gap:8px}.chart-tabs button.active{border-color:var(--brand);border-bottom-color:var(--panel);background:var(--panel);position:relative;z-index:2}.chart-tabs .instrument-icon{width:23px;height:23px;font-size:18px}.chart-tabs .pair-flags{transform:scale(.7);transform-origin:left center}.chart-surface{flex:1;min-height:0;background:var(--panel);border:1px solid var(--border);border-radius:0 5px 5px 5px;display:flex;flex-direction:column}.chart-heading{padding:10px 12px;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--border);height:64px;flex:none}.chart-heading .quote{font-size:24px;font-weight:700;letter-spacing:-.4px}.chart-heading .movement{font-size:15px;font-weight:600}.chart-heading .trading-open{font-size:11px;white-space:nowrap;margin-left:auto}.chart-toolbar{display:flex;align-items:center;gap:1px;padding:4px 6px;border-bottom:1px solid var(--border);height:35px;overflow:auto;flex:none;scrollbar-width:none}.chart-toolbar button{border:0;background:transparent;padding:4px 5px;font-size:10px;border-radius:2px;gap:4px}.chart-toolbar button.active{color:var(--brand);background:var(--brand-soft)}.chart-toolbar .icon{width:14px;height:14px}.chart-toolbar .sep{height:17px;width:1px;background:var(--border);margin:0 5px;flex:none}.chart-content{display:flex;flex:1;min-height:220px}.draw-toolbar{display:flex;flex-direction:column;align-items:center;width:34px;flex:none;padding-top:5px;gap:3px;border-right:1px solid var(--border)}.draw-toolbar button{padding:4px;width:29px;height:29px;border:0;background:transparent}.draw-toolbar .icon{width:20px;height:20px}.draw-toolbar button.active{color:var(--brand);background:var(--brand-soft)}.canvas-container{position:relative;flex:1;min-width:0;min-height:200px}.canvas-container canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.ohlc{position:absolute;z-index:1;top:5px;left:8px;font-size:10px;pointer-events:none;display:flex;gap:10px;color:var(--muted)}.ohlc b{color:var(--up);font-weight:400}.chart-crosshair{position:absolute;padding:4px 7px;font-size:10px;background:var(--nav);color:#fff;bottom:16px;left:50%;pointer-events:none;display:none;border-radius:2px}.multi-chart{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0;gap:8px}.multi-chart .chart-heading{gap:5px}.multi-chart .chart-heading .quote{font-size:18px}.multi-chart .chart-heading .movement,.multi-chart .trading-open{display:none}.multi-chart .instrument-name.large strong{font-size:13px}.positions-panel{height:184px;flex:none;overflow:hidden;display:flex;flex-direction:column}.positions-toolbar{display:flex;align-items:center;border-bottom:1px solid var(--border);min-height:35px}.positions-toolbar .tabs{flex:1;border:0;min-width:0}.positions-toolbar .tabs button{padding:8px 11px;font-size:11px}.positions-toolbar .icon-button{width:25px}.positions-panel .table-wrap{flex:1}.positions-table th{font-size:10px;height:28px}.positions-table td{height:31px;padding:3px 8px;font-size:11px}.positions-table .instrument-icon{width:23px;height:23px}.positions-table .pair-flags{transform:scale(.72);transform-origin:left center;width:28px}.positions-table .instrument-name{gap:5px}.positions-table .instrument-name strong{font-size:10px}.positions-table .instrument-name small{display:none}.positions-table .icon-button{width:24px;height:24px;padding:4px}.positions-table .icon{width:15px;height:15px}.order-panel{border-top:2px solid var(--brand);padding:10px 12px;flex:1}.order-panel h3{font-size:17px;margin-bottom:10px}.order-symbol{padding-bottom:12px}.quote-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quote-button{flex-direction:column;gap:1px;font-size:13px;padding:8px;border-radius:4px}.quote-button.sell-quote{border-color:var(--down);color:var(--down);background:#ffedef}.quote-button.buy-quote{border-color:var(--up);color:var(--up);background:#e8f9f3}.quote-button strong{font-size:24px;font-variant-numeric:tabular-nums;line-height:1.3}.spread{font-size:10px;text-align:center;color:var(--muted);padding:6px}.order-panel .segmented{display:flex;background:var(--bg);border-radius:4px;padding:2px;margin-bottom:10px}.segmented button{flex:1;border:0;background:transparent;font-size:12px;padding:5px 8px}.segmented button.active{background:var(--panel);color:var(--brand);box-shadow:0 1px 3px #0000000f;border-bottom:1px solid var(--brand)}.order-field{display:flex;align-items:center;gap:8px;margin-bottom:9px;font-size:12px}.order-field>label{color:var(--muted);width:90px;flex:none}.order-field .input-control{display:flex;flex:1;min-width:0;border:1px solid var(--border);border-radius:4px;background:var(--bg);overflow:hidden}.input-control button{border:0;background:transparent;border-radius:0;padding:4px 8px;font-size:16px}.input-control input{min-width:0;flex:1;width:100%;background:var(--panel);text-align:center;border:0;color:var(--text);padding:5px 2px;outline:none;font-variant-numeric:tabular-nums;font-size:12px}.direction{display:flex;flex:1;background:var(--bg);border-radius:4px}.direction button{width:50%;padding:5px 10px;border:0;background:transparent;font-size:12px}.direction button.active.buy-side{color:#fff;background:var(--up)}.direction button.active.sell-side{color:#fff;background:var(--down)}.switch{height:17px;width:29px;padding:0;border:0;background:#c8cdd4;border-radius:10px;position:relative;vertical-align:middle;flex:none}.switch:after{content:'';width:13px;height:13px;border-radius:50%;background:white;position:absolute;left:2px;top:2px}.switch.on{background:var(--up)}.switch.on:after{left:14px}.advanced-order{width:100%;border:0;justify-content:flex-start;background:var(--bg);font-size:11px;padding:6px 8px}.estimate{padding:11px 0;display:grid;grid-template-columns:1fr auto;gap:4px;font-size:12px}.estimate span{color:var(--muted)}.order-submit{width:100%;font-size:15px;padding:8px;margin-bottom:10px}.contract-button{width:100%;justify-content:space-between;background:var(--bg);font-size:12px;padding:6px 8px}.depth-panel{height:188px;flex:none;overflow:hidden}.depth-panel .tabs button{padding:8px 12px}.depth-panel table{table-layout:fixed}.depth-panel td{position:relative;height:29px;font-size:11px;padding:3px 7px}.depth-panel th{height:29px;padding:3px 7px}.depth-panel .bid{background:linear-gradient(to left,#00a98116 85%,transparent 85%);color:var(--up)}.depth-panel .ask{background:linear-gradient(to right,#ef44521c 85%,transparent 85%);color:var(--down)}.workspace-fullscreen .watch-column,.workspace-fullscreen .order-column,.workspace-fullscreen .positions-panel{display:none}.workspace-fullscreen .workspace-grid{grid-template-columns:1fr}.standalone-chart .workspace-grid{grid-template-columns:250px 1fr 300px}
/* Dialogs and inputs */
.overlay{position:fixed;inset:0;z-index:100;background:#11182777;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(1px)}.dialog{width:490px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;background:var(--panel);border:1px solid var(--border);border-radius:7px;box-shadow:0 20px 70px #0003;animation:dialog-in .15s ease-out}.dialog.wide{width:760px}.dialog.xwide{width:1000px}.dialog-header{display:flex;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border);gap:10px;position:sticky;top:0;background:var(--panel);z-index:2}.dialog-header h2{font-size:18px;flex:1}.dialog-body{padding:20px}.dialog-footer{padding:13px 20px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);background:var(--bg)}.auth-dialog{width:382px;padding:22px 24px}.auth-brand-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.auth-brand-row img{width:150px}.auth-tabs{display:flex;border-bottom:1px solid var(--border);margin-bottom:18px}.auth-tabs button{flex:1;border:0;border-bottom:2px solid transparent;border-radius:0;padding:9px;background:transparent;font-size:13px}.auth-tabs button.active{color:var(--brand);border-color:var(--brand)}.auth-dialog h2{font-size:21px;margin:0 0 5px}.auth-dialog .subtitle{color:var(--muted);font-size:11px;margin-bottom:18px}.field{display:block;margin-bottom:14px}.field>span,.field>label{display:block;font-size:12px;margin-bottom:6px}.field input,.field select,.field textarea{display:block;width:100%;padding:9px 10px;border:1px solid var(--border);border-radius:4px;background:var(--panel);color:var(--text);min-height:36px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand)}.field .input-with-icon{display:flex;align-items:center;border:1px solid var(--border);border-radius:4px;padding:0 9px;gap:8px;background:var(--panel)}.input-with-icon .icon{width:16px;height:16px;color:var(--muted)}.field .input-with-icon input{border:0;padding:8px 0;min-width:0;font-size:12px}.field .input-with-icon:focus-within{border-color:var(--brand)}.field .input-with-icon button{padding:3px;border:0;background:transparent}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-hint{font-size:11px;color:var(--muted);margin-top:5px}.form-error{color:var(--down);font-size:11px;min-height:16px;margin:5px 0}.check-row{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted);cursor:pointer}.check-row input{accent-color:var(--brand);width:13px;height:13px;margin:0;flex:none}.auth-options{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 16px}.auth-options button{font-size:11px;border:0;background:transparent;color:var(--brand);padding:0}.auth-dialog .full{margin-bottom:9px;height:36px;font-size:12px}.auth-bottom{display:flex;justify-content:center;gap:10px;margin-top:13px;border-top:1px solid var(--border);padding-top:14px}.auth-bottom button{font-size:10px;padding:0 9px;border:0;border-right:1px solid var(--border);border-radius:0;color:var(--muted)}.auth-bottom button:last-child{border-right:0}.notice{padding:11px 12px;background:var(--brand-soft);border-radius:4px;font-size:12px;margin-bottom:16px;display:flex;gap:9px;align-items:flex-start;color:var(--text)}.notice .icon{color:var(--brand);width:17px;height:17px}.notice.neutral{background:var(--bg)}.info-list{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:13px}.info-list dt{color:var(--muted)}.info-list dd{margin:0;text-align:right}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.search-input{border:1px solid var(--border);border-radius:4px;padding:10px;display:flex;gap:10px;align-items:center;background:var(--bg)}.search-input input{width:100%;min-width:0;border:0;background:transparent;outline:none;color:var(--text)}.search-results{max-height:390px;overflow:auto;margin-top:12px}.result-row{display:flex;align-items:center;gap:12px;padding:11px 6px;border-bottom:1px solid var(--border);cursor:pointer}.result-row:hover{background:var(--bg)}.result-row>.icon:last-child{margin-left:auto;width:15px}.result-row .outline{margin-left:auto}.popover{position:fixed;z-index:90;min-width:190px;background:var(--panel);border:1px solid var(--border);border-radius:5px;box-shadow:var(--shadow);padding:5px;animation:dialog-in .12s}.popover button{display:flex;justify-content:flex-start;width:100%;border:0;background:transparent;font-size:12px;padding:10px}.popover button:hover,.popover button.selected{background:var(--brand-soft);color:var(--brand)}#toast-root{position:fixed;z-index:200;top:77px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{padding:12px 20px;border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow);border-radius:5px;display:flex;align-items:center;gap:10px;font-size:12px;animation:toast-in .18s}.toast .icon{color:var(--up);width:18px;height:18px}.toast.error .icon{color:var(--down)}@keyframes dialog-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes toast-in{from{transform:translateY(-12px);opacity:0}to{transform:translateY(0);opacity:1}}
/* Secondary pages */
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}.content-sidebar{padding:12px}.content-sidebar button{display:flex;width:100%;justify-content:flex-start;border:0;padding:11px;background:transparent;font-size:12px}.content-sidebar button.active{color:var(--brand);background:var(--brand-soft)}.section-tabs{margin-bottom:14px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.metric{padding:19px 20px}.metric small{font-size:12px}.metric strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;margin-top:8px}.metric p{font-size:11px;margin-top:8px;color:var(--muted)}.metric.accent{background:var(--nav);color:#fff;border-top:2px solid var(--brand)}.metric.accent small{color:#c5cbd2}.toolbar{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--border);flex-wrap:wrap}.toolbar input,.toolbar select{padding:7px 10px;border:1px solid var(--border);background:var(--panel);border-radius:4px;color:var(--text);font-size:12px}.toolbar .search-input{padding:6px 9px;min-width:230px}.toolbar .search-input input{padding:0;border:0}.calendar-table td{height:60px}.calendar-table .flag{margin-right:9px}.calendar-table .event-cell{font-weight:600}.large-table td{height:50px}.large-table .instrument-name strong{font-size:13px}.page-footer{display:flex;justify-content:space-between;padding:12px;font-size:11px;color:var(--muted);align-items:center;border-top:1px solid var(--border)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.article-card{padding:18px;cursor:pointer;min-height:180px;display:flex;flex-direction:column}.article-card h3{font-size:18px;line-height:1.4;margin:14px 0}.article-card p{color:var(--muted);font-size:12px;line-height:1.8;flex:1}.article-card footer{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:20px}.article{max-width:850px;margin:auto;padding:30px}.article h1{font-size:28px;margin:15px 0}.article .article-body{white-space:pre-line;line-height:2.1;font-size:14px;margin:25px 0}.article img{width:100%;max-height:220px;object-fit:cover;border-radius:5px}.settings-layout{display:grid;grid-template-columns:205px minmax(0,1fr) 300px;gap:14px}.settings-form{padding:24px;min-height:560px}.settings-form>h2{font-size:20px;margin-bottom:6px}.settings-form>p{font-size:12px;color:var(--muted);margin-bottom:24px}.setting-row{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--border)}.setting-row>div:first-child{flex:1}.setting-row p{font-size:11px;color:var(--muted);margin-top:5px}.setting-row select{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:4px;padding:8px;min-width:145px;font-size:12px}.theme-choices{display:flex;gap:12px}.theme-choice{display:flex;flex-direction:column;width:130px;padding:10px}.theme-choice.active{border-color:var(--brand);color:var(--brand)}.theme-preview{height:58px;width:100%;border:1px solid var(--border);background:linear-gradient(90deg,#22272d 15%,#f7f8fa 15%);position:relative;border-radius:3px;margin-bottom:6px}.theme-preview:after{content:'';position:absolute;left:23%;right:8%;top:15%;bottom:15%;border:1px solid #ddd;background:white}.theme-preview.dark{background:linear-gradient(90deg,#10151b 15%,#28303a 15%)}.theme-preview.dark:after{background:#343e4b;border-color:#455062}.live-preview{padding:18px;align-self:start}.live-preview h3{margin-bottom:16px}.strategy-layout{display:grid;grid-template-columns:180px 1fr;gap:14px}.strategy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.strategy-card{padding:18px;display:flex;flex-direction:column;gap:14px;min-height:220px}.strategy-card .strategy-icon{background:var(--brand-soft);color:var(--brand);width:43px;height:43px;display:grid;place-items:center;border-radius:6px}.strategy-card p{font-size:12px;color:var(--muted);line-height:1.7}.strategy-card .meta{display:grid;grid-template-columns:1fr 1fr;font-size:11px;gap:10px;color:var(--muted)}.strategy-card .meta b{display:block;color:var(--text);font-size:13px;margin-top:3px}.strategy-card footer{display:flex;gap:8px;margin-top:auto}.strategy-card footer button{flex:1;font-size:12px}.backtest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.backtest-card{padding:18px}.backtest-card h3{margin-bottom:18px;display:flex;gap:9px;align-items:center}.backtest-card h3 .icon{color:var(--brand)}.report-chart{height:260px;padding:20px;position:relative;overflow:hidden}.report-chart .sparkline{height:190px}.report-chart:before{content:'';position:absolute;inset:20px;background:repeating-linear-gradient(to bottom,transparent 0 38px,var(--border) 38px 39px);pointer-events:none}.progress-track{height:7px;border-radius:8px;overflow:hidden;background:var(--border);margin:18px 0}.progress-track span{height:100%;display:block;background:var(--brand);transition:width .5s}.portal-grid{display:grid;grid-template-columns:210px 1fr;gap:14px}.portal-form{padding:24px;max-width:900px}.portal-form .notice{margin-top:16px}.steps{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;gap:10px}.step{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.step b{border:1px solid var(--border);border-radius:50%;height:26px;width:26px;display:grid;place-items:center}.step.active{color:var(--brand)}.step.active b{background:var(--brand);color:#fff;border-color:var(--brand)}.steps .line{flex:1;height:1px;background:var(--border)}.upload-box{border:1px dashed #bec7d4;padding:30px 16px;text-align:center;border-radius:5px;cursor:pointer;background:var(--bg);margin-bottom:14px}.upload-box .icon{width:32px;height:32px;color:var(--brand);margin-bottom:10px}.upload-box p{font-size:12px;color:var(--muted);margin-top:6px}.support-list{display:grid;gap:12px}.support-row{display:flex;gap:15px;padding:18px;border:1px solid var(--border);border-radius:5px;align-items:center;cursor:pointer}.support-row .icon{color:var(--brand)}.support-row .spacer h3{font-size:14px;margin-bottom:5px}.support-row .spacer p{font-size:12px;color:var(--muted)}.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.help-card{padding:25px;cursor:pointer}.help-card>.icon{width:34px;height:34px;color:var(--brand);margin-bottom:18px}.help-card p{color:var(--muted);font-size:12px;margin-top:8px}.account-card{padding:20px;display:flex;gap:16px;align-items:center;border:1px solid var(--border);border-radius:6px;margin-bottom:12px}.account-card.selected{border-color:var(--brand);background:var(--brand-soft)}.account-card .account-logo{width:42px;height:42px;background:var(--nav);color:white;border-radius:5px;display:grid;place-items:center}.account-card h3{margin-bottom:4px}.account-card p{font-size:11px;color:var(--muted)}.code-editor{width:100%;min-height:340px;background:#22272d;color:#bcded1;font:13px/1.8 monospace;padding:20px;border:0;resize:vertical;tab-size:2}.dark-mode{--bg:#1b2129;--panel:#242c36;--text:#e9eef4;--muted:#9aa7b9;--border:#36404c;--brand-soft:#402f2e;color-scheme:dark}.dark-mode .brand-button{border-radius:4px;padding:2px 4px}.dark-mode .quote-button.sell-quote{background:#3a262c}.dark-mode .quote-button.buy-quote{background:#1c3933}.dark-mode .auth-brand-row img{background:white;border-radius:3px}.dark-mode .badge.high{background:#432830}.dark-mode .badge.green{background:#1b4038}.dark-mode .statusbar{background:#151b22}.dark-mode .market-overview{background:#111820}.dark-mode .live-preview .theme-preview{border-color:#788394}
@media(min-width:1700px){.home-markets .market-table td{height:48px}.home-grid{grid-template-columns:1.9fr 1fr}.home-right .news-item{padding:15px 0}.market-overview{height:118px}.tool-card{min-height:90px}.workspace-grid{grid-template-columns:300px 1fr 340px}.chart-heading .quote{font-size:29px}.watch-table td{height:55px}}
@media(max-width:1250px) and (min-width:761px){:root{--sidebar:66px}.topbar{gap:10px;padding:10px}.brand img{width:188px}.global-search{margin:0 5px}.global-search kbd{display:none}.header-actions{gap:3px}.workspace-switch{min-width:72px;font-size:12px}.language-btn span{font-size:11px}.home-grid{grid-template-columns:1.8fr 1fr}.market-tile{padding:0 10px}.market-tile .big-price{font-size:21px}.market-tile .pct{font-size:13px}.market-tile .sparkline{display:none}.market-tile .title{font-size:12px}.market-table .spark-cell{width:16%}.market-table td{padding:5px 5px}.market-table .outline{width:75px;padding:4px 7px}.market-table td.action-cell{width:76px}.home-right .panel-heading h2{font-size:17px}.news-item img{width:85px;height:60px}.news-item h3{font-size:13px}.calendar-mini{padding:0 8px 8px}.calendar-mini td{font-size:11px}.calendar-mini td:nth-child(2){min-width:66px}.calendar-mini .flag{width:22px;height:22px;margin-right:3px}.tool-card{gap:7px}.tool-card .tool-icon{width:35px;height:45px}.tool-card small{font-size:10px}.quicklink{padding:14px 18px}.workspace-grid{grid-template-columns:220px minmax(0,1fr) 265px}.watch-table .instrument-name small{font-size:9px}.watch-table td:last-child{display:none}.watch-table th:last-child{display:none}.watch-table td{font-size:10px}.chart-heading{gap:8px;padding:8px}.chart-heading .quote{font-size:19px}.chart-heading .movement{font-size:11px}.chart-heading .instrument-name.large strong{font-size:15px}.chart-heading .instrument-name.large .instrument-icon{width:30px;height:30px}.chart-heading .trading-open{display:none}.order-panel{padding:10px}.order-field>label{width:80px}.quote-button strong{font-size:21px}.order-panel .order-symbol strong{font-size:15px}.settings-layout{grid-template-columns:180px minmax(0,1fr)}.live-preview{display:none}.strategy-grid{grid-template-columns:repeat(2,1fr)}.backtest-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){:root{--sidebar:0px;--header:65px;--font:14px}body{background:var(--panel)}.sidebar,.workspace-switch,.global-search,.header-actions>.notify,.header-actions>.auth-btn,.header-actions>.help-btn,.header-actions>.account-select{display:none}.topbar{padding:12px 13px;gap:10px;position:sticky;left:0;height:65px}.brand img{width:185px}.header-actions{gap:5px}.language-btn{padding:5px 4px;border:1px solid var(--border);font-size:11px;gap:5px}.language-btn .icon{width:19px;height:19px}.language-btn>.down{width:12px}.header-actions>.icon-button{width:27px;padding:3px}.app-main{padding:0 0 77px;min-height:calc(100dvh - 65px)}.page{padding:0 10px 15px}.page-heading{padding:14px 0;min-height:52px;gap:8px}.page-heading h1{font-size:21px}.page-heading>p{display:none}.page-heading .right{gap:6px}.page-heading .right button{font-size:11px;padding:5px 8px}.statusbar{bottom:53px;height:23px;left:0;padding:0 10px;background:var(--panel);color:var(--muted);font-size:10px;border-top:1px solid var(--border);gap:6px}.statusbar .brand-glyph,.statusbar .balance-stat{display:none}.statusbar .status-right{font-size:9px;gap:5px}.mobile-nav{position:fixed;display:flex;justify-content:space-around;align-items:center;bottom:0;left:0;right:0;height:53px;background:var(--panel);border-top:1px solid var(--border);z-index:45;padding:2px 0 max(2px,env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;flex-direction:column;gap:2px;padding:3px 10px;min-width:58px;font-size:10px;color:var(--text)}.mobile-nav button .icon{width:23px;height:23px}.mobile-nav button.active{color:var(--brand)}.mobile-nav button.active[data-route="home"] .icon{fill:var(--brand);stroke:var(--brand)}.home-page>.page-heading{display:none}.mobile-home-bar{display:flex;align-items:center;justify-content:space-between;margin:8px 3px 12px;min-height:34px}.mobile-home-bar strong{font-size:17px}.mobile-home-bar button{height:34px;font-size:12px;padding:6px 15px}.mobile-title{display:block;font-size:21px;margin:0 3px 8px}.market-overview{position:relative;grid-template-columns:1fr 1fr;margin-bottom:8px;padding:34px 0 12px;border-top:2px solid var(--brand);min-height:99px;border-radius:5px}.mobile-banner-title{display:flex;position:absolute;top:8px;left:10px;right:10px;justify-content:space-between;color:#e7ebee;font-size:13px}.mobile-banner-title button{padding:0;border:0;background:transparent;color:#e7ebee;font-size:11px;gap:3px}.market-tile:nth-of-type(n+4){display:none}.market-tile{padding:0 12px;border-color:#65717c;display:block;position:relative;padding-left:84px;min-height:57px}.market-tile .title{font-size:12px;gap:0;margin:0 0 3px;white-space:nowrap;font-weight:400}.market-tile .title .instrument-icon{position:absolute;left:17px;top:12px;width:49px;height:43px}.market-tile .title .pair-flags{transform:scale(1.4);transform-origin:top left}.market-tile .bottom{display:block}.market-tile .big-price{font-size:22px;font-weight:700;letter-spacing:-.5px;white-space:nowrap}.market-tile .pct{font-size:15px;line-height:1.4;display:block;margin-top:1px}.market-tile .sparkline{display:none}.market-tile[data-symbol="EURUSD"]{border-right:0;padding-left:75px}.market-tile[data-symbol="EURUSD"] .title .instrument-icon{left:13px}.quicklinks{gap:5px;margin-bottom:13px}.quicklink{height:59px;padding:7px 3px;flex-direction:column;gap:5px;border-radius:5px;font-size:12px;font-weight:400}.quicklink .icon{width:23px;height:23px}.quicklink .chevron{display:none}.home-grid{display:flex;flex-direction:column;gap:10px}.home-left,.home-right{display:contents}.home-markets{order:0;border:0;padding:0;background:transparent}.home-markets .panel-heading{padding:0 2px 10px}.home-markets .panel-heading h2{font-size:21px}.mobile-search{display:flex;align-items:center;gap:10px;padding:7px 10px;background:var(--bg);border:0;border-radius:5px;margin-bottom:9px}.mobile-search input{background:transparent;border:0;outline:none;color:var(--text);width:100%;font-size:13px;height:22px}.home-markets .tabs{gap:0;justify-content:space-between;padding:0;border-bottom:1px solid var(--border)}.home-markets .tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:9px 11px;font-size:13px}.home-markets .tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.home-markets .tabs button[data-filter="股票"],.home-markets .tabs button[data-filter="数字资产"],.home-markets .tabs>.spacer,.home-markets .tabs>.icon-button{display:none}.market-table th{font-size:12px;height:28px;padding:4px 8px}.market-table td{height:46px;padding:4px 8px;font-size:13px}.market-table td:first-child{width:44%}.market-table .instrument-icon{width:35px;height:35px}.market-table .pair-flags{transform:scale(1.06);transform-origin:left center}.market-table .instrument-name{gap:9px}.market-table .instrument-name strong{font-size:13px}.market-table .instrument-name small{font-size:11px}.market-table .pct-cell,.market-table .spark-cell{display:none}.market-table td.action-cell{width:14px;padding:0 4px}.market-table th.action-cell{width:14px;font-size:0}.market-table .outline{width:15px;border:0;padding:0;color:var(--text);font-size:0;background:transparent}.market-table .outline:after{content:'›';font-size:24px;line-height:24px;font-weight:400}.mobile-subprice{display:block;font-size:10px;line-height:1.25;margin-top:3px;font-weight:400}.market-table td.price{font-size:13px;font-weight:600}.home-markets .market-table tr[data-mobile-hide]{display:none}.home-markets .market-table tr.selected td:first-child:before{left:-2px}.mobile-table-more{display:flex;align-items:center;justify-content:space-between;width:100%;padding:9px 10px;font-size:12px;margin:3px 0 0}.home-tools{display:none}.home-calendar{order:1;border:0;margin-top:4px}.home-calendar .panel-heading{padding:0 2px 6px;align-items:flex-start}.home-calendar .panel-heading h2{font-size:19px}.home-calendar .panel-heading .timezone{display:none}.home-calendar .panel-heading:after{content:'UTC+8';display:none}.calendar-mini{padding:0}.calendar-mini thead{display:none}.calendar-mini tr:not(:first-child){display:none}.calendar-mini table{border:1px solid var(--border);border-radius:5px;border-collapse:separate;border-spacing:0;overflow:hidden}.calendar-mini td{height:34px;font-size:11px;padding:4px 8px}.calendar-mini td:nth-child(2){min-width:68px}.calendar-mini .flag{width:20px;height:20px;margin-right:5px}.calendar-mini .badge{min-width:25px;padding:1px 5px;font-size:10px}.home-news{order:2;border:0}.home-news .panel-heading{padding:2px 2px 8px}.home-news .panel-heading h2{font-size:19px}.home-news .panel-heading button{display:none}.news-items{padding:0}.home-news .news-item:first-child{display:none}.home-news .news-item{padding:9px 10px;border:1px solid var(--border);border-radius:5px}.home-news .news-item:before{content:'▤';font-size:24px;line-height:25px}.home-news .news-item:after{content:'›';font-size:22px}.home-news .news-item h3{margin:0;font-size:13px;font-weight:400}.home-news .news-item p,.home-news .news-item img{display:none}.home-announcement{display:none}.desktop-only{display:none!important}.mobile-only{display:block}.menu-bar{display:none}.workspace-grid{display:flex;flex-direction:column;height:auto;min-height:0;padding:0 8px}.watch-column,.order-column{display:none}.center-column{display:contents}.chart-panel{min-height:420px;height:calc(70dvh - 90px)}.chart-tabs{height:34px}.chart-tabs button{font-size:10px;padding:5px 8px}.chart-tabs .icon.small{display:none}.chart-tabs .instrument-icon{width:20px;height:20px}.chart-heading{height:62px;padding:8px;gap:9px;flex-wrap:wrap}.chart-heading .instrument-name.large strong{font-size:16px}.chart-heading .instrument-name.large .instrument-icon{width:33px;height:33px}.chart-heading .quote{font-size:21px;margin-left:auto}.chart-heading .movement{font-size:12px}.chart-heading .trading-open{display:none}.chart-toolbar{height:36px}.chart-toolbar button{font-size:10px;padding:4px 6px}.draw-toolbar{width:28px}.draw-toolbar button{width:24px;height:28px}.draw-toolbar .icon{width:17px;height:17px}.chart-content{min-height:220px}.ohlc{font-size:8px;gap:6px}.positions-panel{height:auto;min-height:160px;margin-top:8px}.positions-toolbar{overflow:auto}.positions-toolbar .tabs button{font-size:11px;padding:9px 10px}.positions-toolbar .desktop-export{display:none}.positions-table td{font-size:10px;padding:5px}.positions-table th{font-size:9px;padding:5px}.positions-table .stop-col{display:none}.mobile-trade-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 8px 0}.mobile-trade-actions button{font-size:16px;padding:10px}.mobile-trade-actions button small{font-size:11px;color:inherit}.overlay{padding:16px}.dialog{max-height:calc(100dvh - 32px);border-radius:7px;width:100%}.dialog-header{padding:12px 15px}.dialog-header h2{font-size:17px}.dialog-body{padding:15px}.dialog-footer{padding:12px 15px}.dialog.auth-dialog{position:fixed;inset:65px 0 0;max-height:calc(100dvh - 65px);width:100%;border:0;border-radius:0;padding:18px 24px;box-shadow:none}.overlay:has(.auth-dialog){background:var(--panel);backdrop-filter:none;top:65px;padding:0}.auth-dialog .auth-brand-row{margin-bottom:15px}.auth-brand-row img{display:none}.auth-brand-row .icon-button{margin-left:auto}.auth-tabs{margin-bottom:25px}.auth-tabs button{font-size:15px;padding:10px}.auth-dialog h2{font-size:25px;margin-bottom:10px}.auth-dialog .subtitle{font-size:12px;margin-bottom:25px}.auth-dialog .field{margin-bottom:20px}.auth-dialog .field>span{font-size:13px;margin-bottom:8px}.auth-dialog .field .input-with-icon input{height:42px;font-size:14px}.auth-dialog .full{height:43px;font-size:14px}.auth-bottom{margin-top:24px;padding-top:20px}.auth-bottom button{font-size:12px}.auth-options{margin-bottom:22px}.auth-options button,.check-row{font-size:12px}.field input,.field select,.field textarea{font-size:16px}.form-grid,.form-row{grid-template-columns:1fr}.popover{max-width:calc(100vw - 20px);right:10px!important;left:auto!important}.popover button{min-height:40px}#toast-root{top:76px;max-width:calc(100vw - 24px);width:max-content}.toast{font-size:12px;padding:10px 13px;white-space:normal}.content-grid{grid-template-columns:1fr}.content-grid>.content-sidebar{order:-1}.metric-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.metric{padding:14px}.metric strong{font-size:21px;margin-top:5px}.metric small{font-size:11px}.metric p{font-size:10px}.toolbar{gap:7px;padding:10px}.toolbar input,.toolbar select{font-size:12px;max-width:150px}.toolbar .search-input{min-width:100%;flex:1}.calendar-table td{height:55px;font-size:11px}.calendar-table th{font-size:10px}.calendar-table .flag{width:21px;height:21px;margin-right:5px}.calendar-table .forecast-col{display:none}.large-table td{height:49px;font-size:12px}.large-table .instrument-name strong{font-size:12px}.page-footer{font-size:10px;padding:10px}.news-grid{grid-template-columns:1fr}.article{padding:18px}.article h1{font-size:23px}.article .article-body{font-size:13px}.settings-layout{display:flex;flex-direction:column;gap:9px}.settings-layout>.content-sidebar{display:flex;overflow:auto;padding:5px;gap:5px;scrollbar-width:none}.settings-layout>.content-sidebar button{width:auto;flex:none;padding:9px 12px;font-size:12px}.settings-layout>.content-sidebar button .icon{display:none}.settings-form{min-height:0;padding:18px}.settings-form>h2{font-size:19px}.settings-form>p{margin-bottom:14px}.setting-row{gap:9px;font-size:12px;padding:15px 0}.setting-row select{min-width:125px;font-size:12px}.live-preview{display:none}.theme-choice{width:95px;padding:7px}.theme-choices{gap:6px}.strategy-layout{display:flex;flex-direction:column;gap:10px}.strategy-layout>.content-sidebar{display:flex;overflow:auto;padding:5px}.strategy-layout>.content-sidebar button{width:auto;flex:none;padding:8px 12px}.strategy-grid{grid-template-columns:1fr}.strategy-card{min-height:190px}.backtest-grid{grid-template-columns:1fr 1fr;gap:9px}.backtest-card{padding:12px}.backtest-card h3{font-size:13px}.backtest-card .field input,.backtest-card .field select{font-size:12px}.backtest-card .field>span{font-size:11px}.portal-grid{display:flex;flex-direction:column}.portal-grid>.content-sidebar{display:flex;overflow:auto;padding:5px}.portal-grid>.content-sidebar button{width:auto;flex:none;padding:9px 10px}.portal-grid>.content-sidebar button .icon{display:none}.portal-form{padding:17px}.steps{gap:4px}.step{font-size:10px;gap:4px}.step b{width:21px;height:21px}.help-grid{grid-template-columns:1fr 1fr;gap:9px}.help-card{padding:17px}.help-card h3{font-size:14px}.help-card>.icon{width:28px;height:28px;margin-bottom:10px}.account-card{padding:13px;gap:10px}.account-card h3{font-size:13px}.account-card>button{padding:6px;font-size:11px}.support-row{padding:13px}.mobile-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mobile-more-grid button{flex-direction:column;padding:19px 8px;gap:10px;font-size:12px}.mobile-more-grid button .icon{width:25px;height:25px}.dark-mode{background:var(--bg)}.dark-mode .brand-button{padding:2px}.multi-chart{display:flex;flex-direction:column}.multi-chart .chart-panel{min-height:300px;height:300px}}
@media(max-width:380px){.brand img{width:165px}.language-btn{font-size:10px}.topbar{padding:12px 10px;gap:5px}.market-tile{padding-left:67px}.market-tile .title .instrument-icon{left:11px;width:42px;height:39px}.market-tile[data-symbol="EURUSD"]{padding-left:64px}.market-tile[data-symbol="EURUSD"] .title .instrument-icon{left:8px}.market-tile .big-price{font-size:20px}.market-table .instrument-name strong{font-size:12px}.market-table .instrument-name small{font-size:10px}.market-table td.price{font-size:12px}.market-table .instrument-icon{width:29px;height:29px}.market-table .instrument-name{gap:6px}.market-table .pair-flags{transform:scale(.9)}.theme-choice{width:84px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(min-width:761px){.market-table td{font-size:13px}.market-table .instrument-name strong{font-size:13px}.market-table .instrument-name small{font-size:11px}.home-markets .market-table td{height:40px}.home-tools .panel-heading{padding:10px 14px}.home-tools .tool-card{min-height:70px}.home-tools .tool-card .tool-icon{height:44px}}
.strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.strategy-grid{grid-template-columns:1fr}}
@media(max-width:760px){html{scrollbar-width:none}html::-webkit-scrollbar{width:0;height:0}.header-actions>.avatar{display:none}.mobile-home-bar{margin:6px 3px 10px;min-height:32px}.market-overview{padding:28px 0 10px;min-height:96px}.market-tile .title{margin-bottom:1px;line-height:1.25}.market-tile .big-price{font-size:21px;line-height:1.1}.market-tile .pct{font-size:14px;line-height:1.2}.market-tile{min-height:54px}.market-tile .title .instrument-icon{top:8px}.home-markets .panel-heading{padding-bottom:8px}.mobile-search{padding:5px 10px}.mobile-search input{height:20px}.home-markets .tabs button{padding-top:7px;padding-bottom:7px}.market-table td{height:42px}.mobile-table-more{padding:7px 10px}.home-news .news-item{padding:7px 10px}.home-page{padding-bottom:8px}}
@media(min-width:761px){body[data-density="紧凑"] td{height:32px;padding-top:3px;padding-bottom:3px}body[data-density="舒适"] td{height:50px;padding-top:8px;padding-bottom:8px}}
@media(max-width:760px){.market-table td{height:40px;padding-top:3px;padding-bottom:3px}.market-table .instrument-icon{width:32px;height:32px}.mobile-home-bar button{height:30px}.mobile-home-bar{margin-bottom:8px}.order-dialog .input-control input{font-size:16px;min-height:35px}.order-dialog .order-field>label{width:82px;font-size:11px}.portal-grid .metric-grid{grid-template-columns:1fr!important}}
.statusbar .brand-glyph img{display:block;width:26px;height:25px;object-fit:contain}.preview-buy{background:var(--up);color:white;border-radius:4px;padding:8px;text-align:center}
.portal-mode .global-search,.portal-mode .account-select{display:none}.portal-mode .workspace-switch{border:0;border-left:1px solid var(--border);border-radius:0;padding-left:20px}.portal-summary-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:14px;margin-bottom:14px}.portal-summary-grid>.panel{padding:22px}.portal-summary-grid .panel-heading h2{font-size:21px}.funds-summary{border:1px solid var(--border);border-radius:6px;overflow:hidden;margin-bottom:20px}.funds-total{padding:22px;background:var(--bg)}.funds-total>small{display:block;font-size:13px;margin-bottom:10px}.funds-total>strong{font-size:32px;letter-spacing:-.5px}.funds-total>strong span{font-size:20px}.funds-breakdown{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 10px}.funds-breakdown>div{padding:0 12px;border-right:1px solid var(--border)}.funds-breakdown>div:last-child{border:0}.funds-breakdown strong{display:block;font-size:23px;margin:5px 0}.funds-breakdown small{font-size:12px}.funds-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.funds-actions button{padding:12px 5px;font-size:13px}.linked-account{border:1px solid var(--border);padding:14px;border-radius:5px}.linked-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.linked-metrics>div{padding-right:8px;border-right:1px solid var(--border)}.linked-metrics>div:nth-child(3n){border:0}.linked-metrics strong{display:block;font-size:18px;margin-top:5px}.portal-bottom-grid{display:grid;grid-template-columns:2.1fr 1fr;gap:14px}.portal-bottom-grid>.panel{padding:22px}.portal-mode .side-item{min-height:82px;font-size:12px}
@media(min-width:761px){.portal-grid{grid-template-columns:1fr}.portal-grid>.content-sidebar{display:none}}
@media(max-width:1100px){.portal-summary-grid{grid-template-columns:1fr}.portal-bottom-grid{grid-template-columns:1fr}.portal-summary-grid>.panel,.portal-bottom-grid>.panel{padding:16px}}
@media(max-width:760px){.funds-total>strong{font-size:28px}.funds-breakdown{padding:15px 2px}.funds-breakdown>div{padding:0 8px}.funds-breakdown strong{font-size:19px}.funds-breakdown small{font-size:10px}.funds-actions{gap:5px}.funds-actions button{font-size:11px;padding:9px 3px;gap:4px}.funds-actions .icon{width:16px}.linked-metrics strong{font-size:15px}.portal-summary-grid .panel-heading h2{font-size:17px}.portal-summary-grid .panel-heading button{font-size:11px;padding:7px}}
