/* Public navigation and concise account layouts. */
.sr-site-header .sr-login-link{font-size:13px;white-space:nowrap;color:var(--sr-gold,#d9ba77);margin-left:auto}
.sr-site-nav{gap:18px}
.sr-account-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.sr-site .sr-account-main h1{font-size:clamp(32px,4vw,50px);margin:0 0 12px}
.sr-site #account-email{margin:0 0 30px}
.sr-site .sr-account-card h2{font-size:30px;letter-spacing:-.025em;margin:12px 0}
.sr-site .sr-account-card p{margin:12px 0;font-size:14px;line-height:1.65}
.sr-account-grid{align-items:start;grid-template-columns:minmax(240px,.85fr) minmax(320px,1.15fr)}
.sr-site .sr-upgrade-price{font-size:32px;color:var(--sr-text);margin:0 0 16px}
.sr-upgrade-price small{font-size:13px;color:var(--sr-muted)}
.sr-benefits{margin:14px 0 24px;font-size:14px}.sr-benefits li{padding:3px 0}
#upgrade{scroll-margin-top:24px}.sr-account-status:empty{display:none}
.sr-site .sr-account-card #purchase-agreement label{display:flex;gap:10px;align-items:flex-start}
.sr-site #purchase-agreement input[type=checkbox]{flex:0 0 19px;width:19px;height:19px;padding:0;margin-top:3px;accent-color:var(--sr-gold)}
.sr-site #purchase-agreement p{font-size:13px}.sr-site #purchase-agreement a{text-decoration:underline}
.sr-account-card #refresh-billing,.sr-account-card #signout{background:transparent;border:0;color:var(--sr-gold);padding:8px 0;text-decoration:underline}
.sr-account-card .sr-button{max-width:100%;white-space:normal;text-align:center}
.backtest-intro{margin-bottom:24px}.backtest-intro p{max-width:820px;line-height:1.7}.backtest-intro ol{padding-left:22px;line-height:1.8}
#research-menu{display:none}.topbar .crumb{min-width:0}.topbar .avatar{display:none}
.stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.sr-site-header{flex-wrap:wrap}.sr-site-nav{gap:14px}}
@media(max-width:1000px){
 body:not(.sr-site) .app{margin-left:0;width:100%}
 #research-menu{display:inline-flex;align-items:center;font:inherit;flex-shrink:0;border:1px solid #777060;border-radius:6px;background:#242626;color:#eee8dc;padding:9px 13px}
 body #research-nav.sidebar{display:none;position:fixed;z-index:60;left:12px;top:70px;width:min(310px,calc(100vw - 24px));max-height:calc(100dvh - 85px);height:auto;overflow:auto;padding:22px;background:#181a1b;color:#eee8dc;border:1px solid #555045;border-radius:12px;box-shadow:0 15px 50px #0009}
 body #research-nav.sidebar.is-open{display:block}
 body #research-nav.sidebar nav{display:flex;flex-direction:column;overflow:visible;gap:2px}
 body #research-nav.sidebar nav a{display:flex;padding:12px;color:#eee8dc}
 #research-nav .sidebar-note,#research-nav .sidebar-footer{display:none}
 body .topbar{position:sticky;top:0;z-index:50;gap:12px;height:auto;min-height:64px;padding:12px 16px;background:#101112;border-bottom:1px solid #383a33}
 .topbar .top-actions{margin-left:auto}.topbar .crumb{font-size:12px}.topbar .sr-join-link{white-space:nowrap;font-size:12px}
}
@media(max-width:860px){.sr-site-header{column-gap:12px}.sr-site-header .sr-site-brand{font-size:20px}.sr-site-header .sr-site-brand img{width:32px;height:32px}.sr-site-header .sr-site-brand small{display:none}.sr-site-header .sr-login-link{font-size:12px}.sr-menu-toggle{gap:7px}.sr-site-nav{order:5}.sr-site-header .sr-login-link{order:1}.sr-menu-toggle{order:2}}
@media(max-width:720px){.sr-account-grid{grid-template-columns:1fr}.sr-account-main{padding-top:30px}.stats{grid-template-columns:1fr}.topbar .crumb{display:none}.topbar #research-menu{margin-right:auto}}
@media(max-width:370px){.sr-site-header .sr-site-brand{font-size:18px}.sr-site-header .sr-site-brand img{width:26px;height:26px}.sr-site-header{column-gap:8px;padding-inline:4%}.sr-menu-toggle{padding:7px 9px}}

@media(max-width:1000px){body #research-nav.sidebar{min-height:0;bottom:auto}body .topbar .top-actions{display:flex!important}body .topbar .sr-join-link{display:inline-flex!important}}

.sr-site .sr-account-card .sr-upgrade-price{font-size:32px;color:var(--sr-text);margin:0 0 16px}

.exchange-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;max-height:45vh;overflow:auto;margin:20px 0}.exchange-choice{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #655b40;border-radius:8px;cursor:pointer}.exchange-choice input{width:20px;height:20px;margin:0;accent-color:#cfb06e}#choose-exchanges{max-width:340px;white-space:normal;text-align:left}#exchange-error{color:#e8adad}

.free-screen-conditions{padding-left:22px}.free-screen-conditions li{margin:12px 0}.free-rule-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;margin:16px 0}#free-screen-editor{margin:20px 0;padding:18px;border:1px solid #677164}@media(max-width:700px){.free-rule-row{grid-template-columns:1fr 1fr}}
