/* Isolated Backtesting refinement. */
@media(min-width:1101px){html[data-system-route="backtesting"] .stitch-v2-main{padding-right:88px}}
.v2-backtest-layout{grid-template-columns:410px minmax(0,1fr)}
.v2-backtest-config>header{display:flex;align-items:start;justify-content:space-between;margin-bottom:15px}
.v2-backtest-config>header h2{margin-top:5px}
.v2-backtest-config>label:first-of-type{margin-top:0}
.v2-backtest-config>.v2-btn{width:100%;margin-top:5px}
.v2-assumption-strip{display:grid;gap:5px;margin:16px 0;padding:13px;border-left:3px solid var(--v2-blue);background:#f4f6f8}
.v2-assumption-strip span{color:#7a848c;font-size:9px;text-transform:uppercase}
.v2-assumption-strip strong{font-size:10px}
.v2-config-note{margin:9px 0 0!important;text-align:center;color:#7e8890!important;font-size:9px!important;line-height:1.45}
.v2-backtest-report{min-width:0}
.v2-backtest-report>header{align-items:center}
.v2-backtest-report>header .v2-eyebrow{display:block;max-width:780px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-backtest-report .v2-metric-band{grid-template-columns:repeat(6,1fr)}
.v2-backtest-report .v2-metric-band>div{min-width:0}
.v2-backtest-report .v2-metric-band strong{font-size:16px}
.v2-backtest-report .v2-chart-legend b{font-weight:500}
.v2-market-chart-backtest{height:430px}
.v2-backtest-reading{display:grid;grid-template-columns:1fr 1fr;margin-top:12px;border:1px solid #e0e5e9;border-radius:6px;background:#f8f9fb;overflow:hidden}
.v2-backtest-reading>div{display:grid;gap:5px;padding:13px 15px}
.v2-backtest-reading>div+div{border-left:1px solid #e0e5e9}
.v2-backtest-reading span{color:#758089;font-size:9px;text-transform:uppercase}
.v2-backtest-reading strong{font-size:10px;line-height:1.45}
.v2-backtest-note{display:flex;align-items:center;gap:12px}
.v2-backtest-note strong{flex:0 0 auto}
.v2-backtest-note p{margin:0!important}
.v2-trade-log>header{display:flex;align-items:center;justify-content:space-between}
.v2-trade-log>header>span{color:#78828a;font-size:10px}
.v2-trade-log .v2-table-head,.v2-trade-log .v2-table-row{grid-template-columns:.8fr .8fr repeat(2,1fr) .9fr .8fr 1.1fr}
.v2-trade-log .v2-table-row:nth-child(even){background:#fbfcfd}
@media(max-width:1500px){.v2-backtest-layout{grid-template-columns:360px minmax(0,1fr)}.v2-backtest-report .v2-metric-band{grid-template-columns:repeat(3,1fr)}.v2-backtest-report .v2-metric-band>div:nth-child(-n+3){border-bottom:1px solid var(--v2-line)}.v2-backtest-report .v2-metric-band>div:nth-child(3){border-right:0}.v2-market-chart-backtest{height:400px}}
@media(max-width:1100px){.v2-backtest-layout{grid-template-columns:1fr}.v2-backtest-config{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}.v2-backtest-config>header,.v2-backtest-config>.v2-assumption-strip,.v2-backtest-config>.v2-btn,.v2-backtest-config>.v2-config-note{grid-column:1/-1}.v2-trade-log{overflow-x:auto}.v2-trade-log>*{min-width:850px}}
