/* Exchange workspace: explicit spacing and clear density at every viewport. */
:root{--section-gap:28px;--card-gap:22px}.main-content{max-width:1580px}.v5-global-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;background:var(--bg);width:330px;min-width:180px;overflow:hidden}.v5-global-search label{display:flex;align-items:center;gap:9px;min-width:0;flex:1;padding-left:12px}.v5-global-search input{width:100%;border:0;background:transparent;color:var(--ink);font-size:11px;outline:none;padding:10px 0;min-height:38px}.v5-global-search .ui-icon{width:16px;height:16px;color:var(--muted)}.v5-global-search button{border:0;background:transparent;padding:10px;color:var(--muted);display:flex}.breadcrumb{display:none}.v5-home-search{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:10px 12px;margin-bottom:24px}.v5-home-search label{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding-left:6px}.v5-home-search .ui-icon{color:var(--blue);width:19px;height:19px}.v5-home-search input{flex:1;border:0;background:transparent;outline:0;color:var(--ink);min-height:38px;font-size:12px}.v5-home-search .button{flex-shrink:0}.v5-service-grid{gap:20px;margin-bottom:28px}.v5-service{padding:21px 18px;min-height:120px}.v5-command{margin-bottom:26px}.section-block{margin-top:30px}.strategy-grid,.bot-grid,.account-grid{gap:22px}.terminal-layout{gap:24px;margin-top:27px;margin-bottom:28px}.terminal-side{gap:24px}.content-grid{gap:24px}.action-shortcuts{gap:18px;margin-bottom:26px}.strategy-stories{gap:20px;margin-bottom:25px}.advisor-invite{margin-top:26px;margin-bottom:28px}.copy-programs{gap:24px}.copy-program,.copy-task{margin-bottom:0}.market-terminal{margin-bottom:24px}.market-signal-list{gap:12px}.v5-market-notes{gap:22px}.v5-feature-dialog .v5-service{min-height:70px}.v5-account-links .v5-service-grid{gap:20px}.page-heading{margin-bottom:28px}.page-heading h1{font-size:28px}.sidebar .nav-link{min-height:38px}.sidebar .nav-list{gap:4px}.sidebar-footer p{display:none}.sidebar-footer{padding-top:14px}.sidebar-label{margin-top:22px}
html[data-theme="light"] a.button.primary{background:#2563eb;color:#fff;border-color:#2563eb}
html[data-theme="light"] a.button.secondary{background:#fff;color:#315c9a;border-color:#cddbef}
@media(min-width:1200px){.v5-command{grid-template-columns:1.2fr 1fr;min-height:300px}.v5-command-content{padding:30px 36px}.v5-command h2{font-size:31px}.v5-command-content>p br{display:none}.v5-command-actions{margin-top:19px}.v5-command-foot{margin-top:22px}.v5-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v5-service{flex-wrap:wrap;position:relative}.v5-service>span:nth-child(2){flex-basis:100%}.v5-service>svg{position:absolute;right:16px;top:24px}}
@media(max-width:1000px){.v5-global-search{width:260px}.topbar{gap:14px}.v5-service-grid{gap:18px}.strategy-grid,.bot-grid{gap:20px}}
@media(max-width:760px){:root{--section-gap:23px;--card-gap:16px}.v5-global-search{display:none}.main-content{padding-left:18px;padding-right:18px}.page-heading{margin-bottom:23px;gap:14px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px;line-height:1.8}.v5-home-search{padding:10px;gap:9px;margin-bottom:22px}.v5-home-search input{font-size:11px;min-height:34px;width:100%}.v5-home-search label{gap:8px;padding-left:2px}.v5-home-search .button{font-size:10px;padding:9px 10px}.v5-home-search .ui-icon{width:17px;height:17px}.v5-service-grid{gap:16px;margin-bottom:25px}.v5-service{padding:17px 14px;min-height:145px}.v5-service strong{font-size:14px}.v5-service em{font-size:10px;margin-top:7px}.v5-service small{font-size:7px;line-height:1.5}.v5-command{margin-bottom:23px}.v5-command-content{padding:25px 22px}.v5-command h2{font-size:26px;max-width:95%}.v5-command-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v5-command-actions .button{width:100%;font-size:10px;min-height:42px;padding:9px 7px}.v5-command-foot{gap:14px}.v5-account-links .v5-service-grid{gap:16px}.strategy-grid,.home-strategies{grid-template-columns:1fr!important;gap:18px}.home-strategies .strategy-card:nth-child(3){display:block}.strategy-card{padding:22px!important}.strategy-card .strategy-title{font-size:19px;line-height:1.5}.strategy-card .strategy-english{font-size:9px;margin-top:5px}.strategy-card .strategy-description{font-size:12px;min-height:0;margin:16px 0}.strategy-card .strategy-symbol{width:34px;height:34px}.strategy-card .metric-label{font-size:10px}.strategy-card .metric-value{font-size:25px}.strategy-card .strategy-tags{font-size:10px;gap:7px;line-height:1.7}.strategy-card .card-footer{margin-top:16px;gap:12px;flex-direction:row;align-items:center}.strategy-card .card-footer .button.small{font-size:11px;width:auto;min-height:36px;padding:8px 12px}.strategy-card .exchange-dot{font-size:9px;line-height:1.6}.strategy-card .strategy-ai-link{font-size:11px;margin-top:15px;min-height:37px}.strategy-card .sparkline{height:65px;margin:14px 0}.strategy-card .strategy-card-art{width:90px;height:90px;opacity:.5}.strategy-card .badge{font-size:10px}.strategy-card .metric-row{gap:20px}.bot-grid,.account-grid{gap:18px}.content-grid{gap:20px}.action-shortcuts{gap:16px}.terminal-layout{gap:22px;margin-top:24px;margin-bottom:25px}.terminal-side{gap:21px}.advisor-invite{margin-top:24px;margin-bottom:26px}.strategy-stories{gap:16px;margin-bottom:24px}.v5-market-notes{gap:18px}.v5-feature-dialog .v5-service-grid{gap:14px}.v5-feature-dialog .v5-service{min-height:86px}.bottom-nav-item{font-size:10px}.bottom-nav{min-height:62px}.market-terminal{margin-bottom:22px}.market-indicators{flex-wrap:wrap}.market-signal-heading{flex-wrap:wrap;line-height:1.7}.copy-programs,.copy-tasks{gap:20px}.flow-hero,.builder-workspace,.assets-workspace{min-width:0}}
@media(max-width:370px){.main-content{padding-left:15px;padding-right:15px}.v5-service-grid{gap:14px}.v5-service{padding:16px 12px}.v5-command-actions{gap:9px}.v5-command-content{padding:23px 18px}.v5-home-search{gap:6px}.v5-home-search input{font-size:10px}}
.builder-workspace textarea{display:block;width:100%!important;inline-size:100%;max-width:100%;max-inline-size:100%;min-width:0;min-inline-size:100%;box-sizing:border-box;appearance:none;-webkit-appearance:none;resize:vertical}
@media(max-width:760px){.adv-root .adv-fab{min-width:52px;min-height:52px;width:52px;height:52px;padding:5px!important;right:16px;bottom:79px;border-radius:50%;gap:0}.adv-fab>span:nth-child(2){display:none}.adv-fab .adv-fab-avatar{width:40px;height:40px}.adv-fab-status{position:absolute;right:1px;top:2px;width:7px;height:7px;border:2px solid var(--surface)}html[lang="en"] .bottom-nav-item{font-size:8px;letter-spacing:0;gap:4px;padding:7px 2px;min-width:0}html[lang="en"] .bottom-nav-item>span:last-child{white-space:nowrap}.v5-command-art{opacity:.32}}
html[data-theme="light"] .sidebar .nav-link.active{background:#eaf1ff;color:#245dce;border-color:#d5e3fc;box-shadow:inset 3px 0 0 #2563eb}html[lang="en"] .brand-name small{display:none}.sidebar .brand{padding-left:4px}.sidebar .brand-name{min-width:0;white-space:nowrap}.sidebar .nav-link{line-height:1.55;padding-top:8px;padding-bottom:8px}
