.bo-strategy-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(111,208,190,.25);background:rgba(10,28,34,.72);color:#d7e8e6;border-radius:10px;padding:8px 10px;font:600 12px/1.1 inherit;cursor:pointer;white-space:nowrap}
.bo-strategy-btn:hover{border-color:rgba(77,220,190,.6);background:rgba(15,42,48,.9)}
.bo-strategy-btn b{font-size:10px;letter-spacing:.07em;color:#67d9c0}.bo-strategy-btn[data-profile="CUSTOM"] b{color:#f3c565}.bo-strategy-icon{font-size:15px;line-height:1}
.bo-strategy-floating{position:fixed;top:16px;right:16px;z-index:9998}
.bo-strategy-banner{margin:0 0 12px;padding:9px 14px;border:1px solid rgba(240,184,74,.35);background:rgba(93,62,9,.18);border-radius:10px;color:#e8ecec;display:flex;align-items:center;gap:10px;font-size:12px}
.bo-strategy-banner[hidden]{display:none!important}.bo-strategy-banner strong{color:#f0c66b;letter-spacing:.07em}.bo-strategy-banner span{opacity:.8;flex:1}.bo-strategy-banner button{border:1px solid rgba(240,198,107,.35);background:transparent;color:#f0c66b;border-radius:7px;padding:5px 9px;cursor:pointer}
.bo-strategy-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(1,8,12,.74);backdrop-filter:blur(8px);display:grid;place-items:center;padding:24px;box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#dce9e8}
.bo-strategy-modal{box-sizing:border-box;width:min(900px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:hidden;display:flex;flex-direction:column;border:1px solid rgba(106,204,186,.22);border-radius:18px;background:#07161b;box-shadow:0 28px 90px rgba(0,0,0,.48)}
.bo-strategy-modal>header{display:flex;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.bo-strategy-modal h2{margin:3px 0 3px;font-size:24px}.bo-strategy-modal header p{margin:0;color:#91a6a5;font-size:13px}.bo-kicker{font-size:10px;letter-spacing:.18em;color:#55d8bd;font-weight:800}.bo-close{align-self:flex-start;width:34px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.04);color:#dce9e8;font-size:24px;line-height:28px;cursor:pointer}
.bo-profile-line{display:flex;align-items:center;gap:10px;padding:11px 22px;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px;color:#93a9a7}.bo-profile-line strong{padding:4px 8px;border-radius:999px;font-size:10px;letter-spacing:.08em}.bo-profile-line strong.strict{background:rgba(52,211,153,.12);color:#62d7b2}.bo-profile-line strong.custom{background:rgba(245,187,69,.13);color:#efc36a}.bo-profile-line small{margin-left:auto;color:#819493}
.bo-rule-list{overflow:auto;padding:10px 16px 2px}.bo-rule-row{display:grid;grid-template-columns:minmax(310px,1fr) minmax(250px,.85fr);gap:18px;align-items:center;padding:13px 8px;border-bottom:1px solid rgba(255,255,255,.065)}.bo-rule-row.warning{background:rgba(117,70,4,.10);border-radius:10px}.bo-rule-main{display:flex;gap:12px;align-items:flex-start}.bo-rule-main h4{margin:1px 0 4px;font-size:14px}.bo-rule-main p{margin:0;color:#8fa3a2;font-size:11.5px;line-height:1.45}.bo-rule-fields{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.bo-switch{position:relative;display:block;flex:0 0 auto;width:40px;height:22px}.bo-switch input{position:absolute;opacity:0}.bo-switch span{display:block;width:40px;height:22px;border-radius:99px;background:#26383b;border:1px solid rgba(255,255,255,.12);cursor:pointer;transition:.15s}.bo-switch span:after{content:"";display:block;width:16px;height:16px;margin:2px;border-radius:50%;background:#9cacab;transition:.15s}.bo-switch input:checked+span{background:#0d6557;border-color:#25b69e}.bo-switch input:checked+span:after{transform:translateX(18px);background:#d8fff5}
.bo-number{display:block;min-width:112px}.bo-number>span{display:block;margin:0 0 4px;color:#7f9593;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.bo-number>div{display:flex;align-items:center;border:1px solid rgba(255,255,255,.10);background:#0b2026;border-radius:8px;overflow:hidden}.bo-number input{box-sizing:border-box;width:82px;border:0;outline:0;background:transparent;color:#e6f0ef;padding:7px 8px;font:700 12px inherit}.bo-number em{padding-right:8px;color:#71918c;font-size:11px;font-style:normal}
.bo-rule-warning{margin:10px 22px 2px;padding:10px 12px;border-radius:9px;background:rgba(28,88,78,.15);border:1px solid rgba(63,186,161,.15);display:flex;gap:9px;font-size:11px;line-height:1.45}.bo-rule-warning strong{color:#61d2b9;white-space:nowrap}.bo-rule-warning span{color:#90aaa6}
.bo-strategy-modal>footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px 20px}.bo-strategy-modal footer>div{display:flex;gap:9px}.bo-primary,.bo-secondary{border-radius:9px;padding:9px 13px;font:700 12px inherit;cursor:pointer}.bo-primary{border:1px solid #27b79d;background:#11816e;color:#effffb}.bo-secondary{border:1px solid rgba(255,255,255,.12);background:#0d2228;color:#c9d8d6}.bo-primary:disabled{opacity:.55;cursor:wait}
.bo-strategy-notice{position:fixed;z-index:2147483640;right:22px;bottom:22px;max-width:min(460px,calc(100vw - 44px));padding:11px 14px;border-radius:10px;background:#0a2528;border:1px solid rgba(64,205,176,.35);color:#dff8f1;font:600 12px/1.4 system-ui;box-shadow:0 18px 50px rgba(0,0,0,.35)}.bo-strategy-notice.error{background:#321619;border-color:rgba(246,108,112,.4);color:#ffd9da}.bo-strategy-notice[hidden]{display:none}
html[data-theme="light"] .bo-strategy-modal{background:#f6faf9;color:#18302f;border-color:#c7dcda}html[data-theme="light"] .bo-strategy-modal header p,html[data-theme="light"] .bo-rule-main p,html[data-theme="light"] .bo-profile-line{color:#617775}html[data-theme="light"] .bo-number>div{background:#fff;border-color:#d4e0df}html[data-theme="light"] .bo-number input{color:#17302e}html[data-theme="light"] .bo-secondary{background:#eef4f3;color:#294440;border-color:#d2dfdd}
@media(max-width:760px){.bo-strategy-overlay{padding:10px}.bo-strategy-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.bo-rule-row{grid-template-columns:1fr;gap:9px}.bo-rule-fields{justify-content:flex-start;padding-left:52px}.bo-strategy-modal>footer{align-items:stretch;flex-direction:column}.bo-strategy-modal footer>div{display:grid;grid-template-columns:1fr 1fr}.bo-profile-line small{display:none}.bo-strategy-btn span:nth-child(2){display:none}}
