.nav-logout{display:inline-flex;margin:0}.nav-logout button{border:0;background:transparent;color:#e7edf7;font:inherit;font-size:12px;font-weight:650;cursor:pointer;padding:4px}.profile-wrap{width:min(100%,680px);margin:24px auto}.profile-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(24px,5vw,42px);box-shadow:0 18px 50px rgba(11,23,51,.06)}.profile-card h1{font-size:clamp(30px,5vw,42px);letter-spacing:-1.4px;line-height:1.12;margin:14px 0}.profile-card textarea{width:100%;resize:vertical;padding:13px 14px;border:1px solid #d9e0e9;border-radius:11px;background:#fff;color:var(--ink);font:inherit;font-size:15px;outline:none}.profile-card textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(23,132,93,.12)}.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.public-profile-head{display:flex;align-items:center;gap:18px;padding-bottom:24px;border-bottom:1px solid var(--line)}.profile-avatar{display:grid;place-items:center;flex:none;width:76px;height:76px;border-radius:24px;background:var(--green-light);color:var(--green);font-size:32px;font-weight:800}.public-profile-head .eyebrow{font-size:10px}.public-profile-head h1{overflow-wrap:anywhere;margin:9px 0 2px}.profile-handle{margin:0;color:var(--muted);font-size:14px}.profile-section{padding:20px 0 10px}.profile-section h2{margin:0 0 9px}.profile-bio{white-space:normal;overflow-wrap:anywhere}.profile-empty{padding:22px 0}.profile-meta{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid var(--line);font-size:13px}.profile-meta span{color:var(--muted)}.profile-meta strong,.profile-meta a{max-width:65%;text-align:right;overflow-wrap:anywhere}.profile-meta a{color:var(--green);font-weight:700}.public-profile .profile-actions{margin-top:24px}.dashboard-links{display:grid;gap:10px;margin:20px 0}.dashboard-links a{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:13px;color:var(--navy);text-decoration:none}.dashboard-links a:hover{border-color:#b8d9c8;background:#fbfefc}.dashboard-links span{font-size:13px;color:var(--muted)}@media(max-width:520px){.header-nav{flex-wrap:wrap;justify-content:flex-end}.nav-logout button{font-size:11px}.profile-card{border-radius:18px}.public-profile-head{align-items:flex-start;gap:13px}.profile-avatar{width:58px;height:58px;border-radius:18px;font-size:25px}.profile-meta{align-items:flex-start}.profile-meta strong,.profile-meta a{max-width:62%}}

/* Public member post history */
.member-posts-section{margin-top:22px}.member-posts-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 2px 14px}.member-posts-heading .eyebrow{margin:0 0 5px;font-size:10px;letter-spacing:.08em;color:var(--muted);font-weight:800}.member-posts-heading h2{font-size:clamp(20px,3vw,26px);letter-spacing:-.5px;line-height:1.2;margin:0;color:var(--ink)}.member-posts-heading>span{flex:none;color:var(--muted);font-size:12px}.member-posts-list{display:grid;gap:14px}.member-post-card,.member-posts-empty{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;box-shadow:0 10px 30px rgba(11,23,51,.035)}.member-post-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:12px}.member-post-meta a{color:var(--green);font-weight:750;text-decoration:none;white-space:nowrap}.member-post-meta a:hover{text-decoration:underline}.member-post-body{margin:15px 0 17px;white-space:normal;overflow-wrap:anywhere;line-height:1.65;color:var(--ink);font-size:15px}.member-post-stats{display:flex;gap:18px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:12px}.member-posts-empty strong{color:var(--ink)}.member-posts-empty p{margin:7px 0 0;font-size:14px}.member-posts-footnote{text-align:center;color:var(--muted);font-size:12px;margin:14px 0}@media(max-width:520px){.member-post-card,.member-posts-empty{padding:16px;border-radius:14px}.member-post-meta{align-items:flex-start;flex-direction:column;gap:5px}.member-post-body{font-size:14px}}

/* Keep the Edit Profile photo preview inside its frame, regardless of source dimensions. */
.mv-avatar-editor-preview{width:76px;height:76px;flex:0 0 76px;overflow:hidden;border-radius:22px;}
.mv-avatar-editor-preview .mv-profile-photo{display:block;width:76px!important;height:76px!important;max-width:76px!important;max-height:76px!important;object-fit:cover;}
.mv-avatar-editor-preview img{display:block;width:76px!important;height:76px!important;max-width:76px!important;max-height:76px!important;object-fit:cover;}
@media(max-width:520px){.mv-avatar-editor-preview{width:60px;height:60px;flex-basis:60px;border-radius:18px}.mv-avatar-editor-preview .mv-profile-photo,.mv-avatar-editor-preview img{width:60px!important;height:60px!important;max-width:60px!important;max-height:60px!important}}
