.quick-backtest{color:#405f82}.quick-steps{display:flex;list-style:none;padding:0;margin:0 0 24px;border-bottom:1px solid #dfebf7;gap:26px}.quick-steps li{flex:1}.quick-steps button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:0 0 17px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8197b0;font-size:13px;font-weight:600}.quick-steps button span{display:grid;place-items:center;flex:none;width:26px;height:26px;background:#edf3f9;border-radius:50%;font-size:11px}.quick-steps button[aria-current]{color:#2875c8;border-bottom-color:#3b89dc}.quick-steps button[aria-current] span{color:white;background:#3b89dc}.quick-steps button:disabled{opacity:.6;cursor:default}.quick-selection-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.8fr);gap:20px}.quick-search-controls{display:flex;gap:12px;margin-bottom:16px}.quick-search-controls label{display:block;font-size:12px;color:#708baa}.quick-search-controls label:first-child{flex:1;min-width:0}.quick-search-controls label:last-child{width:115px}.quick-search-controls input,.quick-search-controls select{margin-top:8px}.quick-search-row,.quick-selected-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e8eff7}.quick-search-row:last-child,.quick-selected-row:last-child{border-bottom:0}.quick-search-row>div,.quick-selected-row>div{min-width:0}.quick-search-row strong,.quick-selected-row strong{display:block;color:#3c628d;font-size:13px;overflow-wrap:anywhere}.quick-search-row small,.quick-selected-row small,.quick-summary-assets small{display:block;color:#8197b1;font-size:11px;margin-top:5px;line-height:1.7}.quick-search-row .btn,.quick-selected-row .btn{flex:none}.quick-selected-row .btn{background:transparent;color:#93a3b7;border-color:transparent}.quick-step-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.quick-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:11px;color:#8399b1}.quick-pagination>div{display:flex;gap:7px}.quick-caption{font-size:12px;color:#8196ae;line-height:1.9;margin:12px 0 0}.quick-details{padding:16px 18px;border:1px solid #dfeaf6;border-radius:10px;color:#6684a5;background:#fcfdff}.quick-details summary{cursor:pointer;font-size:13px;color:#4d74a0}.quick-details .code{max-height:450px;overflow:auto;white-space:pre-wrap;word-break:break-word}.quick-advanced-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.quick-advanced-links a{font-size:13px}.quick-confirm{display:flex;align-items:flex-start;gap:11px;padding:17px 19px;background:#f1f7fe;border-radius:10px;font-size:13px;color:#5b7b9f;line-height:1.8}.quick-confirm input[type=checkbox]{width:16px;min-width:16px;height:16px;margin:3px 0 0;accent-color:#327ed3}.quick-summary-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.quick-summary-assets>strong{display:block;font-size:14px;color:#41658b}.quick-summary-assets small{margin:0}.quick-report-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;font-size:12px;color:#7290ad}.quick-report-toolbar{display:flex;justify-content:flex-end;margin-bottom:12px}.quick-limit-list{padding-left:20px;color:#6c819a;line-height:1.9;font-size:12px}.quick-backtest [data-backtest-search-status]:not(:empty){padding:12px 0;color:#7c93ac;font-size:12px}.quick-backtest [hidden]{display:none!important}.quick-backtest .form-error:not(:empty){margin-bottom:18px;padding:12px 15px;background:#fff5f2;border-radius:9px}.quick-backtest .empty{padding:36px 12px}.quick-backtest .empty h2{font-size:16px}
@media(max-width:850px){.quick-selection-layout{grid-template-columns:1fr}.quick-steps{gap:10px}.quick-steps button{font-size:12px;gap:7px}.quick-steps button span{width:22px;height:22px}.quick-advanced-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.quick-steps{gap:5px}.quick-steps button{align-items:flex-start;flex-direction:column;padding-bottom:12px;line-height:1.7}.quick-search-controls{gap:8px}.quick-search-controls label:last-child{width:90px}.quick-advanced-links{grid-template-columns:1fr}.quick-summary-assets{grid-template-columns:1fr}.quick-step-actions{flex-wrap:wrap}.quick-step-actions .btn{flex:1}.quick-selected-row,.quick-search-row{gap:8px}.quick-pagination{align-items:flex-start;flex-direction:column}}
[data-backtest-search-results]{max-height:440px;overflow:auto;padding-right:5px}[data-backtest-selection]{max-height:380px;overflow:auto}.quick-selection-layout>.card{align-self:start}@media(max-width:500px){[data-backtest-search-results]{max-height:310px}[data-backtest-selection]{max-height:300px}}
@media(max-width:500px){[data-backtest-kind="report"] .stat-value{font-size:clamp(18px,5.5vw,24px);overflow-wrap:anywhere}[data-backtest-kind="report"] .stat-value small{display:block;margin:5px 0 0;letter-spacing:0}}
/* Direct historical simulation: compact configuration and auditable results. */
.quick-workbench-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,1fr);gap:18px;align-items:start}.quick-workbench-layout .card{min-width:0}.quick-workbench-layout .field{margin-bottom:12px}.quick-workbench-layout .quick-caption{margin-top:7px;line-height:1.6}.quick-workbench-layout [data-backtest-search-results]{max-height:540px}.quick-workbench-layout [data-backtest-selection]{max-height:180px}.quick-window-buttons{display:flex;gap:6px}.quick-run-note{font-size:11px;color:var(--text-muted,#667085);line-height:1.7;margin:16px 0 0}.quick-workbench-layout .quick-step-actions{margin-top:12px}.quick-workbench-layout .quick-details{margin-top:14px;padding:12px 14px;background:#fff;border-color:#e5e7eb;border-radius:8px}.quick-report-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-report-stats .stat-value{font-size:24px;letter-spacing:-.5px}.quick-report-stats .stat-value small{font-size:11px;letter-spacing:0}.quick-positive{color:#bd3848}.quick-negative{color:#128263}.quick-neutral{color:inherit}.quick-chart-legend{display:flex;justify-content:center;gap:24px;font-size:12px;color:#667085}.quick-chart-legend span{display:flex;align-items:center;gap:7px}.quick-chart-legend i{width:18px;height:3px;background:#2875d9}.quick-chart-legend .benchmark{background:#96a2b2}.quick-backtest .chart{display:block;width:100%;max-height:320px}.quick-backtest [data-backtest-daily]:focus,.quick-backtest [data-backtest-trades]:focus,.quick-backtest [data-backtest-rejections]:focus{outline:2px solid #c7dcf8;outline-offset:4px}.quick-backtest .table-wrap{max-width:100%}.quick-report-securities{display:flex;flex-wrap:wrap;gap:6px 16px;margin:14px 0;font-size:12px}.quick-report-securities small{color:#667085;margin-left:6px}.quick-backtest .quick-details{background:#fff;border-color:#e5e7eb;color:#4b5563}.quick-backtest .quick-details summary{color:#374151}.quick-backtest .quick-caption{color:#667085}.quick-backtest .quick-search-row strong,.quick-backtest .quick-selected-row strong{color:#344054}.quick-backtest .quick-search-row small,.quick-backtest .quick-selected-row small{color:#667085}.quick-backtest .quick-pagination{color:#667085}
@media(max-width:980px){.quick-workbench-layout{grid-template-columns:1fr}.quick-workbench-layout [data-backtest-search-results]{max-height:280px}.quick-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.quick-report-stats .stat-value{font-size:20px}.quick-report-stats{gap:8px}.quick-workbench-layout{gap:12px}.quick-workbench-layout .quick-step-actions .btn{flex:1}.quick-backtest .quick-report-toolbar{justify-content:flex-start}.quick-backtest .quick-pagination{flex-direction:row;align-items:center}.quick-chart-legend{gap:14px;font-size:11px}}
[data-backtest-daily] .table-wrap{max-height:480px;overflow:auto}[data-backtest-daily] thead{position:sticky;top:0;z-index:1;background:#f8fafc}
.quick-backtest [data-backtest-trades]{scroll-margin-top:128px}
.report-matrix-wrap{border:1px solid #e3e7ee;border-radius:8px;overflow:auto;max-height:720px}.quick-backtest .report-matrix{width:100%;min-width:620px;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}.quick-backtest .report-matrix th,.quick-backtest .report-matrix td{padding:10px 16px;text-align:right;vertical-align:middle;line-height:1.5}.quick-backtest .report-matrix thead th{position:sticky;top:0;z-index:2;background:#edf3fb;color:#243d60;min-width:210px;max-width:300px;white-space:normal}.quick-backtest .report-matrix thead th:first-child{min-width:168px;width:25%;background:#263b58;color:white;text-align:left;left:0;z-index:3}.report-matrix thead small,.report-matrix thead strong,.report-matrix thead span{display:block}.report-matrix thead strong{font-size:13px;margin:4px 0}.report-matrix thead small,.report-matrix thead span{font-size:11px;font-weight:400}.quick-backtest .report-matrix thead .report-candidate{background:#f0ecfa;color:#513783}.quick-backtest .report-matrix tbody th[scope=row]{position:sticky;left:0;background:#fff;text-align:left;font-weight:500;z-index:1;white-space:nowrap}.report-matrix .report-value{display:block;font-size:13px;color:#263b58}.report-matrix .report-delta{display:block;font-size:11px;color:#667085;margin-top:2px;white-space:nowrap}.quick-backtest .report-matrix .report-group th{padding:7px 16px;background:#f8f9fb;text-align:left;color:#667085;font-size:11px;font-weight:500}.quick-backtest .report-matrix .report-key td,.quick-backtest .report-matrix .report-key th{background:#edf3fb;font-weight:650}.report-matrix .report-key .report-value{font-size:14px;font-weight:650}.comparison-workbench .quick-chart-legend{flex-wrap:wrap}.comparison-workbench .quick-report-toolbar{gap:8px}.comparison-workbench .card{min-width:0}.report-matrix-wrap:focus-visible{outline:2px solid #2875d9;outline-offset:2px}
@media(max-width:600px){.quick-backtest .report-matrix th,.quick-backtest .report-matrix td{padding:9px 12px}.quick-backtest .report-matrix thead th:first-child{min-width:132px}.report-matrix-wrap{max-height:640px}}
