/* Shared customer-facing visual system. Existing Academy, Dictionary, Projects and marble plan comparison are deliberately excluded. */
.bb-premium{--bb-bg:#050b14;--bb-panel:#0b1928;--bb-border:#846d43;--bb-gold:#ffdb89;--bb-cyan:#83e6d8;--bb-ink:#f2f6fc;--bb-muted:#bdcddd;color-scheme:dark}
.bb-premium .premium-gold{color:#ffdb89}
.bb-premium .premium-inline-brand{display:inline-flex;align-items:center;gap:3px;font-weight:800;text-decoration:none;color:#f4f8ff}
.bb-premium .premium-inline-brand img{margin-right:5px;object-fit:contain}
.bb-premium.bb-dark :is(.workspace,main,.topbar,.site-header){background:transparent}
.bb-premium.bb-dark{background:radial-gradient(ellipse at 90% 0,#664b2533,transparent 34rem),#050b14}
.bb-premium.bb-home .topbar,.bb-premium .site-header{border-bottom:1px solid #957841;background:linear-gradient(115deg,#080f1b,#172538)}
.bb-premium.bb-home .header-emblem{background:transparent}
.bb-premium.bb-home .sidebar{background:linear-gradient(150deg,#0d1a29,#050a12);border-right:1px solid #5b4b31}
.bb-premium.bb-home .sidebar .active{background:#28302f;color:#ffdc88}
.bb-premium.bb-home .header-wordmark small,.bb-premium.bb-home .brand small,.bb-premium.bb-home .home-opening h1 span,.bb-premium.bb-home .section-kicker,.bb-premium.bb-home .eyebrow{color:#ffdb89}
.bb-premium.bb-home .premium-account-link{display:inline-block;border:1px solid #d3ad65;border-radius:9px;padding:9px 12px;color:#ffdf9a;text-decoration:none;font-weight:700;white-space:nowrap}
.bb-premium.bb-home .home-opening{padding:16px 0 2px}
.bb-premium.bb-home .home-opening h1{max-width:none}
.bb-premium.bb-home :is(.translator-hero,.home-claim,.premium-risk-card,.guide-feature,.migration-status),.bb-premium.bb-home .research-cards .card{border:1px solid #d4ae67;border-radius:16px;background:radial-gradient(ellipse at 92% 6%,#9d742b30,transparent 55%),linear-gradient(140deg,#13263b,#060c16);box-shadow:0 0 4px #e4b85860,0 0 15px #c89e4125,inset 0 0 14px #d3ab4c15}
.bb-premium.bb-home .translator-hero{position:relative;display:block}
.bb-premium.bb-home .translator-art{float:right;width:clamp(80px,22%,165px);height:auto;min-height:75px;aspect-ratio:1.5;background-image:url('/premium-translator.svg');background-size:contain;mask-image:none;margin:0 0 8px 12px}
.bb-premium.bb-home #translate-form{clear:both}
.bb-premium.bb-home .translator-copy h2{font-size:clamp(25px,4vw,38px)}
.bb-premium.bb-home .home-claim{margin:0 0 16px}
.bb-premium.bb-home .premium-tool-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bb-premium.bb-home .premium-tool-heading>div{min-width:0;flex:1}
.bb-premium.bb-home .premium-tool-heading h3{font-size:clamp(24px,4vw,34px);margin:3px 0 6px;line-height:1.2}
.bb-premium.bb-home .premium-tool-art{display:block;width:clamp(85px,25%,160px);height:auto;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 0 8px #d9ae5950)}
.bb-premium.bb-home .premium-risk-card{display:block;border-color:#70b9b1}
.bb-premium.bb-home #home-claim-submit{display:block;width:100%;margin-top:14px}
.bb-premium.bb-home .home-claim textarea,.bb-premium.bb-home #claim{min-height:115px}
.bb-premium.bb-home .guide-feature{display:grid;grid-template-columns:72px minmax(0,1fr);padding:15px;gap:10px}
.bb-premium.bb-home .guide-feature img{width:72px;grid-row:1/3}
.bb-premium.bb-home .guide-feature>a{grid-column:2}
.bb-premium.bb-home .research-cards .premium-tool-art{width:100%;height:100px}
.bb-premium.bb-home .migration-status{padding:20px;margin-top:32px}
.bb-premium.bb-home .migration-status h2{margin-top:0}
.bb-premium.bb-home .migration-status a.primary{margin-right:12px;margin-bottom:8px}
.bb-premium.bb-home>nav[aria-label="Policies and support"]{border-top:1px solid #755f36;background:#080f19;justify-content:center}
.bb-premium.bb-home>p.footer{text-align:center}
.bb-premium.bb-dark :is(textarea,input:not([type=checkbox]):not([type=radio]),select){border-color:#89734a;background:#07121f}
.bb-premium.bb-dark :is(.primary,#run,.bb-cta,.premium-account-link):not(#plans *){background:linear-gradient(135deg,#fff0b6,#d7ac5e 60%,#ad7428);color:#171006;border-color:#ffe1a0;box-shadow:0 0 8px #c8994a44}
.bb-premium.bb-home .examples button{border-color:#89734a}
.bb-premium.bb-home .result{background:linear-gradient(140deg,#142a3a,#08121e);border-color:#c2a66d;border-radius:10px;padding:16px}
.bb-premium.bb-dark :is(.go,.section-kicker){color:#ffdb89}
.bb-premium:is(.bb-research,.bb-follow-up,.bb-reports,.bb-account) :is(main>section,main>article,main>.panel):not(#plans){background:radial-gradient(ellipse at 90% 0,#9d742b20,transparent 55%),linear-gradient(135deg,#122438,#080f19);border-color:#b18d4e;box-shadow:0 0 12px #b18d4e24}
.bb-premium:is(.bb-research,.bb-follow-up,.bb-reports) main>nav{align-items:center;border-bottom:1px solid #81683f;padding:0 0 13px}
.bb-premium.bb-research #research-form{scroll-margin-top:16px}
.bb-premium.bb-research #heading,.bb-premium.bb-follow-up #watch-title{color:#ffdb89}
.bb-premium.bb-research:has(#mode option[value=risk]:checked) #heading{color:#ffd0a0}
.bb-premium.bb-account #plans{color:var(--plan-ink)}
.bb-premium.premium-editorial{background:radial-gradient(ellipse at top right,#60421f33,transparent 34rem),#050b14;color:#e9f1fa}
.bb-premium.premium-editorial :is(a,.eyebrow){color:#8ce6d5}
.bb-premium.premium-editorial :is(h1,h2,.brand){color:#ffdc8b}
.bb-premium.premium-editorial :is(header,article,section,.cards li){background:linear-gradient(145deg,#14263a,#080f19);border-color:#8b7244}
.bb-premium.premium-editorial :is(article,section,.cards li){box-shadow:0 0 10px #be945224}
.bb-premium.premium-editorial :is(.answer,.breadcrumb,.sources,footer,.cards span){color:#c2d0df}
.bb-premium.premium-editorial .callout{background:#122b36;border-color:#79d7c9}
.bb-premium.premium-editorial :is(th,td,.sources){border-color:#846d43}
.bb-premium.premium-editorial .cards a:hover{background:#203649}
.bb-premium.premium-editorial .start-here-action{background:linear-gradient(135deg,#fff0b6,#d7ac5e);color:#171006}
.bb-premium.premium-editorial .skip{background:#0c1b2a}
.bb-premium.premium-editorial .quick-definition-dialog{background:#102134!important;color:#f2f6fc!important;border-color:#b38d50!important}
.bb-premium.premium-editorial .quick-definition-dialog :is(h2,p){color:#f2f6fc!important}
.bb-premium.premium-editorial :focus-visible{outline:3px solid #ffdc88;outline-offset:4px}
.bb-premium.premium-policy>nav{align-items:center;border-bottom:1px solid #846d43}
.bb-premium.premium-policy section{border-radius:14px}
@media(max-width:720px){.bb-premium.bb-home .topbar{gap:8px}.bb-premium.bb-home .header-wordmark{font-size:clamp(17px,5vw,23px)}.bb-premium.bb-home .premium-account-link{font-size:12px;padding:8px}.bb-premium.bb-home .premium-tool-art{max-width:105px}.bb-premium.bb-home .research-cards .premium-tool-art{max-width:none}.bb-premium.bb-home .guide-feature .premium-tool-art{max-width:72px}.bb-premium.bb-home .translator-art{min-height:0}.bb-premium.premium-policy{padding:16px}}
