.app-shell[data-page=settings] .strategy-profile{overflow:visible;min-width:0}
.strategy-profile-heading{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--internal-filter-header-background,#19181c);border-bottom:1px solid var(--line);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.strategy-profile-heading h3{margin:0 0 4px}.strategy-profile-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.strategy-profile-active{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;padding:16px 20px 0;font-size:12px;color:var(--muted)}.strategy-profile-active strong{color:var(--text);font-size:13px;font-weight:500}
.strategy-profile-form{display:flex;flex-direction:column;gap:20px;padding:20px;min-width:0}.strategy-profile-description{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.strategy-profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin:0;padding-block:20px;border-block:1px solid var(--line)}.strategy-profile-summary div{min-width:0}.strategy-profile-summary dt{color:var(--muted);font-size:12px;margin-bottom:7px}.strategy-profile-summary dd{margin:0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.strategy-profile-rules p,.strategy-profile-preserve{display:flex;align-items:flex-start;gap:8px;margin:0;color:var(--muted);font-size:12px;line-height:1.7}.strategy-profile-rules p+p{margin-top:8px}.strategy-profile .trading-icon{flex:none}.strategy-profile-allocation{margin:0!important;padding:0!important;border:0!important}
.strategy-profile-advanced{border:1px solid var(--line);border-radius:8px;min-width:0}.strategy-profile-advanced>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:14px 16px;list-style:none;font-size:13px}.strategy-profile-advanced>summary::-webkit-details-marker{display:none}.strategy-profile-advanced>summary .trading-chevron{margin-left:auto}.strategy-profile-advanced[open]>summary{border-bottom:1px solid var(--line)}
.strategy-profile-fields{display:flex;flex-direction:column;gap:20px;padding:16px;min-width:0}.strategy-profile-fields>p{margin:0}.strategy-profile-fields .owner-broker-fields{margin:0}.strategy-profile-fields .owner-auto-be{margin:0}
.strategy-profile-changes{padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:var(--internal-filter-header-background,#19181c)}.strategy-profile-changes h4{margin:0 0 8px;font-size:13px}.strategy-profile-changes p{margin:4px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.strategy-profile-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;border-top:1px solid var(--line);padding-top:20px}.strategy-profile-footer>.muted{font-size:12px}.strategy-profile-footer .action-result{margin-left:auto;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}.strategy-profile-footer button{min-height:42px}
@media(max-width:760px){.strategy-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-profile-heading,.strategy-profile-form{padding:16px}.strategy-profile-active{padding:16px 16px 0}.strategy-profile-fields{padding:14px}.strategy-profile-fields .owner-broker-fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){.strategy-profile-summary{grid-template-columns:minmax(0,1fr);gap:16px}.strategy-profile-footer>span{width:100%}.strategy-profile-footer .action-result{width:100%;margin:0}.strategy-profile-footer .primary{flex:1}}
