/* Exchange BOT flows and management share Astarter's components and tokens. */
body:has(#product-page>.bh-root){position:fixed;inset:0;width:100%;overflow:clip}
body[data-page="strategies"] #product-page:has(.bh-root),
body[data-page="execution"] #product-page:has(.bh-root){padding:0;background:var(--surface);overflow-x:hidden;overflow-y:auto;display:block;overscroll-behavior-y:contain;scrollbar-gutter:stable}
#product-page>.bh-root{max-width:none;margin:0}
.bh-root{--bh-muted:var(--muted);--bh-line:var(--line);--bh-tile:var(--surface-2);font:14px/1.5 var(--sans);color:var(--text);min-width:0}
.bh-root *{box-sizing:border-box}
.bh-root h1,.bh-root h2,.bh-root h3,.bh-root p,.bh-root dl,.bh-root dd{margin:0}
.bh-root button,.bh-root input,.bh-root select{font:inherit}
.bh-root button{cursor:pointer;color:inherit}
.bh-root button:disabled{cursor:default;opacity:.45}
.bh-root button:focus-visible,.bh-root input:focus-visible,.bh-root select:focus-visible,.bh-root summary:focus-visible{outline:2px solid var(--optical-focus);outline-offset:3px}
.bh-root svg,.bh-create-choices svg{width:20px;height:20px;flex:none;vertical-align:middle}
.bh-root button{border:0;background:transparent}
.bh-root .bh-button,.bh-create-choices .bh-button{min-height:44px;padding:10px 20px;border-radius:10px;border:1px solid var(--bh-line,var(--line));background:var(--bh-tile,var(--surface-2));font-weight:600;color:var(--text);white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.bh-root .bh-button:hover{background:var(--accent-soft);border-color:var(--accent)}
.bh-root .bh-primary{background:var(--text);border-color:var(--text);color:var(--surface)}
.bh-root .bh-primary:hover{background:var(--accent);border-color:var(--accent);color:var(--action-fg)}
.bh-root .bh-profit{color:var(--ok,#0e7956)}
.bh-root .bh-loss{color:var(--error,#bb3d56)}
.bh-overview{padding:0 var(--b-page-gutter,24px) 48px}
.bh-suggestions{min-width:0;display:flex;flex-direction:column}
.bh-suggestions>header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:16px}
.bh-suggestions>header .bh-text-button{min-height:44px;white-space:nowrap;flex:none}
.bh-suggestions h2{font-size:18px;font-weight:500}
.bh-suggestion-grid{display:flex;gap:16px;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-x:contain;scrollbar-width:none;padding:6px 2px 20px;margin:-6px -2px -20px}
.bh-suggestion-grid::-webkit-scrollbar{display:none}
.bh-suggestion-grid:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.bh-suggestion{display:flex;flex-direction:column;flex:0 0 calc((100% - 48px)/4);min-width:0;scroll-snap-align:start;border:1px solid var(--bh-line);border-radius:24px;background:var(--surface)}
.bh-suggestion>header{display:flex;align-items:center;gap:10px;min-height:46px}
.bh-suggestion>header>div{min-width:0}
.bh-suggestion h3{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:500;overflow-wrap:anywhere}
.bh-suggestion>header>div>span{font-size:12px;line-height:1.6;color:var(--bh-muted);display:block;margin-top:3px;padding-left:42px}
.bh-suggestion-tags{display:flex;gap:6px;flex-wrap:wrap;font-size:12px;color:var(--bh-muted)}
.bh-suggestion-tags>span{padding:3px 7px;border:1px solid var(--bh-line);border-radius:4px}
.bh-suggestion>p{font-size:14px;line-height:1.65;text-wrap:pretty}
.bh-suggestion .bh-suggestion-issue{color:var(--warning,var(--bh-muted));font-size:13px}
.bh-suggestion>footer{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:6px}
.bh-root .bh-suggestion-source{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding:4px 0;min-height:36px;color:var(--bh-muted);font-size:13px}
.bh-suggestion-source svg{width:14px;height:14px}
.bh-suggestion-source:hover{color:var(--text)}
.bh-suggestion .bh-button{font-size:13px;padding-inline:10px;white-space:normal}
.bh-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,200px)) 1fr;gap:16px;padding:24px 0 32px;align-items:start}
.bh-overview-metrics span{color:var(--bh-muted);font-size:14px}
.bh-overview-metrics strong{display:block;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:6px;line-height:1.3}
.bh-overview-metrics .bh-running-link{text-align:left;padding:0}
.bh-running-link svg{width:14px;height:14px}
.bh-running-link:hover span{color:var(--accent-ink)}
.bh-category-tabs{display:flex;gap:24px;align-items:center;margin-bottom:16px;border-bottom:1px solid var(--bh-line)}
.bh-category-tabs button{position:relative;padding:10px 0;font-size:14px;font-weight:500;border-radius:0;min-height:44px;color:var(--bh-muted)}
.bh-category-tabs button[aria-pressed="true"]{color:var(--text)}
.bh-category-tabs button:hover{color:var(--accent-ink)}
.bh-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bh-type-grid .bh-type-card{background:var(--bh-tile);border-radius:16px;padding:24px 24px 0;min-height:192px;text-align:left;display:flex;flex-direction:column;border:1px solid transparent;transition:border-color .15s}
.bh-type-card:hover{border-color:var(--accent)}
.bh-type-icon{margin-bottom:16px;color:var(--text);display:block}
.bh-type-icon svg{width:27px;height:27px}
.bh-type-card h3{font-size:20px;font-weight:500;line-height:1.4}
.bh-type-card p{margin-top:6px;color:var(--bh-muted);font-size:14px}
.bh-type-card footer{margin-top:auto;padding:20px 0 18px;border-top:1px solid var(--bh-line);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--bh-muted)}
.bh-type-card h3+p{margin-bottom:28px}
.bh-type-card footer svg{width:16px;height:16px}
.bh-catalog{margin-top:52px}
.bh-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.bh-section-heading h2,.bh-help h2{font-size:18px;font-weight:500;letter-spacing:0}
.bh-text-button{display:flex;align-items:center;gap:8px;padding:8px 0;color:var(--bh-muted)}
.bh-text-button:hover{color:var(--accent-ink)}
.bh-text-button svg{width:16px;height:16px}
.bh-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.bh-filter-options{display:flex;align-items:center;gap:12px;min-width:0}
.bh-root select{appearance:auto;max-width:100%;border:1px solid var(--bh-line);border-radius:10px;min-height:44px;background:var(--surface);color:var(--text);padding:7px 30px 7px 12px}
.bh-root select option{color:var(--text);background:var(--surface)}
@supports(appearance:base-select){
 #product-page .bh-root select::picker(select){min-inline-size:200px;inline-size:max(200px,anchor-size(width));max-inline-size:calc(100vw - 32px)}
 #product-page .bh-root .bh-sort select::picker(select){position-area:block-end span-inline-start}
}
.bh-search{position:relative;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--bh-line);border-radius:10px;background:var(--surface);height:44px;min-width:0;max-width:240px}
.bh-search svg{width:18px;height:18px;color:var(--bh-muted)}
.bh-search input{width:100%;min-width:0;background:transparent;color:var(--text);border:0;padding:8px 0;outline:none;font-size:14px}
.bh-search:focus-within{border-color:var(--optical-focus)}
.bh-root .bh-filter-chip{height:44px;padding:6px 13px;border:1px solid var(--bh-line);border-radius:10px;white-space:nowrap}
.bh-filter-chip[aria-pressed="true"]{color:var(--text);background:var(--bh-tile);border-color:var(--bh-line)}
.bh-sort select{font-size:14px;min-width:156px}
.bh-strategy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--b-panel-gap,16px)}
.bh-strategy-card{border:1px solid var(--bh-line);border-radius:12px;padding:20px;min-width:0;background:var(--surface)}
.bh-strategy-card:hover{border-color:color-mix(in srgb,var(--text) 40%,var(--bh-line))}
.bh-strategy-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bh-strategy-card>header>div{display:flex;align-items:center;gap:10px;min-width:0}
.bh-strategy-card h3{font-size:18px;line-height:1.45;font-weight:500;letter-spacing:0}
.bh-strategy-card header span{font-size:12px;color:var(--bh-muted)}
.bh-strategy-card .bh-card-symbol{width:40px;height:40px;border:1px solid var(--bh-line);display:grid;place-items:center;background:var(--bh-tile);border-radius:10px;color:var(--text);flex:none}
.bh-card-symbol svg{width:21px;height:21px}
.bh-exit-rule{display:flex;justify-content:flex-end;align-items:center;gap:4px}
.bh-existing-run{margin:24px 0;border-top:1px solid var(--bh-line);padding-top:22px}
.bh-existing-run>h2{font-size:18px;font-weight:600;margin-bottom:16px}
.bh-root .bh-icon-button{width:44px;height:44px;display:grid;place-items:center;flex:none;color:var(--bh-muted);border-radius:6px}
.bh-icon-button:hover{background:var(--bh-tile)}
.bh-icon-button[aria-pressed="true"]{color:var(--text)}
.bh-icon-button[aria-pressed="true"] svg{fill:currentColor}
.bh-icon-button svg{width:17px;height:17px}
.bh-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.bh-tags span{background:var(--bh-tile);color:var(--bh-muted);padding:3px 7px;border-radius:4px;font-size:12px}
.bh-strategy-card .bh-card-context{min-height:3em;margin:12px 0 16px;font-size:14px;line-height:1.5;color:var(--text);text-wrap:pretty}
.bh-return{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0;min-height:54px}
.bh-return>div>span{font-size:12px;color:var(--bh-muted);display:flex;align-items:center;gap:5px}
.bh-return strong{font-size:24px;line-height:1.2;font-weight:500;letter-spacing:-.7px;margin-top:8px;display:block;font-variant-numeric:tabular-nums}
/* Only normalized paper results appear beside returns, never price or mechanism paths. */
.bh-root .bh-run-curve{width:98px;height:50px;overflow:visible;flex:none}
.bh-run-curve polyline{stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.bh-run-curve .bh-curve-area{fill:currentColor;opacity:.12;stroke:none}
.bh-run-curve circle{fill:currentColor;stroke:var(--surface);stroke-width:1}
.bh-run-curve .bh-curve-baseline{stroke:var(--bh-line);stroke-width:1;stroke-dasharray:2 3;fill:none}
.bh-run-curve:hover polyline{stroke-width:2.3}
.bh-card-facts{display:grid;gap:6px;margin:0 0 16px!important;font-size:14px}
.bh-card-facts>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.bh-card-facts dt{color:var(--bh-muted);flex:none}
.bh-card-facts dd{text-align:right;overflow-wrap:anywhere;max-width:64%}
.bh-strategy-card>.bh-button{width:100%}
.bh-strategy-card>header>div{align-items:flex-start}
.bh-strategy-card h3{min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bh-strategy-card>header>div>div{min-width:0}
.bh-strategy-card>header>div>div>span{display:block;margin-top:3px;line-height:1.5}
.bh-info{position:relative;display:inline-flex;font-weight:400;text-align:left}
.bh-info>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:var(--b-info-target,44px);height:var(--b-info-target,44px);color:var(--bh-muted)}
.bh-info>summary::-webkit-details-marker{display:none}
.bh-info p{position:absolute;top:26px;left:-150px;width:260px;max-width:calc(100vw - 40px);z-index:10;background:var(--surface);border:1px solid var(--bh-line);box-shadow:0 8px 24px #0002;border-radius:8px;padding:12px 14px;color:var(--text);font-size:12px;line-height:1.7}
.bh-help{padding-top:64px}
.bh-help h2{margin-bottom:20px}
.bh-help>details{border-bottom:1px solid var(--bh-line)}
.bh-help>details>summary{list-style:none;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-size:16px}
.bh-help>details p{padding:0 0 22px;max-width:800px;color:var(--bh-muted);line-height:1.75}
.bh-help>details svg{width:17px;height:17px;transition:transform .15s}
.bh-help>details[open] svg{transform:rotate(90deg)}
.bh-filter-empty{padding:64px;grid-column:1/-1;text-align:center;color:var(--bh-muted);display:grid;justify-items:center;gap:16px}
.bh-assets{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100%;align-items:start}
.bh-sidebar{border-right:1px solid var(--bh-line);padding:18px 14px 32px;min-height:100%;position:sticky;top:0}
.bh-sidebar{height:calc(100dvh - 60px);min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
.bh-sidebar button{text-align:left;width:100%;min-height:48px;padding:12px 14px;border-radius:10px;display:flex;align-items:center;gap:12px;font-weight:500;font-size:14px}
.bh-sidebar button:hover{background:var(--bh-tile)}
.bh-sidebar-home{margin-bottom:16px}
.bh-sidebar-home[aria-current="page"]{background:var(--bh-tile)}
.bh-sidebar h2{font-size:12px;font-weight:400;color:var(--bh-muted);padding:12px 14px 8px}
.bh-sidebar section{margin-bottom:17px}
.bh-sidebar-item[aria-pressed="true"]{color:var(--text);background:var(--bh-tile)}
.bh-sidebar svg{width:18px;height:18px}
.bh-sidebar i{font:12px var(--sans);color:var(--accent-ink);border:1px solid var(--accent);border-radius:3px;padding:0 3px;margin-left:auto}
.bh-sidebar-back{border-top:1px solid var(--bh-line)!important;border-radius:0!important;color:var(--bh-muted)!important;margin-top:20px}
.bh-sidebar-back svg{transform:rotate(180deg)}
.bh-assets-main{min-width:0;width:100%;padding:24px var(--b-page-gutter,24px) 48px}




.bh-assets-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}
.bh-assets-heading .bh-assets-title{position:static;width:auto;height:auto;padding:0;margin:0!important;overflow:visible;clip:auto;clip-path:none;white-space:normal;font-size:24px;font-weight:500;letter-spacing:-.35px}
.bh-assets-heading>div{display:flex;gap:8px;flex-wrap:wrap}
.bh-assets-heading .bh-button{background:transparent;font-size:13px;font-weight:500;padding:8px 14px}
.bh-assets-summary{display:grid;grid-template-columns:minmax(220px,1fr) 2.3fr;gap:32px;align-items:start;padding:24px 0 28px;border-top:1px solid var(--bh-line);border-bottom:1px solid var(--bh-line)}
.bh-total>span{color:var(--bh-muted);font-size:14px;display:flex;align-items:center;gap:6px}
.bh-total>strong{font-size:34px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-1px;display:block;line-height:1.4;margin-top:6px}
.bh-total>strong small{font-size:16px;font-weight:500;letter-spacing:0}
.bh-total p{margin-top:6px;color:var(--bh-muted);font-size:12px}
.bh-total p b{font-weight:400;margin-left:5px;color:var(--text);white-space:nowrap}
.bh-assets-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:12px 0 12px 28px;border-left:1px solid var(--bh-line);min-height:100px;align-items:start}
.bh-assets-stats dt{font-size:12px;line-height:1.6;color:var(--bh-muted)}
.bh-assets-stats dt span{white-space:nowrap}
.bh-assets-stats dd{margin-top:9px;font-size:18px;font-weight:500;font-variant-numeric:tabular-nums}
.bh-assets-tabs{display:flex;gap:32px;border-bottom:1px solid var(--bh-line);padding-top:6px;overflow-x:auto;scrollbar-width:none}
.bh-assets-tabs button{position:relative;min-height:60px;padding:18px 0;white-space:nowrap;font-size:15px;font-weight:500;color:var(--bh-muted)}
.bh-assets-tabs button[aria-selected="true"]{color:var(--text)}
.bh-assets-tabs button[aria-selected="true"]:after{content:"";height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--text);border-radius:2px}
.bh-assets-filters{display:flex;gap:24px;align-items:center;padding:20px 0 24px;min-width:0}
.bh-assets-filters>span{font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:10px;border:1px solid var(--bh-line);border-radius:5px;padding:5px 10px}
.bh-assets-filters>span svg{width:12px;height:12px;transform:rotate(90deg)}
.bh-type-filters{display:flex;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin;max-width:100%;padding-bottom:4px}
.bh-type-filters button{font-size:14px;white-space:nowrap;border-radius:0;border-bottom:2px solid transparent;padding:5px 11px;color:var(--bh-muted);min-height:44px}
.bh-type-filters button[aria-pressed="true"]{border-bottom-color:var(--text);color:var(--text)}
.bh-type-filters button:hover{color:var(--accent-ink)}
.bh-assets-list{min-height:400px;min-width:0;outline:none}
.bh-empty{padding:64px 20px 80px;display:flex;flex-direction:column;align-items:center;text-align:center}
.bh-root .bh-empty-art{width:82px;height:82px;stroke:var(--bh-muted);stroke-width:1.3;opacity:.55;margin-bottom:20px}
.bh-empty h2{font-size:16px;font-weight:500}
.bh-empty p{color:var(--bh-muted);font-size:14px;margin:8px 0 24px;max-width:360px;line-height:1.6}
.bh-empty>div{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.bh-assets .bot-instances>.section-heading{display:none}
.bh-assets .bot-instances{display:grid;gap:18px}
.bh-assets .bot-instance{border-radius:16px;background:var(--surface);box-shadow:none}
.bh-assets .bot-instance h3{font-size:20px;font-weight:500}
.bh-assets .bot-instance-metrics strong{font-size:22px}
.bh-assets .trading-saved-plans{margin-top:28px;padding:0;background:none}
.bh-assets .trading-saved-plans>.section-heading{padding:0 0 16px;display:flex}
.bh-assets .trading-saved-plans>.section-heading h2{font-size:17px}
.bh-saved-plans{border-top:1px solid var(--bh-line);margin-top:12px}
.bh-saved-plans>summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:500;list-style:none}
.bh-saved-plans>summary svg{width:16px;height:16px;transition:transform .15s}
.bh-saved-plans[open]>summary svg{transform:rotate(90deg)}
.bh-assets .bh-saved-plans .trading-saved-plans{margin-top:4px}
.bh-assets .bh-strategy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.bh-error{padding:20px;border:1px solid var(--error,#bb3d56);border-radius:8px;color:var(--error,#bb3d56)}
.bh-create-choices{display:grid;gap:12px}
.bh-create-choices .bh-button{display:flex;text-align:left;justify-content:flex-start;gap:16px;padding:18px;min-height:80px;white-space:normal}
.bh-create-choices .bh-button>svg:last-child{margin-left:auto}
.bh-create-choices b{font-size:16px;font-weight:600;display:block}
.bh-create-choices small{display:block;margin-top:4px;font-size:14px;color:var(--muted);font-weight:400}
.product-dialog[open]:has(.bh-create-choices){display:flex;flex-direction:column;padding:0;width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
.product-dialog:has(.bh-create-choices)>.p-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:16px 20px;border-bottom:1px solid var(--line);margin:0}
.product-dialog:has(.bh-create-choices)>.p-dialog-head h2{margin:0;font-size:20px;font-weight:600;line-height:1.4}
.product-dialog:has(.bh-create-choices)>.p-dialog-head .p-dialog-close{position:static;width:44px;height:44px;min-width:44px;padding:0;display:grid;place-items:center;margin:0}
.product-dialog:has(.bh-create-choices)>.p-dialog-body{min-height:0;overflow-y:auto;padding:16px 20px 20px}
.bh-create-choices .bh-button>span{min-width:0;flex:1}
.bh-capability{padding:8px 0 20px}
.bh-capability p{line-height:1.8;color:var(--muted)}
.bh-capability-icon{display:inline-grid;place-items:center;width:44px;height:44px;background:var(--accent-soft);color:var(--accent-ink);border-radius:9px}
@media(min-width:1600px){.bh-assets-stats{padding:22px 28px}.bh-assets-summary{grid-template-columns:1fr 2.3fr;gap:60px}}
@media(max-width:1199px){.bh-strategy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bh-assets{grid-template-columns:210px minmax(0,1fr)}.bh-sidebar{padding-inline:10px}.bh-sidebar button{padding-inline:10px;font-size:14px;gap:9px}.bh-assets-summary{grid-template-columns:1fr;gap:22px}.bh-assets-stats{grid-template-columns:repeat(3,minmax(0,1fr));border-left:0;border-top:1px solid var(--bh-line)}.bh-assets .bh-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.bh-overview{padding-inline:var(--b-page-gutter,24px)}.bh-hero{gap:24px;padding-top:24px;min-height:0}.bh-hero p{font-size:14px;max-width:300px}.bh-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-type-card{min-height:190px}.bh-filter-bar{flex-wrap:wrap}.bh-filter-options{flex:1;flex-wrap:wrap}.bh-assets-tabs{gap:24px}.bh-assets-tabs button{font-size:14px}.bh-assets-filters{gap:12px;flex-direction:column;align-items:flex-start}.bh-assets-stats{gap:14px;padding:18px}.bh-assets-main{padding:20px var(--b-page-gutter,24px)}.bh-assets-list .bot-instance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 .bh-overview{padding:0 20px 40px}.bh-hero{padding:28px 0 24px;min-height:0;display:block}.bh-hero h1{font-size:24px;letter-spacing:-.4px}.bh-hero p{font-size:14px;margin-top:10px;max-width:none}.bh-overview-metrics{grid-template-columns:1fr 1fr;gap:20px 16px;padding:22px 0 28px}.bh-overview-metrics span{font-size:12px}.bh-overview-metrics strong{font-size:21px}.bh-metric-cta{display:flex;align-items:end;justify-content:flex-end;height:100%}.bh-metric-cta .bh-button{min-height:44px;padding:8px 16px;font-size:14px}.bh-category-tabs{gap:20px;margin-bottom:12px}.bh-category-tabs button{font-size:14px;min-height:44px;padding:10px 0}.bh-type-grid{gap:12px}.bh-type-grid .bh-type-card{padding:18px 15px 0;min-height:194px;border-radius:10px}.bh-type-card h3{font-size:17px}.bh-type-card p{font-size:12px;line-height:1.6}.bh-type-icon{margin-bottom:15px}.bh-type-icon svg{width:23px;height:23px}.bh-type-card h3+p{margin-bottom:20px}.bh-type-card footer{font-size:12px;padding:13px 0;gap:4px}.bh-type-card footer svg{width:13px;height:13px}.bh-catalog{margin-top:32px}.bh-section-heading{margin-bottom:18px}.bh-section-heading h2,.bh-help h2{font-size:18px;letter-spacing:0}.bh-text-button{font-size:12px}.bh-filter-bar{display:grid;gap:12px;margin-bottom:18px;grid-template-columns:1fr}.bh-filter-options{display:grid;grid-template-columns:1fr auto;gap:10px}.bh-filter-options>label:first-child{grid-column:1}.bh-filter-options>label:first-child select{width:100%}.bh-filter-options .bh-search{grid-column:1/-1;grid-row:2;max-width:none}.bh-filter-options .bh-filter-chip{grid-column:2;grid-row:1;font-size:12px}.bh-sort select{min-width:0;width:100%}.bh-strategy-grid{grid-template-columns:1fr;gap:var(--b-panel-gap,12px)}.bh-strategy-card{padding:20px}.bh-strategy-card h3{font-size:18px}.bh-tags span{font-size:12px}.bh-return{margin-top:22px}.bh-card-facts{font-size:14px;gap:11px}.bh-root .bh-run-curve{width:110px}.bh-help{padding-top:38px}.bh-help>details>summary{font-size:14px;min-height:60px}.bh-help>details p{font-size:14px}.bh-filter-empty{padding:40px 16px}
 .bh-assets{display:block}.bh-sidebar{display:none}.bh-assets-main{padding:20px var(--b-page-gutter,16px) 32px}.bh-assets-summary{padding-bottom:20px;gap:20px}.bh-total>strong{font-size:32px}.bh-total>span{font-size:12px}.bh-total p{font-size:12px}.bh-assets-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px;padding:18px;border-radius:9px}.bh-assets-stats dt{font-size:12px}.bh-assets-stats dd{font-size:19px;margin-top:5px}.bh-assets-tabs{padding-top:4px;gap:23px;max-width:100%}.bh-assets-tabs button{min-height:55px;font-size:14px;padding-block:16px}.bh-assets-filters{padding:16px 0 20px;gap:10px}.bh-assets-filters>span{font-size:12px}.bh-type-filters{width:100%;padding-bottom:6px}.bh-type-filters button{min-height:44px;padding:7px 12px;font-size:12px}.bh-empty{padding:44px 12px 64px}.bh-empty h2{font-size:17px}.bh-empty p{font-size:14px}.bh-empty>div{width:100%;gap:10px}.bh-empty .bh-button{flex:1;font-size:12px;padding:9px 12px;min-height:44px}.bh-assets-list{min-height:300px}.bh-assets .bh-strategy-grid{grid-template-columns:1fr}.bh-assets .bot-instance{padding:18px 16px}.bh-assets .bot-instance h3{font-size:18px}.bh-assets .bot-instance>header{gap:10px;flex-wrap:wrap}.bh-assets .bot-instance-identity{min-width:0}.bh-assets .bot-instance-identity h3>span:not(.brand-pair){display:block;margin:3px 0}.bh-assets .bot-instance-identity small{white-space:normal;overflow-wrap:anywhere;font-size:12px}.bh-assets .bot-instance-metrics{gap:18px 12px}.bh-assets .bot-instance-metrics strong{font-size:21px}.bh-assets .bot-instance-balance{flex-direction:column;align-items:flex-start;gap:7px}.bh-assets .bot-instance-actions{flex-wrap:wrap}.bh-assets .bot-instance .sc-button{min-height:44px;font-size:14px;white-space:normal}.bh-assets .bot-history-orders{max-width:100%;overflow-x:auto}.bh-assets .bot-approved-plan{overflow-wrap:anywhere}.bh-assets .bot-parameter-facts>div{gap:12px}.bh-assets .sc-my-card{padding:18px 16px}.bh-assets .sc-my-identity h3{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.bh-root *{transition:none!important}}
@media(max-width:767px){.bh-hero{padding-block:20px}.bh-hero .bh-advisor{margin-top:16px;padding:9px 14px}.bh-hero .bh-advisor svg{width:18px;height:18px}}
@media(max-width:1199px){.bh-overview-start{grid-template-columns:1fr}.bh-overview-start .bh-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;gap:18px}.bh-overview-start .bh-metric-cta{height:auto;align-self:center}}
@media(max-width:767px){.bh-suggestion{flex-basis:calc(100% - 22px)}.bh-suggestion>footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.bh-suggestion .bh-button{padding-inline:14px}.bh-overview-start .bh-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:20px}.bh-overview-start .bh-overview-metrics strong{font-size:22px}.bh-overview-start .bh-metric-cta{margin:0}.bh-suggestions>header{gap:8px}.bh-suggestions h2{font-size:18px}.bh-suggestion-source{min-height:44px!important}.bh-overview-start{gap:20px;margin-bottom:24px}}
@media(max-width:767px){.bh-assets-heading{align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.bh-assets-heading>div{width:100%}.bh-assets-heading .bh-button{flex:1;min-width:0;padding-inline:10px}.bh-assets .bh-assets-stats{padding:18px 0 0;border-radius:0}.bh-assets-stats>div:last-child{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;border-top:1px solid var(--bh-line);padding-top:14px}.bh-assets-stats>div:last-child dd{margin:0}}

.bh-assets-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0}
.bh-account{display:block;color:var(--bh-muted);font-size:12px;margin-top:7px}
.bh-assets-nav{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--bh-line)}
.bh-assets-nav .bh-assets-tabs{flex:1;min-width:0;border-bottom:0}
.bh-assets-actions{display:flex;gap:10px;flex:none}
.bh-assets-actions .bh-button{min-height:44px;padding:7px 13px;font-size:12px}
.bh-assets .bh-empty{padding-top:28px;padding-bottom:50px}
.bh-assets .bh-empty-art{width:70px;height:70px;margin-bottom:18px}
@media(max-width:1100px){.bh-assets-nav{align-items:stretch;gap:0;flex-wrap:wrap}.bh-assets-actions{order:-1;justify-content:flex-end;width:100%;padding-top:18px}.bh-assets-nav .bh-assets-tabs{flex-basis:100%}}
@media(max-width:767px){.bh-assets-title{position:static;width:auto;height:auto;margin:0 0 22px!important;overflow:visible;clip:auto;clip-path:none;white-space:normal;font-size:24px;font-weight:500;letter-spacing:-.35px}.bh-assets-actions{justify-content:space-between;padding:16px 0 4px}.bh-assets-actions .bh-button{min-height:44px;padding:8px 15px;font-size:14px}.bh-assets .bh-empty{padding:32px 6px 40px}.bh-assets .bh-empty-art{width:70px;height:70px}.bh-account{font-size:12px}}

#product-page:has(>.bh-root){padding:0!important}
#product-page .bh-root details.bh-info{padding:0;margin:0;border:0;background:none;box-shadow:none}
#product-page .bh-root details.bh-info>summary{padding:0;margin:0;border:0;line-height:1}
#product-page .bh-root .bot-instances>.section-heading{display:none!important}

.bh-assets .bot-instance-identity:has(.brand-pair)>.brand-mark{display:none}
.bh-assets .bot-instance-identity h3>.brand-pair{display:inline-flex;align-items:center;vertical-align:middle;margin:0 8px 0 0;gap:2px}
.bh-access-note{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;margin-bottom:16px;border:1px solid var(--bh-line);border-radius:9px;background:var(--bh-tile)}
.bh-access-note b{font-size:14px;font-weight:500}
.bh-access-note p{font-size:12px;color:var(--bh-muted);margin-top:5px}
.bh-access-note .bh-button{font-size:12px;min-height:44px;padding:8px 13px}
@media(max-width:767px){.bh-access-note{align-items:flex-start;flex-direction:column;gap:12px;padding:15px 16px}.bh-access-note .bh-button{min-height:44px}.bh-access-note p{line-height:1.6}}

.bh-retained{margin-top:22px}
.bh-retained>h2{font-size:18px;font-weight:500;margin:0 0 16px}
.bh-retained>h2 span{color:var(--bh-muted);font-size:14px;margin-left:7px}

#product-page .bh-root .bh-search input{border:0;background:transparent;box-shadow:none;padding:0;outline:0;min-height:0;border-radius:0}
#product-page .bh-root .bh-search input:is(:focus,:focus-visible){outline:0!important;box-shadow:none!important}
.bh-search:focus-within{outline:2px solid var(--optical-focus);outline-offset:2px}

.bh-overview-metrics>div>span,.bh-overview-metrics .bh-running-link>span{display:flex;align-items:center;gap:6px;min-height:22px;line-height:22px}

#product-page .bh-existing-run .p-head{display:block;min-height:0;padding:0;margin:0 0 16px}
#product-page .bh-existing-run .p-head>div:first-child{display:none}
#product-page .bh-existing-run .p-head>.p-actions{display:flex;width:100%;align-items:stretch;flex-wrap:wrap;gap:8px}
#product-page .bh-existing-run .p-head>.p-actions>:is(button,a){min-width:0;min-height:44px;white-space:normal}
@media(max-width:767px){#product-page .bh-existing-run .p-head>.p-actions>:is(button,a){flex:1 1 calc((100% - 16px)/3);min-height:44px;padding:9px 8px;font-size:12px;line-height:1.4;text-align:center;justify-content:center}}

#product-page .bh-existing-run .p-head>.p-actions>:is(button,a){min-height:44px!important}
@media(min-width:1440px){.bh-overview{padding-inline:var(--b-page-gutter,24px)}}
@media(min-width:768px){.bh-overview .bh-strategy-card{display:flex;flex-direction:column}.bh-strategy-card>.bh-button{margin-top:auto}}
@media(max-width:767px){.bh-overview{padding-inline:var(--b-page-gutter,16px)}.bh-strategy-card{padding:18px}.bh-return{margin:22px 0}.bh-card-facts{gap:8px}.bh-overview-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:767px){body:has(#product-page>.bh-root)>.mascot-pocket{display:none}}

/* One bound run: state and actions, then holdings, chart and optional records. */
#product-page .bh-existing-run .execution-bot-embedded .execution-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
#product-page .bh-existing-run .execution-bot-embedded .contract-run{padding:20px;border:1px solid var(--bh-line);border-radius:10px;background:var(--surface);box-shadow:none}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading h2{font-size:18px;line-height:1.4;margin:0}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading .p-actions{width:auto;display:flex;flex:0 0 auto;flex-wrap:wrap;gap:10px;margin:0}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading .p-button{width:auto;min-height:44px;padding:10px 18px}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:16px 0;border-top:1px solid var(--bh-line)}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-facts>div{display:block;padding:0;min-width:0;border:0}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-facts dt{font-size:12px;color:var(--bh-muted);line-height:1.5}
#product-page .bh-existing-run .execution-bot-embedded .execution-strategy-facts dd{margin:7px 0 0;text-align:left;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#product-page .bh-existing-run .execution-bot-embedded .execution-settings{margin:0;border-top:1px solid var(--bh-line)}
#product-page .bh-existing-run .execution-bot-embedded .execution-settings>summary{padding:12px 0;min-height:44px;font-size:14px}
#product-page .bh-existing-run .execution-bot-embedded .execution-run-context{margin:0 0 16px;gap:12px;flex-wrap:wrap;font-size:12px}
#product-page .bh-existing-run .execution-bot-embedded .execution-position{padding:16px 20px;min-height:0;border-radius:10px;box-shadow:none}
#product-page .bh-existing-run .execution-bot-embedded .execution-position .section-heading{margin:0 0 8px}
#product-page .bh-existing-run .execution-bot-embedded .execution-position-empty{min-height:0;padding:12px 0}
#product-page .bh-existing-run .execution-bot-embedded .execution-position-empty h3{font-size:14px;margin:0}
#product-page .bh-existing-run .execution-bot-embedded .execution-position-empty p{display:none}
#product-page .bh-existing-run .execution-bot-embedded .execution-technical>summary{min-height:48px;padding-block:14px;font-size:14px}
@media(max-width:767px){
 #product-page .bh-existing-run .execution-bot-embedded .contract-run{padding:16px}
 #product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading{flex-direction:column;align-items:stretch;gap:16px}
 #product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading .p-actions{width:100%;flex-wrap:wrap}
 #product-page .bh-existing-run .execution-bot-embedded .execution-strategy-heading .p-button{flex:1 1 120px;padding-inline:10px;white-space:normal}
 #product-page .bh-existing-run .execution-bot-embedded .execution-strategy-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 #product-page .bh-existing-run .execution-bot-embedded .execution-position{padding:16px}
}

.bh-sidebar-item>span{min-width:0;display:grid;gap:3px}
.bh-sidebar-item b{font-size:14px;font-weight:500;line-height:1.5}
.bh-sidebar-item small{font-size:12px;color:var(--bh-muted);font-weight:400;line-height:1.4}
.bh-root .bh-filter-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.bh-filter-chip>svg{width:16px;height:16px}
.bh-run-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin:0 0 24px;border:1px solid var(--bh-line);border-radius:8px}
.bh-run-notice p{margin:0;line-height:1.6;color:var(--bh-muted)}
.bh-assets .bh-run-target:focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px;box-shadow:none}
@media(max-width:767px){
 .bh-run-notice{flex-direction:column;align-items:flex-start}
 .bh-overview .bh-filter-bar{position:sticky;top:0;z-index:15;background:var(--surface);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--bh-line)}
 .bh-overview .bh-filter-options{display:contents}
 .bh-root .bh-filter-options>label:first-child{grid-column:1;grid-row:1}
 .bh-root .bh-sort{grid-column:2;grid-row:1;min-width:0}
 .bh-root .bh-filter-options .bh-search{grid-column:1/-1;grid-row:2;margin-right:54px;height:44px;max-width:none}
 .bh-root .bh-filter-options .bh-filter-chip{grid-column:2;grid-row:2;justify-self:end;width:44px;height:44px;padding:0}
 .bh-root .bh-filter-options .bh-filter-chip>span{display:none}
 .bh-overview .bh-filter-bar select{min-height:44px}
}

/* Bitget overview hierarchy; application controls remain owned by the shared VI. */
#product-page .bh-root .bh-button{min-height:var(--b-touch-height,44px)}
#product-page .bh-overview .bh-overview-hero{display:flex;align-items:center;gap:12px;min-height:0;padding:24px 0;margin:0;flex-wrap:wrap}
.bh-hero-copy{min-width:0;margin-right:auto}
#product-page .bh-overview .bh-overview-hero h1{font-size:var(--b-title,28px);line-height:1.35;font-weight:500;letter-spacing:0;margin:0}
#product-page .bh-overview .bh-overview-hero p{font-size:14px;line-height:1.7;color:var(--bh-muted);max-width:52ch;margin:0;text-wrap:pretty}
.bh-root .bh-advisor-banner{display:inline-flex;align-items:center;gap:8px;flex:none;width:auto;min-height:44px;padding:8px 12px;text-align:left;border:1px solid var(--bh-line);border-radius:var(--b-control-radius,8px);background:var(--surface);font-size:14px;line-height:20px}
.bh-guide-symbol{display:grid;place-items:center;width:18px;height:18px;flex:none;color:var(--text)}
.bh-guide-symbol svg{width:18px;height:18px}
.bh-advisor-banner>span:nth-child(2){min-width:0}
.bh-advisor-banner b{font-size:16px;line-height:1.5;font-weight:500}
.bh-advisor-banner>span>span{font-size:13px;line-height:1.6;color:var(--bh-muted)}
.bh-advisor-banner>svg{width:18px;height:18px;color:var(--bh-muted)}
.bh-advisor-banner:hover{border-color:var(--b-line-strong,var(--text))}
.bh-overview-account{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;margin:0;padding:22px 0 28px;border-top:1px solid var(--bh-line)}
.bh-overview-account .bh-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:40px;flex:1 1 420px;max-width:760px;margin:0;padding:0;border:0}
.bh-overview-account .bh-overview-metrics>div,.bh-overview-account .bh-running-link{display:grid;grid-template-rows:1fr auto;align-content:start;min-width:0;text-align:left;padding:0}
.bh-overview-account .bh-overview-metrics>div>span,.bh-overview-account .bh-running-link>span{display:flex;align-items:center;flex-wrap:wrap;align-content:center;gap:4px;min-height:44px;color:var(--bh-muted);font-size:13px;line-height:1.5}
.bh-overview-account .bh-overview-metrics small{font:inherit;white-space:nowrap}
.bh-overview-account .bh-equity-label>span{font:inherit;min-width:0}
.bh-overview-account .bh-equity-label>.bh-info{flex:none}
.bh-overview-account .bh-overview-metrics>div>.bh-equity-label{flex-wrap:nowrap}
.bh-overview-account .bh-overview-metrics strong{display:block;margin-top:3px;font-size:24px;line-height:1.35;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bh-overview-account .bh-running-link svg{width:14px;height:14px}
.bh-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 1 auto;max-width:100%;margin-inline-start:auto}
.bh-root .bh-account-actions .bh-button{min-height:44px;min-width:0;padding:10px 14px;font-weight:500;line-height:1.4;white-space:normal}
.bh-root .bh-account-actions .bh-button:not(.bh-primary),.bh-root .bh-advisor-banner{border-color:var(--b-control-line,var(--bh-line));background:var(--surface);background-image:none;box-shadow:none}
.bh-root .bh-account-actions .bh-button:not(.bh-primary):hover,.bh-root .bh-advisor-banner:hover{background:var(--surface-2);border-color:var(--b-ink,var(--text))}
.bh-account-actions>.bh-button>svg{width:18px;height:18px}
.bh-catalog .bh-section-heading{flex-wrap:wrap}
.bh-catalog-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.bh-catalog-tools .bh-button{max-width:100%;white-space:normal}
.bh-root .bh-text-button{min-height:44px;display:inline-flex;align-items:center;gap:6px;font-size:14px;white-space:normal}
.bh-library-area{padding-top:24px}
.bh-overview .bh-products{margin:0 0 48px}
#product-page .bh-overview .bh-category-tabs.segmented{display:inline-flex;align-items:stretch;gap:3px;width:max-content;max-width:100%;margin:0 0 18px;padding:3px;border:1px solid var(--b-line);border-radius:9px;background:var(--b-soft);overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;--optical-selection:var(--b-panel)}
#product-page .bh-overview .bh-category-tabs.segmented>button{min-height:44px;padding:8px 12px;border-radius:6px;border-bottom:0}
.bh-result-count{margin-left:8px;color:var(--b-muted);font:400 13px/1.5 var(--sans);font-variant-numeric:tabular-nums}
.bh-overview .bh-category-tabs>button{white-space:nowrap;flex-shrink:0}
.bh-overview .bh-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
.bh-launch-card{position:relative;display:flex;flex-direction:column;gap:18px;min-width:0;min-height:212px;padding:24px;background:var(--surface-2);border:1px solid transparent;border-radius:var(--b-panel-radius,16px);transition:border-color 160ms ease}
.bh-launch-symbol{display:grid;place-items:center;flex:none;width:32px;height:32px;color:var(--text)}
.bh-launch-symbol svg{width:30px;height:30px}
.bh-launch-copy{min-width:0}
.bh-launch-copy h3{font-size:18px;line-height:1.5;font-weight:500;letter-spacing:0;text-wrap:pretty}
#product-page .bh-overview .bh-launch-copy p{margin-top:6px;font-size:14px;line-height:1.65;color:var(--bh-muted);text-wrap:pretty}
.bh-launch-card>footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:auto}
.bh-launch-card>footer>span{font-size:12px;line-height:1.5;color:var(--bh-muted)}
.bh-launch-action{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;margin-left:auto;padding:4px 0;font-size:14px;font-weight:500;white-space:nowrap}
.bh-launch-action::after{content:'';position:absolute;inset:0;border-radius:var(--b-panel-radius,16px)}
.bh-launch-action svg{width:16px;height:16px}
.bh-launch-card:hover{border-color:var(--b-line-strong,var(--bh-line))}
.bh-launch-card:has(.bh-launch-action:focus-visible){outline:2px solid var(--optical-focus);outline-offset:4px}
.bh-root .bh-launch-action:focus-visible{outline:none}
.bh-overview .bh-type-card{padding:24px;min-height:212px;border:1px solid transparent;border-radius:var(--b-panel-radius,16px);background:var(--surface-2)}
.bh-overview .bh-type-card:hover{border-color:var(--b-line-strong,var(--bh-line))}
.bh-overview .bh-type-card h3{font-size:18px;line-height:1.5;font-weight:500}
.bh-overview .bh-type-card footer{border:0;min-height:44px;padding-top:12px}
.bh-overview .bh-suggestions{margin:0 0 48px}
.bh-overview .section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin:0 0 20px}
#product-page .bh-overview :is(.section-heading,.bh-help)>h2,#product-page .bh-overview .section-heading h2{font-size:var(--b-section-title,18px);line-height:1.5;font-weight:500;letter-spacing:0}
#product-page .bh-overview .section-heading p{margin-top:6px;color:var(--bh-muted);font-size:14px;line-height:1.6}
.bh-overview .bh-suggestion-grid{display:flex;gap:24px;isolation:isolate}
.bh-suggestion-grid.is-circular{position:relative;display:grid;grid-template-columns:minmax(0,1fr);overflow:clip;scroll-snap-type:none;margin:0;padding:12px 0;touch-action:pan-y}
.bh-suggestion-grid.is-circular>.bh-recommendation-card{position:relative;grid-area:1/1;justify-self:center;align-self:stretch;width:min(380px,calc(100% - 24px));transition:none;cursor:pointer}
.bh-suggestion-grid.is-circular[data-interacting]:not(.is-reduced)>.bh-recommendation-card{transition:transform .48s cubic-bezier(.22,1,.36,1),opacity .48s cubic-bezier(.22,1,.36,1)}
.bh-suggestion-grid.is-circular>.is-active{cursor:default}
.bh-suggestion-grid.is-circular .bh-suggestion-body,.bh-suggestion-grid.is-circular .bh-suggestion>footer{opacity:var(--bh-pick-opacity,1);transition:none}
.bh-suggestion-grid.is-circular[data-interacting]:not(.is-reduced) :is(.bh-suggestion-body,.bh-suggestion>footer){transition:opacity .48s cubic-bezier(.22,1,.36,1)}
.bh-suggestion-grid.is-reduced>.bh-recommendation-card,.bh-suggestion-grid.is-reduced .bh-suggestion-body,.bh-suggestion-grid.is-reduced .bh-suggestion>footer{transition:none}
.bh-overview .bh-suggestions-heading{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.bh-carousel-controls{display:flex;align-items:center;justify-content:center;align-self:center;gap:8px;flex:none;margin-top:12px;max-width:100%}
.bh-carousel-controls[hidden]{display:none}
.bh-carousel-controls .bh-button{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;padding:0}
.bh-carousel-controls .bh-carousel-pause{width:80px;padding-inline:12px;font-size:13px}
.bh-carousel-controls output{width:64px;flex:none;text-align:center;color:var(--bh-muted);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.bh-carousel-controls .bh-button:disabled{opacity:.4;cursor:default}
.bh-carousel-controls [data-bh="recommendation-prev"] svg{transform:rotate(180deg)}
.bh-recommendation-filters{display:flex;align-items:center;gap:8px;min-width:0}
.bh-recommendation-filters label{min-width:0}
.bh-root .bh-recommendation-filters select{min-width:136px}
/* The reference's corner light and rim identify research, not execution readiness. */
/* Course Design Cards: a luminous top-right corner and rim above a separate action footer. */
.bh-overview .bh-suggestion{--bh-ai-color:transparent;--bh-ai-wash:32%;min-height:360px;padding:0;gap:0;border:2px solid transparent;border-radius:var(--ast-radius-lg,24px);background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(225deg,var(--bh-ai-color),color-mix(in srgb,var(--bh-ai-color) 48%,var(--bh-line)) 36%,var(--bh-line) 74%) border-box;box-shadow:0 12px 24px -20px #0009;overflow:hidden}
.bh-overview .bh-suggestion:is([data-recommendation-profile="cex-spot"],[data-research-accent="red"]){--bh-ai-color:var(--ast-spectrum-1,#ff4b3e)}
.bh-overview .bh-suggestion:is([data-recommendation-profile="cex-perp"],[data-research-accent="yellow"]){--bh-ai-color:var(--ast-spectrum-3,#ffd84d)}
.bh-overview .bh-suggestion:is([data-recommendation-profile="dex-spot"],[data-recommendation-profile="dex-lp"],[data-research-accent="green"]){--bh-ai-color:var(--ast-spectrum-4,#4dff7a)}
.bh-overview .bh-suggestion:is([data-recommendation-profile="dex-perp"],[data-research-accent="blue"]){--bh-ai-color:var(--ast-spectrum-6,#4a6bff)}
.bh-suggestion-body{display:flex;flex-direction:column;gap:16px;flex:1;min-width:0;padding:24px;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--bh-ai-color) var(--bh-ai-wash),transparent),transparent 78%)}
.bh-suggestion-body>header{display:flex;align-items:center;min-height:28px;text-align:left}
.bh-suggestion-body>header>div{min-width:0}
.bh-suggestion-body>header>div>span{display:block;margin-top:6px;font-size:13px;line-height:1.5;color:var(--bh-muted);text-wrap:balance}
.bh-ai-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-height:24px;font-size:12px;line-height:1.6}
.bh-ai-label{display:inline-flex;align-items:center;gap:6px;color:color-mix(in srgb,var(--bh-ai-color) 55%,var(--text));font-weight:500}
.bh-ai-label svg{width:16px;height:16px}
.bh-ai-market{display:inline-flex;align-items:center;gap:6px;color:var(--text)}
.bh-ai-market::before{content:"";width:8px;height:8px;flex:none;border-radius:50%;background:var(--bh-ai-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--bh-ai-color) 12%,transparent)}
.bh-pick-asset{display:flex;align-items:center;gap:9px;margin:2px 0 8px;font-size:15px;line-height:28px}
.bh-pick-asset strong{font-weight:500}
.bh-pick-plan{display:grid;gap:20px;margin:0;font-size:14px;line-height:1.65}
.bh-pick-plan>div{display:grid;gap:4px}
.bh-pick-plan dt{color:var(--bh-muted);font-size:12px;line-height:20px}
.bh-pick-plan dd{margin:0;overflow-wrap:anywhere;text-wrap:pretty}
.bh-pick-plan .bh-pick-timeframe{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--bh-line);padding-bottom:12px}
.bh-pick-timeframe dd{font-variant-numeric:tabular-nums}

.bh-overview .bh-suggestion h3{justify-content:flex-start;font-size:20px;line-height:1.4;font-weight:500}
.bh-overview .bh-suggestion-tags>span{border:0;background:var(--surface-2);padding:3px 8px;border-radius:var(--b-control-radius,8px);font-size:12px}
.bh-overview .bh-suggestion-body>p{color:var(--bh-muted);font-size:14px;line-height:1.7;margin:0;min-height:48px;text-wrap:pretty}
.bh-overview .bh-suggestion>footer{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:16px 24px;border-top:1px solid var(--bh-line);background:var(--surface)}
.bh-root .bh-suggestion-source{min-height:44px;font-size:14px;padding:4px 0}
.bh-overview .bh-suggestion .bh-button{min-height:44px;font-size:14px;padding:9px 14px;white-space:normal}
.bh-research-empty{display:flex;align-items:center;gap:20px;padding:28px;background:var(--surface-2);border-radius:var(--b-panel-radius,16px)}
.bh-empty-research-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;color:var(--bh-muted)}
.bh-empty-research-icon svg{width:32px;height:32px}
.bh-research-empty>div{flex:1;min-width:0}
.bh-research-empty h3{font-size:16px;line-height:1.6;font-weight:500}
#product-page .bh-overview .bh-research-empty p{margin-top:6px;color:var(--bh-muted);font-size:14px;line-height:1.7}
.bh-overview .bh-catalog{margin:0}
.bh-overview .bh-catalog[hidden]{display:none}
.bh-overview .bh-filter-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 16px;margin:0 0 20px}
.bh-overview .bh-filter-options{display:flex;flex:1 1 600px;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
.bh-overview .bh-search{flex:1 1 180px;min-width:160px;max-width:280px}
.bh-overview .bh-filter-chip{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;width:auto;min-width:max-content;white-space:nowrap}
.bh-overview .bh-filter-chip>span{white-space:nowrap}
.bh-overview .bh-sort{flex:0 1 180px;min-width:0;margin-left:auto}
.bh-overview .bh-sort select{width:100%;min-width:0}
.bh-overview .bh-filter-chip svg{width:16px;height:16px}
.bh-overview .bh-strategy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bh-overview .bh-strategy-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--bh-line);border-radius:var(--b-panel-radius,16px);background:var(--surface);box-shadow:none;transition:border-color 160ms ease}
.bh-overview .bh-strategy-card:hover{border-color:var(--b-line-strong,var(--bh-line))}
.bh-overview .bh-strategy-card>header{align-items:flex-start;gap:8px}
.bh-overview .bh-strategy-card>header>div{min-width:0;gap:12px;align-items:center}
.bh-overview .bh-strategy-card h3{font-size:18px;line-height:1.5;font-weight:500;min-height:0;letter-spacing:0}
.bh-overview .bh-strategy-card>header>div>div>span{font-size:12px;line-height:1.6;margin-top:4px;color:var(--bh-muted)}
.bh-overview .bh-strategy-card .bh-card-symbol{width:36px;height:36px;flex:none;border:0;border-radius:0;background:none;color:var(--text)}
.bh-overview .bh-card-symbol svg{width:28px;height:28px}
.bh-overview .bh-strategy-card .bh-tags{gap:8px;margin-top:16px}
.bh-overview .bh-strategy-card .bh-tags>span{padding:2px 6px;background:var(--surface-2);border:0;font-size:12px;line-height:1.5}
.bh-overview .bh-card-context{margin:12px 0 20px;min-height:0;color:var(--bh-muted);font-size:14px;line-height:1.7;text-wrap:pretty}
.bh-card-actions{display:flex;align-items:stretch;justify-content:space-between;gap:8px;margin-top:auto;padding-top:4px}
.bh-card-actions>.bh-button{min-width:0;min-height:44px;padding:9px 14px;white-space:normal;font-size:14px}
body #product-page .bh-root details.bh-card-rules{position:relative;flex:none;min-width:88px;width:auto;min-height:0;padding:0;margin:0;border:0;background:none}
body #product-page .bh-root details.bh-card-rules>summary{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;width:auto;min-width:88px;height:44px;min-height:44px;padding:8px;border:0;color:var(--bh-muted);font:500 14px/1.5 var(--sans);font-size:14px!important;cursor:pointer;border-radius:var(--b-control-radius,8px)}
body #product-page .bh-root details.bh-card-rules>summary::before{content:none;display:none!important}
body #product-page .bh-root details.tc-info>summary:focus-visible{outline-color:var(--optical-focus)}
.bh-card-rules>summary::-webkit-details-marker{display:none}
.bh-card-rules>summary:hover{color:var(--text);background:var(--surface-2)}
body #product-page .bh-root details.bh-card-rules>summary svg{display:block;width:14px;height:14px;transition:transform 160ms ease}
.bh-card-rules[open]>summary svg{transform:rotate(90deg)}
.bh-rules-panel{width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:18px;border:1px solid var(--bh-line);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 12px 32px #0003;font-size:14px}
.bh-card-rules[open]>.bh-rules-panel:not([popover]){position:absolute;bottom:calc(100% + 8px);left:0;z-index:30}
.bh-rules-panel>b{display:block;font-size:16px;line-height:1.5;font-weight:500;margin-bottom:8px}
.bh-rules-panel .bh-card-facts{display:block;margin:0!important}
.bh-rules-panel .bh-card-facts>div{display:block;border-top:1px solid var(--bh-line);padding:12px 0}
.bh-rules-panel .bh-card-facts>div:last-child{padding-bottom:0}
.bh-rules-panel .bh-card-facts dt{font-size:12px;line-height:1.6;color:var(--bh-muted);margin-bottom:4px}
.bh-rules-panel .bh-card-facts dd{text-align:left;max-width:none;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.bh-overview .bh-help{padding-top:56px}
.bh-overview .bh-help>details{border-bottom:1px solid var(--bh-line)}
.bh-overview .bh-help>details>summary{font-size:14px;min-height:60px;padding-block:16px}
@media(min-width:1800px){.bh-overview .bh-strategy-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1199px){
 .bh-overview-account .bh-overview-metrics{gap:24px}
 .bh-account-actions{gap:12px}
 .bh-launch-card,.bh-overview .bh-type-card{padding:20px}
 .bh-launch-card>footer{flex-wrap:wrap;gap:0}
 .bh-overview .bh-suggestion-body{padding:20px}
}
@media(max-width:1023px){
 #product-page .bh-overview .bh-overview-hero{gap:12px;padding:20px 0}
 #product-page .bh-overview .bh-overview-hero h1{padding-right:0}
 #product-page .bh-overview .bh-overview-hero p{max-width:none}
 .bh-root .bh-advisor-banner{width:auto;min-height:44px;padding:8px 12px;gap:8px}
 .bh-overview-account{gap:24px;flex-wrap:wrap}
 .bh-overview-account .bh-overview-metrics{max-width:none}
 .bh-account-actions{margin-left:auto}
 .bh-overview .bh-type-grid,.bh-overview .bh-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bh-overview .bh-suggestion{flex-basis:calc((100% - 16px)/2)}
 .bh-overview .bh-suggestions-heading{gap:12px}
 .bh-overview .bh-recommendation-filters{order:3;flex-basis:100%}
 .bh-overview .bh-filter-bar{flex-wrap:wrap}
 .bh-overview .bh-filter-options{flex:1;flex-wrap:wrap}
 .bh-launch-card>footer{flex-wrap:nowrap}
}
@media(max-width:767px){
 .bh-catalog-tools{flex:0 1 auto;justify-content:flex-end}
 #product-page .bh-catalog-tools>[data-bh=library][data-id=ready]{display:none}
 #product-page .bh-overview .bh-overview-hero h1{font-size:24px;margin:0;padding-right:0}
 #product-page .bh-overview .bh-hero-copy{flex-basis:100%}
 .bh-root .bh-advisor-banner{flex:0 1 auto;max-width:100%;padding:8px 10px;font-size:13px}
 .bh-advisor-banner b{font-size:14px}
 .bh-advisor-banner>span>span{font-size:13px}
 .bh-guide-symbol{width:18px;height:18px}
 .bh-guide-symbol svg{width:18px;height:18px}
 .bh-overview-account{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px 12px;padding:12px 0 24px}
 .bh-overview-account .bh-overview-metrics{display:contents}
 .bh-overview-account .bh-overview-metrics>div>span{min-height:44px;font-size:12px;padding-bottom:4px}
 .bh-overview-account .bh-overview-metrics strong{font-size:20px}
 .bh-overview-account .bh-running-link{display:flex;align-items:center;justify-self:start;gap:6px;min-height:44px}
 .bh-overview-account .bh-running-link>span{display:contents;font-size:13px}
 .bh-overview-account .bh-running-link>strong{order:1;margin:0;font-size:14px}
 .bh-overview-account .bh-running-link>span>svg{order:2}
 .bh-account-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;margin:0;gap:8px}
 .bh-root .bh-account-actions .bh-button{padding-inline:10px}
 .bh-account-actions>.bh-primary{grid-column:1/-1}
 .bh-library-area{padding-top:8px}
 .bh-overview .bh-products,.bh-overview .bh-suggestions{margin-bottom:32px}
 .bh-overview .bh-type-grid{gap:12px}
 .bh-launch-card,.bh-overview .bh-type-card{padding:16px;min-height:216px;gap:14px}
 .bh-launch-copy h3,.bh-overview .bh-type-card h3{font-size:16px}
 #product-page .bh-overview .bh-launch-copy p{font-size:13px;line-height:1.65}
 .bh-launch-card>footer{flex-wrap:wrap;gap:0}
 .bh-launch-action{justify-content:space-between;width:100%;font-size:13px;white-space:normal;text-align:left}
 .bh-overview .section-heading{align-items:center;margin-bottom:16px;gap:12px}
 .bh-overview .section-heading p{font-size:13px}
 .bh-recommendation-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .bh-root .bh-recommendation-filters select{width:100%;min-width:0}
 .bh-overview .bh-suggestion-grid{gap:20px}
 .bh-overview .bh-suggestion{min-height:224px;flex-basis:calc(100% - 22px);padding:0}
 .bh-overview .bh-suggestion-grid[data-card-count="1"]>.bh-suggestion{flex-basis:100%}
 .bh-research-empty{flex-wrap:wrap;gap:12px;padding:20px}
 .bh-research-empty>div{flex-basis:calc(100% - 52px)}
 .bh-research-empty>.bh-button{margin-left:52px}
 .bh-overview .bh-filter-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:0 0 16px}
 .bh-overview .bh-filter-options{display:contents}
 #product-page .bh-overview .bh-filter-options .bh-search{grid-column:1/-1;grid-row:1;width:auto;min-width:0;max-width:none;margin-right:0}
 .bh-overview .bh-filter-options>label:first-child{grid-column:1;grid-row:2;min-width:0}
 .bh-overview .bh-filter-options>label:first-child select{width:100%;min-width:0}
 .bh-overview .bh-sort{grid-column:2;grid-row:2;width:100%;margin:0}
 .bh-overview .bh-filter-options .bh-filter-chip{grid-row:3;width:100%;min-width:0;padding:8px 10px}
 .bh-overview .bh-filter-options .bh-filter-chip>span{display:inline}
 .bh-overview .bh-filter-options [data-bh=tracked-only]{grid-column:1}
 .bh-overview .bh-filter-options [data-bh=ready-only]{grid-column:2}
 .bh-overview .bh-strategy-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .bh-overview .bh-strategy-card{padding:20px}
 .bh-overview .bh-help{padding-top:40px}
 .bh-search input,.bh-root select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.bh-launch-card,.bh-overview .bh-strategy-card,.bh-card-rules>summary svg{transition:none}}

/* Opportunity choices stay adjacent to their results, including narrow layouts. */
.bh-suggestions-heading{flex-wrap:wrap;align-items:center}
.bh-suggestions-heading>h2{margin-right:auto}
.bh-recommendation-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.bh-recommendation-segment{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:7px;max-width:100%;overflow-x:auto}
.bh-recommendation-segment>button{flex:none;min-height:32px;padding:6px 10px;border:0;border-radius:4px;color:var(--muted);background:none;font-size:12px;line-height:20px;white-space:nowrap}
.bh-recommendation-segment>button[aria-pressed=true]{color:var(--text);background:var(--surface-2)}
.bh-suggestion .bh-suggestion-state{font-size:12px;font-weight:500;color:var(--accent-ink,var(--text))}
.bh-suggestion>footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:auto}
.bh-suggestion>footer>span{display:inline-flex}
.bh-suggestion>footer .bh-button{min-width:76px}
.bh-root [data-bh=overview]>svg{transform:rotate(180deg)}
.bh-catalog>.bh-category-tabs{margin:14px 0 18px}
.product-dialog:has(.bh-recommendation-logic){width:min(800px,calc(100vw - 32px));max-height:calc(100dvh - 48px)}
.bh-recommendation-logic{color:var(--text);font:14px/1.5 var(--sans);min-width:0}
.bh-recommendation-logic>header,.bh-recommendation-logic>header>div{display:flex;align-items:center;gap:12px}
.bh-recommendation-logic>header{justify-content:space-between}
.bh-recommendation-logic h3{margin:0;font-size:20px;line-height:28px;font-weight:600}
.bh-recommendation-logic>header span{font-size:12px;color:var(--muted)}
.bh-logic-status{padding:5px 9px;border:1px solid var(--line);border-radius:5px;flex:none}
.bh-logic-visual{padding:16px 0}
.bh-logic-visual .strategy-art{height:160px;min-height:0;border-radius:8px}
.bh-logic-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bh-logic-steps article{position:relative;padding:15px;border:1px solid var(--line);border-radius:8px;min-width:0}
.bh-logic-step{display:grid;place-items:center;width:24px;height:24px;margin-bottom:10px;border-radius:6px;background:var(--accent-soft);color:var(--accent-ink,var(--text));font-size:12px}
.bh-logic-steps h4{margin:0 0 7px;font-size:14px;font-weight:550}
.bh-logic-steps p{margin:0;color:var(--muted);font-size:13px;line-height:1.7;text-wrap:pretty}
.bh-logic-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.bh-logic-facts dt{color:var(--muted);font-size:12px;margin-bottom:5px}
.bh-logic-facts dd{margin:0;font-size:13px;line-height:20px}
.bh-logic-verdict{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:7px;background:var(--surface-2);font-size:13px;line-height:1.65}
.bh-logic-verdict>svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--accent-ink,var(--text))}
.bh-logic-verdict p{margin:0}
.bh-recommendation-logic>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.bh-recommendation-logic .bh-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font:500 13px/20px var(--sans)}
.bh-recommendation-logic .bh-primary{background:var(--text);color:var(--surface)}
.bh-recommendation-logic button:disabled{opacity:.4;cursor:default}
@media(max-width:767px){
 .bh-suggestions-heading{gap:12px;align-items:flex-start}
 .bh-overview .bh-carousel-controls{order:2}
 .bh-overview .bh-suggestion>footer{display:grid;grid-template-columns:minmax(64px,.7fr) minmax(0,1.3fr);align-items:stretch}
 .bh-overview .bh-suggestion>footer .bh-button{min-width:0;width:100%;padding-inline:10px}
 .bh-overview .bh-suggestion>footer>span{min-width:0}
 .bh-suggestion-grid.is-circular>.bh-recommendation-card:not(.is-active){visibility:hidden}
 .bh-recommendation-filters{flex-basis:100%;gap:8px}
 .bh-recommendation-segment{max-width:100%}
 .bh-recommendation-segment>button{min-height:38px;padding:7px 10px}
 .bh-logic-visual .strategy-art{height:128px}
 .bh-logic-steps{grid-template-columns:1fr;gap:8px}
 .bh-logic-steps article{display:grid;grid-template-columns:24px minmax(0,1fr);gap:2px 10px;padding:12px}
 .bh-logic-step{grid-row:1/3;margin:0}
 .bh-logic-steps h4{margin:0}
 .bh-logic-steps p{grid-column:2}
 .bh-logic-facts{gap:8px;font-size:12px}
 .bh-recommendation-logic>footer>.bh-button{flex:1;min-height:44px;white-space:normal}
}

body[data-page=execution] #product-page:has(>.bh-assets){padding-inline:0!important}

/* Opportunity filters use the shared secondary segmented control. */
.bh-recommendation-filter{display:flex;align-items:center;gap:8px;min-width:0}
.bh-filter-label{flex:none;color:var(--b-muted);font-size:12px;line-height:20px;white-space:nowrap}
#product-page .bh-overview .bh-recommendation-segment.segmented{display:flex;flex-wrap:nowrap;gap:3px;padding:3px;border:1px solid var(--b-line);border-radius:9px;background:var(--b-soft);scrollbar-width:thin;scroll-padding-inline:8px;overscroll-behavior-x:contain;--optical-selection:var(--b-panel)}
#product-page .bh-overview .bh-recommendation-segment.segmented>button{flex:none;min-height:44px;padding:8px;border-radius:6px;border:1px solid transparent;font-size:13px;line-height:20px;white-space:nowrap;transition:color 140ms ease,background-color 140ms ease}
.bh-recommendation-segment>button:hover{color:var(--text)}
.bh-recommendation-segment>button:focus-visible{outline-offset:-2px}
.bh-recommendation-logic .bh-primary{background:var(--b-action);color:var(--b-action-fg);border-color:transparent}
.bh-recommendation-logic .bh-button:hover:not(:disabled){background:var(--b-soft);color:var(--b-ink)}
.bh-recommendation-logic .bh-primary:hover:not(:disabled){background:var(--b-action-hover);color:var(--b-action-fg)}
@media(max-width:767px){.bh-recommendation-filters{display:flex;min-width:0}.bh-recommendation-filter{width:100%}.bh-recommendation-segment{flex:1;min-width:0}#product-page .bh-overview .bh-recommendation-segment.segmented>button{padding-inline:6px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.bh-recommendation-segment>button{transition:none}}

.bh-assets .bh-sidebar-home[aria-current=page]{background:none;color:var(--text);font-weight:500}

/* The reused illustration is cropped to its plot; keep its decorative paths out of SVG's default black fill. */
body .bh-logic-visual .strategy-art[data-chart]{height:200px;min-height:0;aspect-ratio:auto;border:0;background:var(--b-soft);border-radius:8px}
body .bh-logic-visual .strategy-art svg :is(.sa-light-envelope,.sa-light-core,.sa-light-packet){fill:none;pointer-events:none}
body .bh-logic-visual .strategy-art svg .sa-light-packet{display:none}
body .bh-logic-visual .strategy-art svg .sa-light-envelope{stroke:var(--sa-spectrum);stroke-width:6;opacity:.15}
body .bh-logic-visual .strategy-art svg .sa-light-core{stroke:var(--b-ink);stroke-width:.5;opacity:.6}
body .bh-logic-visual .strategy-art svg .sa-path{stroke:var(--sa-spectrum);stroke-width:2.4}
body .bh-recommendation-logic>footer{position:sticky;bottom:-24px;margin-bottom:-24px;padding:16px 0 24px;background:var(--b-panel);border-top:1px solid var(--b-line);z-index:2}
@media(max-width:767px){body .bh-logic-visual .strategy-art[data-chart]{height:156px}}
body #product-page .bh-suggestion .bh-primary:disabled,body #product-page .bh-research-row .bh-primary:disabled{background:var(--b-soft);border-color:var(--b-line);color:var(--b-muted);box-shadow:none;opacity:1}

@media(prefers-reduced-motion:reduce){.bh-suggestion-grid{scroll-behavior:auto}.bh-suggestion-grid.is-circular>.bh-recommendation-card,.bh-suggestion-grid.is-circular .bh-suggestion-body,.bh-suggestion-grid.is-circular .bh-suggestion>footer{transition:none}}

/* Keep native search affordances inside the shared control surface. */
body #product-page :is(.bh-overview-account,.bh-assets-summary){padding:var(--b-panel-padding);border:1px solid transparent;border-radius:var(--b-panel-radius);background-color:var(--b-panel);background-image:var(--optical-sheen),linear-gradient(var(--b-panel),var(--b-panel)),var(--optical-rim);background-origin:padding-box,padding-box,border-box;background-clip:padding-box,padding-box,border-box;box-shadow:inset 0 1px 0 var(--optical-edge),0 2px 5px #00000005}
body #product-page .bh-assets-summary .bh-assets-stats{padding:0;border:0;border-radius:0;background:none}
body #product-page .bh-overview .bh-search{flex:0 1 280px;max-width:280px;height:44px;border-color:var(--b-control-line);border-radius:var(--b-control-radius,8px);background:var(--b-panel)}
body #product-page .bh-overview .bh-search:focus-within{border-color:var(--b-accent-ink);outline:2px solid var(--b-accent-ink);outline-offset:2px}
body #product-page .bh-overview .bh-search input{font-size:var(--b-text-control,14px);appearance:none}
body #product-page .bh-overview .bh-sort select{min-width:180px}
@media(max-width:767px){body #product-page .bh-overview .bh-search{max-width:none;flex:none}body #product-page .bh-overview .bh-search input{font-size:16px}body #product-page .bh-overview .bh-sort select{min-width:0}}
