/* Manrope + operational semantic colors; imagery belongs to the collaborator. */
html body :is(#s-perfil.hub-social-profile-m,#s-social-profile,#s-profile-settings){background:var(--social-surface-2)!important;color:var(--social-ink);padding-bottom:0}
.profile-toolbar-m{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:8px;padding:calc(8px + var(--sat,0px)) 12px 8px;background:var(--social-surface);border-bottom:1px solid var(--social-line);min-height:60px;box-sizing:border-box}
.profile-toolbar-m h1{flex:1;min-width:0;margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere}
.profile-toolbar-actions-m{display:flex;gap:4px;flex:none}
.profile-toolbar-m .social-icon-btn-m{flex:none;width:44px;height:44px;border-radius:50%}.profile-toolbar-m svg{width:22px;height:22px}
.profile-page-m{max-width:680px;margin:auto;padding-bottom:calc(var(--mobile-nav-space,112px) + 20px)}
.profile-cover-m{height:180px;position:relative;background:var(--social-line);overflow:hidden}
.profile-cover-m>img{width:100%;height:100%;object-fit:cover;display:block}
.profile-cover-edit-m{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%;background:var(--social-surface);border:1px solid var(--social-line);color:var(--social-ink);cursor:pointer}.profile-cover-edit-m svg{width:20px;height:20px}
.profile-summary-m{position:relative;background:var(--social-surface);padding:0 20px 22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px}
.profile-portrait-wrap-m{margin-top:-42px;position:relative;z-index:1;align-self:start}
.profile-portrait-m{width:92px;height:92px;border-radius:50%;border:4px solid var(--social-surface);background:var(--social-surface-2);color:var(--social-gold);display:grid;place-items:center;overflow:hidden;font-size:1.5rem;box-sizing:border-box}
html body #s-perfil #perfAvatarEl{width:92px;height:92px;border:4px solid var(--social-surface);background:var(--social-surface-2);border-radius:50%!important}
.profile-portrait-m img{width:100%;height:100%;object-fit:cover}
.profile-primary-actions-m{padding-top:14px;align-self:start}
.profile-button-m{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 17px;border-radius:24px;border:1px solid var(--social-line);background:var(--social-surface);color:var(--social-ink);font:inherit;font-size:.8125rem;line-height:1.4;cursor:pointer;white-space:normal}
.profile-summary-m h2{grid-column:1/-1;margin:12px 0 0;font-size:1.625rem;letter-spacing:-.035em;font-weight:600;line-height:1.2;overflow-wrap:anywhere}
html body #s-perfil #perfName{font-size:1.625rem!important;font-weight:600;letter-spacing:-.035em}
.profile-summary-m :is(.profile-position-m,.profile-bio-m,.profile-bio-add-m,.profile-scope-m){grid-column:1/-1}
.profile-position-m{margin:7px 0 0;font-size:.8125rem;color:var(--social-muted);line-height:1.5;overflow-wrap:anywhere}
.profile-bio-m{margin:14px 0 0;font-size:.9375rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-scope-m{margin-top:16px;color:var(--social-muted);font-size:.75rem;line-height:1.5}
.profile-bio-add-m{justify-self:start;background:none;border:0;padding:10px 0;min-height:44px;color:var(--social-gold);font:inherit;font-size:.875rem;cursor:pointer}
.profile-activity-m{padding-top:9px}
.profile-feed-heading-m{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 20px;background:var(--social-surface);border-bottom:1px solid var(--social-line)}
.profile-feed-heading-m h2{margin:0;font-size:1rem;font-weight:600}.profile-feed-heading-m svg{width:20px;height:20px}
.profile-compose-prompt-m{width:100%;display:flex;gap:12px;align-items:center;text-align:left;border:0;background:var(--social-surface);color:var(--social-muted);padding:18px 20px;min-height:70px;margin-bottom:9px;font:inherit;font-size:.9375rem;line-height:1.5;cursor:pointer}
.profile-compose-prompt-m span{flex:1;min-width:0;overflow-wrap:anywhere}.profile-compose-prompt-m svg{width:22px;height:22px;flex:none;color:var(--social-gold)}
.profile-activity-m [data-status]:not(:empty){padding:18px 20px;font-size:.875rem;color:var(--social-muted);line-height:1.5}
.profile-empty-m{padding:32px 24px;text-align:center;font-size:.9375rem;line-height:1.6;color:var(--social-muted)}.profile-empty-m strong{color:var(--social-ink);font-size:1.125rem;font-weight:600}.profile-empty-m p{margin:10px 0}
.profile-more-m{display:block;min-height:48px;margin:20px auto;padding:12px 20px;border:1px solid var(--social-line);border-radius:24px;background:var(--social-surface);color:var(--social-gold);font:inherit;font-size:.875rem}
.hub-social-profile-m [hidden],.profile-compose-dialog-m [hidden]{display:none!important}
.social-author-m{grid-column:1/span 2;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:44px;border:0;padding:0;text-align:left;background:none;color:var(--social-ink);font:inherit;cursor:pointer}.social-author-m .social-entry-person-m{min-width:0}
.hub-social-profile-m .social-entry-copy-m{font-size:.9375rem}.hub-social-profile-m .social-entry-person-m strong{font-size:.9375rem;overflow-wrap:anywhere;white-space:normal}.hub-social-profile-m .social-entry-person-m span{font-size:.75rem;white-space:normal}.hub-social-profile-m .social-entry-action-m,.hub-social-profile-m .social-comment-m{font-size:.8125rem}.hub-social-profile-m .social-comment-form-m input{font-size:1rem}
.hub-social-profile-m .social-entry-actions-m{display:flex;flex-wrap:wrap;gap:4px}.hub-social-profile-m .social-entry-action-m{flex:1 0 auto;max-width:100%;padding:8px 6px;line-height:1.4;overflow-wrap:anywhere}
.social-comment-author-m{background:none;border:0;padding:8px 6px 8px 0;min-height:44px;display:block;color:var(--social-ink);font:inherit;font-weight:600;cursor:pointer;text-align:left}
.social-profile-target-m{border:0;background:none;color:var(--social-gold);font:inherit;font-size:.75rem;min-height:44px;padding:8px 0;text-align:left;cursor:pointer}
.hub-profile-dialog-m textarea{width:100%;box-sizing:border-box;background:var(--social-surface-2);color:var(--social-ink);border:1px solid var(--social-line);border-radius:14px;font:inherit;font-size:1rem;padding:12px;min-height:105px;resize:vertical;line-height:1.5}
.hub-profile-dialog-m [data-bio-count]{text-align:right}.hub-profile-dialog-m .profile-bio-help-m{line-height:1.5}
.profile-compose-dialog-m{max-height:calc(100dvh - 24px - var(--sat,0px));width:min(640px,calc(100% - 24px))}
.profile-compose-head-m{display:flex;align-items:center;gap:12px;padding:16px 20px 0}.profile-compose-head-m h2{flex:1;min-width:0;margin:0;font-size:1.25rem;line-height:1.4;overflow-wrap:anywhere}.profile-compose-head-m svg{width:20px;height:20px}
.profile-compose-audience-m{padding:0 20px;margin:10px 0;color:var(--social-muted);font-size:.8125rem;line-height:1.5}
.profile-compose-dialog-m .social-composer-m{margin:0;border:0;max-width:100%;box-sizing:border-box}.profile-compose-dialog-m .social-composer-input-m{min-height:100px;line-height:1.5}
.profile-compose-dialog-m .social-picker-m{position:fixed;inset:0;z-index:2}.profile-compose-dialog-m .social-person-option-m{background:var(--social-surface);color:var(--social-ink);border-radius:0}
.profile-compose-dialog-m .social-person-option-m .social-avatar-m{padding:0;min-height:0}
.profile-compose-dialog-m button.social-publish-m{background:var(--social-gold);color:var(--social-on-accent);border:0}
/* A focused writing sheet. Header and actions stay outside the scrolling draft. */
dialog.profile-compose-dialog-m{position:fixed;inset:auto;top:calc(var(--compose-top,0px) + 12px + var(--sat,0px));left:50%;transform:translateX(-50%);margin:0;padding:0;width:min(640px,calc(100% - 24px));height:min(720px,calc(var(--compose-vh,100dvh) - 24px - var(--sat,0px)));max-height:none;max-width:none;box-sizing:border-box;border:1px solid var(--social-line);border-radius:24px;overflow:hidden;background:var(--social-surface);color:var(--social-ink);font-family:var(--hub-module-font,Manrope,sans-serif)}
dialog.profile-compose-dialog-m[open]{display:flex;flex-direction:column}
.profile-compose-dialog-m::backdrop{background:rgb(8 13 24 / .5)}
.profile-compose-dialog-m .profile-compose-head-m{flex:none;padding:12px 16px;gap:12px;border-bottom:1px solid var(--social-line)}
.profile-compose-dialog-m .profile-compose-head-m h2{font-size:1.0625rem;font-weight:700;letter-spacing:-.025em}
.profile-compose-dialog-m .profile-compose-head-m button{flex:none;width:44px;height:44px;min-height:44px;border-radius:50%;background:var(--social-surface-2);border:1px solid var(--social-line);color:var(--social-ink)}
.profile-compose-dialog-m .social-composer-m{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;overflow:hidden;background:var(--social-surface)}
.profile-compose-scroll-m{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 20px 12px;scroll-padding-block:12px}
.profile-compose-dialog-m .social-composer-row-m{grid-template-columns:44px minmax(0,1fr);gap:18px 12px;align-items:center}
.profile-compose-dialog-m .social-composer-row-m>.social-avatar-m{width:44px;height:44px;box-sizing:border-box}
.profile-compose-identity-m{min-width:0;line-height:1.4;overflow-wrap:anywhere}
.profile-compose-identity-m strong{display:block;font-size:.9375rem;font-weight:700}
.profile-compose-identity-m p{margin:3px 0 0;color:var(--social-muted);font-size:.75rem;line-height:1.5}
.profile-compose-dialog-m textarea.social-composer-input-m{grid-column:1/-1;min-height:120px;max-height:none;margin:0;padding:4px 0 12px;border:0;border-radius:0;box-shadow:none;background:transparent;font:400 1.125rem/1.6 var(--hub-module-font,Manrope,sans-serif);resize:none;overflow:hidden;color:var(--social-ink)}
.profile-compose-dialog-m textarea.social-composer-input-m:focus{outline:0;box-shadow:none}
.profile-compose-dialog-m textarea.social-composer-input-m:focus-visible{outline:0;box-shadow:inset 0 -1px var(--social-gold)}
.profile-compose-dialog-m .social-attachment-m:empty{display:none}
.profile-compose-count-m{flex:none;padding:6px 20px;text-align:right;color:var(--social-muted);font-size:.6875rem;font-variant-numeric:tabular-nums;line-height:1.5}
.profile-compose-dialog-m .social-composer-tools-m{flex:none;flex-wrap:wrap;gap:6px;margin:0;padding:12px 16px max(12px,var(--sab,env(safe-area-inset-bottom)));border-top:1px solid var(--social-line);background:var(--social-surface)}
.profile-compose-dialog-m button.social-tool-m{display:flex;flex-direction:column;justify-content:center;gap:4px;width:auto;min-width:48px;min-height:52px;height:auto;padding:6px 8px;border:0;border-radius:12px;color:var(--social-muted);background:transparent;font:inherit}
.profile-compose-dialog-m .social-tool-m svg{width:22px;height:22px}
.profile-compose-tool-label-m{font-size:.6875rem;line-height:1.4}
.profile-compose-dialog-m button.social-tool-m.is-active{color:var(--social-gold);background:var(--social-surface-2)}
.profile-compose-dialog-m button.social-publish-m{min-height:44px;max-width:100%;padding:11px 18px;border-radius:24px;font:700 .875rem/1.4 var(--hub-module-font,Manrope,sans-serif);margin-left:auto;white-space:normal;overflow-wrap:anywhere}
.profile-compose-dialog-m :is(button,input):focus-visible{outline:2px solid var(--social-gold);outline-offset:2px}
.profile-compose-dialog-m .social-picker-m{position:absolute;inset:0}
.profile-compose-dialog-m .social-picker-panel-m{max-height:100%;box-sizing:border-box;overscroll-behavior:contain}
.profile-compose-dialog-m .social-remove-media-m{min-width:44px;min-height:44px}
.profile-compose-dialog-m.compose-compact-m .profile-compose-head-m{padding-block:6px}
.profile-compose-dialog-m.compose-compact-m .profile-compose-scroll-m{padding-top:12px}
.profile-compose-dialog-m.compose-compact-m .social-composer-tools-m{padding-block:6px}
@media(max-width:600px){dialog.profile-compose-dialog-m{width:100%;top:calc(var(--compose-top,0px) + var(--sat,0px));height:calc(var(--compose-vh,100dvh) - var(--sat,0px));border:0;border-radius:0}.profile-compose-dialog-m .social-composer-tools-m{padding-inline:12px}}
@media(max-width:360px){.profile-compose-scroll-m{padding-inline:16px}.profile-compose-dialog-m .social-composer-tools-m{gap:2px}.profile-compose-dialog-m button.social-tool-m{padding-inline:5px}.profile-compose-dialog-m button.social-publish-m{padding-inline:14px}}
html:root body #s-profile-settings .card{background:var(--social-surface)!important;border-color:var(--social-line)!important;color:var(--social-ink)}
#s-profile-settings .content{padding:24px 16px calc(24px + var(--sab,0px));max-width:640px;margin:auto}#s-profile-settings .section-h{font-family:var(--hub-module-font);font-size:.8125rem;color:var(--social-muted);margin:24px 0 12px;font-weight:600;letter-spacing:.08em}
#s-profile-settings .section-h:first-child{margin-top:0}#s-profile-settings .pm-item{min-height:56px;font-size:.9375rem;line-height:1.5;color:var(--social-ink)}
#s-profile-settings .theme-grid{gap:10px}.hub-social-profile-m :is(button,input,textarea):focus-visible,#s-profile-settings :focus-visible{outline:2px solid var(--social-gold);outline-offset:3px}
.hub-social-profile-m button:active{background-color:var(--social-line)}.hub-social-profile-m button:disabled{opacity:.55;cursor:wait}
@media(max-width:360px){.profile-cover-m{height:156px}.profile-summary-m{padding-inline:16px;gap:0 8px}.profile-toolbar-m{padding-inline:8px}.profile-primary-actions-m .profile-button-m{padding-inline:12px}.profile-feed-heading-m{padding-inline:16px}}
@media(min-width:700px){.profile-cover-m{height:220px}.profile-toolbar-m{padding-inline:max(12px,calc((100% - 656px)/2))}}
@media(prefers-reduced-motion:reduce){.hub-social-profile-m *{scroll-behavior:auto!important;transition:none!important}.hub-social-profile-m{animation:none!important}}
