.journal-page[data-workspace=backtesting]{--journal-sidebar:0px}
.journal-page[data-workspace=backtesting] .journal-sidebar,.journal-page[data-workspace=backtesting] .journal-toolbar{display:none}
.journal-page[data-workspace=backtesting] .journal-content{padding:0}
.ifvg-playbook{max-width:740px;margin:auto;padding:28px 8px 20px}
.ifvg-playbook .ifvg-source{font-size:12px;color:#86909d;line-height:1.6;margin-top:-6px;margin-bottom:24px}
.ifvg-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:#f5f8fe;border:1px solid #e3ebf8;border-radius:12px;padding:18px;margin:0 0 30px}
.ifvg-facts dt{font-size:12px;color:#78869b;margin:0 0 4px}.ifvg-facts dd{font-size:14px;color:#273a55;font-weight:500;margin:0;overflow-wrap:anywhere}
.ifvg-playbook section+section{border-top:1px solid #e6ebf2;margin-top:30px;padding-top:2px}
.ifvg-playbook h4{font-size:23px;line-height:1.35;margin:28px 0 16px}.ifvg-playbook h5{font-size:17px;line-height:1.5;margin:26px 0 12px;font-weight:600;color:#263344}
.ifvg-playbook ul,.ifvg-playbook ol{padding-left:24px;margin:12px 0 22px;color:#535b64}.ifvg-playbook li{padding-left:3px;margin:8px 0;line-height:1.7}
.ifvg-figure{margin:24px 0 28px;padding:14px;border:1px solid #e0e8f3;background:#fbfdff;border-radius:12px}
.ifvg-figure svg,.ifvg-diagram-pair svg{display:block;width:100%;height:auto;font-family:Arial,sans-serif}
.ifvg-figure figcaption,.ifvg-playbook .ifvg-chart-caption{font-size:12px;color:#788496;line-height:1.6;margin:12px 0 0}
.ifvg-diagram-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.ifvg-diagram-pair>div{padding:10px;border:1px solid #e0e8f3;border-radius:12px;background:#fbfdff}.ifvg-diagram-pair h5{font-size:14px;text-align:center;color:#086aff;margin:4px 0 10px}
.ifvg-setup{margin:0}.ifvg-setup>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid #e9edf3}.ifvg-setup dt{font-size:14px;font-weight:600;color:#263344}.ifvg-setup dd{margin:0;font-size:15px;line-height:1.65;color:#535b64}
.ifvg-example-steps li::marker{color:#086aff;font-weight:600}
@media(max-width:420px){.ifvg-playbook{padding-left:0;padding-right:0}.ifvg-facts{padding:14px;gap:14px}.ifvg-diagram-pair{grid-template-columns:1fr}.ifvg-diagram-pair svg{max-height:240px}.ifvg-setup>div{grid-template-columns:1fr;gap:4px}.ifvg-figure{padding:8px}}
.mb-rules-view{padding:24px 0 8px;min-width:0;container-type:inline-size}
.mb-rules-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mb-rules-heading h3{font-size:20px;font-weight:600;line-height:1.4;margin:0 0 4px}
.mb-rules-heading p{font-size:13px;color:#76808c;margin:0}
.mb-rules-status{font-size:12px;line-height:1.4;padding:6px 10px;background:#f2f5f9;border-radius:20px;color:#687484}
.mb-rules-caption{font-size:14px;color:#6d7784;line-height:1.6;margin:16px 0 24px}
.mb-rule-group{margin-top:24px;min-width:0}
.mb-rule-group>h4{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}
.mb-rule-group>h4>span{font-size:12px;font-weight:500;background:#eaf2ff;color:#086aff;border-radius:6px;padding:2px 7px;flex:none}
.mb-rule-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.mb-rule-card{border:1px solid #e2e7ee;border-radius:12px;background:#fff;min-width:0;overflow:hidden}
.mb-rule-title{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;flex-wrap:wrap}
.mb-rule-number{display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;box-sizing:border-box;border-radius:7px;background:#edf4ff;color:#086aff;font-size:12px;line-height:1;font-weight:600}
.mb-rule-title p{flex:1;min-width:120px;margin:0;font-size:15px;line-height:1.6;color:#283442;overflow-wrap:anywhere;white-space:pre-wrap}
.mb-rule-frequency{font-size:12px;color:#718094;line-height:1.5;padding:3px 8px;background:#f4f6f9;border-radius:6px}
.mb-rule-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;padding:12px 16px;background:#f8faff;border-top:1px solid #eaf0f7}
.mb-rule-metrics>div{min-width:0}.mb-rule-metrics dt{font-size:12px;line-height:1.5;color:#758091;overflow-wrap:anywhere}
.mb-rule-metrics dd{font-size:16px;line-height:1.5;font-weight:500;color:#3d4b5d;margin:3px 0 0;font-variant-numeric:tabular-nums}
.mb-rules-empty{margin-top:24px;padding:24px 20px;border:1px dashed #d7e1ee;border-radius:12px;background:#fbfcff}
.mb-rules-empty h4{font-size:16px;font-weight:500;margin:0 0 8px}.mb-rules-empty p{font-size:14px;line-height:1.6;color:#738094;margin:0}
@container(min-width:480px){.mb-rule-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
.mb-strategy-detail{position:fixed;inset:0 0 0 auto;margin:0;width:min(620px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:0;border:0;border-radius:0;background:#fff;color:#20252b;box-sizing:border-box;box-shadow:-10px 0 40px #07132926;overflow:hidden}
.mb-strategy-detail[open]{display:flex;flex-direction:column}
.mb-strategy-detail::backdrop{background:#0008}
.mb-strategy-detail.expanded{width:min(1100px,100vw)}
.mb-detail-toolbar{display:flex;justify-content:flex-end;gap:4px;padding:12px 20px;flex:none}
.mb-detail-toolbar button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:6px;background:none;color:#666;cursor:pointer}
.mb-detail-toolbar button:hover{background:#eef4ff;color:#086aff}
.mb-detail-toolbar svg{width:20px;height:20px}
.mb-detail-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 24px 36px}
.mb-detail-heading h2{font-size:26px;line-height:1.35;font-weight:500;letter-spacing:-.4px;margin:12px 0 14px;overflow-wrap:anywhere}
.mb-detail-author{display:flex;align-items:center;gap:8px;color:#777;font-size:14px;margin:16px 0 24px}
.mb-detail-author img{object-fit:contain}
.mb-detail-stats{display:flex;justify-content:center;gap:32px;border:1px solid #e6e8eb;border-radius:14px;padding:20px;margin:0 0 30px}
.mb-detail-stats dt{color:#858585;font-size:14px;margin-bottom:6px}
.mb-detail-stats dd{font-size:20px;font-weight:600;margin:0}
.mb-detail-tabs{display:flex;gap:24px;border-bottom:1px solid #e6e8eb;position:sticky;top:-24px;background:#fff;z-index:1;padding-top:8px}
.mb-detail-tabs button{background:none;border:0;border-bottom:2px solid transparent;color:#666;padding:14px 10px;font-size:16px;cursor:pointer}
.mb-detail-tabs button[aria-selected=true]{border-bottom-color:#086aff;color:#086aff}
.mb-detail-document{padding:32px 24px 16px;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.mb-detail-note-label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#888;margin-bottom:20px}
.mb-detail-note-label>span:last-child{border:1px solid #8bb4ff;color:#086aff;border-radius:30px;padding:4px 12px}
.mb-detail-document h3{font-size:27px;line-height:1.35;margin:0 0 16px;font-weight:600}
.mb-detail-document h4{font-size:20px;line-height:1.4;margin:30px 0 10px;font-weight:600}
.mb-detail-document p{margin:0 0 16px;color:#535b64}
.mb-detail-document hr{border:0;border-top:1px solid #dedfe3;margin:30px 0}
.mb-detail-rules{white-space:pre-wrap;line-height:1.7;color:#535b64}
.mb-detail-empty{padding:44px 20px;text-align:center;color:#747c86;font-size:16px;line-height:1.6}
.mb-detail-empty h3{color:#303843;font-size:20px;font-weight:500;margin:0 0 12px}
.mb-detail-footer{flex:none;border-top:1px solid #eceef1;padding:18px 24px max(18px,env(safe-area-inset-bottom));background:#fff}
.mb-detail-footer .primary-button{width:100%;min-height:48px;font-size:16px;border-radius:9px}
.mb-strategy-detail button:focus-visible{outline:2px solid #086aff;outline-offset:2px}
@media(max-width:650px){.mb-detail-scroll{padding:12px 18px 24px}.mb-detail-heading h2{font-size:23px}.mb-detail-toolbar{padding:10px 12px}.mb-detail-document{padding:24px 4px}.mb-detail-document h3{font-size:24px}.mb-detail-footer{padding:14px 18px max(14px,env(safe-area-inset-bottom))}.mb-detail-tabs{top:-12px}.mb-detail-stats{gap:28px}}
.mb-filter-dropdown{position:relative;min-width:0;z-index:5}
.mb-filter-dropdown>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:48px;border:1px solid #dedfe3;border-radius:10px;background:#fff;padding:12px 16px;font-size:16px;font-weight:500;cursor:pointer;list-style:none;color:#17191c}
.mb-filter-dropdown>summary::-webkit-details-marker{display:none}
.mb-filter-dropdown>summary svg{width:18px;height:18px;flex:none;transition:transform .15s}
.mb-filter-dropdown[open]>summary{border-color:#086aff}
.mb-filter-dropdown[open]>summary svg{transform:rotate(180deg);color:#086aff}
.mb-filter-dropdown>summary:focus-visible{outline:2px solid #086aff;outline-offset:2px}
.mb-filter-options{position:absolute;top:calc(100% + 6px);left:0;width:100%;min-width:240px;box-sizing:border-box;max-height:min(620px,65dvh);overflow-y:auto;background:#fff;border:1px solid #e2e4e8;border-radius:16px;padding:20px;box-shadow:0 1px 4px #0002}
.mb-filter-options fieldset{margin:0;padding:0;border:0;min-width:0}
.mb-filter-options fieldset+fieldset{margin-top:20px}
.mb-filter-options legend{padding:0;margin-bottom:10px;color:#666;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:1px}
.mb-filter-options label{display:flex;align-items:center;gap:14px;min-height:44px;font-size:16px;color:#17191c;cursor:pointer}
.mb-filter-options input{width:20px;height:20px;margin:0;flex:none;accent-color:#086aff;cursor:pointer}
.mb-card-author{display:flex;align-items:center;gap:8px;min-height:24px}
.mb-strategy-card>footer{position:relative}
.mb-card-view{display:none;position:absolute;inset:-10px -20px -20px;align-items:center;justify-content:center;gap:10px;background:#fff;border-top:1px solid #e6e8eb;border-radius:0 0 17px 17px;color:#086aff;font-size:16px;letter-spacing:.2px}
.mb-card-view>span{font-size:23px;line-height:1}
.mb-grid .mb-strategy-card:hover,.mb-grid .mb-strategy-card:focus-visible{border-color:#086aff}
.mb-strategy-card:hover .mb-card-author,.mb-strategy-card:focus-visible .mb-card-author{visibility:hidden}
.mb-strategy-card:hover .mb-card-view,.mb-strategy-card:focus-visible .mb-card-view{display:flex}
@media(hover:none){.mb-strategy-card .mb-card-author{visibility:hidden}.mb-strategy-card .mb-card-view{display:flex}}
@media(max-width:650px){.mb-filter-options{min-width:0}}
.manual-backtest-page{padding:24px 32px 64px;color:#17191c;max-width:2000px;margin:auto}
.mb-breadcrumb{display:flex;align-items:center;gap:14px;font-size:14px;color:#73777e;margin-bottom:16px}.mb-breadcrumb button,.mb-explain,.mb-saved button{background:none;border:0;padding:0;color:#086aff;font:inherit;cursor:pointer}.mb-breadcrumb>span[aria-hidden]{font-size:24px;line-height:1}
.manual-backtest-page>h1{font-size:28px;line-height:1.3;font-weight:500;margin:0 0 32px;letter-spacing:-.5px}
.mb-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:36px}.mb-sidebar{align-self:start;display:flex;flex-direction:column;gap:6px}.mb-nav{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;border-radius:9px;color:#666;font:inherit;font-size:16px;padding:14px 16px;cursor:pointer}.mb-nav svg{width:22px;height:22px;flex:none}.mb-nav.active{color:#086aff;background:#edf3ff;font-weight:500}.mb-or{display:flex;align-items:center;gap:10px;color:#888;font-size:13px;margin:18px 0}.mb-or::before,.mb-or::after{content:'';height:1px;flex:1;background:#e5e7eb}.mb-scratch{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:9px;font-size:16px}.mb-scratch>span{font-size:23px}.mb-explain{text-align:left;font-size:16px;margin:20px 16px}
.mb-main{min-width:0}.mb-tabs{display:flex;gap:24px;border-bottom:1px solid #e5e7eb;margin-bottom:20px}.mb-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:18px 10px 13px;font:inherit;font-size:16px;color:#62666c;white-space:nowrap;cursor:pointer}.mb-tabs button[aria-current]{color:#086aff;border-bottom-color:#086aff;font-weight:500}
.mb-filters{display:grid;grid-template-columns:minmax(160px,280px) minmax(200px,600px);gap:16px;margin-bottom:30px}.mb-filters select,.mb-search{height:48px;border:1px solid #dedfe3;border-radius:10px;background:#fff;color:#25282d;box-sizing:border-box}.mb-filters select{width:100%;padding:0 16px;font:inherit;font-size:16px}.mb-search{display:flex;align-items:center;padding:0 14px;gap:10px;min-width:0}.mb-search svg{width:20px;height:20px;flex:none;color:#949ba5}.mb-search input{border:0;background:none;outline:none;min-width:0;width:100%;font:inherit;font-size:16px;color:inherit}.mb-search:focus-within{outline:2px solid #086aff;outline-offset:2px}
.mb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mb-strategy-card{display:flex;flex-direction:column;text-align:left;min-width:0;min-height:212px;padding:20px;background:#fff;border:1px solid #e6e8eb;border-radius:18px;font:inherit;color:#17191c;cursor:pointer;box-shadow:0 1px 2px #15274b03;transition:border-color .15s}.mb-strategy-card:hover{border-color:#8db5ff}.mb-strategy-card:focus-visible{outline:2px solid #086aff;outline-offset:3px}.mb-strategy-card h2{font-size:18px;font-weight:500;line-height:1.4;margin:0 0 12px;overflow-wrap:anywhere}.mb-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}.mb-tags span{font-size:14px;line-height:1.4;border:1px solid #8bb4ff;border-radius:9px;padding:3px 7px;color:#303b4c}.mb-strategy-card>p{font-size:14px;line-height:1.6;color:#73777e;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mb-strategy-card footer{display:flex;align-items:center;gap:8px;margin-top:auto;font-size:13px;color:#7b818b}.mb-strategy-card footer img{object-fit:contain}.mb-author-dot{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eaf2ff;color:#086aff}.mb-empty{grid-column:1/-1;text-align:center;padding:60px 20px;color:#73777e}.mb-empty h2{font-size:20px;color:#25282d;font-weight:500}.mb-empty p{font-size:16px}.mb-scenario-heading{min-height:62px;margin-bottom:20px}.mb-scenario-heading h2{font-size:20px;font-weight:500;margin:10px 0}.mb-scenario-heading p{font-size:14px;color:#73777e}.mb-saved{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #dce8fd;border-radius:10px;font-size:14px;overflow-wrap:anywhere}.mb-saved button{text-align:left}.mb-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mb-date-fields label{min-width:0}.mb-setup-form>p{font-size:14px;line-height:1.6}.mb-form-status:empty{display:none}
@media(max-width:1450px){.mb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-layout{grid-template-columns:230px minmax(0,1fr);gap:28px}.mb-tabs{gap:12px}}
@media(max-width:1000px){.manual-backtest-page{padding:24px 20px 48px}.mb-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.mb-nav{padding:12px;font-size:14px}.mb-scratch{font-size:14px}.mb-grid{grid-template-columns:1fr}.mb-tabs{gap:4px;flex-wrap:wrap}.mb-tabs button{font-size:14px;padding:14px 6px}.mb-filters{grid-template-columns:1fr}.mb-strategy-card{min-height:190px}}
@media(max-width:650px){.manual-backtest-page{padding:20px 16px 40px}.manual-backtest-page>h1{font-size:25px;margin-bottom:24px}.mb-layout{grid-template-columns:1fr;gap:24px}.mb-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mb-or{display:none}.mb-nav{align-items:center}.mb-scratch{margin-top:4px}.mb-explain{font-size:14px;margin:0;text-align:center}.mb-saved{grid-column:1/-1}.mb-tabs{justify-content:space-between}.mb-filters{margin-bottom:20px}.mb-grid{gap:14px}.mb-date-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.mb-strategy-card{transition:none}}
.backtesting-page{max-width:968px;margin:0 auto;padding:64px 24px 64px;color:#161719}
.backtesting-heading{margin:0 0 30px}.backtesting-heading h1{font-size:36px;font-weight:500;letter-spacing:-.8px;line-height:1.2;margin:0 0 3px}.backtesting-heading p{font-size:16px;line-height:1.5;color:#666;margin:0}
.backtesting-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.backtesting-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dedfe3;background:#fff;border-radius:15px;box-shadow:0 1px 2px #0002}.backtesting-art{background:#f7f8fb;aspect-ratio:450/209;display:flex;align-items:center;overflow:hidden}.backtesting-art.automated{background:#edf2ff}.backtesting-art>svg{width:100%;height:auto;display:block}.backtesting-card-body{flex:1;display:flex;flex-direction:column;align-items:stretch;min-height:236px;padding:36px 22px 22px}.backtesting-card-body h2{font-size:16px;font-weight:500;line-height:1.4;letter-spacing:0;margin:0 0 15px}.backtesting-card-body h2 small{display:inline-block;font-size:10px;letter-spacing:.3px;border-radius:3px;background:#086aff;color:#fff;padding:1px 5px;margin-left:3px;vertical-align:middle}.backtesting-card-body>p{font-size:14px;color:#666;line-height:1.5;margin:0 0 18px}.backtesting-card-body .primary-button{width:100%;min-height:40px;padding:10px 12px;font-size:14px;border-radius:8px;margin-top:auto}.backtesting-plan{display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px;color:#777;margin:0 0 10px}.backtesting-plan>span{display:grid;place-items:center;border:1.5px solid #086aff;color:#086aff;width:16px;height:16px;border-radius:50%;font-weight:600}.backtesting-guide{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dedfe3;border-radius:12px;box-shadow:0 1px 2px #0002;margin-top:20px;padding:12px 16px}.backtesting-guide-icon{width:54px;flex:none}.backtesting-guide-icon svg{width:54px;height:36px}.backtesting-guide>div:nth-child(2){flex:1;min-width:0}.backtesting-guide strong{display:block;font-size:14px;font-weight:500;line-height:1.4}.backtesting-guide>div>span{display:block;color:#777;font-size:12px;line-height:1.4}.backtesting-guide .subtle-button{font-size:14px;min-height:34px;border-radius:8px;padding:7px 12px;white-space:nowrap}.backtesting-help ol{padding-left:20px;line-height:1.6;font-size:14px}.backtesting-help li{margin-bottom:12px}
@media(max-width:1000px){.backtesting-page{padding:42px 24px}.backtesting-card-body{padding:24px 18px 18px;min-height:252px}.backtesting-heading h1{font-size:32px}}
@media(max-width:760px){.backtesting-page{max-width:540px;padding:32px 18px 40px}.backtesting-choices{grid-template-columns:1fr;gap:18px}.backtesting-card-body{min-height:220px;padding:24px 20px 20px}.backtesting-heading{margin-bottom:24px}.backtesting-heading h1{font-size:30px}.backtesting-heading p{font-size:14px}.backtesting-guide{gap:10px;flex-wrap:wrap;padding:12px}.backtesting-guide-icon{width:40px}.backtesting-guide-icon svg{width:40px}.backtesting-guide strong{font-size:13px}.backtesting-guide .subtle-button{font-size:12px}.backtesting-page .primary-button{min-height:44px}}
/* Opp AI research library: tag labels remain visible independently of color. */
.mb-tags span[data-tag=Stocks]{color:#175bb0;background:#eaf2ff;border-color:#b8d1f3}
.mb-tags span[data-tag=Futures]{color:#6741ad;background:#f2edfd;border-color:#d5c5ef}
.mb-tags span[data-tag=Forex]{color:#087568;background:#e4f5f1;border-color:#aedacf}
.mb-tags span[data-tag=Options]{color:#a34718;background:#fff0e4;border-color:#edc6a8}
.mb-tags span[data-tag=Crypto]{color:#9a3e79;background:#faeaf5;border-color:#e7bfd8}
.mb-tags span[data-tag=Scalping]{color:#a1373c;background:#ffebed;border-color:#eabec3}
.mb-tags span[data-tag=Intraday]{color:#126979;background:#e9f6fb;border-color:#b9dce9}
.mb-tags span[data-tag="Swing trading"]{color:#637023;background:#f2f5e4;border-color:#d4dda9}
.mb-library-intro{margin:0 0 24px;padding:16px 20px;border:1px solid #dce6f5;border-radius:12px;background:linear-gradient(110deg,#f0f6ff,#fff)}
.mb-library-intro>strong{font-size:16px;color:#243b60;margin-right:16px}.mb-library-intro>span{font-size:13px;color:#60738c}.mb-library-intro p{font-size:13px;color:#718099;margin:7px 0 0;line-height:1.5}
.mb-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;width:100%;font-size:12px;color:#6e7c92}.mb-card-meta>span:first-child{border-radius:6px;padding:5px 8px;background:#edf4ff;color:#245ca6}.mb-card-meta strong{font-size:14px;margin-left:3px}
.mb-grid .mb-strategy-card{min-height:280px}.mb-card-risk{font-size:12px;color:#8490a2;margin:0 0 18px}.mb-detail-target{font-size:14px;line-height:1.6;color:#5d7595;margin:0}.mb-detail-target strong{color:#1769d2}
.mb-playbook{max-width:760px;margin:auto;padding:28px 0 12px;line-height:1.7;color:#48566a;overflow-wrap:anywhere}.mb-playbook h3{font-size:27px;line-height:1.35;letter-spacing:-.4px;color:#24334b;margin:12px 0}.mb-playbook h4{font-size:21px;line-height:1.4;color:#263853;margin:8px 0 16px}.mb-playbook p{font-size:14px;margin:0 0 16px}.mb-eyebrow,.mb-section-brand{font-size:10px;letter-spacing:1.5px;color:#5578ab;font-weight:600}.mb-playbook section{border-top:1px solid #e4eaf3;padding-top:26px;margin-top:30px}.mb-playbook-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0;padding:20px;border:1px solid #dfe8f4;border-radius:12px;background:#f8faff}.mb-playbook-facts dt{font-size:12px;color:#75839a;margin-bottom:4px;line-height:1.5}.mb-playbook-facts dd{font-size:17px;color:#243c60;font-weight:600;margin:0;line-height:1.5}.mb-playbook .mb-research-status{font-size:12px;line-height:1.7;color:#7c6b43;border-left:3px solid #d3b96e;padding:8px 12px;background:#fcfaf3}
.mb-playbook-downloads{display:flex;flex-wrap:wrap;gap:8px 16px}.mb-playbook-downloads a,.mb-setup-summary a{font-size:13px;color:#1762c2;text-decoration:none;border-bottom:1px solid #bcd2ef;padding-bottom:3px}.mb-playbook-downloads a:hover{text-decoration:underline}.mb-playbook a:focus-visible{outline:2px solid #1769d2;outline-offset:4px}
.mb-real-chart{margin:0;border:1px solid #dfe7f1;border-radius:12px;overflow:hidden;background:#fff}.mb-real-chart img{display:block;width:100%;height:auto;object-fit:contain}.mb-real-chart figcaption,.mb-strategy-diagram figcaption{font-size:11px;line-height:1.65;color:#748297;padding:12px 14px;border-top:1px solid #e8edf4}.mb-real-chart a,.mb-reference-links a{color:#2764b3}.mb-strategy-diagram{margin:20px 0;border:1px solid #dfe7f1;border-radius:12px;overflow:hidden}.mb-strategy-diagram svg{display:block;width:100%;height:auto}.mb-playbook ol{padding-left:22px;margin:16px 0 22px}.mb-playbook li{font-size:14px;line-height:1.8;padding-left:4px;margin:0 0 14px}.mb-playbook li::marker{color:#3769ac;font-weight:600}.mb-entry-callout,.mb-risk-example,.mb-setup-summary{padding:16px 18px;background:#f5f8fd;border:1px solid #e1e8f3;border-radius:10px;margin:20px 0}.mb-entry-callout strong,.mb-risk-example strong{font-size:14px;color:#304c72}.mb-entry-callout p,.mb-risk-example p{margin:7px 0 0}.mb-playbook .mb-session{color:#667e9e;font-size:13px}.mb-playbook .mb-footnote,.mb-footnote,.mb-playbook .mb-reference-links{font-size:12px;color:#7c899c;line-height:1.65}.mb-ifvg-reference{border-top:1px solid #e4eaf3;margin-top:24px;padding-top:18px}.mb-ifvg-reference summary{cursor:pointer;color:#396696;font-size:14px}.mb-ifvg-reference>.mb-footnote{margin-top:12px}.mb-setup-summary p{font-size:13px;line-height:1.6;margin:8px 0}.mb-setup-summary strong{font-size:14px;color:#264f8d}
@media(max-width:420px){.mb-playbook-facts{padding:14px;gap:14px}.mb-playbook-facts dd{font-size:15px}.mb-playbook h3{font-size:23px}.mb-library-intro>span{display:block;margin-top:6px}.mb-playbook-downloads{display:grid}.mb-real-chart figcaption{padding:10px}.mb-strategy-diagram{margin-left:-5px;margin-right:-5px}}
.mb-mission-marker{float:right;width:52px;height:76px;object-fit:contain;margin:-8px 0 8px 16px;pointer-events:none}.mb-playbook section::after{content:'';display:table;clear:both}.mb-playbook .mb-strategy-diagram{clear:both}
/* Volume-first confluence and exact asset/style collections. */
.mb-asset-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.mb-asset-filters button{border:1px solid #dce4ef;background:#fff;color:#52657f;padding:9px 12px;border-radius:8px;cursor:pointer;font:inherit;font-size:14px;line-height:1.5}.mb-asset-filters button span{font-size:12px;margin-left:5px;color:#77869b}.mb-asset-filters button[aria-pressed=true]{background:#edf4ff;color:#185ac1;border-color:#84ade9}.mb-asset-filters button:focus-visible{outline:2px solid #1769d2;outline-offset:2px}
.mb-strategy-group{grid-column:1/-1;min-width:0;margin-bottom:20px}.mb-strategy-group>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 16px}.mb-strategy-group>header h2{font-size:18px;line-height:1.4;color:#2f425f;margin:0;font-weight:600}.mb-strategy-group>header>span{font-size:13px;color:#7a899f;white-space:nowrap}.mb-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mb-card-priority{font-size:12px;line-height:1.5;color:#285d9e;margin:0 0 12px}.mb-group-grid .mb-strategy-card>p{-webkit-line-clamp:3}
.mb-playbook .mb-confluence{background:#f8fbff;border:1px solid #d9e6f7;border-radius:14px;padding:18px;margin:22px 0 26px}.mb-confluence-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mb-confluence-head h4{font-size:18px;margin:8px 0 10px}.mb-confluence-head button{border:0;border-bottom:1px solid #b8cae3;padding:3px 0;background:none;color:#3c638e;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.mb-playbook .mb-confluence-note{font-size:12px;line-height:1.6;color:#71839b;margin:0 0 16px}.mb-playbook .mb-confluence-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.mb-playbook .mb-confluence-list li{margin:0;padding:14px;background:#fff;border:1px solid #e3eaf4;border-radius:10px}.mb-confluence-label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mb-confluence-label>span{width:24px;height:24px;display:grid;place-items:center;background:#edf4ff;border-radius:6px;color:#3066b2;font-size:12px}.mb-confluence-label label{flex:1;min-width:100px;font-size:14px;font-weight:600;color:#2e4665;line-height:1.4}.mb-confluence-label small{display:block;font-size:12px;font-weight:400;color:#8290a3;margin-top:3px}.mb-confluence-label select{font:inherit;font-size:13px;background:#f9fbfe;color:#365370;border:1px solid #d3dfed;border-radius:6px;padding:7px 8px;max-width:100%}.mb-playbook .mb-confluence-list p{font-size:13px;line-height:1.7;margin:10px 0 0;color:#65758a}.mb-confluence-result{margin:16px 0;padding:16px;border-radius:10px;background:#eaf2ff;border:1px solid #d1e0f6}.mb-confluence-result strong{display:block;font-size:18px;color:#244f8c}.mb-confluence-result>span{display:block;font-size:13px;color:#4c709e;margin:4px 0 8px}.mb-playbook .mb-confluence-result p{font-size:13px;margin:0 0 8px}.mb-confluence-result small{font-size:12px;line-height:1.6;color:#617a9c;display:block}
@media(max-width:1450px){.mb-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.mb-group-grid{grid-template-columns:1fr}}@media(max-width:420px){.mb-playbook .mb-confluence{padding:12px}.mb-confluence-head{flex-wrap:wrap}.mb-confluence-label select{width:100%;margin-top:4px}.mb-confluence-head h4{font-size:17px}.mb-strategy-group>header h2{font-size:16px}}
/* Scenario practice flow. */
.mb-grid.mb-scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-scenario-card{min-height:255px}.mb-scenario-playbook{font-size:13px;color:#7d8795;line-height:1.5;margin:0 0 7px}.mb-scenario-date{display:flex;align-items:flex-start;gap:7px;color:#808793;font-size:13px;line-height:1.55;margin:0 0 10px}.mb-scenario-date svg{width:17px;height:19px;flex:none}.mb-scenario-symbols{margin:0 0 12px}.mb-scenario-symbols span{font-size:12px;padding:3px 7px;border-radius:7px}.mb-scenario-card .mb-card-priority{margin-bottom:5px}.mb-scenario-card>p{margin-bottom:18px}.mb-scenario-card h2{font-size:18px;margin-bottom:10px}.mb-scenario-card footer{margin-top:auto}
.mb-scenario-detail{width:min(620px,100vw);border-radius:0 0 0 16px}.mb-scenario-detail .mb-detail-scroll{padding:22px 20px 28px}.mb-scenario-heading-detail{margin-top:12px}.mb-scenario-related{padding:0;border:0;background:none;color:#2864bc;font:inherit;font-size:13px;line-height:1.5;cursor:pointer;text-align:left}.mb-scenario-related span{font-size:17px;margin-left:4px}.mb-scenario-heading-detail h2{font-size:20px;font-weight:500;line-height:1.5;margin:5px 0 10px;overflow-wrap:anywhere}.mb-scenario-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 10px}.mb-scenario-meta .mb-scenario-date{flex:1;min-width:230px;margin:0}.mb-scenario-author{display:flex;align-items:center;gap:6px;font-size:12px;color:#808793;white-space:nowrap}.mb-scenario-author img{object-fit:contain}.mb-detail-tabs.mb-scenario-tabs{gap:5px;top:-22px;margin:16px 0 0;padding-top:0;border-top:1px solid #e6e8eb}.mb-scenario-tabs button{font-size:14px;line-height:1.5;padding:13px 10px;white-space:nowrap}.mb-scenario-tabs button span{font-size:12px;display:inline-block;padding:1px 8px;border-radius:20px;background:#eaf0fc;color:#54729a;margin-left:3px}
.mb-scenario-context{padding-top:14px}.mb-scenario-callout{border-left:4px solid;border-radius:5px;padding:14px 16px;margin-bottom:16px}.mb-scenario-callout.blue{background:#eef6ff;border-color:#3595eb;color:#2583d6}.mb-scenario-callout.violet{background:#f3f2fc;border-color:#7771c4;color:#645aa7}.mb-scenario-callout.green{background:#eff8f3;border-color:#63a580;color:#39845e}.mb-scenario-callout h3{display:flex;align-items:center;gap:8px;font-size:20px;line-height:1.4;font-weight:600;margin:0 0 8px}.mb-scenario-callout p{font-size:14px;line-height:1.65;color:#637080;margin:0}.mb-scenario-callout ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.mb-scenario-callout ul li{display:flex;align-items:flex-start;gap:10px}.mb-scenario-callout ul li>span{display:grid;place-items:center;background:#e2dff5;border-radius:9px;flex:none;width:25px;height:25px;font-size:14px;margin-top:2px}.mb-scenario-callout strong{font-size:14px;color:#394f6c;font-weight:600}.mb-scenario-callout ol{margin:0;padding-left:23px}.mb-scenario-callout ol li{font-size:14px;color:#637080;line-height:1.65;margin:0 0 10px;padding-left:5px}.mb-scenario-callout ol li:last-child{margin-bottom:0}.mb-scenario-callout li::marker{color:#3c825e;font-weight:600}.mb-scenario-data-note{font-size:12px;line-height:1.6;color:#8993a1;margin:16px 0 0}
.mb-practice-periods{padding-top:22px}.mb-practice-periods h3{font-size:16px;font-weight:500;color:#31465f;margin:0 0 6px}.mb-practice-periods>p:first-of-type{font-size:12px;line-height:1.6;color:#818b99;margin:0 0 16px}.mb-practice-periods fieldset{border:0;padding:0;margin:0;min-width:0}.mb-period-row{display:grid;grid-template-columns:16px 28px minmax(100px,1fr) minmax(100px,1fr) auto;align-items:center;gap:9px;cursor:pointer;padding:15px 0;border-bottom:1px solid #eceff4;font-size:13px;line-height:1.5}.mb-period-row input{margin:0;width:15px;height:15px;accent-color:#086aff}.mb-period-number{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#eef2fc;color:#56729c}.mb-period-date{color:#334353}.mb-period-time{color:#7e8995}.mb-period-duration{font-size:12px;white-space:nowrap;padding:3px 8px;border-radius:14px;background:#f4f5f7;color:#788492}.mb-period-row:has(input:checked){background:#f7faff}.mb-period-row:focus-within{outline:2px solid #87b2f0;outline-offset:3px;border-radius:5px}
.mb-scenario-rules{padding:8px 4px 12px}.mb-scenario-rules section{margin-top:24px}.mb-scenario-rules h3{font-size:17px;line-height:1.5;font-weight:500;margin:0 0 12px;color:#2e4058}.mb-scenario-rules ul{border:1px solid #e0e5ed;border-radius:10px;background:#f7f8fa;list-style:none;padding:0;margin:0;overflow:hidden}.mb-scenario-rules li{font-size:14px;line-height:1.65;padding:13px 15px;color:#526175;overflow-wrap:anywhere}.mb-scenario-rules li+li{border-top:1px solid #e0e5ed}.mb-scenario-footer{padding:13px 20px max(15px,env(safe-area-inset-bottom))}.mb-scenario-footer .primary-button{width:auto;min-height:42px;font-size:14px;display:inline-flex;align-items:center;gap:10px;padding:10px 16px}.mb-scenario-selection{font-size:12px;line-height:1.5;color:#7f8b9b;margin:0 0 8px}.mb-scenario-setup{border:1px solid #dce6f4;border-radius:10px;padding:16px;margin:8px 0 16px;min-width:0}.mb-scenario-setup legend{font-size:13px;color:#4b6b96;padding:0 6px}.mb-scenario-setup p{font-size:13px;line-height:1.6;color:#7c8898;margin:0 0 12px}
@media(max-width:1000px){.mb-grid.mb-scenario-grid{grid-template-columns:1fr}}@media(max-width:520px){.mb-scenario-tabs button{padding:12px 7px;font-size:13px}.mb-detail-tabs.mb-scenario-tabs{gap:0}.mb-scenario-detail .mb-detail-scroll{padding:12px 16px 24px}.mb-detail-tabs.mb-scenario-tabs{top:-12px}.mb-scenario-callout{padding:12px}.mb-scenario-callout h3{font-size:18px}.mb-period-row{grid-template-columns:15px 24px minmax(90px,1fr) auto;gap:6px}.mb-period-duration{grid-column:4;font-size:11px;justify-self:start;padding:1px 6px}.mb-period-time{grid-column:4;grid-row:auto}.mb-period-row .mb-period-date{grid-row:span 2}.mb-period-row input,.mb-period-number{grid-row:span 2}.mb-scenario-meta{gap:10px}.mb-scenario-meta .mb-scenario-date{min-width:0;flex-basis:100%}}
.mb-grid .mb-scenario-card{min-height:255px}
/* Scenario explainer: branded portal preview, concise guide and fixed close action. */
#journal-dialog:has(.mb-scenario-help){width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border-radius:13px;overflow-y:auto;background:#fff;border:0;box-shadow:0 16px 50px #0003}
#journal-dialog:has(.mb-scenario-help)>#dialog-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#journal-dialog:has(.mb-scenario-help)>.dialog-close{display:none}.mb-scenario-help{color:#202b3c}.mb-help-preview{position:relative;aspect-ratio:2/1;overflow:hidden;border-radius:10px;margin:20px 24px 0;background:#f8faff;pointer-events:none;user-select:none;isolation:isolate}.mb-help-preview-stage{width:1100px;height:550px;position:absolute;top:0;left:0;transform-origin:top left;overflow:hidden;background:#fafbfe;text-align:left}.mb-help-preview-brand{height:52px;background:#10264b;display:flex;align-items:center;padding:0 24px}.mb-help-preview-brand img{width:180px;height:48px;object-fit:contain}.mb-help-preview-workspace{width:650px;padding:24px}.mb-help-preview-workspace>p{font-size:13px;color:#6d83a3;margin:0 0 16px}.mb-help-preview-workspace>p>span{padding:0 8px}.mb-help-preview-workspace>h3{font-size:23px;font-weight:500;color:#223652;margin:0 0 26px}.mb-help-preview-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px}.mb-help-preview-layout>aside{display:flex;flex-direction:column;gap:12px;font-size:14px;color:#5d6f87}.mb-help-preview-layout>aside>span,.mb-help-preview-layout>aside>strong{padding:12px;border-radius:7px;font-weight:400}.mb-help-preview-layout>aside>strong{background:#e7effd;color:#086aff}.mb-help-preview-layout>aside>.mb-help-preview-scratch{background:#086aff;color:#fff}.mb-help-preview-layout .mb-scenario-card{width:100%;margin-bottom:16px;min-height:230px}.mb-help-preview-shade{position:absolute;inset:0 480px 0 0;background:#17202c55}.mb-help-preview-drawer{display:flex;flex-direction:column;position:absolute;inset:0 0 0 auto;width:480px;background:white;box-shadow:-8px 0 20px #0001;overflow:hidden}.mb-help-preview-drawer .mb-detail-scroll{padding:8px 18px 16px;overflow:hidden}.mb-help-preview-drawer .mb-detail-toolbar{padding:6px 12px}.mb-help-preview-drawer .mb-scenario-heading-detail{margin-top:0}.mb-help-preview-drawer .mb-scenario-heading-detail h2{font-size:18px}.mb-help-preview-drawer .mb-scenario-meta{margin:12px 0 8px;gap:8px}.mb-help-preview-drawer .mb-scenario-date{font-size:11px}.mb-help-preview-drawer .mb-scenario-author{font-size:11px}.mb-help-preview-drawer .mb-scenario-tabs{margin-top:10px;position:static}.mb-help-preview-drawer .mb-scenario-tabs button{font-size:12px;padding:10px 7px}.mb-help-preview-drawer .mb-scenario-callout h3{font-size:17px}.mb-help-preview-drawer .mb-scenario-callout p{font-size:12px;line-height:1.5}.mb-help-preview-drawer .mb-scenario-callout{padding:10px 12px;margin-bottom:10px}.mb-help-preview-drawer .mb-detail-footer{padding:10px 18px}.mb-help-preview-drawer .mb-scenario-selection{display:none}.mb-help-preview-drawer .primary-button{font-size:12px;min-height:34px}.mb-scenario-help-copy{padding:24px}.mb-scenario-help-copy>h2{font-size:20px;font-weight:500;line-height:1.4;letter-spacing:0;margin:0 0 16px}.mb-scenario-help-copy>p{font-size:14px;color:#6d7480;line-height:1.65;margin:0 0 18px}.mb-scenario-help-copy>ol{list-style:none;display:grid;gap:14px;margin:0 0 22px;padding:0}.mb-scenario-help-copy>ol>li{display:flex;align-items:flex-start;gap:12px}.mb-scenario-help-copy>ol>li>span{display:grid;place-items:center;width:25px;height:25px;flex:none;font-size:13px;font-weight:600;color:#2968c5;background:#edf3ff;border-radius:50%}.mb-scenario-help-copy>ol p{font-size:14px;line-height:1.65;color:#394658;margin:0}.mb-scenario-help-copy strong{font-weight:500}.mb-scenario-help-note>strong{font-size:14px;color:#63738a}.mb-scenario-help-note>p{font-size:13px;line-height:1.65;color:#7d8898;margin:6px 0 0}.mb-scenario-help>footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding:16px;border-top:1px solid #e5e8ed;background:#fff}.mb-scenario-help>footer .primary-button{font-size:14px;min-height:40px;border-radius:8px;padding:10px 16px}
@media(max-width:480px){#journal-dialog:has(.mb-scenario-help){width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.mb-help-preview{margin:16px 16px 0}.mb-scenario-help-copy{padding:22px 18px}.mb-scenario-help-copy>h2{font-size:19px}}
#journal-dialog .mb-scenario-help-copy>h2{font-size:20px;line-height:1.4;margin:0 0 16px}#journal-dialog .mb-scenario-help-copy p{color:#6d7480}#journal-dialog .mb-scenario-help-copy>ol p{color:#394658}#journal-dialog .mb-scenario-help-note>p{font-size:13px;color:#7d8898}#journal-dialog .mb-help-preview h2{font-size:18px;margin:5px 0 10px}#journal-dialog .mb-help-preview p{font-size:12px;line-height:1.5;color:#637080}
.mb-scratch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:26px}.mb-scratch-heading h1{font-size:25px;line-height:1.3;font-weight:500;letter-spacing:-.4px;margin:0}.mb-scratch-cancel{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dedfe3;border-radius:9px;min-height:40px;padding:8px 14px;color:#17191c}.mb-scratch-cancel svg{width:19px;height:19px}.mb-scratch-main{min-width:0;padding:0 0 24px}.mb-session-form{width:min(100%,600px);margin:0 auto;border:1px solid #dedfe3;border-radius:13px;background:#fff;overflow:visible;font-size:14px;color:#606369}.mb-session-fields{padding:24px 16px 0;display:flex;flex-direction:column;gap:26px}.mb-session-fields>label,.mb-session-field,.mb-session-dates>label{display:block;min-width:0}.mb-required{color:#e44046}.mb-session-form input:not([type=checkbox]),.mb-session-form select{display:block;width:100%;box-sizing:border-box;height:40px;margin-top:7px;border:1px solid #dcdee3;border-radius:9px;padding:8px 12px;background:#fff;color:#23262c;font:inherit;min-width:0}.mb-session-form input:focus-visible,.mb-session-form select:focus-visible,.mb-symbol-picker summary:focus-visible{outline:2px solid #086aff;outline-offset:2px}.mb-session-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.mb-session-label button{font:inherit;color:#086aff;border:0;background:none;padding:0;cursor:pointer}.mb-session-field>p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#64686f}.mb-session-field>p strong{font-weight:500}.mb-session-dates{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mb-balance-input{display:flex;align-items:center;border:1px solid #dcdee3;border-radius:9px;margin-top:7px;padding-left:12px;color:#24272b}.mb-balance-input input[name=balance]{border:0;margin:0;height:38px;background:transparent}.mb-balance-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:-14px}.mb-balance-presets button{min-height:33px;border:1px solid #dcdee3;border-radius:9px;background:#fff;font:inherit;color:#17191c;cursor:pointer}.mb-balance-presets button[aria-pressed=true]{border-color:#086aff;color:#086aff;background:#edf4ff}.mb-session-form>footer{display:flex;justify-content:flex-end;padding:16px;border-top:1px solid #eceef1}.mb-session-form>footer button{min-height:40px;border-radius:9px;font-size:14px}.mb-session-note{font-size:12px;line-height:1.5;color:#727782;margin:0 0 15px}.mb-session-error{color:#b72933;font-size:14px;margin:0 0 16px}.mb-session-error:empty{display:none}.mb-symbol-picker{position:relative;margin-top:7px}.mb-symbol-picker summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:40px;border:1px solid #dcdee3;border-radius:9px;padding:8px 12px;box-sizing:border-box;list-style:none;cursor:pointer;color:#252b33}.mb-symbol-picker summary::-webkit-details-marker{display:none}.mb-symbol-selection{overflow-wrap:anywhere}.mb-symbol-picker[open] summary{border-color:#086aff}.mb-symbol-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:15;background:#fff;border:1px solid #dfe3e9;border-radius:12px;padding:14px;box-shadow:0 10px 30px #18284422}.mb-symbol-options{max-height:230px;overflow-y:auto;margin-top:10px;overscroll-behavior:contain}.mb-symbol-options fieldset{border:0;margin:0;padding:4px 0 10px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mb-symbol-options legend{font-size:12px;font-weight:600;color:#6d7582;padding:4px 0 8px}.mb-symbol-options label{display:flex;align-items:center;gap:7px;color:#252a32}.mb-symbol-options input{width:16px;height:16px;accent-color:#086aff}.mb-symbol-options label:has(input:disabled){opacity:.45}.mb-symbol-add{border:0;background:#edf4ff;color:#086aff;border-radius:6px;padding:8px 12px;margin-top:6px;font:inherit}.mb-symbol-status{margin:6px 0 0;font-size:12px;color:#b72933}.mb-symbol-status:empty{display:none}.mb-symbol-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.mb-symbol-chips:empty{display:none}.mb-symbol-chips button{font:inherit;font-size:12px;border:1px solid #b9d1f6;border-radius:6px;color:#1955aa;background:#f1f6ff;padding:4px 8px;cursor:pointer}.mb-session-form button:focus-visible{outline:2px solid #086aff;outline-offset:3px}
@media(min-width:1001px){.mb-scratch-page .mb-layout{grid-template-columns:230px minmax(0,1fr);gap:24px}.mb-scratch-main{padding-right:6%}}
@media(max-width:650px){.mb-scratch-heading h1{font-size:23px}.mb-scratch-heading{gap:8px}.mb-scratch-cancel{font-size:13px;padding:8px}.mb-scratch-page .mb-sidebar{grid-template-columns:1fr 1fr}.mb-scratch-page .mb-explain{grid-column:1/-1;text-align:left;padding:8px 12px}.mb-session-fields{padding:20px 14px 0;gap:24px}.mb-session-dates{grid-template-columns:1fr;gap:24px}.mb-balance-presets{grid-template-columns:repeat(3,1fr)}.mb-session-label{flex-wrap:wrap}.mb-scratch-page .mb-breadcrumb{font-size:12px;gap:6px}.mb-symbol-options fieldset{grid-template-columns:repeat(2,1fr)}}
.mb-symbol-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.mb-symbol-tabs button{border:1px solid #dedfe4;border-radius:8px;padding:7px 11px;background:#fff;color:#252a32;font:inherit;font-size:13px;cursor:pointer}.mb-symbol-tabs button[aria-pressed=true]{border-color:#086aff;background:#eaf2ff;color:#0758c7}.mb-symbol-count{font-size:12px;color:#78818d;margin:10px 0 3px}.mb-symbol-options{max-height:280px;margin-top:0}.mb-symbol-options .mb-symbol-row{display:flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:9px 8px;border-radius:6px;cursor:pointer;font-size:14px;line-height:1.4}.mb-symbol-row:hover{background:#f4f7fb}.mb-symbol-row.selected{background:#edf4ff}.mb-symbol-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.mb-symbol-row strong{font-weight:500;color:#222933}.mb-symbol-name{color:#707781}.mb-symbol-row small{font-size:11px;white-space:nowrap;color:#4674b4;background:#eff5ff;border-radius:5px;padding:3px 6px}.mb-symbol-row input{flex:none}.mb-symbol-row:has(input:disabled){opacity:.45;cursor:default}.mb-symbol-picker summary{justify-content:flex-start;gap:5px}.mb-symbol-picker summary>span:last-child{margin-left:auto;flex:none}.mb-symbol-picker summary .mb-symbol-chips{margin:0;display:contents}.mb-symbol-picker summary .mb-symbol-chips button{background:#f1f3f6;border:0;color:#283344;border-radius:20px;padding:3px 8px}.mb-symbol-picker summary:has(.mb-symbol-chips button){flex-wrap:wrap}.mb-symbol-selection:empty{display:none}.mb-symbol-more{display:block;width:100%;margin-top:8px;padding:9px;border:1px solid #dde7f4;border-radius:7px;background:#f4f8ff;color:#0761d1;font:inherit;font-size:13px;cursor:pointer}.mb-symbol-more[hidden]{display:none}.mb-symbol-empty{font-size:14px;line-height:1.5;color:#78818d;padding:16px 8px;margin:0}.mb-symbol-menu .mb-symbol-search-label{font-size:12px;color:#707781}.mb-symbol-menu .mb-symbol-search{height:35px;margin-top:4px}.mb-symbol-menu{padding:10px;box-shadow:0 4px 10px #18284433}
@media(max-width:650px){.mb-symbol-tabs{gap:5px}.mb-symbol-tabs button{padding:7px 9px;font-size:12px}.mb-symbol-options{max-height:230px}.mb-symbol-row small{display:none}.mb-symbol-options .mb-symbol-row{font-size:13px}.mb-symbol-name{font-size:12px}}
.mb-session-strategy-picker{position:relative;margin-top:7px}.mb-session-strategy-picker summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;box-sizing:border-box;border:1px solid #dcdee3;border-radius:9px;padding:5px 12px;list-style:none;color:#28303a;cursor:pointer}.mb-session-strategy-picker summary::-webkit-details-marker{display:none}.mb-session-strategy-picker summary>svg{width:12px;height:12px;flex:none}.mb-session-strategy-picker[open] summary{border-color:#086aff;box-shadow:0 0 0 1px #086aff}.mb-session-strategy-picker[open] summary>svg{transform:rotate(180deg)}.mb-session-strategy-picker summary:focus-visible{outline:2px solid #086aff;outline-offset:2px}.mb-selected-strategy{min-width:0}.mb-selected-strategy>button{display:flex;align-items:center;gap:8px;max-width:100%;padding:3px 8px;background:#f1f3f5;border:0;border-radius:20px;font:inherit;font-size:14px;color:#24292f;cursor:pointer}.mb-selected-strategy>button>span:first-child{overflow-wrap:anywhere;text-align:left}.mb-selected-strategy>button>span:last-child{color:#59626e;font-size:17px;line-height:1}.mb-session-strategy-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:16;border:1px solid #e5e7ec;border-radius:13px;box-shadow:0 2px 5px #18284422;background:#fff;overflow:hidden}.mb-session-strategy-options{padding:5px 0;max-height:280px;overflow-y:auto;overscroll-behavior:contain}.mb-session-strategy-options>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:33px;background:none;border:0;text-align:left;padding:8px 12px;color:#303943;font:inherit;font-size:14px;cursor:pointer}.mb-session-strategy-options>button:hover,.mb-session-strategy-options>button:focus-visible{background:#f0f5ff;outline-offset:-2px}.mb-session-strategy-options>button[aria-pressed=true]{color:#086aff;background:#edf4ff}.mb-session-strategy-menu>footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eceef1;padding:9px 12px}.mb-session-strategy-menu>footer>button{font:inherit;font-size:14px;color:#086aff;padding:3px 8px;background:none;border:0;cursor:pointer}.mb-session-strategy-search-label{display:block;padding:10px 12px 5px;font-size:12px;color:#717984}.mb-session-strategy-search-label[hidden]{display:none}.mb-strategy-picker-count{font-size:12px;color:#7c8490}.mb-strategy-picker-empty{padding:15px 12px;font-size:14px;color:#7c8490;margin:0}.mb-guided-scenario-notice{display:flex;align-items:center;gap:14px;padding:18px 16px;min-height:66px;box-sizing:border-box;background:#eef4ff;border:1px solid #93b8f4;border-radius:9px;margin-top:20px;color:#242b34;font-size:14px}.mb-guided-scenario-notice>svg{width:22px;height:22px;flex:none;color:#086aff}.mb-guided-scenario-notice>span{flex:1;line-height:1.5}.mb-guided-scenario-notice>button{border:0;background:none;color:#086aff;font:inherit;padding:7px 12px;cursor:pointer}.mb-strategy-field .mb-session-label>button{text-decoration:underline;text-underline-offset:2px}.mb-linked-scenario-list{display:grid;gap:10px}.mb-linked-scenario-list button{justify-content:flex-start;text-align:left}
@media(max-width:650px){.mb-guided-scenario-notice{gap:9px;padding:14px 10px}.mb-guided-scenario-notice>button{padding:7px}.mb-session-strategy-options{max-height:230px}}
.mb-symbol-row>.mb-market-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;overflow:hidden;border-radius:50%;background:#fff;border:1px solid #edf0f4}.mb-market-icon img{display:block;width:100%;height:100%;object-fit:contain}.mb-market-icon-custom{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;letter-spacing:-.3px;background:#edf4ff!important;color:#38679f}.mb-symbol-picker summary .mb-symbol-chips button{display:inline-flex;align-items:center;gap:5px}.mb-symbol-chips .mb-market-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;overflow:hidden;background:#fff;font-size:8px}.mb-symbol-add{display:block;width:100%;text-align:left;border:0;border-top:1px solid #e6ebf2;border-radius:0;background:#fff;padding:12px 8px 4px;margin-top:8px;font-size:14px;color:#086aff;cursor:pointer}.mb-symbol-add:hover{background:#f5f8ff}.mb-symbol-status{color:#526b89;line-height:1.5}.mb-custom-symbol-error{color:#b72933!important;font-size:14px}.mb-custom-symbol-error:empty{display:none}#journal-dialog .mb-custom-symbol-note{font-size:13px;line-height:1.6;color:#728096}
.mb-symbol-row>.mb-forex-icon{position:relative;width:28px;height:26px;flex-basis:28px;border:0;border-radius:0;background:transparent;overflow:visible}.mb-currency-icon{position:absolute;display:flex;align-items:center;justify-content:center;width:18px;height:18px;overflow:hidden;border:1.5px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dfe5ed;background:#edf3fc;box-sizing:border-box}.mb-currency-icon:first-child{left:0;top:0}.mb-currency-icon:last-child{right:0;bottom:0}.mb-currency-icon img{width:100%;height:100%;object-fit:cover}.mb-currency-code{font-size:7px;font-weight:700;color:#426185}.mb-symbol-chips .mb-forex-icon{position:relative;width:24px;height:20px;flex-basis:24px;border-radius:0;overflow:visible;background:transparent}.mb-symbol-chips .mb-currency-icon{width:15px;height:15px;border-width:1px;font-size:5px}.mb-symbol-row>.mb-futures-icon{background:#f6f9fd}.mb-futures-icon.mb-market-icon-custom{background:#eaf1ff!important;color:#275694}.mb-market-icon-custom{font-size:9px}

.mb-futures-icon img{padding:2px;box-sizing:border-box}.mb-symbol-chips .mb-futures-icon img{padding:1px}

.mb-session-prefill-notice{display:flex;align-items:flex-start;gap:16px;padding:14px 18px;background:#fff7ed;border-bottom:1px solid #f2a03b;border-radius:12px 12px 8px 8px;color:#a95808}.mb-session-prefill-notice p{flex:1;margin:0;font-size:13px;line-height:1.5}.mb-session-prefill-notice button{flex:0 0 28px;display:grid;place-items:center;width:28px;height:28px;padding:4px;border:0;border-radius:5px;background:transparent;color:#6b7785;cursor:pointer}.mb-session-prefill-notice button:hover{background:#ffedd5}.mb-session-prefill-notice button:focus-visible{outline:2px solid #086aff;outline-offset:2px}.mb-session-prefill-notice svg{width:18px;height:18px}
