/* Resident identity and inline editing share the same warm, open canvas. */
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor){--profile-brick:#a24933;--profile-ink:#382b24;--profile-muted:#8b786a;--profile-line:#91745c22;--person-red:#a24933;--person-wood:#a16d50;--person-copy:#756254;max-width:1000px}
body[data-ui-shell="community"] :is(.personal-space-topbar,.profile-space-topbar){padding-bottom:14px;border:0;gap:16px}
body[data-ui-shell="community"] :is(.personal-space-topbar>span,.profile-space-topbar h1){font-size:13px;letter-spacing:0;font-weight:500;color:#8b786a}
body[data-ui-shell="community"] :is(.personal-space-topbar,.profile-space-topbar)>a{min-height:44px;font-size:12px;color:#8b786a}
body[data-ui-shell="community"] :is(.personal-space-topbar,.profile-space-topbar)>a:last-child{color:#a24933}
body[data-ui-shell="community"] .personal-space-document .resident-head{padding:32px 0 28px;min-height:190px;align-items:flex-start;background:linear-gradient(110deg,#edddcb38,transparent 70%)}
body[data-ui-shell="community"] .profile-space-identity{padding:32px 0 28px;min-height:190px;background:linear-gradient(110deg,#edddcb38,transparent 70%);grid-template-columns:104px minmax(0,1fr);gap:0 32px}
body[data-ui-shell="community"] .personal-space-document .resident-summary{gap:32px}
body[data-ui-shell="community"] .personal-space-document .resident-identity-copy{padding-left:0}
body[data-ui-shell="community"] .personal-space-document .resident-summary h1,body[data-ui-shell="community"] .profile-space-name{font-size:36px;line-height:1.4;letter-spacing:-.035em;font-weight:680;color:#382b24}
body[data-ui-shell="community"] .personal-space-document .resident-summary h1{display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px}
body[data-ui-shell="community"] .personal-space-document .standing-identity-badges{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%}
body[data-ui-shell="community"] .personal-space-document .resident-summary .friend-avatar{box-shadow:0 0 0 4px #fffaf3,0 0 0 5px #d8c3ad70;background:#eadccd;color:#a16d50}
body[data-ui-shell="community"] .profile-space-avatar-picker{width:104px;height:104px}
body[data-ui-shell="community"] .profile-photo-preview{box-shadow:0 0 0 4px #fffaf3,0 0 0 5px #d8c3ad70}
body[data-ui-shell="community"] .profile-space-avatar-camera{background:#a24933}
body[data-ui-shell="community"] .profile-space-avatar-settings{min-height:44px;font-size:12px;color:#8b786a}
body[data-ui-shell="community"] .personal-space-document .resident-summary .resident-connection{gap:14px;flex-wrap:wrap;font-size:13px}
body[data-ui-shell="community"] .personal-space-document .resident-connection>span,body[data-ui-shell="community"] .profile-space-connection{border:0;background:transparent;color:#a16d50;border-radius:0;padding:0;min-height:38px;font-size:13px}
body[data-ui-shell="community"] .personal-space-document .resident-connection>small{font-size:12px;color:#8b786a}
body[data-ui-shell="community"] .personal-space-document .resident-summary .resident-signature{font-size:17px!important;line-height:1.9!important;color:#756254!important;margin:9px 0 0!important;max-width:620px}
body[data-ui-shell="community"] .profile-space-signature{font-size:17px;line-height:1.9;color:#756254;padding:8px 0;text-align:left;max-width:620px}
.profile-space-signature>span{overflow-wrap:anywhere}
body[data-ui-shell="community"] :is(.resident-edit-hint,.profile-space-edit-hint){font-size:11px;line-height:1.8;color:#998575;margin-top:12px}
.profile-space-edit-hint{display:flex;align-items:center;gap:7px}
.profile-space-edit-hint>svg{width:13px;height:13px;flex:none}
body[data-ui-shell="community"] .personal-space-document .resident-actions{max-width:270px;gap:10px;align-self:flex-start;margin-top:6px}
body[data-ui-shell="community"] .personal-space-document .resident-actions .button{min-height:44px;padding:10px 16px;border-radius:7px;font-size:13px;background:#a24933;border-color:#a24933}
body[data-ui-shell="community"] .personal-space-document .resident-actions .button.outline{background:transparent;border-color:#a16d5033;color:#8b786a}
body[data-ui-shell="community"] .personal-space-document .resident-actions .button:hover{transform:translateY(-2px)}
body[data-ui-shell="community"] :is(.resident-forum-shortcuts,.profile-forum-shortcuts){display:flex;align-items:center;gap:8px 30px;flex-wrap:wrap;margin:0 0 18px;padding:0 0 8px 136px}
:is(.resident-forum-shortcuts,.profile-forum-shortcuts)>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:#a24933}
:is(.resident-forum-shortcuts,.profile-forum-shortcuts) svg{width:16px;height:16px;transition:transform .22s}
:is(.resident-forum-shortcuts,.profile-forum-shortcuts)>a:hover svg:last-child{transform:translateX(4px)}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) .personal-space-tabs{border-color:#91745c22;gap:30px}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) .personal-space-tabs>a{min-height:52px;font-size:14px;letter-spacing:0;color:#8b786a;padding:12px 0;transition:color .2s}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) .personal-space-tabs>a:is([aria-current],.active){color:#a24933}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) .personal-space-tabs>a:is([aria-current],.active)::after{height:2px;background:#a24933}
body[data-ui-shell="community"] .profile-inline-editor{padding:14px 0 12px;max-width:620px}
body[data-ui-shell="community"] .profile-inline-editor>label,body[data-ui-shell="community"] .profile-inline-label{font-size:13px;color:#a16d50}
body[data-ui-shell="community"] .profile-inline-editor input:not([type=range]){font-size:28px;font-weight:600;line-height:1.5;background:transparent;border-width:1px;border-color:#bfa18a;padding:9px 0;color:#382b24}
body[data-ui-shell="community"] .profile-inline-editor textarea{font-size:17px;line-height:1.9;padding:9px 0;background:transparent;border-width:1px;border-color:#bfa18a;resize:vertical;color:#756254}
body[data-ui-shell="community"] .profile-inline-editor :is(input,textarea):focus{border-color:#a24933;box-shadow:0 1px 0 #a24933}
body[data-ui-shell="community"] .profile-inline-actions{gap:18px}
body[data-ui-shell="community"] .profile-inline-actions button{min-height:44px;padding:8px 14px;font-size:13px;border-radius:6px}
body[data-ui-shell="community"] .profile-connection-options{display:flex;gap:0 20px;flex-wrap:wrap}
body[data-ui-shell="community"] .profile-connection-options button{min-height:44px;padding:8px 0;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:#8b786a;font-size:14px}
body[data-ui-shell="community"] .profile-connection-options button[aria-pressed=true]{background:transparent;border-color:#a24933;color:#a24933}
body[data-ui-shell="community"] .profile-signature-meta{font-size:12px;color:#8b786a;line-height:1.8;gap:8px;flex-wrap:wrap}
body[data-ui-shell="community"] .profile-avatar-options{padding:18px 0 10px;border:0;border-radius:0;background:transparent}
body[data-ui-shell="community"] .profile-crop-tools{padding:12px 0;background:transparent;border:0;border-radius:0}
.profile-crop-tools input[type=range]{accent-color:#a24933;min-height:32px}
body[data-ui-shell="community"] .profile-restore{min-height:44px;color:#a24933;font-size:12px}
body[data-ui-shell="community"] .profile-space-save{border:0;background:linear-gradient(90deg,#edddcb66,transparent);padding:14px 18px;margin-bottom:18px;animation:profile-polish-in .22s both}
body[data-ui-shell="community"] .profile-save-status p{font-size:12px;color:#756254}
body[data-ui-shell="community"] .profile-save-actions .button{border-radius:7px;min-height:44px;font-size:13px;background:#a24933}
body[data-ui-shell="community"] .profile-save-actions .button.outline{background:transparent;color:#8b786a}
body[data-ui-shell="community"] .profile-save-feedback:empty{display:none}
body[data-ui-shell="community"] :is(.personal-space-document .space-section-title,.profile-space-feed-heading){padding:24px 0 12px;margin:0;gap:14px}
body[data-ui-shell="community"] :is(.personal-space-document .space-section-title h2,.profile-space-feed-heading h2){font-size:16px!important;letter-spacing:0;font-weight:600;color:#756254}
body[data-ui-shell="community"] :is(.personal-space-document .space-section-title p,.profile-space-feed-heading p){font-size:13px;color:#8b786a}
body[data-ui-shell="community"] :is(.profile-space-feed-heading,.personal-space-document .space-section-title) :is(a,button){min-height:44px;font-size:12px}
body[data-ui-shell="community"] :is(.personal-space-document .space-posts,.profile-space-posts)>.hub-post.post-card{padding:24px 0!important;border-bottom-color:#91745c22;background:transparent!important;box-shadow:none;border-radius:0}
body[data-ui-shell="community"] :is(.personal-space-document .space-posts,.profile-space-posts) .hub-post-open h2{font-size:23px!important;line-height:1.5;font-weight:650;color:#382b24;letter-spacing:-.025em}
body[data-ui-shell="community"] :is(.personal-space-document .space-posts,.profile-space-posts) .hub-post-open p{font-size:15px!important;line-height:1.9;color:#756254}
body[data-ui-shell="community"] :is(.personal-space-document .space-posts,.profile-space-posts) .hub-post-actions button{min-height:44px;font-size:12px}
body[data-ui-shell="community"] :is(.profile-space-empty,.personal-space-document .space-empty){padding:30px 0;text-align:left;border:0;background:transparent}
body[data-ui-shell="community"] :is(.profile-space-empty,.personal-space-document .space-empty) h3{font-size:22px;font-weight:600;color:#382b24}
body[data-ui-shell="community"] :is(.profile-space-empty,.personal-space-document .space-empty) p{font-size:14px;line-height:1.85;color:#756254}
body[data-ui-shell="community"] :is(.resident-space-footnote,.profile-account-footer){border-color:#91745c22;font-size:12px;align-items:center;gap:8px 20px;flex-wrap:wrap}
body[data-ui-shell="community"] .resident-uid-copy{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;font-size:12px;text-align:left;color:#8b786a;border:0;background:transparent;padding:6px 0}
.resident-uid-copy span{overflow-wrap:anywhere;user-select:text}
.resident-uid-copy svg{flex:none;width:15px;height:15px;color:#a16d50;transition:transform .2s}
.resident-uid-copy:hover svg{transform:translateY(-2px)}
.resident-uid-copy.is-copied{color:#a24933!important}
body[data-ui-shell="community"] :is(.profile-account-footer button,.resident-space-footnote a){min-height:44px;font-size:12px}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) :is(a,button){transition:color .2s,background .2s,transform .18s}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) :is(a,button):active{transform:scale(.985)}
body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) :is(a,button):focus-visible{outline:2px solid #a2493380;outline-offset:4px}
@keyframes profile-polish-in{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:760px){
 body[data-ui-shell="community"] :is(.personal-space-topbar,.profile-space-topbar){gap:8px;padding-bottom:6px}
 body[data-ui-shell="community"] :is(.personal-space-topbar>span,.profile-space-topbar h1){font-size:12px}
 body[data-ui-shell="community"] :is(.personal-space-topbar,.profile-space-topbar)>a{font-size:11px}
 body[data-ui-shell="community"] .personal-space-document .resident-head{padding:24px 0 18px;min-height:0;flex-wrap:wrap;gap:14px}
 body[data-ui-shell="community"] .personal-space-document .resident-summary{gap:20px}
 body[data-ui-shell="community"] .personal-space-document .resident-summary .friend-avatar{width:76px;height:76px;flex-basis:76px;font-size:28px}
 body[data-ui-shell="community"] .resident-avatar-link{width:76px;height:76px;flex-basis:76px}
 body[data-ui-shell="community"] .profile-space-identity{grid-template-columns:76px minmax(0,1fr);gap:0 20px;padding:24px 0 18px;min-height:0}
 body[data-ui-shell="community"] .profile-space-avatar-picker{width:76px;height:76px}
 body[data-ui-shell="community"] .personal-space-document .resident-summary h1,body[data-ui-shell="community"] .profile-space-name{font-size:28px;line-height:1.45}
 body[data-ui-shell="community"] .personal-space-document .resident-connection>span,body[data-ui-shell="community"] .profile-space-connection{font-size:12px;min-height:36px}
 body[data-ui-shell="community"] .personal-space-document .resident-connection>small{font-size:11px}
 body[data-ui-shell="community"] .personal-space-document .resident-summary .resident-signature{font-size:15px!important;line-height:1.85!important}
 body[data-ui-shell="community"] .profile-space-signature{font-size:15px;line-height:1.85}
 body[data-ui-shell="community"] .personal-space-document .resident-actions{padding-left:96px;margin:0;max-width:none;justify-content:flex-start;box-sizing:border-box}
 body[data-ui-shell="community"] .personal-space-document .resident-actions .button{font-size:12px;padding:9px 13px}
 body[data-ui-shell="community"] :is(.resident-forum-shortcuts,.profile-forum-shortcuts){padding:0;margin:0 0 16px;gap:0 22px}
 :is(.resident-forum-shortcuts,.profile-forum-shortcuts)>a{font-size:12px}
 body[data-ui-shell="community"] .profile-inline-editor input:not([type=range]){font-size:24px}
 body[data-ui-shell="community"] .profile-inline-editor textarea{font-size:16px;min-height:120px}
 body[data-ui-shell="community"] .profile-connection-options{gap:0 15px}
 body[data-ui-shell="community"] .profile-connection-options button{font-size:13px}
 body[data-ui-shell="community"] .profile-space-save{background:#fffaf3f5;padding:12px 16px;margin:0;border-top:1px solid #91745c22;gap:12px;flex-wrap:wrap}
 body[data-ui-shell="community"] .profile-save-status{flex:1;min-width:100px}
 body[data-ui-shell="community"] .profile-save-actions{gap:12px}
 body[data-ui-shell="community"] .profile-save-actions .button{font-size:12px;min-width:76px;padding-inline:12px}
 body[data-ui-shell="community"] :is(.personal-space-document .space-posts,.profile-space-posts) .hub-post-open h2{font-size:20px!important}
 body[data-ui-shell="community"] :is(.personal-space-document .space-posts,.profile-space-posts) .hub-post-open p{font-size:14px!important}
 body[data-ui-shell="community"] .profile-space-feed-heading{flex-wrap:wrap;gap:4px 16px}
 body[data-ui-shell="community"] :is(.profile-space-empty,.personal-space-document .space-empty) h3{font-size:20px}
 body[data-ui-shell="community"] .resident-uid-copy{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) *,body[data-ui-shell="community"] :is(.personal-space-document,.profile-space-editor) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
