/* Approved utility-tab and help-panel refresh. Existing native details behaviour retained. */
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh>summary.header-help-tab,
html body header.bwp-site-header .header-utility-tabs:has(.bwp-help-refresh) details.client-access>summary.header-client-tab{display:flex;align-items:center;gap:9px;min-height:43px!important;padding:10px 14px!important;border-radius:0 0 8px 8px!important;font-size:12px!important;font-weight:700;box-shadow:inset 0 -2px 0 #b58ce7!important;background:#f4edfd!important;color:#58328b!important;border:1px solid #e3d3f6!important;border-top:0!important}
html body header.bwp-site-header .header-utility-tabs:has(.bwp-help-refresh) details.client-access>summary.header-client-tab{background:#eef9fb!important;color:#245969!important;border-color:#d5e9ee!important;box-shadow:inset 0 -2px 0 #89cdd8!important}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh[open]>summary.header-help-tab{background:#eee3fc!important;color:#5523a1!important;box-shadow:inset 0 -2px 0 #8151cc!important}
html body header.bwp-site-header .header-utility-tabs:has(.bwp-help-refresh) details.client-access[open]>summary.header-client-tab{background:#e2f4f7!important;color:#185667!important;box-shadow:inset 0 -2px 0 #2e9bac!important}
html body header.bwp-site-header .bwp-help-tab-icon{width:19px;height:19px;flex:none}
html body header.bwp-site-header .bwp-help-refresh[open] .utility-tab-chevron{transform:rotate(180deg)}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-panel{width:min(1120px,calc(100vw - 40px));padding:0!important;background:#fffafd!important;border:1px solid #e0d0f1!important;border-top-width:1px!important;border-radius:14px!important;box-shadow:0 16px 40px #3020441c!important;overflow-x:hidden;overflow-y:auto;max-height:calc(100dvh - 150px)}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-start;padding:38px 54px!important;margin:0!important;border-radius:0!important;border:0!important;gap:20px;background:linear-gradient(110deg,#fcf8ff,#fffafd)!important;color:#302044!important;text-align:center}
html body header.bwp-site-header .bwp-help-refresh .header-help-heading>div{width:100%}
html body header.bwp-site-header .bwp-help-refresh .header-help-heading:before{content:'';position:absolute;left:-125px;top:-220px;width:430px;height:350px;border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 27px,#d4b8f32b 28px 55px);z-index:-1;pointer-events:none}
html body header.bwp-site-header .bwp-help-refresh .header-help-heading:after{content:'✳';position:absolute;right:70px;bottom:28px;color:#f34cb3;font-size:35px;font-weight:300;pointer-events:none}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading .bwp-help-eyebrow{font-size:10px!important;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:#6934ce!important;margin:0 0 12px}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading h2{color:#302044!important;font-size:clamp(25px,2.6vw,35px)!important;font-weight:800;line-height:1.2;letter-spacing:-.025em;margin:0}
html body header.bwp-site-header .bwp-help-refresh .header-help-heading h2>span{color:#ed43aa}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading .bwp-help-intro{font-size:14px!important;line-height:1.7;color:#705b83!important;margin:14px 0 0}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading button{position:absolute;right:18px;top:18px;width:34px;height:34px;font-size:24px;line-height:1;background:#f3ebfb!important;color:#5c3287!important;border:1px solid #e7daf3!important;box-shadow:none!important}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;margin:0!important;border:0!important;background:linear-gradient(100deg,#f2e9fc 0%,#faf6ff 30%,#eaf8fb 58%,#fff0f8 100%)!important}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-topic{display:flex;flex-direction:column;gap:0;background:transparent!important;padding:28px 24px!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0;color:#302044}
html body header.bwp-site-header .bwp-help-refresh .header-help-topic:before,html body header.bwp-site-header .bwp-help-refresh .header-help-topic:after{display:none!important}
html body header.bwp-site-header .bwp-help-refresh .bwp-help-category-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:15px;background:#e8d8fc;color:#7834ca;margin-bottom:17px}
html body header.bwp-site-header .bwp-help-refresh .bwp-help-category-icon svg{width:33px;height:33px}
html body header.bwp-site-header .bwp-help-refresh .bwp-help-website .bwp-help-category-icon{background:#d2f0f5;color:#148b9b}
html body header.bwp-site-header .bwp-help-refresh .bwp-help-account .bwp-help-category-icon{background:#ffd9ed;color:#db3296}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-topic h3{font-size:19px!important;font-weight:750;line-height:1.25;color:#302044!important;border:0!important;margin:0 0 10px;padding:0!important}
html body header.bwp-site-header .bwp-help-refresh .bwp-help-topic-intro{font-size:13px;line-height:1.65;margin:0 0 18px;color:#6b587e;min-height:43px}
html body header.bwp-site-header .bwp-help-refresh .header-help-topic ul{margin:0 0 24px;padding:0;list-style:none;flex:1}
html body header.bwp-site-header .bwp-help-refresh .header-help-topic li{margin:0;padding:0;border:0}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-topic li a{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:12px 10px!important;margin:0!important;border:0;border-bottom:1px solid #dccde644!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;font-size:13px;line-height:1.6!important;color:#402653!important;text-decoration:none;transition:background .18s,color .18s}
html body header.bwp-site-header .bwp-help-refresh .header-help-topic li a>span:last-child{color:#8845d5;flex:none}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-topic li a:hover{background:#e6d8fa80!important;color:#6124ad!important;padding:12px 10px!important;transform:none!important}
html body header.bwp-site-header .bwp-help-refresh .header-help-all{align-self:flex-start;font-size:13px;font-weight:700;color:#6934ce!important;background:none!important;padding:0!important;border:0!important;text-decoration:underline;text-underline-offset:5px}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;padding:22px 30px;margin:0;border-top:1px solid #e4d7ef;background:#fff}
html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-footer a{display:inline-flex;gap:15px;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important;color:#6934ce!important;font-size:14px;font-weight:700}
html body header.bwp-site-header .bwp-help-refresh :is(a,button,summary):focus-visible{outline:3px solid #a577d6;outline-offset:3px}
@media(max-width:767px){html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-panel{width:calc(100vw - 32px);max-height:calc(100dvh - 145px)}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading{padding:30px 22px!important;text-align:left}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading h2{font-size:26px!important;padding-right:8px}html body header.bwp-site-header .bwp-help-refresh .header-help-heading:after{display:none}html body header.bwp-site-header .bwp-help-refresh .header-help-heading h2>span{display:block}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-grid{grid-template-columns:1fr;background:linear-gradient(160deg,#f4eafd,#edf9fc 50%,#fff0f8)!important}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-topic{padding:24px!important;border-bottom:1px solid #e7dbee!important}html body header.bwp-site-header .bwp-help-refresh .bwp-help-topic-intro{min-height:0}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-topic li a{min-height:44px}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-footer{padding:22px 24px}html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-footer a{font-size:13px}}
@media(prefers-reduced-motion:reduce){html body header.bwp-site-header .bwp-help-refresh .header-help-topic li a{transition:none}}

html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-heading .bwp-help-intro{text-transform:none!important;letter-spacing:0!important;font-weight:400!important}
html body header.bwp-site-header .bwp-help-refresh .header-help-heading:after{content:'';width:34px;height:34px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg stroke='%23f34cb3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M20 3v34M3 20h34M8 8l24 24M8 32L32 8'/%3E%3C/g%3E%3C/svg%3E")}

html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh>summary .utility-tab-chevron{color:inherit!important;background:transparent!important}
@media(max-width:767px){html body header.bwp-site-header .header-utility-tabs details.bwp-help-refresh .header-help-panel{position:fixed!important;left:16px!important;right:16px!important;top:calc(130px + var(--wp-admin--admin-bar--height,0px))!important;width:auto!important;max-height:calc(100dvh - 146px - var(--wp-admin--admin-bar--height,0px))}}

/* Shared light shell for the native Blesta signed-out / signed-in embeds. */
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-panel{width:min(440px,calc(100vw - 40px));padding:0!important;background:#fff!important;border:1px solid #ded0ee!important;border-top:3px solid #62cdd5!important;border-radius:14px!important;box-shadow:0 18px 45px #30204420!important;max-height:calc(100dvh - 150px);overflow-x:hidden;overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:#d6c4e8 transparent}
html body header.bwp-site-header .bwp-client-panel-refresh .client-access-panel::-webkit-scrollbar{display:block!important;width:6px!important}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading{position:relative;isolation:isolate;overflow:hidden;display:flex;gap:15px;align-items:flex-start;margin:0!important;padding:26px 24px 22px;background:linear-gradient(120deg,#f1e6ff,#fcf8ff)!important;color:#302044!important}
html body header.bwp-site-header .bwp-client-panel-refresh .client-access-heading:before{content:'';position:absolute;width:260px;height:260px;right:-140px;top:-150px;border-radius:50%;border:28px solid #d4b7f329;box-shadow:0 0 0 30px #e1cff72b;z-index:-1;pointer-events:none}
html body header.bwp-site-header .bwp-client-panel-refresh .client-access-heading:after{content:'';position:absolute;right:58px;top:55px;width:40px;height:20px;border-bottom:2px solid #42bfc8;border-radius:50%;transform:rotate(40deg);z-index:-1;pointer-events:none}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading>div{min-width:0;flex:1}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading>div>p:first-child{font-size:10px!important;font-weight:750;letter-spacing:.13em;color:#8553c6!important;margin:0 0 12px;text-transform:uppercase}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading h2{color:#302044!important;font-size:32px!important;font-weight:800;line-height:1.12!important;letter-spacing:-.025em;margin:0 0 12px!important;padding-right:17px}
html body header.bwp-site-header .bwp-client-panel-refresh .client-access-heading h2 span{color:#ef4bad}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading .bwp-client-welcome-copy{font-size:13px!important;font-weight:400;line-height:1.65!important;color:#6c577d!important;margin:0!important;letter-spacing:0;text-transform:none}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading button{position:absolute;top:16px;right:15px;display:grid;place-items:center;width:32px;height:32px;background:#f7f0ff!important;color:#8353c8!important;border:1px solid #e1d0f3;box-shadow:none!important;font-size:23px;line-height:1;border-radius:50%}
html body header.bwp-site-header .bwp-client-panel-refresh .bwp-account-frame{display:block;width:100%;height:0;border:0;margin:0;background:#fff;visibility:hidden}
html body header.bwp-site-header .bwp-client-panel-refresh .bwp-account-frame.bwp-account-ready{visibility:visible}
html body header.bwp-site-header .bwp-client-panel-refresh .bwp-client-portal-footer{padding:18px 24px;background:#fcf9ff;border-top:1px solid #e9def3}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-direct{display:flex;align-items:center;justify-content:flex-start;gap:12px;background:transparent!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;color:#6934ce!important;font-size:13px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:4px}
html body header.bwp-site-header .bwp-client-panel-refresh .client-access-direct svg{width:22px;height:22px;flex:none;color:#25b7c4}
html body header.bwp-site-header .bwp-client-panel-refresh .bwp-member-avatar{display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:#e2d3fa;color:#6731b0;font-size:20px;font-weight:750;flex:none;margin-top:4px}
html body header.bwp-site-header .bwp-client-panel-refresh .bwp-member-avatar[hidden]{display:none}
html body header.bwp-site-header .bwp-client-panel-refresh.is-signed-in .bwp-client-portal-footer{display:none}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh.is-signed-in .client-access-heading h2{font-size:24px!important;line-height:1.25!important;padding-right:12px}
html body header.bwp-site-header .bwp-client-panel-refresh[open] .utility-tab-chevron{transform:rotate(180deg);color:inherit!important}
html body header.bwp-site-header .bwp-client-panel-refresh :is(a,button,summary):focus-visible{outline:3px solid #ad83dc;outline-offset:3px}
@media(max-width:767px){html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-panel{position:fixed;top:calc(130px + var(--wp-admin--admin-bar--height,0px));left:16px;right:16px;width:auto;max-height:calc(100dvh - 146px - var(--wp-admin--admin-bar--height,0px))}html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading{padding:24px 20px 20px}html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-heading h2{font-size:29px!important}html body header.bwp-site-header .bwp-client-panel-refresh .bwp-client-portal-footer{padding:18px 20px}html body header.bwp-site-header .bwp-client-panel-refresh .bwp-member-avatar{width:39px;height:39px;font-size:17px}html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh.is-signed-in .client-access-heading h2{font-size:22px!important}}

html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh{position:static}
html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-panel{position:absolute;right:0;top:calc(100% + 8px)}
@media(max-width:767px){html body header.bwp-site-header .header-utility-tabs details.bwp-client-panel-refresh .client-access-panel{position:fixed;top:calc(130px + var(--wp-admin--admin-bar--height,0px));left:16px;right:16px}}


/* Native Blesta account controls share the same shell as the WordPress embed. */
html body header.bwp-site-header .bwp-native-account-body{padding:18px 22px 20px;background:#fff;color:#302044}
html body header.bwp-site-header .bwp-native-account-body .bwp-account-dashboard{display:block;padding:13px 16px;text-align:center;border-radius:8px;background:linear-gradient(110deg,#6934ce,#8044dd)!important;color:#fff!important;font-size:14px;font-weight:750;text-decoration:none;margin:0 0 16px}
html body header.bwp-site-header .bwp-native-account-nav{display:grid;gap:0;margin:0}
html body header.bwp-site-header .bwp-native-account-nav a{display:flex;align-items:center;gap:13px;min-height:71px;padding:12px 5px;border:0;border-top:1px solid #ede4f5;border-radius:7px;background:transparent;color:#302044!important;text-decoration:none;font-size:14px}
html body header.bwp-site-header .bwp-native-account-nav a:hover{background:#f6effd}
html body header.bwp-site-header .bwp-native-account-nav a>span:nth-child(2){flex:1;min-width:0}
html body header.bwp-site-header .bwp-native-account-nav strong{font-size:14px;display:block;font-weight:750}
html body header.bwp-site-header .bwp-native-account-nav small{display:block;font-size:11px;color:#796487;margin-top:3px}
html body header.bwp-site-header .bwp-account-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;flex:none;background:#f0e7fd;color:#7d3ecb}
html body header.bwp-site-header .bwp-account-icon svg{width:23px;height:23px}
html body header.bwp-site-header :is(.bwp-icon-invoice,.bwp-icon-profile){background:#e0f5f7;color:#1a8798}
html body header.bwp-site-header .bwp-icon-support{background:#ffe0f0;color:#df3c99}
html body header.bwp-site-header .bwp-account-arrow{font-size:21px;color:#8c52d4}
html body header.bwp-site-header .bwp-account-actions{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e7dcef;margin-top:5px;padding-top:17px}
html body header.bwp-site-header .bwp-account-actions a{font-size:12px;color:#6934ce!important;text-underline-offset:4px}
html body header.bwp-site-header .bwp-native-login-form{padding:20px 22px;background:#fff}
html body header.bwp-site-header .bwp-native-login-form .bwp-native-login{display:block;width:100%;height:300px;border:0;margin:0;background:#fff}
html body header.bwp-site-header .bwp-native-recovery{display:flex;gap:18px;margin-top:12px}
html body header.bwp-site-header .bwp-native-recovery a{font-size:12px;color:#6934ce!important;text-underline-offset:4px}
html body header.bwp-site-header .bwp-native-staff{border-top:1px solid #e7dcef;padding-top:12px;margin-top:12px;font-size:12px}
html body header.bwp-site-header .bwp-native-staff a{display:block;color:#6934ce!important}
html body header.bwp-site-header .bwp-native-account-body :is(a,button):focus-visible{outline:3px solid #b48ae3;outline-offset:3px}
html body header.bwp-site-header .header-utility-tabs .utility-tab-chevron{color:inherit!important;background:transparent!important}
@media(max-width:767px){html body header.bwp-site-header .header-utility-tabs{display:flex!important}html body header.bwp-site-header .bwp-native-account-body{padding-inline:18px}}

/* Rotate the chevron wrapper once; the legacy stylesheet also rotated its SVG. */
html body header.bwp-site-header .header-utility-tabs details[open]>summary .utility-tab-chevron svg{transform:none!important}

/* Match the WordPress website's subtle full-width header divider. */
html body.bwp-client.bwp-brand-match.bwp-manager-theme header.bwp-site-header::after {content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:auto!important;height:1px!important;background:#dfd3e9!important;pointer-events:none!important;}
