.member-identity{display:flex;align-items:center;gap:12px}.member-identity strong{display:block;font-size:14px}.member-identity small{display:block;font-size:12px;color:#62625f;margin-top:3px}.member-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}.member-initials{display:inline-flex;align-items:center;justify-content:center;background:#eae5d9;color:#71551c;font-size:25px}.member-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:stretch}.member-profile-picture{display:block;width:180px;height:180px;object-fit:cover;border-radius:50%;margin:20px 0 25px}.member-profile-grid form{display:flex;flex-direction:column;gap:20px;flex:1}.member-profile-grid .account-card{display:flex;flex-direction:column}.member-profile-grid label{display:flex;flex-direction:column;gap:8px}.member-profile-grid p{line-height:1.75}.member-profile-grid .field-help{font-size:13px;color:#62625f;margin:0}.member-profile-grid .review-actions,.member-profile-grid form>button:last-child{margin-top:auto;align-self:start}.member-avatar-directory{width:88px;height:88px;margin-bottom:18px}.member-profile-grid input{width:100%;box-sizing:border-box}@media(max-width:760px){.member-profile-grid{grid-template-columns:1fr}.member-identity{width:100%}.member-profile-grid .field-pair{grid-template-columns:1fr}.member-profile-grid .review-actions{flex-wrap:wrap}.member-profile-grid form>button:last-child{margin-top:8px}}
.signup-name-help{font-size:13px;line-height:1.65;color:#62625f}.member-public-name{font-size:14px;color:#62625f}
.member-profile-grid .review-actions{margin-bottom:0}

/* Matching profile slots align headings, input rows, help text and final actions. */
.member-profile-grid{grid-template-rows:repeat(9,auto);gap:20px 30px}
.member-profile-grid>.account-card{display:grid;grid-template-rows:subgrid;grid-row:1/-1;gap:20px}
.member-profile-grid>.account-card>h2{margin:0!important}
.member-profile-grid .member-profile-intro{align-self:start}
.member-profile-grid .member-profile-intro p{margin:0 0 14px}
.member-profile-grid form{display:grid;grid-template-rows:subgrid;grid-row:3/-1;gap:20px}
.member-profile-grid form>label,.member-profile-grid .field-pair,.member-photo-picker{align-self:start;margin:0}
.member-profile-grid .field-pair label{margin:0}
.member-profile-grid .member-profile-picture.member-photo-placeholder{display:flex;align-items:center;justify-content:center;background:#eae5d9;color:#8d681d}
.member-photo-placeholder svg{width:80px;height:80px}
.member-photo-picker{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 15px;position:relative}
.member-field-label{grid-column:1/-1;font-size:14px;line-height:1.5}
.member-photo-picker .btn-cta{min-height:48px}
.member-file-input{position:absolute;width:1px!important;height:1px;opacity:0;overflow:hidden;pointer-events:none}
#member-photo-filename{font-size:13px;color:#62625f;overflow-wrap:anywhere;min-width:0}
.member-profile-grid input:not([type=file]){min-height:48px}
.member-profile-grid form>.review-actions,.member-profile-grid form>button:last-child{align-self:end;margin:0;justify-self:start}
@media(max-width:760px){.member-profile-grid{display:flex;flex-direction:column;gap:25px}.member-profile-grid>.account-card{display:flex;gap:20px}.member-profile-grid form{display:flex;gap:20px}.member-alignment-space{display:none}.member-profile-grid .member-profile-intro p:last-child{margin-bottom:0}.member-profile-grid .review-actions{margin-top:10px}.member-profile-grid form>button:last-child{align-self:start}}
.member-profile-grid input:not([type=file]){margin:0}

/* Balance different content types on shared desktop baselines, rather than
   reserving a complete image-height slot above the neighbouring form. */
@media(min-width:761px){
 .member-profile-grid>.account-card:first-child>.member-profile-intro{grid-row:2/5}
 .member-profile-grid #member-photo-form{grid-row:5/-1}
 #member-photo-form>.member-photo-picker{grid-row:1}
 #member-photo-form>.field-help:nth-child(2){grid-row:2}
 #member-photo-form>.field-help:nth-child(3){grid-row:3/5;align-self:start}
 #member-photo-form>.review-actions{grid-row:5}
}

/* Private business fields need natural rows rather than the shared photo-form subgrid. */
.member-profile-grid #member-profile-form{display:flex;flex-direction:column;gap:22px;grid-template-rows:none}.member-profile-grid #member-profile-form>h3{margin:16px 0 0}.member-profile-grid #member-profile-form label{display:flex;flex-direction:column;gap:9px;line-height:1.5}.member-profile-grid #member-profile-form .field-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;width:100%}.member-profile-grid #member-profile-form textarea{width:100%;box-sizing:border-box;min-height:100px;padding:12px;border:1px solid #aaa}.member-profile-grid #member-profile-form .member-email-toggle{display:flex;flex-direction:row;align-items:flex-start;gap:12px}.member-profile-grid #member-profile-form input[type=checkbox]{width:20px;min-height:20px;height:20px;flex:none;margin-top:2px}.member-profile-grid #member-profile-form>button:last-child{margin-top:8px}.member-profile-grid #profile-contact-email[hidden]{display:none!important}@media(max-width:760px){.member-profile-grid #member-profile-form .field-pair{grid-template-columns:1fr}}

/* Public identity on the left; private document details on the right. */
.member-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;align-items:stretch}.member-profile-grid>.account-card{display:flex;flex-direction:column;grid-row:auto;gap:22px}.member-profile-grid>.account-card:first-child>.member-profile-intro{grid-row:auto}.member-profile-grid #member-photo-form{display:flex;flex-direction:column;grid-row:auto;flex:none;gap:18px}.member-profile-grid #member-photo-form>*{grid-row:auto}.member-profile-grid #member-photo-form>.review-actions{align-self:start}.member-public-fields{display:flex;flex-direction:column;gap:20px}.member-public-fields h3{margin:8px 0 0}.member-public-fields .field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.member-public-save{margin-top:auto;align-self:start}.member-profile-grid #member-profile-form{flex:1}.member-profile-grid #member-profile-form>button:last-child{margin-top:auto;align-self:start}@media(max-width:760px){.member-profile-grid{display:flex;flex-direction:column}.member-public-fields .field-pair{grid-template-columns:1fr}.member-public-save,.member-profile-grid #member-profile-form>button:last-child{margin-top:8px}}

.member-profile-grid>.account-card:first-child>.member-profile-intro{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:24px;align-items:center}.member-photo-guidance{min-width:0}.member-photo-dialog{width:min(760px,calc(100vw - 40px));max-height:90vh;overflow-y:auto;box-sizing:border-box;padding:30px;border:1px solid #b59a60}.member-photo-dialog::backdrop{background:#0009}.member-photo-dialog-intro{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:24px}.member-photo-dialog figure{margin:0}.member-photo-dialog figure img{width:120px;height:120px;object-fit:cover;border-radius:50%}.member-photo-dialog figcaption{font-size:12px;margin-top:8px}.member-photo-dialog form{display:flex;flex-direction:column;gap:20px}.member-photo-file-area{display:flex;flex-direction:column;gap:14px;border:1px dashed #b59a60;padding:20px}.member-photo-dialog canvas{display:block;width:min(360px,100%);height:auto;border-radius:50%;touch-action:none;cursor:move;margin:0 auto 20px}.member-photo-dialog label{display:flex;flex-direction:column;gap:10px}.member-photo-dialog input[type=range]{width:100%}.member-photo-dialog [hidden]{display:none!important}.member-photo-dialog #member-photo-error{color:#a52a2a;margin:0}.member-photo-dialog .review-actions{display:flex;gap:14px;flex-wrap:wrap}@media(max-width:600px){.member-profile-grid>.account-card:first-child>.member-profile-intro{grid-template-columns:1fr}.member-photo-dialog{padding:20px}.member-photo-dialog-intro{grid-template-columns:1fr}.member-photo-dialog figure{display:flex;align-items:center;gap:15px}}

#contact-preferences{margin:24px 0 30px}#contact-preferences>form{display:flex;flex-wrap:wrap;align-items:center;gap:18px 24px}#contact-preferences>form>label{display:flex;align-items:center;gap:12px;margin:0}#contact-preferences>form input[type=checkbox]{width:20px;height:20px;flex:none}#contact-preferences>form>[role=status]{flex-basis:100%;margin:0}.member-inquiry-management{margin-top:24px;border-top:1px solid #b59a6040;padding-top:18px}.member-inquiry-management>summary{display:flex;gap:12px;align-items:center;cursor:pointer;list-style:none;color:#997020;font-weight:600;min-height:44px}.member-inquiry-management>summary::-webkit-details-marker{display:none}.member-inquiry-management[open]>summary span{transform:rotate(180deg)}.member-inquiry-management-content{padding-top:12px}.member-inquiry-management>summary:focus-visible{outline:2px solid #997020;outline-offset:4px}@media(max-width:600px){#contact-preferences>form{align-items:flex-start;flex-direction:column}#contact-preferences>form>[role=status]{flex-basis:auto}}
