/* Scoped educational redesign. Existing account and data workflows stay intact. */
:root{--bhg-purple:#7947bb;--bhg-plum:#532f8c;--bhg-navy:#18234f;--bhg-muted:#727d9d;--bhg-line:#e6ddf3;--bhg-cream:#faf8f6}
.bhg-experience{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--bhg-navy);line-height:1.6;min-width:0;width:100%;text-align:left}
.bhg-experience *{box-sizing:border-box}.bhg-experience [hidden]{display:none!important}.bhg-experience svg{width:25px;height:25px;flex:none}.bhg-experience button,.bhg-experience a{-webkit-tap-highlight-color:transparent}.bhg-experience button{font:inherit;cursor:pointer}.bhg-experience button:focus-visible,.bhg-experience a:focus-visible,.bhg-experience code:focus-visible{outline:3px solid #9c6cd4;outline-offset:4px}.bhg-experience h1,.bhg-experience h2,.bhg-experience h3{font-family:Georgia,"Times New Roman",serif;color:var(--bhg-navy);letter-spacing:-.045em;line-height:1.08;margin:0;font-weight:600;overflow-wrap:normal;word-break:normal}.bhg-experience h1{font-size:clamp(36px,3.5vw,59px);max-width:700px}.bhg-experience h2{font-size:clamp(28px,2.5vw,40px)}.bhg-experience h3{font-size:26px}.bhg-experience p{color:var(--bhg-muted);margin:12px 0 0;font-size:15px;line-height:1.7}.bhg-goals-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.95fr);gap:22px;align-items:start}.bhg-goals-card,.bhg-nutrition-card,.bhg-community,.bhg-education-note{background:rgba(255,255,255,.91);border:1px solid var(--bhg-line);border-radius:28px;box-shadow:0 16px 45px #3c274c07;min-width:0}.bhg-goals-card{padding:34px 34px 24px;position:relative;isolation:isolate;overflow:hidden}.bhg-goals-card:before{content:"";position:absolute;z-index:-1;right:-130px;top:-180px;width:340px;height:340px;border:24px solid #f6f1fa;border-radius:100%;box-shadow:0 0 0 24px #fbf9fd}.bhg-section-label{font-size:10px;font-weight:800;letter-spacing:.13em;color:#9470bf;margin:0 0 24px;line-height:1.4}.bhg-heading-row{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.bhg-all-topics{order:2;border:0;background:transparent;color:var(--bhg-plum);font-size:12px!important;padding:0;min-height:34px;display:inline-flex;gap:14px;align-items:center}.bhg-all-topics span{font-size:20px}.bhg-experience .bhg-lead{font-size:20px;margin:6px 0 24px;line-height:1.45}.bhg-intents{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bhg-intent{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;min-height:134px;padding:20px 8px!important;border:1px solid var(--bhg-line);border-radius:18px;background:#fff;color:var(--bhg-navy);box-shadow:none;transition:transform .16s,border-color .16s,box-shadow .16s}.bhg-intent:hover{transform:translateY(-3px);border-color:#b594da;box-shadow:0 8px 18px #7951a611}.bhg-intent>svg{height:30px;width:30px;color:var(--bhg-purple)}.bhg-intent strong{font-family:Georgia,serif;font-size:clamp(14px,1.1vw,18px);font-weight:600;line-height:1.25;letter-spacing:-.025em}.bhg-intent.is-selected{background:linear-gradient(140deg,#ad76e0,#7543b5);color:#fff;border-color:#a675d3;box-shadow:0 9px 25px #8551b42a}.bhg-intent.is-selected>svg{background:#ffffffea;color:#8652b8;border-radius:50%;box-sizing:content-box;padding:9px;margin:-9px}.bhg-check{position:absolute;right:9px;top:9px;background:white;color:#a578ce;width:18px;height:18px;border-radius:50%;font-size:12px;line-height:18px}.bhg-experience .bhg-intent-summary{font-size:12px;min-height:40px;line-height:1.65;margin:18px 0 0;color:#79809a}.bhg-life-heading{border-top:1px solid var(--bhg-line);padding-top:24px;margin-top:24px}.bhg-life-heading h2{font-size:29px}.bhg-life-heading p{margin:7px 0 18px;font-size:14px}.bhg-lifestyle{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bhg-life-tile{border:1px solid var(--bhg-line);border-radius:18px;padding:18px 10px 13px!important;background:linear-gradient(145deg,white,#fefcfe);color:var(--bhg-navy);display:flex;align-items:center;flex-direction:column;gap:12px;min-height:144px;transition:border-color .15s,transform .15s}.bhg-life-tile:hover,.bhg-life-tile[aria-expanded=true]{border-color:#a57bd2;transform:translateY(-2px)}.bhg-life-tile strong{font-family:Georgia,serif;letter-spacing:-.03em;font-size:16px;font-weight:600;text-align:center;line-height:1.2;min-height:38px;display:flex;align-items:center;justify-content:center}.bhg-icon-disc{width:45px;height:45px;background:#f2eafa;color:#976ac6;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}.bhg-round-arrow{background:#f6edfc;border-radius:50%;width:27px;height:27px;display:flex;align-self:flex-end;align-items:center;justify-content:center;color:#9d6bca}.bhg-round-arrow svg{width:17px;height:17px}.bhg-extra-topics{display:flex;gap:16px;flex-wrap:wrap;margin-top:16px}.bhg-extra-topics button{border:0;background:transparent;padding:5px 0;color:var(--bhg-plum);font-size:12px}.bhg-experience .bhg-browse-note{font-size:11px;color:#8a86a0;margin-top:16px}.bhg-article{position:relative;background:#f8f4fc;border-radius:16px;margin-top:18px;padding:22px}.bhg-article h3{padding-right:20px;font-size:23px}.bhg-article p{font-size:14px}.bhg-article-close{position:absolute;right:12px;top:9px;font-size:24px!important;border:0;background:transparent;color:var(--bhg-plum);padding:3px 7px}.bhg-nutrition-card{padding:18px;overflow:hidden}.bhg-food-art{width:100%;aspect-ratio:2/1;overflow:hidden;border-radius:20px;background:#faf7f2}.bhg-food-art img{width:100%;height:100%;object-fit:cover;display:block}.bhg-nb-copy{padding:23px 10px 0}.bhg-nb-copy h2{font-size:clamp(31px,2.7vw,43px)}.bhg-experience .bhg-nb-copy>p:first-of-type{font-size:17px;margin-bottom:23px;line-height:1.55}.bhg-primary,.bhg-secondary{display:flex;justify-content:center;align-items:center;gap:10px;min-height:48px;border-radius:14px;text-decoration:none;padding:12px 14px;font-size:13px!important;font-weight:700;line-height:1.4;text-align:center;border:1px solid #e3d8f1;background:#fff;color:var(--bhg-plum);width:100%;transition:box-shadow .16s,transform .16s}.bhg-primary{background:linear-gradient(120deg,#9155ce,#6e3da6);color:white;border-color:transparent;box-shadow:0 7px 15px #8150b21a}.bhg-primary span{font-size:20px;margin-left:auto}.bhg-primary:hover,.bhg-secondary:hover{box-shadow:0 8px 18px #6e458419;transform:translateY(-1px)}.bhg-secondary{margin-top:10px}.bhg-secondary svg{width:20px;height:20px}.bhg-experience .bhg-code-note{font-size:12px;margin:14px 0 0}.bhg-experience .bhg-integration-note{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.55;margin-top:20px}.bhg-integration-note svg{width:18px;height:18px;color:#8c8da7}.bhg-experience .bhg-copy-status{font-size:12px;min-height:1px;margin:6px 0}.bhg-partner-code{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;font-size:12px;color:#74758b;padding-top:12px}.bhg-partner-code code{user-select:all;color:var(--bhg-plum)}.bhg-community{margin-top:22px;padding:28px 34px}.bhg-community-head{display:flex;gap:20px;align-items:center;justify-content:space-between}.bhg-community-head .bhg-section-label{margin-bottom:10px}.bhg-community h2{font-size:34px}.bhg-community-head p{margin-top:6px;font-size:14px}.bhg-text-link{border:0;background:transparent;color:var(--bhg-plum);font-size:12px!important;text-align:right;line-height:1.5;max-width:180px}.bhg-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.bhg-story{display:flex;align-items:center;gap:12px;min-width:0;border:1px solid var(--bhg-line);border-radius:18px;padding:16px;text-decoration:none;color:var(--bhg-navy)}.bhg-story>svg{width:18px;margin-left:auto;color:var(--bhg-purple)}.bhg-story strong{font-family:Georgia,serif;font-size:17px;line-height:1.25;display:block}.bhg-story small{font-size:10px;color:var(--bhg-muted);display:block;margin-top:7px}.bhg-story-empty{display:flex;align-items:center;gap:15px;border-top:1px solid var(--bhg-line);margin-top:22px;padding-top:22px}.bhg-story-empty strong{font-family:Georgia,serif;font-size:21px;font-weight:500}.bhg-story-empty p{font-size:13px;margin-top:5px;max-width:580px}.bhg-story-empty>a{max-width:205px;margin:0 0 0 auto;font-size:12px!important}.bhg-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bhg-topic{background:#fff;border:1px solid var(--bhg-line);border-radius:16px;padding:18px;display:flex;align-items:flex-start;flex-direction:column;gap:15px;color:var(--bhg-navy);text-align:left;min-width:0}.bhg-topic strong{font-family:Georgia,serif;font-size:18px;line-height:1.25}.bhg-topic>svg{margin-left:auto;width:19px;color:var(--bhg-purple)}.bhg-topic:hover{border-color:#b28ad7;background:#fcf9ff}.bhg-nb-page{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:start}.bhg-nutrition-full{padding:20px 24px 24px}.bhg-nutrition-full .bhg-nb-copy{padding:24px 10px 0}.bhg-steps{list-style:none;padding:0;margin:24px 0}.bhg-steps li{display:flex;align-items:center;gap:14px;color:var(--bhg-navy);padding:12px 0;font-size:14px;border-bottom:1px solid var(--bhg-line)}.bhg-steps span{font-family:Georgia,serif;font-size:23px;color:#a078c3}.bhg-education-note{padding:36px}.bhg-education-note h2{margin-top:22px}.bhg-education-note .bhg-secondary{margin-top:24px}.bhg-plain-note{font-size:12px!important}
/* Integration styles: applied only after successful component mounting. */
body.bhg-portal-refined{background:#faf8f7;color:#18234f}body.bhg-portal-refined .shell{width:min(1660px,calc(100% - 64px))}body.bhg-portal-refined .portal-app-shell{grid-template-columns:250px minmax(0,1fr);gap:28px}body.bhg-portal-refined .portal-workspace{min-width:0}body.bhg-portal-refined .portal-header{background:#fffdfefa;border-bottom:1px solid #e7dff0}body.bhg-portal-refined .portal-sidebar-panel{border-radius:26px;border:1px solid #e6e0ec;background:#ffffffed;padding:20px 16px;box-shadow:0 16px 45px #352c4e06}body.bhg-portal-refined .portal-nav-item{min-height:57px;border-radius:17px;border-color:#e5dcf2;gap:14px;white-space:normal;line-height:1.35;padding:13px 16px;margin-bottom:8px}body.bhg-portal-refined .portal-nav-item.is-active{background:linear-gradient(110deg,#6738a0,#965acd);color:#fff;box-shadow:0 10px 26px #8050ad1a}body.bhg-portal-refined .portal-nav-icon svg{width:23px;height:23px}body.bhg-portal-refined .bhg-replaced-goals{display:none!important}body.bhg-portal-refined .bhg-refined-panel{padding:0;border:0;background:transparent;box-shadow:none}body.bhg-portal-refined .portal-sidebar{min-width:0}body.bhg-portal-refined .portal-sidebar-brand{padding:5px 10px 22px}body.bhg-portal-refined .portal-nav-item span{overflow-wrap:normal;word-break:normal}
@media(min-width:1500px){.bhg-goals-card{padding:38px 38px 26px}.bhg-goals-grid{grid-template-columns:minmax(0,1.7fr) minmax(330px,1fr)}.bhg-intent{min-height:145px}.bhg-life-tile{min-height:155px}}
@media(max-width:1150px){.bhg-goals-grid{grid-template-columns:minmax(0,1fr)}.bhg-nutrition-card:not(.bhg-nutrition-full){display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,1fr);gap:20px;align-items:center}.bhg-nb-copy{padding:8px}.bhg-nutrition-card:not(.bhg-nutrition-full) .bhg-food-art{aspect-ratio:1;height:100%}.bhg-story-empty{flex-wrap:wrap}.bhg-story-empty>a{margin:0}.bhg-nb-page{grid-template-columns:1fr}.bhg-story-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){body.bhg-portal-refined .shell{width:calc(100% - 28px)}body.bhg-portal-refined .portal-app-shell{grid-template-columns:1fr}.bhg-goals-card{padding:26px 22px 20px;border-radius:23px}.bhg-experience h1{font-size:40px}.bhg-experience .bhg-lead{font-size:18px}.bhg-community{padding:24px 22px;border-radius:23px}.bhg-community h2{font-size:30px}.bhg-community-head{align-items:flex-start}.bhg-community-head .bhg-text-link{max-width:120px}.bhg-topic-grid{grid-template-columns:1fr 1fr}.bhg-lifestyle{gap:9px}.bhg-life-tile{padding:15px 6px!important;min-height:138px}.bhg-life-tile strong{font-size:15px}.bhg-intents{gap:9px}.bhg-intent strong{font-size:15px}.bhg-nutrition-card:not(.bhg-nutrition-full){grid-template-columns:.8fr 1fr;gap:14px}.bhg-nb-copy h2{font-size:30px}.bhg-story-empty>div{flex:1;min-width:190px}.bhg-story-grid{grid-template-columns:1fr}.bhg-story-empty>a{margin-left:60px}.bhg-section-label{margin-bottom:18px}}
@media(max-width:480px){.bhg-experience h1{font-size:36px}.bhg-goals-card{padding:25px 19px 20px}.bhg-intents,.bhg-lifestyle{grid-template-columns:1fr 1fr;gap:11px}.bhg-intent{min-height:115px;gap:14px}.bhg-intent strong{font-size:17px}.bhg-life-tile{min-height:140px;gap:10px}.bhg-life-tile strong{font-size:18px;min-height:24px}.bhg-nutrition-card:not(.bhg-nutrition-full){display:block;padding:16px}.bhg-nutrition-card:not(.bhg-nutrition-full) .bhg-food-art{aspect-ratio:2;height:auto}.bhg-nb-copy{padding:20px 8px 6px}.bhg-community-head{display:block}.bhg-community-head .bhg-text-link{max-width:none;text-align:left;padding:14px 0 0}.bhg-story-empty{gap:12px}.bhg-story-empty>div{min-width:150px}.bhg-story-empty>a{margin-left:0;max-width:none}.bhg-topic-grid{gap:10px}.bhg-topic{padding:15px}.bhg-topic strong{font-size:17px}.bhg-education-note{padding:25px}.bhg-nutrition-full{padding:16px}.bhg-experience .bhg-integration-note{font-size:12px}.bhg-life-heading h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.bhg-experience *{transition:none!important;scroll-behavior:auto!important}}

.bhg-promotions h1{margin-bottom:18px}.bhg-promo-group{margin-top:30px}.bhg-promo-card{border:1px solid #e5dcf2;border-radius:20px;padding:24px;margin:18px 0;background:#fff}.bhg-promo-card h3{font:700 30px Georgia,serif;color:#10194f;margin:12px 0}.bhg-promo-card details{margin:20px 0}.bhg-promo-card summary{cursor:pointer;font-weight:700;color:#6836a5}.bhg-promo-card li{margin:12px 0;line-height:1.65}.bhg-promo-actions{display:flex;flex-wrap:wrap;gap:12px}.bhg-promo-actions>*{max-width:100%;white-space:normal}.bhg-promo-group[data-campaign-group="archived"] .bhg-promo-card{background:#faf9fc}

/* Visual rewards section; no selector outside the new Promotions view. */
.bhg-promotions-visual{padding:0;background:transparent;border:0;box-shadow:none}.bhg-reward-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);border:1px solid #e6ddf3;border-radius:27px;overflow:hidden;background:linear-gradient(125deg,#fff 15%,#f2eafb);box-shadow:0 18px 45px #49346508}.bhg-reward-hero-copy{padding:38px 32px}.bhg-reward-hero h1{font-size:clamp(38px,4.3vw,62px);line-height:1.06;letter-spacing:-1.5px;margin:18px 0}.bhg-reward-hero p{font-size:15px;max-width:38em}.bhg-reward-hero figure{position:relative;margin:0;min-width:0;min-height:330px}.bhg-reward-hero figure img{display:block;width:100%;height:100%;object-fit:cover;object-position:48% center}.bhg-reward-hero figcaption{position:absolute;bottom:10px;left:12px;right:12px;font-size:9px;color:white;text-shadow:0 1px 4px #000}.bhg-reward-link{display:inline-flex;align-items:center;padding:13px 18px;border:1px solid #d9caef;border-radius:13px;background:#fff;color:#63339b;text-decoration:none;font-weight:700;gap:10px;margin-top:12px;font-size:13px}.bhg-promotions-visual .bhg-promo-group>h2{font-size:32px;margin:30px 0 18px}.bhg-promo-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.bhg-promotions-visual .bhg-promo-card{padding:0;margin:0;overflow:hidden;display:flex;flex-direction:column;min-width:0}.bhg-campaign-visual{display:flex;align-items:center;justify-content:center;gap:24px;padding:25px 20px;min-height:165px;background:linear-gradient(120deg,#f0e7fb,#faf6ff)}.bhg-campaign-visual.is-cash{background:linear-gradient(120deg,#ebe7f6,#f9f3e8)}.bhg-campaign-visual>img{width:95px;height:95px;object-fit:contain}.bhg-campaign-number{display:block;font-size:46px;line-height:1.1;font-weight:800;letter-spacing:-2px;color:#59308d}.bhg-campaign-benefit{display:block;font-size:18px;color:#222858;margin-top:5px}.bhg-campaign-copy{padding:24px;display:flex;flex-direction:column;flex:1}.bhg-promotions-visual .bhg-campaign-copy h3{font-size:27px;line-height:1.12}.bhg-campaign-copy>.bhg-section-label{font-size:10px;letter-spacing:1px}.bhg-campaign-copy>p:not(.bhg-section-label){font-size:14px;margin-bottom:22px}.bhg-campaign-copy>.bhg-primary{font-size:13px;margin-top:auto;width:100%}.bhg-promotions-visual .bhg-promo-actions{gap:10px;justify-content:space-between;border-top:1px solid #ece5f5;padding-top:15px}.bhg-promotions-visual .bhg-promo-actions .bhg-text-link{font-size:12px;padding:0;text-align:left}.bhg-promotions-visual details{font-size:13px}.bhg-promotions-visual details ul{padding-left:20px}.bhg-rewards-guide{margin-top:28px;padding:30px;background:#fff;border:1px solid #e6ddf3;border-radius:25px}.bhg-rewards-guide>h2{font-size:34px;margin:8px 0}.bhg-guide-intro{max-width:66ch}.bhg-reward-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:27px}.bhg-reward-steps article{position:relative;padding:18px 12px;border-radius:16px;background:#faf7fd;text-align:center;min-width:0}.bhg-reward-steps img{width:65px;height:65px;object-fit:contain;display:block;margin:0 auto 15px}.bhg-step-number{font-size:11px;color:#8e65b9;letter-spacing:1px}.bhg-reward-steps h3{font-size:19px;line-height:1.12;margin:9px 0}.bhg-reward-steps p{font-size:12px;line-height:1.55}.bhg-reward-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.bhg-reward-bottom .bhg-text-link{font-size:12px}.bhg-reward-programs{margin-top:22px;border-top:1px solid #eee7f5;padding-top:17px}.bhg-reward-programs summary{cursor:pointer;font-weight:700;color:#65329c}
@media(max-width:1050px){.bhg-reward-hero{grid-template-columns:1fr}.bhg-reward-hero figure{height:260px;min-height:0;grid-row:1}.bhg-reward-hero figure img{object-position:50% 38%}.bhg-reward-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.bhg-reward-hero h1{font-size:46px}}
@media(max-width:650px){.bhg-promo-grid{grid-template-columns:1fr}.bhg-reward-hero-copy{padding:27px 23px}.bhg-reward-hero h1{font-size:40px}.bhg-reward-hero figure{height:220px}.bhg-rewards-guide{padding:24px 18px}.bhg-campaign-number{font-size:43px}.bhg-reward-steps{gap:10px}.bhg-reward-steps article{padding:16px 9px}.bhg-reward-steps h3{font-size:18px}.bhg-reward-bottom{gap:10px}}

.bhg-support-request{margin-top:20px}.bhg-support-request form{padding:18px;background:#faf7fd;border:1px solid #e8ddf3;border-radius:15px}.bhg-support-request label{display:block;font-size:13px;margin:12px 0}.bhg-support-request input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;padding:10px;border:1px solid #d9cbea;border-radius:8px;margin-top:6px}.bhg-support-request form p{font-size:12px}.bhg-support-request button:disabled{opacity:.65;cursor:default}

.bhg-experience .bhg-activation-card{margin:24px 0;padding:22px;border:2px solid #b18ad3;border-radius:20px;background:linear-gradient(130deg,#f7efff,#fff)}.bhg-experience .bhg-activation-card h3{font-size:25px;line-height:1.2}.bhg-experience .bhg-activation-card p{font-size:13px}.bhg-experience .bhg-activation-card .bhg-partner-code{margin:18px 0 12px;background:#fff}.bhg-experience .bhg-activation-card code{font-size:clamp(23px,3vw,34px);letter-spacing:.06em;overflow-wrap:anywhere}.bhg-experience .bhg-guide-button{margin-top:10px}.bhg-experience .bhg-preview-sample{background:#efe5fa;padding:10px 12px;border-radius:10px;margin:0 0 16px;color:#61378d;font-weight:700}.bhg-experience .bhg-activation-card .bhg-steps{margin-bottom:0}
