/* Shared avatars and the private member editor; no theme or public-profile reset. */
.vls-member-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--vls-avatar-size,64px);height:var(--vls-avatar-size,64px);max-width:100%;overflow:hidden;border-radius:50%;background:#e8efdf;color:#2e5944;border:1px solid rgba(37,76,55,.1);vertical-align:middle;line-height:1}
.vls-member-avatar img,.vls-member-avatar svg{display:block;width:100%;height:100%;margin:0;max-width:100%;object-fit:cover;border-radius:inherit}
.vls-member-avatar svg{padding:19%;box-sizing:border-box}
.vls-member-profile{min-width:0}
.vls-member-profile__avatar-action{position:relative;display:inline-flex;flex:0 0 auto;width:88px;height:88px;margin:0;overflow:visible;text-decoration:none!important;border-radius:50%;color:var(--vls-design-accent,#174f3a)}
.vls-member-profile__avatar-action>[data-vls-avatar-image]{display:block;width:100%;height:100%}
.vls-member-profile__avatar-action .vls-member-avatar{width:100%;height:100%;border:1px solid var(--vls-design-line,#d8e3d5);background:var(--vls-design-soft,#edf3e8);color:var(--vls-design-accent,#174f3a)}
.vls-member-profile__photo-plus{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:32px;height:32px;box-sizing:border-box;border:3px solid var(--vls-design-surface,#fffefb);border-radius:50%;background:var(--vls-design-accent,#174f3a);color:var(--vls-design-on-accent,#fff);box-shadow:0 2px 6px rgba(22,63,50,.15)}
.vls-member-profile__photo-plus svg{display:block;width:17px;height:17px;margin:0;max-width:none}
.vls-member-profile__avatar-action:hover .vls-member-profile__photo-plus{box-shadow:0 3px 9px rgba(22,63,50,.24)}
.vls-member-profile__avatar-action:focus-visible{outline:3px solid var(--vls-design-accent,#174f3a);outline-offset:5px}
.vls-member-profile__photo{scroll-margin-top:110px}
.vls-member-profile__intro{display:flex;gap:22px;align-items:center;padding:4px 0 23px;margin:0 0 23px;border-bottom:1px solid #dce4d6;min-width:0}
.vls-member-profile__intro>div{min-width:0}
.vls-member-profile__intro :is(h1,h2){margin:7px 0 8px!important;font-size:clamp(25px,2.5vw,31px)!important;line-height:1.1!important;color:#173d2c}
.vls-member-profile__intro p{margin:0 0 12px!important;max-width:55ch;color:#536356}
.vls-member-profile__private{display:block;color:#657569;font-size:12px;line-height:1.65}
.vls-member-profile__grid{display:grid;grid-template-columns:minmax(225px,.75fr) minmax(0,1.4fr);gap:24px;align-items:start}
.vls-member-profile__form fieldset{margin:0!important;padding:21px!important;border:1px solid #dde5d7!important;background:#fffef9;border-radius:18px;min-width:0}
.vls-member-profile__form .vls-member-profile__photo{border-color:var(--vls-design-line,#d8e3d5)!important;background:var(--vls-design-surface,#fffefb)!important;color:var(--vls-design-ink,#163f32)}
.vls-member-profile__form legend{display:table;padding:0 8px!important;width:auto!important;font-weight:700;font-size:17px;color:#173d2c;background:#fffef9}
.vls-member-profile__preview{margin:0 0 22px}
.vls-member-profile__form .vls-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}
.vls-member-profile__form .vls-field>span{font-size:13px;font-weight:700;color:#173d2c}
.vls-member-profile__form .vls-field input,.vls-member-profile__form .vls-field textarea,.vls-member-profile__form .vls-field select{width:100%;min-width:0;box-sizing:border-box;background:#fff!important;border:1px solid #cdd8c7!important;color:#183b2a!important;border-radius:10px!important;padding:11px!important;font-size:14px!important;line-height:1.5}
.vls-member-profile__form .vls-field input[type=file]{font-size:12px!important;max-width:100%;padding:9px!important}
.vls-member-profile__form .vls-field input:focus,.vls-member-profile__form .vls-field textarea:focus,.vls-member-profile__form .vls-field select:focus{outline:2px solid #477354;outline-offset:2px}
.vls-member-profile__form .vls-field select option{background:#fff;color:#183b2a}
.vls-member-profile__form .vls-field small,.vls-member-profile__hint,.vls-member-profile__form .vls-check small{display:block;font-size:12px!important;font-weight:400;line-height:1.65;color:#657569;margin:3px 0 0}
.vls-member-profile__hint{margin:10px 0!important}
.vls-member-profile__form .vls-check{display:flex;align-items:flex-start;gap:10px;margin:16px 0 0;font-size:13px;line-height:1.7}
.vls-member-profile__form .vls-check input[type=checkbox]{flex:0 0 17px;width:17px;height:17px;margin:3px 0 0;accent-color:#346043}
.vls-member-profile__form [hidden]{display:none!important}
.vls-member-profile__form .vls-member-profile__personal{margin-top:24px!important}
.vls-member-profile__personal-header{display:flex;gap:14px;align-items:flex-start;margin:0 0 20px}
.vls-member-profile__personal-header p{font-size:12px!important;line-height:1.7;margin:0!important;color:#657569;max-width:65ch}
.vls-member-profile__optional{display:inline-block;flex:0 0 auto;padding:4px 9px;border-radius:6px;font-size:11px;line-height:1.4;font-weight:700;background:#e8efdf;color:#345943}
.vls-member-profile__personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:2px}
.vls-member-profile__personal-grid .vls-field{margin:0 0 17px}
.vls-member-profile__gender-description{grid-column:1/-1}
.vls-member-profile__actions{display:flex;align-items:center;gap:24px;margin-top:26px;flex-wrap:wrap}
.vls-member-profile__actions a{font-size:13px;font-weight:600;color:#345943}
.vls-member-profile__actions .vls-button{padding:13px 22px!important;border-radius:10px!important;background:#173d2c!important;color:#fff!important;cursor:pointer;border:0!important}
.vls-member-profile__summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.vls-member-profile__summary-card{min-width:0;padding:24px;border:1px solid #dde5d7;border-radius:18px;background:#fffef9}
.vls-member-profile__summary h3,.vls-member-profile__settings h3{margin:0 0 20px!important;font-size:19px!important;line-height:1.3!important;color:#173d2c}
.vls-member-profile__summary-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}
.vls-member-profile__summary-heading h3{margin-bottom:0!important}
.vls-member-profile__facts{display:grid;gap:19px;margin:0!important}
.vls-member-profile__facts>div{min-width:0}
.vls-member-profile__facts dt{margin:0 0 5px;font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.045em;text-transform:uppercase;color:#657569}
.vls-member-profile__facts dd{margin:0;font-size:15px;line-height:1.7;font-weight:600;color:#173d2c;overflow-wrap:anywhere}
.vls-member-profile__facts dd.vls-member-profile__empty{font-weight:400;color:#758276}
.vls-member-profile__facts--personal{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.vls-member-profile__summary-card>.vls-member-profile__hint{margin:24px 0 0!important}
.vls-member-profile__actions a.vls-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box;min-height:46px}
.vls-member-profile__actions a.vls-button:focus-visible,.vls-member-profile__settings>a:focus-visible{outline:2px solid #477354;outline-offset:4px}
.vls-member-profile__settings{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;margin-top:34px;padding:26px 0 0;border-top:1px solid #dce4d6}
.vls-member-profile__settings>div{min-width:0}
.vls-member-profile__settings h3{margin:6px 0 8px!important;font-size:18px!important}
.vls-member-profile__email{margin:0!important;font-size:14px!important;line-height:1.6;color:#345943;overflow-wrap:anywhere}
.vls-member-profile__settings .vls-member-profile__hint{margin:6px 0 0!important}
.vls-member-profile__settings>a{display:inline-flex;align-items:center;gap:12px;flex:0 0 auto;padding:12px 16px;border:1px solid #cdd8c7;border-radius:10px;background:#fffef9;color:#173d2c;text-decoration:none;font-size:13px;font-weight:700;line-height:1.5;min-height:44px;box-sizing:border-box}
.vls-member-profile__settings>a:hover{background:#e8efdf}
@media(max-width:640px){.vls-member-profile__intro{align-items:flex-start;gap:15px;padding-bottom:21px;margin-bottom:21px}.vls-member-profile__intro>.vls-member-avatar{--vls-avatar-size:64px!important}.vls-member-profile__grid{grid-template-columns:minmax(0,1fr);gap:22px}.vls-member-profile__form fieldset{padding:18px!important;border-radius:16px}.vls-member-profile__personal-grid{grid-template-columns:minmax(0,1fr)}.vls-member-profile__personal-header{display:block;margin-bottom:18px}.vls-member-profile__optional{margin-bottom:9px}.vls-member-profile__actions{gap:18px}.vls-member-profile__actions .vls-button{width:100%}.vls-member-profile__intro p{font-size:13px!important}.vls-member-profile__intro :is(h1,h2){font-size:25px!important}}
@media(max-width:640px){.vls-member-profile__summary{grid-template-columns:minmax(0,1fr);gap:20px}.vls-member-profile__summary-card{padding:20px 18px;border-radius:16px}.vls-member-profile__facts--personal{column-gap:14px}.vls-member-profile__settings{display:block;margin-top:28px;padding-top:23px}.vls-member-profile__settings>a{margin-top:18px;width:100%;justify-content:space-between}.vls-member-profile__summary-heading{gap:8px}}
@media(max-width:640px){.vls-member-profile__intro>.vls-member-profile__avatar-action{width:64px;height:64px}.vls-member-profile__intro>.vls-member-profile__avatar-action .vls-member-avatar{--vls-avatar-size:64px!important}.vls-member-profile__intro>.vls-member-profile__avatar-action .vls-member-profile__photo-plus{width:29px;height:29px;right:-3px;bottom:-3px}}

/* The profile overview keeps its title and edit action together at every width. */
body .vls-platform.vls-account .vls-member-profile__intro{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:22px;align-items:center}
.vls-member-profile__heading{min-width:0}
body .vls-platform.vls-account .vls-member-profile__intro h1{font-size:clamp(27px,2.7vw,36px)!important;line-height:1.12!important;letter-spacing:-.025em;margin:7px 0 10px!important;color:var(--vls-account-ink,#173d2c)!important}
.vls-member-profile__name{display:block;margin:0 0 10px;font-size:15px;font-weight:700;line-height:1.5;color:var(--vls-account-ink,#173d2c);overflow-wrap:anywhere}
.vls-member-profile__heading .vls-kicker{display:block;font-size:10px;line-height:1.5;letter-spacing:.12em}
.vls-member-profile__intro-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:156px}
body .vls-platform.vls-account .vls-member-profile__intro-actions .vls-account-profile-edit{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:46px;box-sizing:border-box;padding:12px 18px!important;border:1px solid var(--vls-account-accent,#174f3a)!important;border-radius:12px!important;background:var(--vls-account-accent,#174f3a)!important;color:var(--vls-account-on-accent,#fff)!important;text-decoration:none!important;font-size:14px!important;font-weight:700;line-height:1.4!important;white-space:nowrap}
.vls-member-profile__intro-actions svg{display:block;flex:0 0 auto;width:18px;height:18px;margin:0}
body .vls-platform.vls-account .vls-member-profile__dashboard-link{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid var(--vls-account-line,#d8e3d5);border-radius:12px;background:transparent;color:var(--vls-account-ink,#173d2c)!important;text-decoration:none!important;font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap}
body .vls-platform.vls-account .vls-member-profile__dashboard-link:hover{background:var(--vls-account-soft,#edf3e8)}
.vls-member-profile__intro-actions a:focus-visible{outline:3px solid var(--vls-account-accent,#174f3a);outline-offset:4px}
@media(max-width:900px){body .vls-platform.vls-account .vls-member-profile__intro{grid-template-columns:88px minmax(0,1fr)}.vls-member-profile__intro-actions{grid-column:1/-1;flex-direction:row;min-width:0}.vls-member-profile__intro-actions>a{flex:0 1 auto}}
@media(max-width:640px){body .vls-platform.vls-account .vls-member-profile__intro{grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start}body .vls-platform.vls-account .vls-member-profile__intro h1{font-size:28px!important}.vls-member-profile__name{font-size:14px}.vls-member-profile__intro-actions{gap:10px}.vls-member-profile__intro-actions .vls-account-profile-edit{flex:1}.vls-member-profile__intro-actions .vls-member-profile__dashboard-link{flex:0 1 auto}}
@media(max-width:420px){.vls-member-profile__intro-actions{flex-direction:column}.vls-member-profile__intro-actions>a{width:100%}.vls-member-profile__private{font-size:11px}.vls-member-profile__facts--personal{grid-template-columns:minmax(0,1fr)}}
