/* Member account and profile redesign — 2026-10-14 */
.bh-account{width:min(1500px,100%);margin:24px auto 0;grid-template-columns:224px minmax(0,1fr);gap:24px;padding:0 24px 40px;background:#f5f8f5;min-height:70vh}
.bh-account :is(main,section,aside,nav,form,div,span){min-width:0}
.bh-account-sidebar{border:1px solid #e1ebe5;border-radius:20px;padding:24px 16px;align-self:start;box-shadow:0 8px 30px #143b2806}
.bh-account-user strong{overflow-wrap:anywhere;line-height:1.6}
.bh-account-sidebar nav a,.bh-account-logout button{min-height:46px;border-radius:12px}
.bh-account-sidebar nav a.active:hover{background:#07513a;color:#fff}
.bh-account-content{padding:0}
.bh-account-banner{margin:0 0 20px;border-radius:20px;min-height:170px;padding:28px 32px;background:linear-gradient(90deg,#073c30ed,#073c3060),url('service-hero-field.jpg') center/cover}
.bh-account-banner h1{font-size:clamp(23px,2.1vw,32px);line-height:1.5;overflow-wrap:anywhere;margin:8px 0}
.bh-account-banner p{font-size:13px;color:#dbefdd}
.bh-account-banner span{font-size:14px;line-height:1.7}
.bh-account-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.bh-account-stat-grid>div{border-radius:16px;padding:16px 12px;box-shadow:0 4px 18px #153b2804}
.bh-account-stat-grid small{color:#678375;font-size:12px;line-height:1.6}
.bh-account-stat-grid strong{font-size:26px;line-height:1.3}
.bh-account-quick{margin:18px 0;gap:10px}
.bh-account-quick a{min-height:46px;padding:11px 18px;font-size:14px;border-radius:12px}
.bh-account-columns{grid-template-columns:minmax(0,1fr) 280px;gap:20px}
.bh-account-main-panel,.bh-account-right>section{border-radius:18px;padding:20px}
.bh-account-main-panel{margin:0}
.bh-account-card{border-radius:15px}
.bh-account-card-details,.bh-account-card>div:not(.bh-account-card-details){padding:14px}
.bh-account-card-details>a strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.bh-account-card-actions a,.bh-account-card-actions button{min-height:36px;font-size:12px}
.bh-account-right dd{overflow-wrap:anywhere}
.bh-account-mobile-nav{max-width:100%}
.bh-account-profile-view .bh-account-columns{grid-template-columns:minmax(0,1fr)}
.bh-account-profile-view .bh-account-main-panel{border:0;background:transparent;padding:0}
.bh-account-profile-view .bh-account-right{display:none}
.bh-profile-page{width:100%;min-width:0}
.bh-profile-hero{border-radius:20px;min-height:175px;padding:28px;gap:20px;background:linear-gradient(90deg,#073c30ed,#073c3060),url('service-hero-field.jpg') center/cover}
.bh-profile-hero>div:nth-child(2){flex:1;min-width:0}
.bh-profile-hero h1{font-size:26px;line-height:1.5;overflow-wrap:anywhere}
.bh-profile-hero p{margin:0 0 5px;color:#dbeee0}
.bh-profile-hero span{line-height:1.7}
.bh-profile-hero>a{min-height:44px;border-radius:12px}
.bh-profile-tabs{display:flex;overflow-x:auto;max-width:100%;border-radius:15px;scrollbar-width:thin}
.bh-profile-tabs>a{flex:1 0 auto;white-space:nowrap;min-height:58px;padding:14px 18px;font-size:14px}
.bh-profile-tabs>a svg{height:20px;flex:none}
.bh-profile-layout{grid-template-columns:minmax(0,1.6fr) minmax(240px,.85fr);gap:20px}
.bh-profile-panel,.bh-profile-aside>section{padding:24px;border-radius:18px}
.bh-profile-panel h2,.bh-profile-aside h2{font-size:21px;line-height:1.6}
.bh-profile-panel>p,.bh-profile-note,.bh-profile-advice p{font-size:14px;color:#688174;line-height:1.8}
.bh-profile-form{gap:20px}
.bh-profile-form label{font-size:15px}
.bh-profile-form input:not([type=checkbox]),.bh-profile-form textarea{font-size:16px;border-radius:12px;padding:13px 14px;max-width:100%;min-width:0;background:#fcfefd}
.bh-profile-form textarea{resize:vertical}
.bh-profile-form input:focus-visible,.bh-profile-form textarea:focus-visible{outline:2px solid #1a835f;outline-offset:2px}
.bh-profile-form button{min-height:46px;font-size:15px;padding:12px 22px;border-radius:12px}
.bh-profile-aside dl{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.bh-profile-aside dd{overflow-wrap:anywhere}
.bh-profile-aside dt,.bh-profile-aside dd{font-size:13px;line-height:1.8}
.bh-account a:focus-visible,.bh-account button:focus-visible{outline:3px solid #f9a24d;outline-offset:3px}
@media(min-width:801px){.bh-account-mobile-nav{display:none}}
@media(max-width:1200px){.bh-account{grid-template-columns:200px minmax(0,1fr);gap:18px;padding-inline:18px}.bh-account-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bh-account-columns{grid-template-columns:minmax(0,1fr) 245px}.bh-account-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-profile-layout{grid-template-columns:minmax(0,1fr)}.bh-profile-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bh-profile-hero{flex-wrap:wrap}.bh-profile-hero>a{margin-left:128px}}
@media(max-width:1000px){.bh-account-columns{grid-template-columns:minmax(0,1fr)}.bh-account-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bh-account-right>section{margin:0}}
@media(max-width:800px){.bh-account{display:block;margin:14px auto 0;padding:0 14px calc(108px + env(safe-area-inset-bottom))}.bh-account-sidebar{display:none}.bh-account-banner{padding:22px;border-radius:18px;min-height:150px;margin-bottom:14px}.bh-account-banner h1{font-size:23px}.bh-account-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bh-account-stat-grid>div{padding:12px 10px;gap:8px}.bh-account-stat-grid small{font-size:11px}.bh-account-stat-grid strong{font-size:23px}.bh-account-quick{justify-content:flex-start}.bh-account-mobile-nav{display:flex;gap:8px;overflow-x:auto;padding:3px 0 12px;margin:0 0 8px}.bh-account-mobile-nav a{font-size:13px;padding:11px 14px;min-height:44px;flex:none;border:1px solid #e0ebe3;border-radius:12px}.bh-account-mobile-nav svg{width:18px;height:18px}.bh-profile-hero{padding:20px;gap:14px}.bh-profile-portrait{width:82px;height:82px;border-width:3px}.bh-profile-hero h1{font-size:21px}.bh-profile-hero>a{margin-left:96px}.bh-profile-tabs>a{min-width:132px;font-size:13px;padding:12px 15px;min-height:52px}.bh-profile-panel{padding:20px}.bh-account-main-panel{padding:16px}}
@media(max-width:520px){.bh-account{padding-inline:12px}.bh-account-banner{padding:20px 18px}.bh-account-banner h1{font-size:21px}.bh-account-banner span{font-size:13px}.bh-account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-account-stat-grid>div:last-child{grid-column:1/-1}.bh-account-stat-grid small{font-size:12px}.bh-account-stat-grid>div{min-height:76px}.bh-account-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bh-account-quick a{font-size:12px;padding:11px 8px;justify-content:center;white-space:normal;text-align:center}.bh-account-quick svg{flex:none}.bh-profile-hero{padding:20px 16px;align-items:center}.bh-profile-portrait{width:68px;height:68px}.bh-profile-hero>div:nth-child(2){flex-basis:calc(100% - 82px)}.bh-profile-hero h1{font-size:18px;margin:4px 0}.bh-profile-hero p,.bh-profile-hero span{font-size:12px}.bh-profile-hero>a{margin:2px 0 0;width:100%;justify-content:center}.bh-profile-panel,.bh-profile-aside>section{padding:18px}.bh-profile-aside{display:flex;flex-direction:column;gap:14px}.bh-profile-aside>section{margin:0}.bh-profile-panel h2{font-size:20px}.bh-profile-form button{justify-self:stretch;justify-content:center;width:100%}.bh-account-right{grid-template-columns:minmax(0,1fr)}.bh-account-cards{grid-template-columns:minmax(0,1fr)}.bh-account-image{height:190px}.bh-account-card-details>a strong{font-size:16px}.bh-account-panel-head{flex-wrap:wrap}.bh-account-filters a{font-size:12px;padding:10px 13px}.bh-profile-check{align-items:flex-start!important;line-height:1.7}.bh-profile-check input{flex:none;margin-top:4px}.bh-profile-form input[type=file]{font-size:13px;padding:10px}}

/* Profile uses its own identity header and account summary. */
.bh-account-profile-view .bh-account-banner,.bh-account-profile-view .bh-account-stat-grid,.bh-account-profile-view .bh-account-quick{display:none}
@media(max-width:800px){.bh-account-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;overflow:visible}.bh-account-mobile-nav a{flex-direction:column;justify-content:center;text-align:center;white-space:normal;gap:6px;font-size:11px;padding:10px 4px;line-height:1.5}}
