.trade-leg{border:1px solid var(--line,#d8dee7);border-radius:12px;padding:16px;margin:16px 0;min-width:0}.trade-leg legend{font-weight:650;padding:0 6px}.trade-table{max-width:100%;overflow-x:auto;margin:12px 0}.trade-table table{min-width:560px}.trade-leg-result{padding:14px 0;border-bottom:1px solid var(--line,#d8dee7)}.trade-result p,.trade-leg p{overflow-wrap:anywhere}.trade-result h4{margin-top:20px}.trade-leg details{margin:12px 0}#decision-trade-form input,#decision-trade-form select{min-width:0;max-width:100%}@media(max-width:600px){.trade-leg{padding:12px}.trade-leg .form-grid{grid-template-columns:1fr}}
#modal:has(#decision-trade-form){width:min(940px,calc(100vw - 36px));max-width:940px}#decision-trade-form .chart-note{font-size:.82rem;line-height:1.65}.trade-result p{margin:10px 0;line-height:1.65}.trade-result h3{margin-top:24px}.trade-table:focus-visible{outline:2px solid var(--accent,#c5fa63);outline-offset:2px}
