/* V4 Research: scoped CSS to retain V3.9.2 mobile layout and syncing */
#research .research-head{display:flex;gap:15px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
#research .research-head h2{margin:0 0 6px}
#research .bt40-indicator{display:inline-flex;align-items:center;padding:5px 12px;border-radius:100px;border:1px solid #456080;color:#c8d9ee;background:#203047;font-size:12px;white-space:nowrap}
#research .bt40-indicator.online{background:#173c35;color:#6ee7b7;border-color:#2b816c}
#research .bt40-indicator.offline{background:#3b252f;color:#fba5af;border-color:#874453}
#research .bt40-status-line{margin-top:15px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#research .bt40-status-line>div{background:#102034;padding:11px;border-radius:10px;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}
#research .bt40-status-line strong{font-size:14px;color:#e8f1ff}
#research .bt40-caption{font-size:11px;color:#a4b7d1}
#research details.bt40-access{border:1px solid #31465e;border-radius:9px;margin-top:15px;padding:10px 12px}
#research details.bt40-access summary{cursor:pointer;font-weight:650}
#research details.bt40-access input{margin-top:5px;width:100%}
#research .bt40-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#research .bt40-select-header{display:flex;justify-content:space-between;gap:12px;margin:16px 0 10px}
#research .bt40-strategy-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:280px;overflow:auto;border:1px solid #32445b;padding:9px;border-radius:10px}
#research .bt40-strategy-list label{display:flex;align-items:center;gap:8px;padding:7px 8px;margin:0;font-size:12px;background:#17283f;border-radius:7px;cursor:pointer}
#research .bt40-strategy-list label:has(input:checked){background:#1c4160;outline:1px solid #4c95c7}
#research .bt40-strategy-list input{width:17px;height:17px;flex:0 0 17px}
#research .bt40-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
#research .bt40-actions button{min-height:42px}
#research .bt40-job-list{display:flex;flex-direction:column;gap:8px}
#research .bt40-job{border:1px solid #31455e;border-radius:9px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px}
#research .bt40-job>div:first-child{min-width:0;overflow-wrap:anywhere}
#research .bt40-job small{display:block;color:#a7bad4}
#research .bt40-job button{flex:0 0 auto}
#research .bt40-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
#research .bt40-metric{border:1px solid #32465f;background:#12253c;border-radius:9px;padding:11px;min-width:0}
#research .bt40-metric small{font-size:11px;display:block;color:#a7bad4}
#research .bt40-metric strong{font-size:18px;overflow-wrap:anywhere}
#research .bt40-meta{color:#aac0da;font-size:12px;overflow-wrap:anywhere;line-height:1.8}
#research .bt40-warning{background:#412c28;border:1px solid #815149;padding:12px;border-radius:9px;color:#ffd8b3;font-size:13px;margin:10px 0}
#research #bt40Curve{width:100%;height:auto;max-width:100%;margin-top:10px;border:1px solid #263954;background:#0d1b2c;border-radius:9px}
#research .bt40-trades{max-height:280px;overflow:auto}
#research .bt40-trades table{min-width:510px;white-space:nowrap}
@media(max-width:800px){#research .bt40-strategy-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#research .research-head{display:block}#research .bt40-indicator{margin-top:10px}#research .bt40-status-line{grid-template-columns:1fr 1fr}#research .bt40-status-line>div:first-child{grid-column:span 2}#research .bt40-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}#research .bt40-strategy-list{grid-template-columns:minmax(0,1fr)}#research .bt40-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#research .bt40-job{display:block}#research .bt40-job button{margin-top:8px;width:100%}#research .bt40-actions button{flex:1 1 140px}#research .bt40-metric strong{font-size:16px}}
@media(max-width:350px){#research .bt40-form{grid-template-columns:minmax(0,1fr)!important}}
