.strategy-panel{display:flex;gap:12px;height:100%;min-height:0}.strategy-panel__sidebar{width:280px;flex:0 0 280px;display:flex;flex-direction:column;background:linear-gradient(180deg,#f8fafc,#eef3f8);border:1px solid #dde5ee;border-radius:18px;overflow:hidden}.strategy-panel__sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 12px;border-bottom:1px solid #dde5ee}.strategy-panel__sidebar-title{font-size:14px;color:#5c6b7a}.strategy-panel__sidebar-list{flex:1;min-height:0;overflow:auto;padding:10px}.strategy-card{width:100%;border:1px solid #dfe7f0;background:#ffffffeb;border-radius:14px;padding:10px 12px;margin-bottom:8px;cursor:pointer;transition:all .2s ease}.strategy-card:hover{border-color:#8fb2d8;box-shadow:0 10px 24px #365c8814}.strategy-card--active{border-color:#1d5fbf;background:linear-gradient(180deg,#f6fbff,#edf5ff);box-shadow:0 14px 28px #1d5fbf1f}.strategy-card__header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.strategy-card__title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:#1f2d3d}.strategy-card__title-input{flex:1}.strategy-card__icon-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.strategy-card__time{display:block;color:#7b8794;font-size:12px}.strategy-panel__main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:radial-gradient(circle at top right,rgba(46,111,187,.08),transparent 28%),linear-gradient(180deg,#fff,#f8fafc);border:1px solid #dfe7f0;border-radius:22px;overflow:hidden}.strategy-panel__empty{display:flex;align-items:center;justify-content:center;flex:1}.strategy-panel__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px 12px;border-bottom:1px solid #e6edf5}.strategy-panel__toolbar-main{display:flex;flex-direction:column;gap:4px;min-width:0}.strategy-panel__body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:10px;overflow:auto;scroll-behavior:smooth}.strategy-panel__content,.strategy-panel__result{background:#ffffffe0;border:1px solid #e3eaf2;border-radius:18px;box-shadow:0 14px 40px #0f172a0a}.strategy-panel__content{flex:0 0 auto;min-height:calc(100% - 2px);padding:10px}.strategy-panel__body--with-result .strategy-panel__content{min-height:calc(100% - 2px)}.strategy-panel__content--split{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.1fr);gap:10px;align-items:stretch}.strategy-pane{display:flex;flex-direction:column;min-height:0;height:100%;padding:12px 14px;border:1px solid #ebf0f5;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdff)}.strategy-pane__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.strategy-pane__actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.strategy-pane__body{flex:1;min-height:0;overflow:auto}.strategy-pane__body--code{display:flex;overflow:hidden;height:100%}.strategy-pane__textarea,.strategy-code__editor{height:100%!important;min-height:0!important;resize:none}.strategy-view__eyebrow{display:inline-block;color:#5b7086;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.strategy-markdown{color:#1f2d3d;line-height:1.8}.strategy-markdown>:first-child{margin-top:0}.strategy-markdown>:last-child{margin-bottom:0}.strategy-markdown p,.strategy-markdown ul,.strategy-markdown ol,.strategy-markdown blockquote,.strategy-markdown pre{margin:0 0 12px}.strategy-markdown code{padding:2px 6px;border-radius:6px;background:#edf2f7;font-family:SFMono-Regular,Consolas,Menlo,monospace;font-size:.92em}.strategy-markdown pre{padding:14px 16px;overflow:auto;border-radius:12px;background:#0f172a}.strategy-markdown pre code{padding:0;background:transparent;color:#e2e8f0}.strategy-code__header{display:flex;align-items:center;gap:8px}.strategy-code__surface{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#0f172a;border:1px solid rgba(96,165,250,.16)}.strategy-code__surface-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:linear-gradient(180deg,#2563eb38,#0f172af5);border-bottom:1px solid rgba(96,165,250,.16)}.strategy-code__surface-header .strategy-view__eyebrow{color:#dbeafe}.strategy-code__surface-body{flex:1;min-height:0;overflow:auto}.strategy-code__surface-body pre{min-height:100%}.strategy-code__editor{flex:1;display:flex;color:#dbeafe;font-family:SFMono-Regular,Consolas,Menlo,monospace;font-size:13px;line-height:1.7}.strategy-code__editor .ant-input,.strategy-code__editor textarea{background:#0f172a!important;color:#dbeafe!important;border:0!important;box-shadow:none!important;padding:18px!important;font-family:SFMono-Regular,Consolas,Menlo,monospace!important;font-size:13px!important;line-height:1.7!important}.strategy-code__editor .ant-input{flex:1;resize:none}.strategy-code__editor .ant-input::placeholder{color:#6b7c93!important}.strategy-code__editor.ant-input-outlined,.strategy-code__editor.ant-input-affix-wrapper,.strategy-code__editor.ant-input-textarea{background:#0f172a!important;border:0!important;box-shadow:none!important}.strategy-code__editor.ant-input-textarea-show-count:after{color:#7f8ea3}.strategy-panel__result{flex:0 0 auto;min-height:calc(100% - 2px);overflow:hidden}.strategy-result__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 8px}.strategy-result__error{margin:0 14px 14px;background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;border-radius:12px;padding:12px 14px;white-space:pre-wrap}.strategy-panel__result .ant-table-wrapper{height:calc(100% - 48px);padding:0 10px 10px}.strategy-panel__result .ant-spin-nested-loading,.strategy-panel__result .ant-spin-container,.strategy-panel__result .ant-table,.strategy-panel__result .ant-table-container{height:100%}.strategy-panel__result .ant-table-body{max-height:calc(100% - 54px)!important;overflow:auto!important}@media(max-width:1100px){.strategy-panel__content--split{grid-template-columns:1fr}}@media(max-width:960px){.strategy-panel{flex-direction:column}.strategy-panel__sidebar{width:100%;flex-basis:auto;max-height:220px}.strategy-panel__toolbar{padding:12px 14px 10px}.strategy-panel__body{padding:8px}}
