/* Research controls and figures inherit the approved portfolio visual system. */
.forex-controls{align-items:end;gap:20px 24px}.forex-controls label{display:flex;flex-direction:column;gap:8px;min-width:150px;flex:1;font-size:14px;line-height:1.5}.forex-controls select{width:100%;min-height:44px}.forex-controls button{align-self:end}
.forex-controls button{min-height:42px}.forex-legend{display:flex;gap:22px;font-size:12px;margin:12px 0}
.forex-legend span::before{content:'';display:inline-block;width:18px;height:3px;vertical-align:middle;margin-right:7px;background:#4e79a7}
.forex-legend .mr::before{background:#f28e2b}.forex-chart{overflow-x:auto;background:#fff;padding:10px 4px;border:1px solid var(--line);border-radius:5px}
.forex-chart svg{width:100%;max-width:900px;min-width:540px;height:auto;margin:auto}.forex-chart svg text{font-size:12px}
.forex-chart+ .forex-chart{margin-top:12px}.forex-heatmap table{min-width:880px}.forex-heatmap td{text-align:center;white-space:nowrap;padding:12px 8px;font-variant-numeric:tabular-nums}
.forex-heatmap .return-gain{background:#e7edfa}.forex-heatmap .return-loss{background:#f5e8e2}.forex-heatmap .split-start{border-left:2px solid #7a879f}
.forex-source-note{font-size:12px;color:var(--muted);margin-top:12px}.forex-data-details{margin-top:18px}
#forex-matrix table td:nth-child(2){border-top:2px solid #4e79a7}#forex-matrix table td:nth-child(3){border-top:2px solid #f28e2b}
@media(max-width:600px){.forex-controls label{min-width:100%;flex:1}.forex-controls{gap:18px}.forex-chart svg{min-width:520px}.forex-legend{font-size:11px;gap:14px}.forex-controls select{max-width:100%}}
