/* Approved Social layout, using the current Sales / OS module palette and typeface. */
:root{--hub-module-font:Manrope,system-ui,sans-serif}
:root,html :is(.social-mobile-screen,.social-chat-m,.social-picker-m,#s-perfil,.hub-profile-dialog-m){--social-surface:var(--os-layer-surface);--social-surface-2:var(--os-layer-bg);--social-ink:var(--os-layer-ink);--social-muted:var(--os-layer-muted);--social-line:var(--os-layer-line);--social-gold:var(--os-layer-accent);--social-on-accent:var(--os-layer-bg);--social-danger:var(--os-layer-red);--social-good:var(--os-layer-green)}
html[data-theme="light"],html[data-theme="light"] :is(.social-mobile-screen,.social-chat-m,.social-picker-m,#s-perfil,.hub-profile-dialog-m){--social-on-accent:var(--os-layer-surface)}
html body :is(.social-mobile-screen,.social-chat-m,.social-picker-m,#s-perfil,.hub-profile-dialog-m){--text-primary:var(--social-ink);--text-main:var(--social-ink);--text-sec:var(--social-muted);--text-dim:var(--social-muted);--gold:var(--social-gold);--gold-light:var(--social-gold);--border:var(--social-line);--glass-border:var(--social-line);--glass-bg:var(--social-surface);--glass-bg2:var(--social-surface);--red:var(--social-danger);--green:var(--social-good);font-family:var(--hub-module-font);font-weight:600}
html body :is(.social-mobile-screen,.social-chat-m,.social-picker-m,#s-perfil,.hub-profile-dialog-m) *{font-family:var(--hub-module-font)!important}
html body #s-hr.social-mobile-screen{padding-bottom:0!important;background:var(--social-surface-2)!important}
.social-shell-m{display:flex;flex-direction:column;background:var(--social-surface-2);font-family:var(--hub-module-font)}
.social-head-m{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:calc(10px + env(safe-area-inset-top)) 20px 10px;min-height:calc(65px + env(safe-area-inset-top));flex-shrink:0;border-bottom:0;background:var(--social-surface)}
.social-header-brand-m{flex:1;margin-right:auto;min-width:0}.social-header-brand-m img{width:97px;height:39px;display:block;object-fit:contain}.social-header-brand-m strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(22px,7vw,28px);font-weight:750;letter-spacing:-1px}
.social-header-actions-m{display:flex;flex:0 0 auto;gap:3px}
.social-head-m .social-icon-btn-m{display:flex;align-items:center;justify-content:center;position:relative;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;overflow:visible;line-height:1;color:var(--social-ink);background:transparent}
.social-head-m .social-icon-btn-m svg{display:block;flex:0 0 22px;width:22px;height:22px;min-width:22px;max-width:none;overflow:visible;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#socialHeadStatusM[hidden],#socialNotificationDotM[hidden]{display:none!important}
#socialNotificationDotM{position:absolute;right:9px;top:8px;width:6px;height:6px;background:var(--social-gold);border-radius:50%}
:root:not([data-theme="light"]) .social-header-brand-m img{filter:invert(1)}
.social-header-brand-m [hidden],.social-tabs-m[hidden],.social-search-m[hidden]{display:none!important}
.social-view-m{flex:1;min-height:0;padding:0 0 calc(var(--mobile-nav-space,110px) + 14px)}
.social-feed-filters-m{display:flex;gap:25px;padding:0 20px;border-bottom:1px solid var(--social-line);background:var(--social-surface);overflow-x:auto;scrollbar-width:none}
.social-feed-filters-m button{position:relative;flex:0 0 auto;min-height:44px;padding:10px 0;border:0;border-radius:0;font-size:14px;font-weight:400;white-space:nowrap;color:var(--social-muted);background:transparent}
.social-feed-filters-m button[aria-pressed="true"]{background:transparent;color:var(--social-ink);font-weight:650}
.social-feed-filters-m button[aria-pressed="true"]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px;background:var(--social-gold)}
.social-notification-row-m{display:flex;align-items:center;gap:13px;width:100%;min-height:64px;padding:15px 8px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--social-line);color:var(--social-ink)}
.social-notification-row-m>span:not(.social-avatar-m){flex:1;min-width:0}.social-notification-row-m strong{display:block;font-size:14px;line-height:1.4}.social-notification-row-m>span>span{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:var(--social-muted);overflow-wrap:anywhere}.social-notification-row-m time{display:block;margin-top:5px;font-size:11px;color:var(--social-muted)}
.social-notification-row-m>i{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--social-gold)}
#socialFeedSearchM{margin:12px 20px 0;grid-template-columns:18px 1fr}
.social-composer-m{padding:18px 20px;margin-bottom:9px;background:var(--social-surface);border:0}
.social-composer-input-m{font-family:inherit;font-size:16px}.social-composer-tools-m{padding-left:0}
.social-tool-m{height:44px}.social-publish-m{min-height:44px;font-size:13px;border-radius:22px;color:var(--social-on-accent)}
.social-entry-m{padding:18px 20px;margin-bottom:9px;border:0;background:var(--social-surface)}
.social-entry-head-m{grid-template-columns:42px minmax(0,1fr) 44px}.social-entry-head-m>.social-avatar-m{width:42px;height:42px}
.social-entry-person-m strong{font-size:15px}.social-entry-person-m span{font-size:12px;line-height:1.4}.social-entry-menu-m{width:44px;height:44px}
.social-entry-copy-m{margin:14px 0 0;font-size:15px;line-height:1.55}.social-official-m,.social-kudo-mark-m{margin-left:0;font-size:12px}
.social-entry-media-m{margin-inline:-20px}.social-entry-actions-m{margin-left:0}.social-entry-action-m{min-height:44px;font-size:12px}
.social-comments-m{margin-left:0}.social-comment-m{font-size:13px}.social-comment-form-m{display:none}.comments-open .social-comment-form-m{display:flex}
.social-comment-form-m input{height:44px;font-size:16px}.social-comment-form-m button{color:var(--social-on-accent)}
.social-messages-head-m{padding:14px 20px;border:0}.social-search-m{min-height:46px;border-radius:14px}.social-search-m input{font-family:inherit;font-size:16px}
.social-new-dm-m{height:44px;width:44px}.social-conversation-m{padding:16px 20px;grid-template-columns:48px minmax(0,1fr) auto;background:var(--social-surface)}
.social-conversation-m>.social-avatar-m{width:48px;height:48px}.social-conversation-copy-m strong{font-size:15px}.social-conversation-copy-m span{font-size:13px}.social-conversation-meta-m{font-size:11px}.social-unread-m{color:var(--social-on-accent)}
.social-chat-m{inset:auto 0 auto;top:var(--hub-chat-top,0px);height:var(--hub-chat-height,100dvh);min-height:0;background:var(--social-surface-2);font-family:var(--hub-module-font)}
.social-chat-head-m{background:var(--social-surface);min-height:calc(66px + env(safe-area-inset-top));padding-inline:12px;gap:10px}.social-chat-head-m strong{font-size:20px;letter-spacing:-.4px}
.social-chat-head-m .social-avatar-m{display:grid;margin:0;width:38px;height:38px;font-size:12px}.social-chat-head-m .social-avatar-m img{display:block}
.social-chat-body-m{padding:14px 20px 20px;overscroll-behavior:contain;overflow-anchor:none}
.social-day-divider-m{display:flex;align-items:center;gap:14px;margin:16px 0;color:var(--social-muted);font-size:11px}.social-day-divider-m:before,.social-day-divider-m:after{content:"";height:1px;flex:1;background:var(--social-line)}
.social-bubble-row-m{margin:8px 0}.social-bubble-m{padding:12px 14px 8px;font-size:15px;background:var(--social-surface);max-width:88%;overflow-wrap:anywhere}
.social-bubble-row-m.mine .social-bubble-m{color:var(--social-ink);background:color-mix(in srgb,var(--social-gold) 14%,var(--social-surface))}
.social-message-author-m{display:flex;align-items:center;gap:7px;margin-bottom:7px;font-size:11px;color:var(--social-muted)}.social-message-author-m .social-avatar-m{font-size:8px}.social-bubble-m time{font-size:10px;opacity:1;color:var(--social-muted);margin-top:7px}
.social-chat-compose-m{padding:10px 12px max(10px,env(safe-area-inset-bottom));grid-template-columns:44px 44px minmax(0,1fr) 44px;gap:3px;background:var(--social-surface);align-items:end}
.social-chat-compose-m textarea{font-family:inherit;font-size:16px;min-height:44px;border-radius:23px}.social-chat-compose-m button{height:44px;border-radius:50%}.social-chat-compose-m .send{color:var(--social-on-accent)}
.social-chat-compose-m button svg{width:21px;height:21px}
body.hub-social-chat-open #globalBnav{display:none!important}html body.hub-social-chat-open #mobileCreateOverlayM.mobile-create-fan{z-index:13010}
html body #mobileCreateOverlayM.mobile-create-fan.create-fan-stacked .mobile-create-action{position:static;width:100%;min-height:76px;flex-shrink:0;flex-direction:row-reverse;align-items:center;gap:12px;animation:fan-column-in 180ms ease-out backwards}
html body #globalBnav.hub-glass-nav.social-context-nav .nb{padding-inline:4px}
html body #globalBnav.hub-glass-nav.social-context-nav .nb>span{white-space:nowrap;overflow-wrap:normal;font-size:.6875rem}
@media(max-width:360px){html body #globalBnav.hub-glass-nav.social-context-nav .nb>span{font-size:.625rem}}
body.hub-social-chat-open.keyboard-open .social-chat-compose-m{padding-bottom:max(10px,env(safe-area-inset-bottom))}
.social-picker-panel-m{padding-inline:20px}.social-picker-head-m strong{font-size:18px}.social-person-option-m{min-height:72px}.social-person-option-m strong{font-size:15px}.social-person-option-m span{font-size:12px}
.social-person-option-m[hidden],#socialPeopleEmptyM[hidden]{display:none!important}
.social-empty-m strong{font-size:17px}.social-empty-m{font-size:14px}.social-status-m{font-size:12px}.social-load-more-m{font-size:13px}
html body #s-perfil{background:var(--social-surface-2)!important;color:var(--social-ink)}
#s-perfil .topbar{background:var(--social-surface);border-bottom:1px solid var(--social-line)}
.hub-profile-cover-m{height:164px;margin:0;background:linear-gradient(135deg,var(--social-line),var(--social-surface));overflow:hidden}.hub-profile-cover-m img{width:100%;height:100%;object-fit:cover;display:block}
#s-perfil .hub-profile-identity-m{padding:0 20px 20px!important;align-items:flex-start!important;background:var(--social-surface);position:relative}
#s-perfil .hub-profile-identity-m>div:first-child{margin-top:-38px;margin-bottom:12px!important}
#s-perfil #perfAvatarEl{border-radius:50%!important;width:84px;height:84px;border:4px solid var(--social-surface);background:var(--social-surface-2);overflow:hidden}#perfAvatarEl img{width:100%;height:100%;object-fit:cover}
#s-perfil #perfName{font-family:var(--hub-module-font)!important;font-size:26px!important;letter-spacing:-.7px;color:var(--social-ink)!important}#s-perfil #perfRole,#s-perfil #perfEmail{display:none!important}
#s-perfil .tb-title,#s-perfil .section-h{font-family:var(--hub-module-font);letter-spacing:0}#s-perfil .perf-avatar-btn{display:none}
.hub-profile-edit-m{position:absolute;right:20px;top:14px;min-height:44px;padding:0 17px;border:1px solid var(--social-line);border-radius:23px;background:var(--social-surface);color:var(--social-ink);font-size:13px;font-weight:650}
.hub-profile-dialog-m{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--social-line);border-radius:24px;background:var(--social-surface);color:var(--social-ink);overflow:auto}
.hub-profile-dialog-m::backdrop{background:rgba(0,0,0,.48)}.hub-profile-dialog-m form{padding:20px}
.hub-profile-dialog-head-m{display:flex;align-items:center;gap:12px;margin-bottom:20px}.hub-profile-dialog-head-m h2{margin:0;flex:1;font-size:22px;letter-spacing:-.6px}
.hub-profile-dialog-m button{min-height:44px;padding:0 14px;border:1px solid var(--social-line);border-radius:22px;background:var(--social-surface-2);color:var(--social-ink);font-size:14px}.hub-profile-dialog-m button:disabled{opacity:.45}
.hub-profile-dialog-m label{display:block;font-size:13px;font-weight:600;margin:20px 0 8px}.hub-profile-dialog-m input[readonly]{width:100%;height:46px;padding:0 12px;border:1px solid var(--social-line);border-radius:12px;background:var(--social-surface-2);color:var(--social-muted);font-size:16px;box-sizing:border-box}.hub-profile-dialog-m small{display:block;color:var(--social-muted);font-size:12px;margin-top:6px}
.hub-profile-photo-preview-m{height:132px;background:var(--social-surface-2);border-radius:14px;overflow:hidden;margin-bottom:10px}.hub-profile-photo-preview-m img{width:100%;height:100%;object-fit:cover}.hub-profile-photo-preview-m.avatar{width:76px;height:76px;border-radius:50%}
.hub-profile-dialog-actions-m{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.hub-profile-dialog-m .primary{background:var(--social-gold);color:var(--social-on-accent);border-color:transparent}.hub-profile-error-m{color:var(--social-danger);font-size:13px;margin-top:12px}.hub-profile-dialog-m :focus-visible,.social-mobile-screen :focus-visible,.social-chat-m :focus-visible{outline:2px solid var(--social-gold);outline-offset:3px}
@media(min-width:700px){.social-chat-m{left:50%;right:auto;width:min(680px,100%);transform:translateX(-50%)}}
@media(max-width:350px){.social-chat-body-m{padding-inline:12px}.social-chat-compose-m{padding-inline:6px;grid-template-columns:38px 38px minmax(0,1fr) 44px}.social-feed-filters-m{padding-inline:12px;gap:5px}}
@media(prefers-contrast:more){.social-bubble-m,.social-entry-m{border:1px solid var(--social-line)}.social-message-author-m,.social-bubble-m time{color:var(--social-ink)}}
.social-status-m.is-offline{color:var(--social-gold)}
.social-os-preview-m small{color:var(--os-layer-accent)}
.social-os-preview-m.is-unavailable{background:var(--os-layer-red-bg);border-color:var(--social-danger);color:var(--social-ink)}
.social-os-preview-m.is-unavailable::after{content:none}
.social-os-preview-m.is-unavailable strong{color:var(--social-ink)}
.social-os-preview-m.is-unavailable span{color:var(--social-muted)}
html body #s-perfil .card{background:var(--social-surface)!important;color:var(--social-ink);border-color:var(--social-line)!important}
#s-perfil .topbar :is(.tb-title,.tb-back){color:var(--social-ink)}
#s-perfil .section-h{color:var(--social-gold)}
