/* BX App 3.9.5: scoped, lightweight member-facing finishing pass.
   Does not touch Astra, WordPress toolbar, checkout fields or gateway controls. */
.bxc.bxc40-app .bxc40-brand-icon,
.bxc40-app .bxc40-navbar .bxc40-brand-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 44px!important;width:44px!important;height:38px!important;
 padding:0!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;background-image:none!important;
 outline:0!important;transform:none!important;
}
.bxc.bxc40-app .bxc40-brand-icon .bxc374-mark{
 display:block!important;width:43px!important;height:34px!important;
 max-width:none!important;overflow:visible!important;transform:none!important;
 filter:none!important;
}
.bxc40-app .bxc40-brand{gap:8px!important;align-items:center!important}
.bxc40-app .bxc382-guest-entry{box-shadow:0 7px 22px #0d527910!important}
.bxc40-app .bxc382-guest-copy p{line-height:1.45!important}
/* Member identity stays visible without creating another row of navigation buttons. */
.bxc40-app .bxc390-status-strip{
 display:flex;align-items:center;gap:10px;
 margin:11px 0 14px;padding:10px 13px;
 border-radius:13px;box-shadow:none;
 background:linear-gradient(110deg,#f0fbf7 0%,#eaf5ff 76%,#fff8f3 100%);
}
.bxc40-app .bxc390-status-strip strong{font-size:13px;line-height:1.35}
.bxc40-app .bxc390-status-strip small{font-size:11px;line-height:1.4}
.bxc40-app .bxc390-status-pill{padding:5px 9px;line-height:1.4;max-width:100%;white-space:normal}
.bxc40-app .bxc390-status-strip>a{margin-left:auto;min-height:34px;padding:7px 10px}
.bxc40-app .bxc40-pagehead{margin-bottom:15px!important;padding-bottom:12px!important}
/* Account facts: concise status presentation; every status keeps its own relevant action. */
.bxc40-app .bxc390-account>.bxc390-panel{padding:clamp(16px,2.8vw,27px)!important}
.bxc40-app .bxc390-account .bxc390-panel h2{font-size:clamp(24px,3vw,30px)!important;margin:3px 0 8px!important}
.bxc40-app .bxc390-facts{margin:13px 0 15px;gap:9px}
.bxc40-app .bxc390-facts>div{min-height:78px;padding:13px 14px;box-shadow:none;background:linear-gradient(155deg,#f8fcff,#f3fbf8)}
.bxc40-app .bxc390-facts dt{font-size:10px;margin-bottom:4px;color:#597486}
.bxc40-app .bxc390-facts dd{font-size:14px;line-height:1.4}
.bxc40-app .bxc392-fact-action{min-height:30px;margin-top:8px;padding:5px 9px;font-size:11px;border-radius:8px}
.bxc40-app .bxc390-next{margin-top:12px;padding:12px 14px;gap:9px;border-radius:12px}
.bxc40-app .bxc390-next strong{font-size:13px;line-height:1.5}
.bxc40-app .bxc390-next .bxc-btn{min-height:40px;margin:0!important;padding:9px 13px!important}
.bxc40-app .bxc390-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.bxc40-app .bxc390-grid a{min-width:0;padding:14px;border-radius:13px;box-shadow:none;
 background:linear-gradient(150deg,#fff,#f6fbff);}
.bxc40-app .bxc390-grid strong{font-size:14px}
.bxc40-app .bxc390-grid span{font-size:11px;line-height:1.4}
/* Inbox and agreement panels: clear empty state and one visible primary action. */
.bxc40-app .bxc395-empty{display:grid;justify-items:start;gap:9px;padding:17px 16px;
 border:1px solid #cce5e9;border-radius:14px;background:linear-gradient(110deg,#eaf9f4,#eff6ff)}
.bxc40-app .bxc395-empty strong{font-size:17px;color:#164a69}
.bxc40-app .bxc395-empty p{margin:0 0 4px!important;font-size:13px!important;line-height:1.5!important}
.bxc40-app .bxc395-empty .bxc-btn{min-height:42px;margin:0!important}
.bxc40-app .bxc390-agree-link{padding:13px 15px;border-radius:12px;gap:8px}
.bxc40-app .bxc390-deals>p,.bxc40-app .bxc-private-note{font-size:12px;line-height:1.55}
.bxc40-app .bxc390-panel .bxc390-side-link{font-size:12px}
@media(max-width:680px){
 .bxc.bxc40-app .bxc40-brand-icon,
 .bxc40-app .bxc40-navbar .bxc40-brand-icon{flex-basis:40px!important;width:40px!important;height:36px!important}
 .bxc.bxc40-app .bxc40-brand-icon .bxc374-mark{width:40px!important;height:31px!important}
 .bxc40-app .bxc390-status-strip{padding:9px 11px;gap:7px;flex-wrap:wrap}
 .bxc40-app .bxc390-status-strip>span:first-child{flex:1 1 150px}
 .bxc40-app .bxc390-status-pill{flex:0 1 auto;font-size:10px}
 .bxc40-app .bxc390-status-strip>a{font-size:11px;padding:7px 9px}
 .bxc40-app .bxc390-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .bxc40-app .bxc390-facts>div{padding:12px 11px;min-height:70px}
 .bxc40-app .bxc390-facts>div:nth-child(3),
 .bxc40-app .bxc390-facts>div:nth-child(8){grid-column:1/-1}
 .bxc40-app .bxc390-facts dd{font-size:13px}
 .bxc40-app .bxc390-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 .bxc40-app .bxc390-grid a{padding:12px}
 .bxc40-app .bxc390-grid strong{font-size:13px}
 .bxc40-app .bxc390-next .bxc-btn{width:100%;justify-content:center;text-align:center}
}
@media(max-width:360px){
 .bxc40-app .bxc390-facts dd{font-size:12px}
 .bxc40-app .bxc390-grid{grid-template-columns:1fr 1fr!important}
 .bxc40-app .bxc390-grid a{padding:10px}
 .bxc40-app .bxc390-grid span{font-size:10px}
 .bxc40-app .bxc390-status-pill{order:3;flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.bxc40-app .bxc395-empty *{animation:none!important;transition:none!important}}

.bxc40-app .bxc395-inbox h2{margin-bottom:4px}
.bxc40-app .bxc395-inbox-group{margin:16px 0 20px}
.bxc40-app .bxc395-inbox-group h3{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 8px!important;color:#174365}
.bxc40-app .bxc395-inbox-group h3 span{font-size:11px;color:#206f7d;background:#e9f9f6;border-radius:40px;min-width:26px;text-align:center;padding:3px 7px}
.bxc40-app .bxc395-inbox-past{border-top:1px solid #d9e8ed;margin-top:10px;padding-top:14px}
.bxc40-app .bxc395-inbox-past summary{cursor:pointer;color:#3b7188;font-size:13px;font-weight:800}
.bxc40-app .bxc395-inbox .bxc-thread-link{margin:7px 0;padding:12px 14px;border-radius:13px}
.bxc40-app .bxc395-inbox .bxc-thread-link:focus-visible{outline:2px solid #2b8fb6;outline-offset:2px}
