/* BX App v3.8.2 — narrowly scoped member-first design; Astra header remains untouched. */
.bxc40-app{--bxc382-navy:#164269;--bxc382-blue:#216ca8;--bxc382-mint:#23bda1;--bxc382-coral:#df5862;--bxc382-baby:#d6eafe}
.bxc40-app .bxc40-brand,.bxc40-app .bxc40-pagehead h1,.bxc40-app .bxc40-feature-copy>strong,.bxc40-app .bxc382-story h2{
 font-family:"Poppins","Avenir Next","Trebuchet MS","Segoe UI",sans-serif!important;font-weight:850!important;letter-spacing:-.035em!important
}
.bxc40-app .bxc40-brand>span:last-child{
 background:linear-gradient(100deg,#103962 4%,#226fa7 42%,#18a98c 78%,#df6665 100%);
 -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#175279!important;
}
.bxc40-app .bxc40-pagehead h1{
 background:linear-gradient(105deg,#103861,#2469a7 64%,#159a8b 100%);
 -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.bxc40-app .bxc40-brand-icon{
 width:44px!important;height:42px!important;flex:0 0 44px!important;border-radius:13px!important;
 background:linear-gradient(135deg,#edf7ff 8%,#e0faf0 78%,#fff1ea)!important;
 border:1px solid #c9e4e8!important;box-shadow:0 6px 16px #15447716!important;
}
.bxc40-app .bxc374-mark{display:block!important;width:40px!important;height:30px!important;overflow:visible!important;transform:none!important}
.bxc40-app .bxc40-feature-copy>strong{color:#15436d!important}
/* Account entry sits ABOVE the content, accessible without discovering bottom-page buttons. */
.bxc40-app .bxc382-guest-entry{
 display:flex;align-items:center;justify-content:space-between;gap:14px;
 margin:15px var(--bxc374-edge-right,20px) 10px var(--bxc374-edge-left,20px);
 padding:14px 19px;border:1px solid #c3e3e5;border-radius:20px;
 background:linear-gradient(110deg,#d9f8ed 0%,#e0f1ff 53%,#fff0e9 100%);
 box-shadow:0 9px 23px #0d527916;min-width:0
}
.bxc40-app .bxc382-guest-copy{min-width:0}
.bxc40-app .bxc382-eyebrow{display:block;color:#168478;font-size:10px;letter-spacing:.135em;font-weight:850;margin-bottom:5px}
.bxc40-app .bxc382-guest-copy strong{display:block;font-size:16px;color:#143e65;font-weight:850;line-height:1.3}
.bxc40-app .bxc382-guest-copy p{color:#3c6579;font-size:12px!important;margin:3px 0 0!important;line-height:1.45}
.bxc40-app .bxc382-guest-links{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.bxc40-app .bxc382-guest-links a{min-height:44px;padding:10px 15px;border-radius:12px;text-decoration:none!important;font-size:13px!important;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;border:1px solid #a8d2e4;box-shadow:0 3px 8px #164c6311;transition:transform .13s ease,box-shadow .13s ease}
.bxc40-app .bxc382-guest-links svg{width:17px;height:17px}
.bxc40-app .bxc382-login{background:#fff!important;color:#235e80!important}
.bxc40-app .bxc382-register{background:linear-gradient(110deg,#17538c,#2175a2 58%,#23a88e)!important;color:white!important;border-color:#327c9f!important}
.bxc40-app .bxc382-guest-links a:hover{transform:translateY(-1px);box-shadow:0 6px 15px #174c7222}
.bxc40-app .bxc382-guest-links a:focus-visible{outline:3px solid #185f97;outline-offset:3px}
/* Landing extension: useful orientation content, not a list of extra CTAs. */
.bxc40-app .bxc382-story{margin:26px 0 10px;color:#173d59}
.bxc40-app .bxc382-story-title>span{font-size:10px;color:#218e87;font-weight:850;letter-spacing:.14em}
.bxc40-app .bxc382-story h2{font-size:clamp(23px,3vw,31px)!important;line-height:1.16;margin:7px 0 8px!important;color:#143b5d!important}
.bxc40-app .bxc382-story-title>p{margin:0 0 17px!important;font-size:14px;color:#567587;max-width:620px}
.bxc40-app .bxc382-story-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bxc40-app .bxc382-story-steps article{min-width:0;padding:20px 20px 17px;border:1px solid #c9e2e9;border-radius:19px;background:linear-gradient(140deg,#f0fffb,#ebf4ff);box-shadow:0 9px 25px #163f5b0b}
.bxc40-app .bxc382-story-steps article:nth-child(2){background:linear-gradient(140deg,#e5f4ff,#f8f8ff)}
.bxc40-app .bxc382-story-steps article:nth-child(3){background:linear-gradient(140deg,#fff0eb,#eaf8ff 88%)}
.bxc40-app .bxc382-step-art{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#ffffffc9;color:#206a93;box-shadow:0 3px 10px #2757710f;margin-bottom:9px}
.bxc40-app .bxc382-story-steps small{color:#219785;font-weight:850;font-size:11px}
.bxc40-app .bxc382-story-steps h3{font-size:16px!important;line-height:1.3;color:#173f65;margin:3px 0 6px!important}
.bxc40-app .bxc382-story-steps p{font-size:13px!important;line-height:1.55;color:#536d7e;margin:0!important}
.bxc40-app .bxc382-story-note{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:15px 0 0!important;color:#416f7e;font-size:12px!important}
/* Guided applications: real three-step form, same existing server POST/nonce/role validation. */
.bxc40-app .bxc382-apply{max-width:840px;margin:0 auto;background:linear-gradient(150deg,#fff 0%,#f4fcff 70%,#f1fffb 100%)!important;border:1px solid #cce6ed!important;border-radius:23px!important;padding:clamp(19px,3.3vw,34px)!important;box-shadow:0 15px 36px #154a7112!important}
.bxc40-app .bxc382-form-head h2{font-family:"Poppins","Avenir Next","Trebuchet MS","Segoe UI",sans-serif!important;font-weight:820!important;letter-spacing:-.035em;font-size:clamp(23px,3.3vw,31px)!important;color:#153e64!important;margin:5px 0 7px!important;line-height:1.2!important}
.bxc40-app .bxc382-form-head p{font-size:14px;color:#4d6f83;margin:0 0 18px!important;line-height:1.55}
.bxc40-app .bxc382-existing-note{font-size:13px;color:#205c6c;background:#e4f8f5;border:1px solid #bce9dc;padding:10px 12px;border-radius:11px;margin-bottom:14px}
.bxc40-app .bxc382-progress{margin:15px 0 22px}
.bxc40-app .bxc382-progress-label{font-size:12px;color:#317584;font-weight:800;display:block;margin-bottom:7px}
.bxc40-app .bxc382-meter{width:100%;height:7px;overflow:hidden;border-radius:99px;background:#dcebf1}
.bxc40-app .bxc382-meter>i{display:block;height:100%;width:33.333%;border-radius:99px;background:linear-gradient(90deg,#1b639a,#2ab89e,#eb8164);transition:width .22s ease}
.bxc40-app .bxc382-application.bxc382-ready .bxc382-form-step:not(.is-current){display:none!important}
.bxc40-app .bxc382-form-step{min-width:0}
.bxc40-app .bxc382-step-heading{display:flex;gap:12px;align-items:center;margin:0 0 16px}
.bxc40-app .bxc382-step-heading>strong{width:39px;height:39px;border-radius:13px;flex:none;display:grid;place-items:center;color:#175b82;background:linear-gradient(120deg,#d5f4e9,#d5e9ff);font-size:12px}
.bxc40-app .bxc382-step-heading h3{color:#173f63!important;font-size:19px!important;line-height:1.25!important;margin:0 0 3px!important;font-weight:850}
.bxc40-app .bxc382-step-heading p{margin:0!important;color:#648093;font-size:12px!important;line-height:1.45}
.bxc40-app .bxc382-application label{font-size:13px!important;color:#284e68!important;font-weight:760!important;line-height:1.4;display:grid;gap:7px;margin:12px 0}
.bxc40-app .bxc382-application input:not([type=checkbox]),.bxc40-app .bxc382-application select,.bxc40-app .bxc382-application textarea{width:100%;min-height:47px;border:1.4px solid #bdd8e5!important;border-radius:12px!important;background:#f9fcff!important;color:#173e59!important;padding:11px 14px!important;box-shadow:none!important;font-size:15px!important;line-height:1.45!important}
.bxc40-app .bxc382-application :is(input,select,textarea)::placeholder{color:#6a8798!important;opacity:1!important}
.bxc40-app .bxc382-application :is(input,select,textarea):focus{outline:2px solid #478fca!important;outline-offset:1px!important;border-color:#3585b4!important;background:#fff!important}
.bxc40-app .bxc382-application .bxc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 17px;align-items:start}
.bxc40-app .bxc382-application .bxc-v3-market-picker{margin:9px 0 18px!important;min-width:0}
.bxc40-app .bxc382-application .bxc-v3-market-picker legend{font-size:13px;color:#315d79;font-weight:850;margin-bottom:9px}
.bxc40-app .bxc382-application .bxc-v3-chip{margin:0!important;display:flex;align-items:center;min-width:0}
.bxc40-app .bxc382-application .bxc-v3-chipset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.bxc40-app .bxc382-application .bxc-v3-chip span{font-size:12px!important}
.bxc40-app .bxc382-textarea-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.bxc40-app .bxc382-textarea-grid textarea{min-height:115px!important;resize:vertical}
.bxc40-app .bxc382-review{display:flex;align-items:flex-start;gap:11px;padding:15px;background:linear-gradient(130deg,#e8f7ff,#effff9);border:1px solid #cae5e8;border-radius:14px;margin:9px 0 17px;color:#3a687e}
.bxc40-app .bxc382-review span{flex:none;color:#258a87}.bxc40-app .bxc382-review p{font-size:13px!important;line-height:1.5;margin:0!important}
.bxc40-app .bxc382-application label.bxc-consent{display:flex;align-items:flex-start;font-size:13px!important;gap:10px;line-height:1.55}
.bxc40-app .bxc382-application label.bxc-consent input{width:19px!important;height:19px!important;flex:none;accent-color:#228b96;margin-top:2px}
.bxc40-app .bxc382-step-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px}
.bxc40-app .bxc382-step-actions button{min-height:46px;padding:11px 20px!important;border-radius:12px!important;font-size:14px!important;font-weight:800;cursor:pointer;border:1px solid #bdd8e3}
.bxc40-app .bxc382-application .bxc382-next,.bxc40-app .bxc382-application .bxc382-back{display:none}
.bxc40-app .bxc382-application.bxc382-ready .bxc382-next{display:inline-flex;align-items:center;gap:7px;background:linear-gradient(115deg,#174f84,#257aa6 64%,#28a98c)!important;color:white!important;border:0!important}
.bxc40-app .bxc382-application.bxc382-ready .bxc382-back{display:inline-flex;align-items:center;gap:7px;background:white!important;color:#245c7c!important;border:1px solid #b8d6e5!important}
.bxc40-app .bxc382-step-actions .bxc382-submit{display:inline-flex!important;align-items:center;gap:7px;justify-content:center;background:linear-gradient(110deg,#17578c,#277dad 60%,#28ad96)!important;color:white!important;border:0!important}
.bxc40-app .bxc382-form-error{font-size:12px;color:#ae3d49;line-height:1.5;margin:8px 0!important;font-weight:750}
/* Search CTA shares the same vertical rhythm and branded gradient as its fields. */
.bxc40-app .bxc37-discover-form{display:grid!important;grid-template-columns:minmax(130px,1fr) minmax(180px,1.45fr) minmax(118px,auto);gap:11px;align-items:end;margin:12px 0!important}
.bxc40-app .bxc37-discover-form label{margin:0!important;min-width:0;display:grid;gap:6px}
.bxc40-app .bxc37-discover-form :is(input,select){margin:0!important;min-height:49px!important;height:49px;border-radius:12px!important;background:#fff!important;border:1px solid #bdd6e6!important;padding:10px 13px!important;box-shadow:none!important;font-size:15px!important}
.bxc40-app .bxc37-discover-form input::placeholder{color:#647f92;opacity:1}
.bxc40-app .bxc37-discover-form .bxc-btn{min-height:49px!important;height:49px;min-width:118px;align-self:end;display:inline-flex;align-items:center;justify-content:center;text-align:center;margin:0!important;padding:10px 20px!important;background:linear-gradient(115deg,#195992,#246da6 57%,#24ab97)!important;color:white!important;border:0!important;border-radius:12px!important;box-shadow:0 7px 14px #205c8525!important;font-weight:800!important}
/* Lightweight communication forms: legible fields, consistent actions; never wizardise chat. */
.bxc40-app .bxc40-main :is(.bxc-compose,.bxc-create-contract form) :is(input:not([type=checkbox]),select,textarea){border:1px solid #b9d5e3;border-radius:12px;background:#f9fcff;color:#173d59;padding:10px 12px;font-size:15px;min-height:44px}
.bxc40-app .bxc40-main :is(.bxc-compose,.bxc-create-contract form) :is(input,textarea)::placeholder{color:#6c8496;opacity:1}
.bxc40-app .bxc40-main :is(.bxc-compose,.bxc-create-contract form) button{border-radius:12px!important;background:linear-gradient(110deg,#1d5f98,#23a793)!important;color:white!important}
@media(max-width:760px){
 .bxc40-app .bxc382-guest-entry{margin:10px var(--bxc374-edge-right,14px) 10px var(--bxc374-edge-left,14px);flex-direction:column;align-items:stretch;padding:13px}
 .bxc40-app .bxc382-guest-links{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:7px}
 .bxc40-app .bxc382-guest-links a{padding:10px 8px;font-size:12px!important;white-space:normal;text-align:center}
 .bxc40-app .bxc382-story-steps{grid-template-columns:1fr;gap:9px}
 .bxc40-app .bxc382-story-steps article{padding:14px 16px;display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:10px;align-items:start}
 .bxc40-app .bxc382-step-art{grid-row:span 3;margin:0}
 .bxc40-app .bxc382-story-steps h3{margin:1px 0 3px!important}
 .bxc40-app .bxc382-application .bxc-fields,.bxc40-app .bxc382-textarea-grid{grid-template-columns:1fr}
 .bxc40-app .bxc382-application .bxc-v3-chipset{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bxc40-app .bxc37-discover-form{grid-template-columns:1fr 1fr!important}
 .bxc40-app .bxc37-discover-form label:nth-of-type(2){grid-column:2}
 .bxc40-app .bxc37-discover-form .bxc-btn{grid-column:1/-1;min-width:100%;width:100%}
}
@media(max-width:450px){
 .bxc40-app .bxc382-guest-copy strong{font-size:14px}
 .bxc40-app .bxc382-guest-links a svg{width:15px;height:15px}
 .bxc40-app .bxc40-brand-icon{width:39px!important;height:39px!important;flex:0 0 39px!important}
 .bxc40-app .bxc374-mark{width:37px!important}
 .bxc40-app .bxc37-discover-form{grid-template-columns:1fr!important}
 .bxc40-app .bxc37-discover-form label:nth-of-type(2){grid-column:auto}
 .bxc40-app .bxc382-step-actions{display:grid;grid-template-columns:1fr 1fr}
 .bxc40-app .bxc382-step-actions button[data-bxc382-next],.bxc40-app .bxc382-step-actions button.bxc382-submit{grid-column:2}
 .bxc40-app .bxc382-step-actions button.bxc382-submit{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.bxc40-app .bxc382-meter>i,.bxc40-app .bxc382-guest-links a{transition:none}}
