#strategyView{color:#dce8f3;line-height:1.65;min-width:0}#strategyView [hidden]{display:none}.strategy-toolbar,.strategy-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.strategy-toolbar h2,.strategy-top h3{margin:0}.strategy-toolbar p{margin:4px 0;color:#a7bacd}#strategyView button,#strategyView input{font:inherit;border:1px solid #365064;border-radius:10px;color:#e2f0f7;background:#102432;min-height:44px;padding:10px 14px}#strategyView button{cursor:pointer}#strategyView button:hover{border-color:#54d3b9}#strategyView button:disabled{opacity:.5;cursor:wait}#strategyView a{color:#61d9c3}#strategyView :focus-visible{outline:2px solid #69e5ce;outline-offset:3px}.strategy-intro{margin-top:18px;padding:24px;border:1px solid #275047;background:linear-gradient(120deg,#102c2a,#111d2c);border-radius:16px}.strategy-intro h3{font-size:25px;margin:12px 0}.strategy-section{margin-top:24px}.strategy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.strategy-card{padding:20px;border-radius:14px;border:1px solid #263e50;background:#0e1b29;min-width:0}.strategy-card h3{margin-top:0}.strategy-card p,.strategy-card small{overflow-wrap:anywhere}.strategy-muted,.strategy-card small{color:#a5b6c9}.strategy-tag{font-size:12px;color:#8bdacb;border:1px solid #294d49;background:#102a29;border-radius:6px;padding:3px 8px}.strategy-score{font-size:28px;font-weight:700;color:#7fe4d0;overflow-wrap:anywhere}.strategy-score small{font-size:12px;font-weight:400}#strategyView dl{margin:14px 0}#strategyView dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #213344;font-size:13px}#strategyView dt{color:#a5b6c9}#strategyView dd{margin:0;text-align:right}#strategyView summary{cursor:pointer;min-height:44px;padding:10px 0;color:#a6d9ed}#strategyView li{margin:8px 0}.strategy-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.strategy-fields label{display:grid;gap:8px;font-size:13px;color:#b5c7d8}.strategy-fields input{width:100%;min-width:0;box-sizing:border-box}.strategy-actions{display:flex;flex-wrap:wrap;gap:12px}#strategyView .strategy-stop{background:#371e27;border-color:#965466;color:#ffced9}.strategy-hash{font-family:monospace;word-break:break-all}[data-strategy-status]{color:#afc8d7;min-height:24px}@media(max-width:1100px){.strategy-grid,.strategy-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.strategy-grid,.strategy-fields{grid-template-columns:1fr}.strategy-toolbar>div{width:100%}.strategy-card,.strategy-intro{padding:16px}.strategy-actions{flex-direction:column}.strategy-actions button{width:100%}.strategy-intro h3{font-size:22px}.strategy-section{margin-top:18px}}

#strategyView dialog{max-width:min(520px,calc(100vw - 40px));box-sizing:border-box;border:1px solid #476777;border-radius:14px;padding:24px;background:#132433;color:#dce8f3}#strategyView dialog::backdrop{background:#000b}[data-strategy-confirm-text]{white-space:pre-line}

@media(max-width:760px){#strategyView dt,#strategyView dd,.strategy-fields>*{min-width:0;overflow-wrap:anywhere}.strategy-toolbar button{max-width:100%;white-space:normal;overflow-wrap:anywhere}}
