.builder-main[data-active-stage="1"] .builder-layout{grid-template-columns:minmax(0,1fr)}
.builder-main[data-active-stage="1"] .agent-summary{display:none}
.market-preview{margin:26px 0;min-width:0}
.preview-pickers{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap}
.preview-pickers .field{flex:1;min-width:220px;margin-bottom:0;font-size:12px}
.preview-pickers select{font-size:14px;padding:11px 13px;text-overflow:ellipsis}
.preview-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:30px;align-items:start;margin-top:20px}
.preview-chart-panel{border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:21px;min-width:0}
.preview-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.preview-chart-heading h3{font-size:17px;margin:0;overflow-wrap:anywhere}
.preview-chart-heading .status-chip{white-space:nowrap;margin:0}
#preview-status{font-size:12px;line-height:1.5;min-height:18px;margin:14px 0}
#market-price-chart{display:block;width:100%;height:270px;overflow:visible;stroke:none;fill:none;--preview-no:light-dark(#307b72,#8ac8b3)}
#market-price-chart[hidden]{display:none}
#market-price-chart text{font:11px var(--font,sans-serif);fill:var(--muted);stroke:none}
#market-price-chart .preview-grid-line{stroke:var(--line);stroke-width:1}
#market-price-chart .preview-history{stroke:var(--muted);stroke-width:1.75;fill:none;stroke-linejoin:round;stroke-linecap:round}
#market-price-chart .preview-current-point{fill:var(--muted)}
#market-price-chart .preview-entry-band{fill:var(--accent);opacity:.09}
#market-price-chart .preview-level{stroke:var(--accent);stroke-width:1.5;stroke-dasharray:4 4}
#market-price-chart .preview-level-no{stroke:var(--preview-no);stroke-dasharray:11 5}
#market-price-chart .preview-level-reference{stroke:var(--muted);stroke-dasharray:2 4}
#market-price-chart .preview-marker{fill:var(--surface);stroke:var(--accent);stroke-width:2}
#market-price-chart .preview-marker-no{stroke:var(--preview-no)}
.preview-order{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--line);font-size:12px;flex-wrap:wrap}
.preview-order .small{font-size:12px;line-height:1.5}
.preview-order-label{display:flex;gap:7px;align-items:center;font-weight:500}
.preview-order-label b{display:inline-block;width:17px;height:0;border-top:2px dashed var(--accent)}
.preview-order-label b[data-kind="no"]{border-color:light-dark(#307b72,#8ac8b3)}
.preview-order-label b[data-kind="reference"]{border-color:var(--muted)}
#preview-disclaimer{font-size:11px;line-height:1.5;margin:14px 0}
.preview-controls .field{font-size:12px;gap:7px;margin-bottom:17px}
.preview-controls .input{font-size:16px;font-weight:400;padding:10px 12px;min-height:44px;line-height:1.35;border-radius:10px}
.preview-strategy-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.preview-strategy-fields[hidden]{display:none}
.preview-strategy-fields:has(textarea){grid-template-columns:1fr}
#capital-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:19px;border-top:1px solid var(--line)}
.preview-controls .risk-row label{font-size:12px}
.preview-controls .risk-row .input{width:88px}
.preview-controls .advanced-settings{padding:12px 0}
#preview-capital-note{font-size:12px;margin:0 0 13px}
.preview-impact{font-size:13px;line-height:1.6;background:color-mix(in srgb,var(--accent) 9%,var(--surface));border-radius:12px;padding:14px 16px;margin-top:18px}
.preview-impact[data-blocked="true"]{background:var(--surface-2);color:var(--muted)}
.live-grid strong{font-variant-numeric:tabular-nums}
@media(max-width:760px){.preview-workspace{grid-template-columns:minmax(0,1fr);gap:22px}.preview-chart-panel{padding:17px}.preview-chart-heading{flex-wrap:wrap}.preview-pickers .field{min-width:0;flex-basis:100%}.preview-controls .risk-row .input{width:80px}}
@media(max-width:400px){.preview-strategy-fields,#capital-fields{grid-template-columns:1fr}.preview-chart-panel{padding:13px}.preview-controls .risk-row{gap:8px}.preview-chart-heading h3{font-size:15px}.preview-order{gap:5px}}
