.member-page{max-width:1050px;margin:0 auto}.member-path{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:22px}.member-path .text-link{min-height:44px}.member-avatar{display:inline-grid;place-items:center;flex:none;overflow:hidden;border-radius:50%;font-weight:600}.member-avatar-normal{width:42px;height:42px;font-size:18px}.member-avatar-large{width:88px;height:88px;font-size:34px}.member-avatar-small{width:28px;height:28px;font-size:12px}.member-avatar img{width:100%;height:100%;object-fit:cover}.member-avatar-coral{background:#f3dce0;color:#922b41}.member-avatar-leaf{background:#dfe9de;color:#41664a}.member-avatar-sea{background:#dce8ed;color:#365c70}.member-avatar-sun{background:#f4e8c5;color:#7a5f20}.member-avatar-plum{background:#e8dff0;color:#705180}.member-hero{display:flex;align-items:center;gap:23px;padding:30px 32px;background:#fff;border:1px solid var(--line);border-radius:14px}.member-identity{flex:1;min-width:0}.member-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.member-name h1{font-size:30px;letter-spacing:-.5px;overflow-wrap:anywhere}.member-preview-label{display:inline-flex;font-size:11px;background:var(--soft);padding:5px 8px;border-radius:5px;color:#6e675d;white-space:nowrap}.member-school{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin:8px 0 3px}.member-school svg{width:15px;height:15px}.member-bio{font-size:13px;color:#66635d;overflow-wrap:anywhere;white-space:pre-wrap}.member-hero-actions{display:flex;align-items:center;flex-direction:column;gap:14px;flex:none}.member-preview-note{display:flex;align-items:flex-start;gap:7px;padding:12px 4px 20px;font-size:11px;color:var(--muted)}.member-preview-note>svg{width:14px;height:14px;margin-top:2px}.member-preview-note p{line-height:1.65}.member-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);overflow:auto;margin-bottom:23px}.member-tabs button{background:none;border:0;display:flex;gap:7px;align-items:center;white-space:nowrap;padding:14px 0 13px;min-height:46px;font-size:15px;color:var(--muted);border-bottom:2px solid transparent}.member-tabs button[aria-pressed=true]{color:var(--red);border-color:var(--red);font-weight:600}.member-tabs button span{font-size:12px;font-weight:400;color:var(--muted)}.member-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.member-empty{padding:48px 24px;text-align:center;border:1px dashed #dcd7cd;border-radius:12px;background:#fff;grid-column:1/-1}.member-empty>svg{width:30px;height:30px;color:#9e978a;margin-bottom:18px}.member-empty h3{font-size:18px;margin-bottom:10px;font-weight:600}.member-empty p{font-size:13px;line-height:1.8;color:var(--muted);max-width:540px;margin:0 auto;overflow-wrap:anywhere}.member-empty .button{margin-top:22px}.member-record-note{padding:11px 14px;background:var(--soft);border-radius:7px;font-size:12px;color:#71685d;margin-bottom:18px}.member-wanted .wanted-foot .button{white-space:normal}.member-private-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 14px}.member-private-heading h2{font-size:22px}.member-private-heading p{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-top:7px}.member-private-heading p svg{width:14px;height:14px}.member-avatar-editor{display:flex;align-items:center;gap:22px;margin-bottom:23px}.member-avatar-editor .form-hint{margin:8px 0}.member-upload-label{position:relative;overflow:hidden;cursor:pointer}.member-upload-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.member-upload-label:focus-within{outline:3px solid #bd7a88;outline-offset:3px}.member-preset-field{border:0;padding:0;margin:0 0 24px}.member-preset-field legend{font-size:12px;margin-bottom:10px}.member-preset-options{display:flex;gap:12px}.member-preset{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:2px solid transparent}.member-preset svg{opacity:0;width:16px;height:16px}.member-preset[aria-pressed=true]{border-color:currentColor}.member-preset[aria-pressed=true] svg{opacity:1}.member-edit-note{font-size:12px;color:var(--muted);padding:12px 0 0;line-height:1.7}.member-link{display:inline-flex;align-items:center;gap:7px;border:0;background:none;text-align:left;padding:0;color:inherit;min-height:32px;max-width:100%;font:inherit}.member-link>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-link:hover{color:var(--red)}
@media(max-width:800px){.member-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.member-hero{padding:24px;gap:18px}.member-hero-actions{align-items:flex-start;flex-direction:row}.member-hero{flex-wrap:wrap}.member-hero-actions{width:100%;padding-left:106px}.member-name h1{font-size:27px}.member-avatar-large{width:80px;height:80px;font-size:31px}}
@media(max-width:550px){.member-path{margin-bottom:12px}.member-hero{padding:20px 18px;gap:15px}.member-avatar-large{width:65px;height:65px;font-size:26px}.member-name{gap:8px}.member-name h1{font-size:24px}.member-preview-label{font-size:10px;padding:4px 6px}.member-identity{min-width:160px}.member-school{margin:7px 0 3px;font-size:11px}.member-bio{font-size:12px}.member-hero-actions{padding-left:0;justify-content:space-between;align-items:center}.member-hero-actions .button{min-height:40px;padding:9px 14px;font-size:12px}.member-preview-note{font-size:10px;padding:12px 2px 13px}.member-tabs{gap:23px;margin-bottom:18px}.member-tabs button{font-size:13px}.member-tabs button span{font-size:11px}.member-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-empty{padding:35px 20px}.member-empty h3{font-size:16px}.member-empty p{font-size:12px}.member-private-heading{flex-wrap:wrap}.member-private-heading h2{font-size:19px}.member-avatar-editor{gap:18px}.member-avatar-editor .form-hint{font-size:10px}.member-upload-label{font-size:12px;min-height:40px}.member-preset-options{gap:11px}.member-preset{width:44px;height:44px}.member-record-note{font-size:11px}.member-edit .form-actions{justify-content:stretch}.member-edit .form-actions .button{flex:1}}
.member-account-banner{display:flex;align-items:center;gap:18px;padding:23px 25px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:13px}.member-account-title{flex:1;min-width:0}.member-account-title h1{font-size:28px;overflow-wrap:anywhere}.member-account-title p{font-size:12px;color:var(--muted);margin-top:6px}.member-account-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.member-account-tools{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.member-account-tools .button{font-size:12px;background:transparent}.member-seller-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:28px;background:none;border:0;color:inherit;font:inherit;padding:0;text-align:left}.member-seller-link:hover{color:var(--red)}.member-seller-link .member-avatar{width:21px;height:21px;font-size:10px}.member-seller-link>span:not(.member-avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-seller-link>svg{width:12px;height:12px}.member-demo-label{display:block;font-size:10px;color:var(--muted);margin-top:4px}.profile-link .member-avatar{width:32px;height:32px;font-size:13px}.member-account-banner>.member-avatar{width:64px;height:64px;font-size:26px}
@media(max-width:650px){.member-account-banner{padding:20px 18px;gap:14px;flex-wrap:wrap}.member-account-title h1{font-size:24px}.member-account-links{width:100%;justify-content:space-between}.member-account-links .button{font-size:12px;min-height:40px;padding:9px 14px}.member-account-tools{gap:8px}.member-account-tools .button{font-size:11px;padding:9px 12px}}
.member-account-links .button{margin-left:0}
.member-privacy-settings{border:1px solid var(--line);padding:17px 18px;margin:22px 0 0;border-radius:9px;background:var(--paper)}.member-privacy-settings legend{font-size:13px;font-weight:600;padding:0 5px}.member-privacy-settings>p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:9px}.member-privacy-settings>label{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;font-size:13px}.member-privacy-settings input{width:17px;height:17px;accent-color:var(--red);margin:0;flex:none}
/* Shared account entry and publication controls. */
.member-account-gate{max-width:620px;margin:30px auto 60px;padding:42px 32px;text-align:center;border:1px solid var(--line,#e7e2db);border-radius:14px;background:#fff}.member-account-gate h1{font-size:28px;line-height:1.4;margin:14px 0}.member-account-gate>p{font-size:14px;line-height:1.8;color:var(--muted,#756d65);margin:12px auto 24px;max-width:450px}.member-account-gate .member-account-help{font-size:12px;margin:20px auto;max-width:410px}.member-account-gate .button{display:inline-flex;align-items:center;gap:10px;min-height:46px}.member-account-gate .text-link{display:block;margin:14px auto;min-height:36px}.member-account-symbol{display:inline-flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:50%;background:#f4e9eb;color:var(--red,#902438)}.member-account-symbol svg{width:28px;height:28px}.member-signin-dialog .member-account-gate{border:0;margin:0;padding:12px 10px 24px}.member-signout{font-size:12px;white-space:nowrap}.member-hero-actions>[data-member-share]{display:inline-flex;align-items:center;justify-content:center;gap:6px}.member-hero-actions>[data-member-share] svg{width:15px;height:15px}.member-share-note{font-size:12px;color:var(--muted,#756d65);margin:12px 0;line-height:1.7}.member-share-note:empty{display:none}.member-share-note label{display:grid;gap:8px}.member-edit button:disabled,.member-edit input:disabled{opacity:.6;cursor:wait}.member-edit [data-member-reload]{font-size:12px;line-height:1.6;margin:8px 0}
@media(max-width:650px){.member-account-gate{margin:10px auto 35px;padding:30px 20px}.member-account-gate h1{font-size:24px}.member-account-gate>p{font-size:13px}.member-account-gate .button{width:100%;justify-content:center}.member-hero-actions>[data-member-share]{min-height:40px}.member-edit .field{font-size:16px}}

/* Profile editing keeps the action row in view while fields scroll. */
#dialog:has(.member-edit){overflow:hidden}
.member-edit{height:min(780px,calc(90dvh - 2px));display:flex;flex-direction:column;min-height:0;padding:24px}
.member-edit .dialog-heading{flex:none;margin-bottom:18px}
.member-edit .dialog-heading h2{font-size:23px;line-height:1.35}
#memberProfileForm{display:flex;flex-direction:column;flex:1;min-height:0}
.member-edit-fields{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 10px 14px 2px;scroll-padding:16px;scrollbar-gutter:stable}
.member-edit .member-avatar-editor{margin-bottom:18px;gap:18px}
.member-edit .member-avatar-large{width:68px;height:68px;font-size:28px}
.member-edit:has(#memberAvatarPreview img) .member-preset-field{display:none}
.member-edit .member-preset-field{margin-bottom:18px}
.member-edit .form-grid{gap:14px}
.member-edit .member-privacy-settings{margin-top:18px;padding:12px 14px}
.member-edit .member-edit-note{font-size:11px;padding-top:10px}
.member-edit .form-error{flex:none;margin-top:10px;min-height:0;font-size:12px;line-height:1.6}
.member-edit .form-error:empty{display:none}
.member-edit .form-actions{position:static;flex:none;margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--line);background:#fff}
.member-hero{padding:24px;gap:18px}
.member-path{margin-bottom:14px}
.member-tabs{scrollbar-width:thin;scroll-padding:12px;gap:26px;margin-bottom:20px}
.member-tabs button{flex-shrink:0;min-height:48px}
.member-empty{padding:32px 22px}
.member-empty>svg{margin-bottom:12px}
.member-empty .button{margin-top:16px}
@media(max-width:650px){
 .member-edit{height:calc(90dvh - 2px);padding:20px}
 .member-edit .dialog-heading h2{font-size:21px}
 .member-edit .dialog-heading p{font-size:12px;line-height:1.6}
 .member-edit-fields{padding-right:5px}
 .member-edit .member-avatar-editor{gap:14px}
 .member-edit .form-actions{gap:10px}
 .member-edit .form-actions .button{font-size:12px;white-space:normal;min-height:44px}
 .member-hero{padding:18px;gap:14px}
 .member-tabs{gap:22px;margin-bottom:18px}
 .member-tabs button{font-size:13px}
 .member-empty{padding:28px 18px}
 .member-account-tools{margin-bottom:16px}
 .member-account-tools .button{min-height:42px}
 .member-hero-actions .text-link{min-height:40px}
}
.member-account-gate{margin:16px auto 32px;padding:32px 28px}
.member-account-gate h1{font-size:26px;margin:12px 0}
.member-account-gate>p{font-size:13px;margin:10px auto 20px}
.member-account-symbol{width:54px;height:54px}
.member-account-symbol svg{width:25px;height:25px}
.member-account-gate .member-account-help{margin:16px auto 12px;line-height:1.7}
@media(max-width:650px){.member-account-gate{margin:4px auto 24px;padding:25px 20px}.member-account-gate h1{font-size:23px}}

/* School-email verification precedes profile creation; sensitive fields stay in memory only. */
.campus-verification{max-width:580px}.campus-verification form{text-align:left;display:grid;gap:12px;margin-top:22px}.campus-verification form>label,.campus-verification [data-campus-code]>label{display:grid;gap:7px;font-size:13px;font-weight:500}.campus-verification .field{width:100%;min-width:0}.campus-verification .campus-domain-help{font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere;margin:-5px 0 2px}.campus-send-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.campus-send-row .button{flex:none;margin:0}.campus-sent{font-size:12px;line-height:1.6;color:#36725a;overflow-wrap:anywhere}.campus-code{letter-spacing:.14em;font-variant-numeric:tabular-nums}.campus-expiry{font-size:12px;color:var(--muted);line-height:1.6;margin:7px 0 0}.campus-verification .form-error{margin:0;line-height:1.65;font-size:12px}.campus-verification .form-error:empty{display:none}.campus-verification form>[type=submit]{justify-content:center}.campus-verification button:disabled{opacity:.55;cursor:not-allowed}.campus-verification [hidden]{display:none}.member-verified-school{display:grid;gap:4px;font-size:13px;padding:12px 14px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}.member-verified-school>span{font-size:12px;color:#36725a}.member-verified-school>strong{font-weight:500}.member-verified-school>small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:650px){.campus-verification .field{font-size:16px}.campus-send-row{align-items:stretch;gap:9px}.campus-send-row .button{width:auto;min-width:140px}.campus-sent{width:100%}.campus-verification form{margin-top:18px}}

/* Select only a server-provided school suffix; long domains remain readable on phones. */
.campus-email-fields{min-width:0;border:0;margin:0;padding:0}.campus-email-fields legend{font-size:13px;font-weight:500;margin-bottom:9px}.campus-email-parts{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,1.2fr);gap:10px}.campus-email-parts>label{min-width:0;display:grid;gap:7px;font-size:12px;color:var(--muted);font-weight:400}.campus-email-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}.campus-email-parts select{font-size:13px}
@media(max-width:650px){.campus-email-parts{grid-template-columns:minmax(0,1fr);gap:12px}.campus-email-parts select{font-size:16px}}
