:root{font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;color:#1d2433;background:#f5f6fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f5f6fa}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh;background:#f5f6fa}.side-nav{background:#182132;color:#f7f9fc;padding:22px 16px;display:flex;flex-direction:column;gap:10px}.brand{display:flex;gap:12px;align-items:center;padding:6px 6px 20px}.brand strong{display:block;font-size:21px}.brand span{color:#aeb8ca;font-size:13px}.nav-btn{border:0;border-radius:8px;background:transparent;color:#c9d2e3;display:flex;align-items:center;gap:10px;padding:11px 12px;text-decoration:none}.nav-btn.active,.nav-btn:hover{background:#27344c;color:#fff}.nav-btn:disabled{cursor:not-allowed;color:#7f8aa0;opacity:.62}.nav-btn:disabled:hover{background:transparent;color:#7f8aa0}.nav-btn.ghost{margin-top:auto;border:1px solid #35445f}.content{min-width:0;padding:22px 28px 30px}.topbar,.page-head,.panel-heading,.editor-head,.section-title,.column-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar{margin-bottom:18px}h1,h2,h3,p{margin:0}.topbar h1,.page-head h2,.panel-heading h2{font-size:24px}.heading-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;margin-left:8px;border-radius:999px;background:#eef2f7;color:#5e697b;font-size:13px;font-weight:700;vertical-align:2px}.topbar p,.page-head p,.panel-heading p,.section-title p{color:#657082;margin-top:5px}.account-box,.head-actions,.row-actions,.editor-actions{display:flex;align-items:center;gap:9px}.status-dot{width:9px;height:9px;border-radius:50%;background:#9aa4b2}.status-dot.paid{background:#246bfe}.status-dot.loading{background:#d97706}.icon-link,.primary-link{display:inline-flex;align-items:center;gap:6px;color:#246bfe;text-decoration:none}.account-action{border:0;background:transparent;padding:0}.account-action:disabled{cursor:wait;color:#8a95a6}.product-shell{min-height:100vh;background:#f5f7fb;color:#172033}.public-nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:72px;padding:14px 32px;border-bottom:1px solid rgba(210,218,232,.9);background:#ffffffeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.public-brand{display:inline-flex;align-items:center;gap:10px;min-width:max-content;color:#172033;text-decoration:none}.public-brand strong,.public-brand small{display:block}.public-brand strong{font-size:20px}.public-brand small{color:#687386;font-size:12px;margin-top:1px}.public-nav nav,.public-actions,.hero-actions{display:flex;align-items:center;gap:10px}.public-actions{min-width:260px;justify-content:flex-end}.public-nav nav a{color:#566174;font-size:14px;text-decoration:none}.public-nav nav a:hover{color:#1f5edc}.hero-actions a{text-decoration:none}.ghost-btn{border:1px solid #d4dce9;background:#fff;color:#243149;border-radius:8px;min-height:36px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.login-entry-btn{min-width:92px}.ghost-btn:disabled{cursor:not-allowed;opacity:.48}.public-status{border-radius:999px;background:#eef2f7;color:#566174;padding:6px 10px;font-size:13px;font-weight:700;white-space:nowrap}.public-status.paid{background:#eaf7ef;color:#166534}.product-hero,.product-section,.membership-band,.membership-gate,.product-boot,.public-footer{width:min(1180px,calc(100% - 40px));margin:0 auto}.product-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:42px;align-items:center;min-height:600px;padding:48px 0 30px}.hero-copy{display:grid;gap:18px}.product-eyebrow,.section-kicker{width:fit-content;border-radius:999px;background:#eaf7ef;color:#166534;padding:5px 10px;font-size:13px;font-weight:800}.hero-copy h1,.membership-gate h1,.product-boot h1{font-size:clamp(40px,5vw,56px);line-height:1.08;letter-spacing:0}.hero-copy p,.gate-copy p,.membership-band p,.public-footer span{color:#596579;line-height:1.75;font-size:16px}.hero-copy p{max-width:640px}.public-error{border:1px solid #ffd0d0;background:#fff3f3;color:#9f1d17;border-radius:8px;padding:10px 12px;display:flex;align-items:center;gap:9px;line-height:1.45}.public-error button{margin-left:auto;border:0;background:transparent;color:#1f5edc;font-weight:700}.product-preview{border:1px solid #dbe3f0;border-radius:8px;background:#fff;box-shadow:0 24px 60px #2027351a;padding:14px;display:grid;gap:14px}.preview-head,.preview-metrics,.preview-signal{border:1px solid #e1e7f1;border-radius:8px;background:#fbfcff}.preview-head{min-height:46px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px}.preview-head span{color:#657082;font-weight:700}.preview-head strong{color:#166534;font-size:13px}.preview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden}.preview-metrics div{padding:14px 12px;border-right:1px solid #e1e7f1}.preview-metrics div:last-child{border-right:0}.preview-metrics small,.preview-signal span{display:block;color:#6b7689;font-size:12px}.preview-metrics strong{display:block;margin-top:5px;font-size:22px;line-height:1.15}.preview-columns{display:grid;gap:10px}.preview-signal{padding:13px 14px;display:grid;gap:5px}.preview-signal.entry{border-color:#f1b8b1;background:#fff8f7}.preview-signal.background{border-color:#bfd1ff;background:#f7faff}.preview-signal p{color:#556276;line-height:1.5}.product-section{padding:40px 0 20px}.product-section h2,.membership-band h2{margin-top:12px;font-size:32px}.capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.feature-card{border:1px solid #dfe6f1;border-radius:8px;background:#fff;padding:16px;display:grid;gap:10px}.feature-icon{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;color:#1f5edc;background:#eef4ff}.feature-card h3{font-size:18px}.feature-card p{color:#5d687a;line-height:1.65}.membership-band{margin-top:26px;border:1px solid #dfe6f1;border-radius:8px;background:#fff;padding:22px;display:flex;justify-content:space-between;gap:18px;align-items:center}.membership-band p{margin-top:10px}.membership-gate{min-height:calc(100vh - 88px);padding:54px 0 42px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:28px;align-items:center}.gate-copy{display:grid;gap:18px}.account-summary-card{border:1px solid #dfe6f1;border-radius:8px;background:#fff;padding:20px;box-shadow:0 20px 55px #2027351a}.account-summary-card dl{display:grid;gap:12px;margin:18px 0 0}.account-summary-card dl div{border-top:1px solid #edf1f6;padding-top:12px}.account-summary-card dt{color:#657082}.account-summary-card dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}.product-boot{min-height:calc(100vh - 74px);display:flex;align-items:center;justify-content:center;gap:14px;text-align:left}.product-boot p{margin-top:8px;color:#667085}.public-footer{border-top:1px solid #dfe5ef;margin-top:34px;padding:18px 0 28px;color:#5b6678;display:flex;gap:12px;line-height:1.6}.access-gate{min-height:calc(100vh - 110px);display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,380px);gap:22px;align-items:stretch}.access-copy,.access-card{background:#fff;border:1px solid #e1e6ef;border-radius:8px;box-shadow:0 14px 35px #1821320f}.access-copy{padding:clamp(24px,4vw,46px);display:flex;flex-direction:column;justify-content:center;gap:18px}.access-eyebrow{width:fit-content;border-radius:999px;padding:5px 10px;background:#eef4ff;color:#246bfe;font-size:13px;font-weight:700}.access-copy h2{font-size:clamp(28px,4vw,42px);line-height:1.12}.access-copy p,.access-card dt{color:#657082}.access-copy p{max-width:680px;font-size:16px;line-height:1.75}.access-actions{display:flex;flex-wrap:wrap;gap:10px}.access-card{padding:22px}.access-card h3{margin-bottom:14px}.access-card dl{display:grid;gap:12px;margin:0}.access-card dl div{border-top:1px solid #edf1f6;padding-top:12px}.access-card dd{margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}.toast{position:fixed;right:22px;top:18px;z-index:30;border:1px solid #d5dbe7;border-left:4px solid #246bfe;background:#fff;border-radius:8px;padding:10px 12px;display:flex;align-items:flex-start;gap:10px;min-width:280px;max-width:min(420px,calc(100vw - 28px));box-shadow:0 10px 30px #18213226}.toast.success{border-color:#bfe5cc;border-left-color:#1a7f37;background:#f1fbf5}.toast.warning{border-color:#f4d7a1;border-left-color:#d97706;background:#fff8eb}.toast.error{border-color:#f0b8b2;border-left-color:#d92d20;background:#fff5f4}.toast.loading{border-color:#c8d8ff;border-left-color:#246bfe;background:#f6f9ff}.toast-icon{color:#246bfe;display:grid;place-items:center;margin-top:2px}.toast.success .toast-icon{color:#1a7f37}.toast.warning .toast-icon{color:#d97706}.toast.error .toast-icon{color:#d92d20}.toast span:not(.toast-icon){display:grid;gap:3px;min-width:0}.toast strong{font-size:14px}.toast small{color:#5f6b7d;line-height:1.4}.toast-close{width:26px;height:26px;border:0;background:transparent;margin-left:auto}.modal-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:#1118275c;padding:18px}.auth-modal{width:min(620px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid #dce2ec;border-radius:8px;box-shadow:0 18px 55px #18213238}.confirm-modal{width:min(430px,100%);background:#fff;border:1px solid #dce2ec;border-radius:8px;box-shadow:0 18px 55px #18213238}.modal-head{display:flex;justify-content:space-between;gap:16px;padding:18px 18px 12px;border-bottom:1px solid #edf0f5}.modal-head h2{font-size:22px}.modal-head p{color:#657082;margin-top:5px}.modal-head.compact{padding:16px 16px 12px}.auth-form,.account-settings-panel{display:grid;gap:14px;padding:18px}.auth-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;background:#eef2f7;padding:4px;border-radius:8px}.auth-tabs button{border:0;border-radius:6px;background:transparent;min-height:34px;color:#596579}.auth-tabs button.active{background:#fff;color:#1d2433;box-shadow:0 1px 3px #1821321f}.auth-form label{display:grid;gap:7px;color:#4c576b;font-weight:700}.auth-form input{min-height:40px;border:1px solid #d5dce8;border-radius:8px;padding:9px 11px;color:#1d2433}.auth-message{padding:10px 12px;border-radius:8px;background:#eef2f7;color:#4b5565}.auth-message.success{background:#eaf7ef;color:#166534}.auth-message.error{background:#fff0f0;color:#b42318}.modal-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.confirm-actions{display:flex;justify-content:flex-end;gap:9px;padding:14px 16px 16px}.account-settings-panel dl{display:grid;gap:10px;margin:0}.account-settings-panel dl div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px}.account-settings-panel dt{color:#657082}.account-settings-panel dd{margin:0;color:#1d2433;overflow-wrap:anywhere}.account-subpanel{border:1px solid #e4e9f2;border-radius:8px;padding:12px;display:grid;gap:8px}.account-subpanel h3{font-size:16px}.account-subpanel p{color:#657082;font-size:13px;line-height:1.55}.inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.inline-form input[type=text],.inline-form input[type=password],.inline-form input:not([type]){min-height:38px;border:1px solid #d5dce8;border-radius:8px;padding:8px 10px;min-width:min(260px,100%)}.compact-check{display:inline-flex;align-items:center;gap:6px;color:#4c576b;font-size:13px;white-space:nowrap}.trial-modal{width:min(420px,calc(100vw - 28px));background:#fff;border-radius:8px;border:1px solid #dce3ef;box-shadow:0 24px 70px #1821323d;padding:24px;display:grid;gap:14px}.trial-badge{width:fit-content;border-radius:999px;background:#eaf7ef;color:#166534;padding:5px 10px;font-weight:700;font-size:13px}.trial-modal p{color:#657082;line-height:1.6}.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.workspace-main,.side-panel,.strategy-list,.strategy-editor,.editor-section,.opportunity-column{background:#fff;border:1px solid #e1e6ef;border-radius:8px}.workspace-main,.strategy-list,.strategy-editor{padding:18px;box-shadow:0 18px 44px #2027350f}.side-panel,.opportunity-column,.editor-section{padding:14px}.tool-btn,.primary-btn,.mini-toggle,.segmented-check{border:1px solid #d5dce8;background:#fff;color:#253044;border-radius:8px;min-height:36px;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-btn{background:#246bfe;color:#fff;border-color:#246bfe}.tool-btn:disabled,.primary-btn:disabled,.mini-toggle:disabled{cursor:not-allowed;opacity:.45}.tool-btn.danger{color:#b42318;border-color:#ffd0d0}.segmented-check input{display:none}.segmented-check:has(input:checked){border-color:#246bfe;color:#246bfe;background:#eef4ff}.metrics-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.metric{border:1px solid #e0e6f0;border-radius:8px;padding:12px;background:#fafbfe}.metric span{display:block;color:#677286;font-size:13px}.metric strong{font-size:24px;display:block;margin-top:5px}.metric.entry strong{color:#c3362c}.metric.background strong{color:#246bfe}.opportunity-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.column-title{margin-bottom:10px}.column-title span{display:flex;align-items:center;gap:7px}.symbol-card{width:100%;display:grid;gap:5px;border:1px solid #e1e7f0;background:#fff;border-radius:8px;text-align:left;padding:12px;margin-top:8px}.symbol-card.entry{border-color:#e2aaa6}.symbol-card.background{border-color:#a8c3f6}.symbol-card:hover{border-color:#246bfe}.symbol-code{color:#687588;font-size:13px}.symbol-card strong{font-size:17px}.symbol-card small,.symbol-card span:last-child{color:#687588}.card-extra{width:fit-content;border-radius:999px;background:#eef2f7;color:#4d5a6e;font-size:12px;font-weight:700;padding:3px 7px}.empty-list,.empty-rule,.empty-panel,.loading-block,.error-box,.filter-note,.legacy-backtest{border:1px dashed #cbd4e2;border-radius:8px;padding:14px;color:#697588;background:#fafbfe}.loading-block{display:flex;align-items:center;gap:8px}.error-box{border-color:#e7aaa4;color:#9d2d24;background:#fff5f4}.filter-note{margin:0 0 12px;border-color:#b9cdf7;color:#244a86;background:#f4f7ff}.right-rail dl,.drawer-metrics{display:grid;gap:12px}.right-rail dt,.drawer-metrics dt{color:#717c8f;font-size:13px}.right-rail dd,.drawer-metrics dd{margin:3px 0 0;font-weight:700}.strategy-grid{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:20px;align-items:start}.strategy-list,.strategy-editor{border-color:#e4e8f0}.strategy-editor{padding:16px}.panel-heading.compact{margin-top:22px}.strategy-login-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;border:1px solid #b8cdf8;background:#f4f8ff;border-radius:8px;padding:12px}.strategy-login-card p{color:#657082;margin-top:5px}.strategy-items,.system-list,.rule-stack{display:grid;gap:10px;margin-top:12px}.editor-stack{display:grid;gap:14px;margin-top:0}.strategy-row,.system-card{border:1px solid #e3e7ef;border-radius:8px;padding:12px;background:#fff}.strategy-row{cursor:pointer;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.strategy-row.active{border-color:#bda46f;background:#fffdf8;box-shadow:inset 3px 0 #9b7b3d,0 12px 28px #3b2d1414}.strategy-row:hover,.strategy-row:focus-visible{border-color:#c8d2e1;background:#fbfcff;outline:none}.strategy-row-main{width:100%;text-align:left;display:grid;gap:5px;padding:0}.strategy-row-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.strategy-row-main span,.system-card p{color:#687588}.row-badge{border-radius:999px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1.2}.row-badge.draft{color:#9a5b00;background:#fff2c7}.row-badge.selected{color:#1d4ed8;background:#e8f0ff}.row-actions{margin-top:10px}.strategy-loading-state,.editor-loading-state{display:flex;align-items:center;gap:8px;border:1px solid #e0e6f0;border-radius:8px;background:#f9fbff;color:#5e6b7f;padding:12px;margin-top:12px}.editor-loading-state{margin-top:0;justify-content:center;min-height:160px}.mini-toggle{min-height:32px;padding:6px 9px}.mini-toggle.on{border-color:#246bfe;color:#246bfe;background:#eef4ff}.system-card{display:grid;gap:9px}.empty-panel.compact{padding:12px;font-size:13px}.system-note{width:fit-content;border-radius:999px;background:#eef2f7;color:#5e697b;padding:4px 8px;font-size:12px;font-weight:700}.strategy-summary-card{display:grid;gap:7px;border:1px solid #eadfca;background:#fffdf8;border-radius:8px;padding:12px}.strategy-summary-card span{color:#4f5c70;line-height:1.5}.editor-top-card{position:sticky;top:14px;z-index:5;display:grid;gap:12px;border:1px solid #e0e5ee;border-radius:8px;background:#fffffff5;padding:15px;box-shadow:0 18px 42px #2027351a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.editor-head{align-items:flex-start;border-bottom:0;padding-bottom:0}.editor-head>div:first-child{display:grid;gap:7px;min-width:0}.editor-actions{flex-wrap:wrap;justify-content:flex-end}.editor-status-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.editor-verify{width:fit-content;border-radius:999px;background:#f0f3f8;color:#566174;padding:4px 8px;font-size:12px;font-weight:700}.editor-state{width:fit-content;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}.editor-state.saved{color:#166534;background:#eaf7ef}.editor-state.dirty{color:#9a5b00;background:#fff2c7}.editor-state.readonly{color:#586474;background:#eef2f7}.editor-head label,.period-grid label,.rule-param-grid label{display:grid;gap:6px;color:#657082;font-size:13px}.editor-head input,.period-grid select,.rule-card-head select,.rule-param-grid select,.rule-param-grid input{border:1px solid #ccd5e3;border-radius:8px;padding:9px 10px;min-height:38px;background:#fff;color:#1d2433}.editor-head input{min-width:min(440px,44vw);border-color:transparent;border-bottom-color:#dfe5ee;border-radius:0;background:transparent;padding:7px 0 8px;font-size:22px;font-weight:700;color:#1d2433}.editor-head input:focus{outline:none;border-bottom-color:#9b7b3d}.period-grid{display:grid;grid-template-columns:minmax(0,180px);gap:12px;margin-top:12px}.strategy-editor-tabs{display:flex;gap:8px;overflow-x:auto;border:1px solid #e1e6ef;border-radius:8px;background:#f8f9fc;padding:6px;scrollbar-width:thin}.strategy-tab{flex:1 1 120px;min-width:0;min-height:42px;border:1px solid transparent;border-radius:8px;background:transparent;color:#5d687a;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;white-space:nowrap;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease,color .14s ease}.strategy-tab small{color:#8a94a5;font-weight:700}.strategy-tab:hover,.strategy-tab:focus-visible{color:#263145;background:#fff;outline:none}.strategy-tab.active{border-color:#d6c39d;background:#fff;color:#1f2937;box-shadow:0 8px 22px #3e311814}.strategy-tab.active .tab-icon,.strategy-tab.active small{color:#8a6a2e}.tab-icon{display:grid;place-items:center;color:#718096}.strategy-tab-panel{min-width:0}.overview-section{display:grid;gap:14px}.strategy-overview-grid{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(260px,1fr);gap:12px}.period-config-card,.overview-metrics>div{border:1px solid #e4e8f0;border-radius:8px;background:#fff;padding:13px}.period-config-card h4{margin:0 0 6px;font-size:16px}.direction-segment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}.direction-segment button{border:1px solid #d8dee9;border-radius:6px;background:#f8fafc;color:#334155;font-weight:650;padding:9px 10px;cursor:pointer}.direction-segment button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.direction-segment button.direction-up.active{border-color:#dc2626;background:#fef2f2;color:#b91c1c}.direction-segment button.direction-down.active{border-color:#16a34a;background:#f0fdf4;color:#15803d}.direction-segment button:disabled{cursor:not-allowed;opacity:.65}.overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.overview-metrics span{display:block;color:#687588;font-size:13px}.overview-metrics strong{display:block;margin-top:6px;color:#1f2937;font-size:26px}.rule-row{display:grid;grid-template-columns:28px minmax(0,1fr) 34px;gap:8px;align-items:center}.rule-row>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#eef2f7;color:#596477;font-size:13px}.rule-card-config{display:grid;gap:10px;border:1px solid #e4e8f0;border-radius:8px;padding:12px;background:#fff;box-shadow:0 10px 24px #2027350a}.rule-card-head{display:grid;grid-template-columns:28px minmax(0,1fr) 34px;gap:8px;align-items:center}.rule-index{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#eef2f7;color:#596477;font-size:13px}.rule-param-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:2px}.rule-help{color:#687588;line-height:1.45;font-size:13px}.icon-only{width:34px;height:34px;border:1px solid #d7deea;border-radius:8px;display:grid;place-items:center;background:#fff}.legacy-backtest{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:0}.drawer{position:fixed;top:0;right:0;width:min(420px,100vw);height:100vh;background:#fff;border-left:1px solid #dce2ec;box-shadow:-16px 0 40px #18213229;padding:18px;z-index:20;overflow:auto}.drawer-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.drawer-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.tool-btn.favorite.active{color:#9a6700;border-color:#efd071;background:#fff8db}.drawer-head span,.muted{color:#6f7a8d}.reason-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:10px}.reason-list li{border:1px solid #e1e7f0;border-radius:8px;padding:10px;display:grid;gap:5px}.strategy-evidence{display:grid;gap:8px;margin-top:14px}.strategy-panel-tabs{display:flex;gap:6px;max-width:100%;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.strategy-panel-tab{flex:0 0 min(178px,58vw);min-width:0;border:1px solid #e1e7f0;border-radius:8px;background:#fff;color:#263145;padding:7px 9px;text-align:left;display:grid;gap:2px}.strategy-panel-tab strong,.strategy-panel-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-panel-tab strong{font-size:13px}.strategy-panel-tab span{color:#687588;font-size:11px}.strategy-panel-tab.active{border-color:#9bb8f3;background:#f5f8ff;box-shadow:inset 0 -3px #246bfe}.strategy-panel-tab.muted{opacity:.66}.strategy-evidence-panel{border:1px solid #e1e7f0;border-radius:8px;padding:10px;display:grid;gap:8px}.strategy-evidence-panel.muted-panel{background:#fafbfe}.strategy-evidence-meta,.strategy-warning-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.strategy-evidence-meta span,.strategy-evidence-meta strong,.strategy-warning-strip span{border-radius:999px;padding:3px 7px;font-size:12px;line-height:1.25;background:#eef2f7;color:#596579}.strategy-evidence-meta strong{background:#eaf7ef;color:#166534}.strategy-warning-strip span{background:#fff2c7;color:#8a5200}.strategy-evidence-copy{color:#687588;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-rule-sections{display:grid;gap:7px}.strategy-rule-row{display:grid;grid-template-columns:54px minmax(0,1fr);gap:6px;align-items:start;border-top:1px solid #edf1f6;padding-top:7px}.rule-row-head{display:grid;gap:2px;padding-top:2px}.rule-row-head strong{font-size:13px}.rule-row-head span{color:#687588;font-size:11px}.rule-pill-strip{display:flex;gap:6px;min-width:0;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.rule-pill{flex:0 0 auto;min-height:28px;max-width:210px;border:1px solid #dfe6f0;border-radius:999px;background:#fff;color:#263145;padding:4px 8px;display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.15}.rule-pill span,.rule-pill strong,.rule-pill em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rule-pill span{color:#596579;font-weight:700}.rule-pill strong{max-width:92px}.rule-pill em{color:#768297;font-style:normal}.rule-pill.pass{border-color:#c7ead4;background:#f1fbf5}.rule-pill.pass span{color:#166534}.rule-pill.warn{border-color:#f0d98a;background:#fff9df}.rule-pill.warn span{color:#9a5b00}.rule-pill.fail{border-color:#ffc9c9;background:#fff6f6}.rule-pill.fail span{color:#b42318}.rule-pill.neutral{background:#f8fafc}.rule-pill.active{border-color:#246bfe;box-shadow:0 0 0 2px #246bfe1f}.rule-pill.static{cursor:default}.rule-note-bar{grid-column:2;border-radius:8px;background:#f7f9fd;color:#4f5c70;padding:7px 9px;display:grid;gap:3px;font-size:12px;line-height:1.4}.rule-note-bar strong{color:#263145}.rule-state{border-radius:999px;padding:3px 7px;font-size:12px;font-style:normal;font-weight:700;background:#eef2f7;color:#596579}.rule-state.pass{color:#166534;background:#eaf7ef}.rule-state.warn{color:#9a5b00;background:#fff2c7}.rule-state.fail{color:#b42318;background:#fff0f0}.primary-link{margin-top:18px;border:1px solid #246bfe;border-radius:8px;padding:10px 12px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:980px){.app-shell,.page-grid,.strategy-grid,.access-gate,.product-hero,.membership-gate,.opportunity-layout{grid-template-columns:1fr}.public-nav{align-items:flex-start;flex-wrap:wrap;padding:12px 16px}.public-nav nav{order:3;width:100%;overflow-x:auto;padding-bottom:2px}.public-actions{margin-left:auto;min-width:220px}.product-hero,.product-section,.membership-band,.membership-gate,.product-boot,.public-footer{width:min(100% - 28px,760px)}.product-hero,.membership-gate{min-height:0;padding:34px 0 26px}.hero-copy h1,.membership-gate h1,.product-boot h1{font-size:38px}.capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-band,.public-footer{align-items:flex-start;flex-direction:column}.side-nav{position:sticky;top:0;z-index:10;flex-direction:row;overflow-x:auto;padding:10px}.brand{padding:0 10px 0 0}.nav-btn.ghost{margin-top:0}.content{padding:14px}.metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar,.page-head,.editor-head{align-items:flex-start;flex-direction:column}.editor-head input{min-width:0;width:100%}.access-copy,.access-card{padding:18px}.strategy-editor{padding:14px}.editor-top-card{position:static}.editor-actions{justify-content:flex-start}.strategy-editor-tabs{padding:5px}.strategy-tab{flex:0 0 auto;min-width:138px}.strategy-overview-grid,.rule-param-grid{grid-template-columns:1fr}.overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.legacy-backtest{align-items:flex-start;flex-direction:column}.toast{left:14px;right:14px;top:12px;min-width:0}}@media(max-width:560px){.public-nav nav{display:none}.public-actions,.hero-actions{width:100%;align-items:stretch;flex-direction:column;min-width:0}.public-actions .primary-btn,.public-actions .ghost-btn,.hero-actions .primary-btn,.hero-actions .ghost-btn,.membership-band .primary-btn{width:100%}.hero-copy h1,.membership-gate h1,.product-boot h1{font-size:32px}.preview-metrics,.capability-grid{grid-template-columns:1fr}.preview-metrics div{border-right:0;border-bottom:1px solid #e1e7f1}.preview-metrics div:last-child{border-bottom:0}.overview-metrics{grid-template-columns:1fr}.editor-actions,.row-actions{width:100%}.editor-actions .tool-btn,.editor-actions .primary-btn,.row-actions .mini-toggle{flex:1 1 auto}.inline-form,.access-actions{align-items:stretch;flex-direction:column}.inline-form input[type=text],.inline-form input[type=password],.inline-form input:not([type]){width:100%}}
