/* Portal profiles remain separate from resident and operational screens. */
.account-top{flex-wrap:wrap}.account-top>div{min-width:0;max-width:100%}.account-top :is(p,h1,.actions){overflow-wrap:anywhere}.portal-profile-editor,.portal-profile-editor form,.portal-profile-editor .form-grid,.portal-profile-editor .field,.profile-photo-editor,.profile-photo-editor>div{min-width:0;max-width:100%}.portal-profile-editor :is(input,select,textarea){max-width:100%;min-width:0}.portal-profile-editor :is(p,h2,h3,label,legend,summary,.button),.public-advertiser-card{overflow-wrap:anywhere}
.portal-profile-editor{max-width:900px}.profile-page-heading,.profile-heading{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.profile-page-heading{justify-content:space-between}.profile-page-heading h2{font-size:1.65rem;margin:0}.profile-intro{margin:18px 0 24px;line-height:1.7}.profile-avatar{display:block;flex:0 0 auto;width:96px;height:96px;border-radius:50%;object-fit:cover;border:1px solid var(--line);background:#edf4ef}.profile-avatar-empty{display:grid;place-items:center;color:var(--teal);font-size:2rem;font-weight:650}.profile-photo-editor{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px;align-items:start;padding:24px;background:#f0f5ee;border:1px solid var(--line);border-radius:12px}.profile-photo-editor label{display:block;font-weight:600;margin-bottom:10px}.profile-photo-editor input{max-width:100%;font-size:.95rem;min-height:44px}.profile-photo-editor .button{margin-top:10px}.profile-photo-editor [role=status]{font-size:.9rem;margin-top:12px}.profile-languages{border:1px solid var(--line);border-radius:10px;padding:20px;min-width:0}.profile-languages legend{padding:0 8px;font-weight:600}.profile-languages .check-block{margin:0;flex-wrap:wrap;gap:15px 24px}.profile-phone-choice{align-self:center;align-items:flex-start}.profile-phone-choice input{margin-top:4px;flex-shrink:0}.profile-more,.profile-preview,.profile-delete{border:1px solid var(--line);padding:20px;border-radius:10px}.profile-more>summary,.profile-preview>summary,.profile-delete>summary{font-size:1rem;font-weight:600;cursor:pointer;line-height:1.5}.profile-more>.form-grid,.profile-preview>[data-profile-preview],.profile-delete>p{margin-top:22px}.profile-save-actions{gap:14px;flex-wrap:wrap}.profile-save-actions .button{min-height:48px}.profile-preview .public-advertiser-card,.profile-preview .interested-presentation{box-shadow:none;border:0;padding:8px 0}.profile-heading h2,.profile-heading h3{margin:0;overflow-wrap:anywhere}.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin:20px 0}.public-advertiser-card{max-width:900px;border:1px solid var(--line);padding:28px;border-radius:15px;margin:24px 0;background:white}.public-advertiser-card>p{line-height:1.7;margin-top:16px}.public-advertiser-page h1{margin-top:25px;font-size:2.3rem}.profile-published-listings{margin-top:40px}.profile-published-listings>h2{font-size:1.6rem;margin-bottom:24px}.profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px;margin:24px 0}.profile-facts>div{min-width:0}.profile-facts dt{font-size:.9rem;color:var(--muted);margin-bottom:6px}.profile-facts dd{margin:0;font-size:1rem;overflow-wrap:anywhere}.profile-share-controls{min-width:0;border:1px solid var(--line);border-radius:10px;padding:18px;margin-top:6px}.profile-share-controls legend{font-weight:600;font-size:1rem;padding:0 6px}.profile-share-controls>.check{align-items:flex-start}.profile-share-controls>.check input{flex-shrink:0;margin-top:4px}.profile-share-controls>.field-help{margin:14px 0}.profile-share-preview{margin:18px 0}.profile-share-preview>summary{cursor:pointer;font-weight:600;font-size:.95rem;line-height:1.5}.profile-share-preview .profile-facts{grid-template-columns:1fr;margin:18px 0;gap:12px}.profile-share-preview .profile-heading{margin-top:18px;gap:12px}.profile-share-preview .profile-avatar{width:66px;height:66px}.profile-share-preview h3{font-size:1.15rem}.profile-share-preview .profile-bio{font-size:.95rem}.shared-profile-presentation{padding:22px;background:#f1f6f0;border:1px solid var(--line);border-radius:12px;margin:22px 0}.shared-profile-presentation>h3{font-size:1.2rem;margin-bottom:20px}.shared-profile-presentation .profile-facts{margin-bottom:22px}.shared-profile-presentation>.button{margin-top:20px}.shared-profile-presentation>.field-help{margin-top:13px}.shared-profile-presentation .profile-heading{gap:15px}.shared-profile-presentation .profile-avatar{width:80px;height:80px}.profile-delete>p{font-size:.95rem;line-height:1.7;margin-bottom:16px}[data-review-profile-detail]:not(:empty){border-top:1px solid var(--line);margin-top:22px;padding-top:10px}[data-review-profile-detail] form>.actions{margin-top:18px}[data-profile-save-status]:not(:empty){padding:15px;border:1px solid var(--line);border-radius:8px;background:#eef6ee;font-size:.95rem;line-height:1.6}
@media(max-width:760px){.profile-photo-editor{padding:18px;gap:18px}.profile-avatar{width:80px;height:80px}.profile-photo-editor input{font-size:.9rem}.profile-page-heading{align-items:flex-start;gap:14px}.profile-page-heading h2{font-size:1.5rem}.public-advertiser-card{padding:22px}.public-advertiser-page h1{font-size:2rem}.profile-share-controls{grid-column:1/-1}.shared-profile-presentation{padding:18px}.profile-preview,.profile-more,.profile-delete{padding:17px}.profile-facts{gap:16px}.profile-published-listings{margin-top:28px}}
@media(max-width:440px){.profile-photo-editor{grid-template-columns:1fr}.profile-photo-editor .profile-avatar{width:88px;height:88px}.profile-facts{grid-template-columns:1fr}.profile-heading{gap:14px}.profile-page-heading h2{font-size:1.4rem}.profile-save-actions{flex-direction:column;align-items:stretch}.profile-save-actions .button{width:100%}.profile-share-controls{padding:15px}.shared-profile-presentation{padding:16px}.profile-languages{padding:17px}.profile-languages .check-block{gap:16px}.public-advertiser-card{padding:20px}.public-advertiser-page h1{font-size:1.75rem}}
