/* BW Luxury 2.5.0 — design normalization after Divi and Supreme.
   No vendor CSS touched. Rules are scoped to BW experiences/member surfaces. */
:root{--bw-250-type:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.bw-app,body.bw-v16 .bwa-lux,.bw-mentor-page,.bw-mentor-editor{font-family:var(--bw-font,var(--bw-250-type));font-synthesis:none}
.bw-app :is(h1,h2,h3),body.bw-v16 .bwa-lux :is(h1,h2,h3),.bw-mentor-editor :is(h1,h2,h3){text-wrap:balance;letter-spacing:-.025em;line-height:1.22}
.bw-app p,body.bw-v16 .bwa-lux p,.bw-mentor-editor p{line-height:1.58}
/* Member identity: photo is a real element, never a background. */
body.bw-v16 .bwa-lux-hero{overflow:hidden}
body.bw-v16 .bwa-lux-hero-main{align-items:center}
body.bw-v16 .bwa-lux-person{align-items:center;gap:clamp(14px,2.2vw,26px)}
body.bw-v16 .bwa-lux-avatar{width:clamp(104px,11vw,132px);height:clamp(104px,11vw,132px);min-width:0;padding:4px;isolation:isolate}
body.bw-v16 .bwa-lux-avatar .bwa-lux-avatar-image{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center 26%;border-radius:50%}
body.bw-v16 .bwa-lux-avatar>.bw-avatar-badge{top:-7px!important;right:-6px!important;bottom:auto!important;min-width:39px!important;height:23px!important;padding:0 7px!important;font-size:10px!important;letter-spacing:.025em!important;font-weight:800!important;z-index:4}
body.bw-v16 .bwa-lux-avatar>.bw-avatar-camera{position:absolute!important;bottom:0!important;right:-7px!important;top:auto!important;width:31px!important;height:31px!important;display:grid!important;place-items:center!important;z-index:5!important;border-radius:50%!important;box-shadow:0 4px 12px rgba(0,0,0,.22);text-decoration:none!important;color:#ffe2a0!important;background:#081e33!important;border:1px solid #d1a860!important}
body.bw-v16 .bwa-lux-avatar>.bw-avatar-camera svg{width:17px!important;height:17px!important}
body.bw-v16 .bwa-lux-avatar>.bw-avatar-camera:focus-visible{outline:2px solid #2cd7f7;outline-offset:4px}
body.bw-v16 .bwa-lux-identity{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;flex:1}
body.bw-v16 .bw-profile-overline{font-size:clamp(9px,1.2vw,10px);font-weight:750;letter-spacing:.10em}
body.bw-v16 .bw-identity-name{display:flex;gap:7px;align-items:center;flex-wrap:wrap;max-width:100%;min-width:0}
body.bw-v16 .bw-identity-name h1{font-size:clamp(19px,2.6vw,30px)!important;font-weight:780!important;line-height:1.17!important;letter-spacing:-.035em;word-break:normal;overflow-wrap:anywhere;margin:0!important}
body.bw-v16 .bw-verified-badge{flex:0 0 21px;width:21px;height:21px}
body.bw-v16 .bw-checkmark.et-pb-icon{font-size:14px!important;font-weight:850!important}
body.bw-v16 .bwa-lux-id{font-size:clamp(11px,1.15vw,13px);font-weight:560;line-height:1.4}
body.bw-v16 .bw-profile-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.bw-v16 .bwa-lux-level{font-size:11px;font-weight:760;padding:7px 12px;min-height:34px}
body.bw-v16 .bw-member-rank{font-size:11px;line-height:1.3;gap:6px;padding:7px 10px;max-width:100%;flex-wrap:wrap}
body.bw-v16 .bw-member-rank span{font-size:9px;letter-spacing:.065em}
body.bw-v16 .bw-member-rank strong{font-size:12px;font-weight:750;line-height:1.3}
body.bw-v16 .bwa-lux-active{font-size:12px;font-weight:610;line-height:1.35;margin:0!important}
body.bw-v16 .bw-profile-rate{font-size:11.5px!important;line-height:1.45;letter-spacing:0;max-width:400px;margin:0!important}
body.bw-v16 .bw-profile-rate strong{font-weight:750}
body.bw-v16 .bwa-lux-metrics{gap:10px}
body.bw-v16 .bwa-lux-metric{min-height:117px;padding:14px;border-radius:14px;gap:5px}
body.bw-v16 .bwa-lux-metric-title{font-size:12px;line-height:1.35}
body.bw-v16 .bwa-lux-metric strong{font-size:clamp(15px,1.6vw,20px);font-weight:770;line-height:1.25}
body.bw-v16 .bwa-lux-metric small{font-size:10px;line-height:1.42}
body.bw-v16 .bwa-lux-menu-item{min-height:70px;padding-block:12px}
body.bw-v16 .bwa-lux-item-text strong{font-size:clamp(14px,1.5vw,16px);font-weight:720}
body.bw-v16 .bwa-lux-item-text small{font-size:11.5px;line-height:1.45}
/* Shared mentor/member avatar editor. Includes native file input, not simulated upload. */
body.bw-v16 .bw-mentor-editor{max-width:100%;min-width:0}
body.bw-v16 .bw-mentor-editor>h2{font-size:clamp(21px,3vw,28px)!important;font-weight:780}
body.bw-v16 .bw-mentor-editor>p{font-size:13px;max-width:64ch}
body.bw-v16 .bw-editor-form{display:grid;gap:17px;margin-top:22px}
body.bw-v16 .bw-editor-grid{gap:12px}
body.bw-v16 .bw-editor-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:650;font-size:12.5px;line-height:1.4}
body.bw-v16 .bw-mentor-editor :is(input:not([type=checkbox]),textarea),body.bw-v16 .bw-member-edit-form :is(input:not([type=checkbox]),textarea){box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:42px;border:1px solid var(--bw-line);border-radius:12px;padding:10px 12px;background:var(--bw-surface);color:var(--bw-text);font:500 14px/1.5 var(--bw-font,var(--bw-250-type));box-shadow:none}
body.bw-v16 .bw-mentor-editor textarea{resize:vertical;min-height:92px}
body.bw-v16 .bw-mentor-editor input[type=file],body.bw-v16 .bw-member-edit-form input[type=file]{font-size:12px;min-height:unset;padding:8px;background:transparent}
body.bw-v16 .bw-mentor-editor input[type=checkbox],body.bw-v16 .bw-member-edit-form input[type=checkbox]{accent-color:#00bddf;width:17px;height:17px;flex:0 0 17px}
body.bw-v16 .bw-mentor-editor input:focus-visible,body.bw-v16 .bw-mentor-editor textarea:focus-visible,body.bw-v16 .bw-member-edit-form input:focus-visible{outline:2px solid #10bde5;outline-offset:2px}
body.bw-v16 .bw-mentor-editor fieldset,body.bw-v16 .bw-member-edit-form fieldset{border:1px solid var(--bw-line);border-radius:16px;padding:clamp(12px,2.2vw,20px);min-width:0;margin:0}
body.bw-v16 .bw-mentor-editor legend,body.bw-v16 .bw-member-edit-form legend{padding-inline:6px;font-size:14px;font-weight:740;color:var(--bw-text)}
body.bw-v16 .bw-unified-avatar-field{background:linear-gradient(132deg,rgba(1,184,224,.05),rgba(224,170,75,.055));}
body.bw-v16 .bw-editor-photo,body.bw-v16 .bw-avatar-preview img{width:86px!important;height:86px!important;object-fit:cover;object-position:center;border:2px solid #e6bf77;border-radius:50%;box-shadow:0 8px 18px rgba(0,0,0,.11);margin:0 0 8px}
body.bw-v16 .bw-unified-avatar-field label{display:flex;flex-direction:column;gap:8px;font-size:12.5px;font-weight:650}
body.bw-v16 .bw-unified-avatar-field label.bw-check{display:flex;flex-direction:row;align-items:center;font-size:12px;font-weight:570;gap:7px;margin:4px 0 12px}
body.bw-v16 .bw-unified-avatar-field small{display:block;font-size:11.5px;line-height:1.55;color:var(--bw-muted);margin-top:9px}
body.bw-v16 .bw-mentor-editor details{border:1px solid var(--bw-line);border-radius:11px;padding:9px 12px;margin-block:8px}
body.bw-v16 .bw-mentor-editor summary{font-size:13px;font-weight:700;cursor:pointer}
body.bw-v16 .bw-mentor-editor .bwa-lux-button{margin-top:3px}
/* Light mode is a standalone design, not inverted dark colors. */
html.bw-light body.bw-v16 .bwa-lux-hero,html.bw-light body.bw-v16 .bwa-lux-menu{border-color:rgba(166,117,50,.36);box-shadow:0 16px 45px rgba(23,65,95,.07)}
html.bw-light body.bw-v16 .bwa-lux-metric{background:linear-gradient(160deg,#fff,#eff6fc)!important;border-color:#c6d8e6;color:#153149}
html.bw-light body.bw-v16 .bw-profile-rate,html.bw-light body.bw-v16 .bwa-lux-active,html.bw-light body.bw-v16 .bwa-lux-id{color:#35566f!important}
html.bw-light body.bw-v16 .bwa-lux-metric :is(strong,small),html.bw-light body.bw-v16 .bwa-lux-menu-item :is(strong,small){color:#244760}
html.bw-light body.bw-v16 .bwa-lux-metric-title{color:#385870}
html.bw-light body.bw-v16 .bw-member-rank{background:#f1f6fa;border-color:#b8cedd;color:#19364d}
html.bw-light body.bw-v16 .bw-member-rank :is(span,strong){color:#23485f}
html.bw-light body.bw-v16 .bw-mentor-editor :is(input:not([type=checkbox]),textarea),html.bw-light body.bw-v16 .bw-member-edit-form input{background:#fff;color:#143149;border-color:#b6cbda}
html.bw-light body.bw-v16 .bw-unified-avatar-field{background:linear-gradient(145deg,#fffaf0,#edf8fd);border-color:#c3d7e1}
html.bw-light body.bw-v16 .bw-unified-avatar-field small{color:#446379}
@media(max-width:820px){body.bw-v16 .bwa-lux-avatar{width:108px;height:108px}body.bw-v16 .bwa-lux-person{gap:14px}}
@media(max-width:699px){
 body.bw-v16 .bwa-lux{padding-top:18px}
 body.bw-v16 .bwa-lux-card{padding:clamp(14px,4vw,20px);border-radius:19px}
 body.bw-v16 .bwa-lux-hero-main{display:block;margin-bottom:15px}
 body.bw-v16 .bwa-lux-person{display:flex;align-items:center;gap:14px}
 body.bw-v16 .bwa-lux-avatar{width:clamp(83px,24vw,106px);height:clamp(83px,24vw,106px);padding:3px}
 body.bw-v16 .bwa-lux-identity{gap:7px}
 body.bw-v16 .bw-profile-overline{font-size:9px;letter-spacing:.08em}
 body.bw-v16 .bw-identity-name h1{font-size:clamp(17px,5.1vw,23px)!important;font-weight:780!important}
 body.bw-v16 .bwa-lux-id{font-size:10.5px}
 body.bw-v16 .bw-profile-meta{gap:5px;align-items:flex-start}
 body.bw-v16 .bwa-lux-level{font-size:10px;padding:5px 8px;min-height:28px}
 body.bw-v16 .bw-member-rank{padding:5px 7px;font-size:10px;gap:5px}
 body.bw-v16 .bw-member-rank strong{font-size:10.5px}
 body.bw-v16 .bwa-lux-active{font-size:11px}
 body.bw-v16 .bw-profile-rate{font-size:10.5px!important}
 body.bw-v16 .bw-metrics-label{margin-top:8px;margin-bottom:10px}
 body.bw-v16 .bwa-lux-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.bw-v16 .bwa-lux-metric{min-height:114px;padding:12px}
 body.bw-v16 .bwa-lux-metric>strong{font-size:clamp(15px,4vw,18px)}
 body.bw-v16 .bwa-lux-menu-item{min-height:65px;gap:11px}
 body.bw-v16 .bwa-lux-item-text small{font-size:11px}
 body.bw-v16 .bw-editor-grid{grid-template-columns:1fr}
 body.bw-v16 .bw-mentor-editor h2{font-size:20px!important}
}
@media(max-width:360px){body.bw-v16 .bwa-lux-person{gap:10px}body.bw-v16 .bwa-lux-avatar{width:80px;height:80px}body.bw-v16 .bw-identity-name h1{font-size:17px!important}body.bw-v16 .bwa-lux-metric{min-height:110px;padding:10px}body.bw-v16 .bw-member-rank span{font-size:8px}body.bw-v16 .bw-member-rank strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){body.bw-v16 .bwa-lux-hero,body.bw-v16 .bwa-lux-gild{animation:none!important}body.bw-v16 .bwa-lux-metric,body.bw-v16 .bwa-lux-menu-item{transition:none!important}}
