:root {
  --social-ink: #eef2f7;
  --social-muted: #98a4b5;
  --social-surface: #111927;
  --social-surface-2: #162132;
  --social-line: rgba(172, 185, 204, .16);
  --social-gold: #d8b36a;
  --social-danger: #cf765e;
  --social-good: #66aa82;
}

html[data-theme="light"] {
  --social-ink: #142035;
  --social-muted: #667085;
  --social-surface: #fbfaf6;
  --social-surface-2: #f1eee7;
  --social-line: rgba(22, 35, 55, .14);
  --social-gold: #9c6f21;
  --social-danger: #a94735;
  --social-good: #287b4b;
}

#s-hr.social-mobile-screen {
  --bg: var(--social-surface);
  color: var(--social-ink);
  background: var(--social-surface) !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.social-shell-m { width: 100%; height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--social-surface); }
.social-head-m {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center;
  min-height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 6px 0;
  border-bottom: 1px solid var(--social-line); background: var(--social-surface); z-index: 5;
}
.social-icon-btn-m {
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px;
  color: var(--social-ink); background: transparent;
}
.social-icon-btn-m:active { background: var(--social-surface-2); }
.social-title-m { min-width: 0; }
.social-title-m strong { display: block; font: 650 20px/1.05 inherit; letter-spacing: -.35px; }
.social-title-m span { display: block; margin-top: 3px; color: var(--social-muted); font-size: 10px; }
.social-refresh-m.is-loading svg { animation: social-spin-m .8s linear infinite; }
@keyframes social-spin-m { to { transform: rotate(360deg); } }

.social-tabs-m {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 45px; padding: 0 10px;
  border-bottom: 1px solid var(--social-line); background: var(--social-surface); z-index: 4;
}
.social-tab-m {
  position: relative; border: 0; background: transparent; color: var(--social-muted);
  font-size: 12px; font-weight: 650; letter-spacing: .1px;
}
.social-tab-m[aria-selected="true"] { color: var(--social-ink); }
.social-tab-m[aria-selected="true"]::after {
  content: ""; position: absolute; left: 28%; right: 28%; bottom: -1px; height: 2px; background: var(--social-gold);
}
.social-tab-badge-m { display: none; margin-left: 5px; color: var(--social-gold); font-variant-numeric: tabular-nums; }
.social-tab-badge-m.has-value { display: inline; }

.social-view-m { overflow: auto; overscroll-behavior: contain; padding: 0 6px calc(22px + env(safe-area-inset-bottom)); }
.social-view-m[hidden] { display: none; }
.social-composer-m { padding: 13px 8px 11px; border-bottom: 1px solid var(--social-line); }
.social-composer-row-m { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; }
.social-avatar-m {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--social-surface-2);
  display: grid; place-items: center; flex: 0 0 auto; color: var(--social-gold); font-size: 11px; font-weight: 750;
  border: 1px solid var(--social-line); overflow: hidden;
}
.social-avatar-m img { width: 100%; height: 100%; object-fit: cover; }
.social-composer-input-m {
  width: 100%; min-height: 42px; max-height: 160px; resize: none; border: 0; outline: 0;
  padding: 10px 0; background: transparent; color: var(--social-ink); font: 14px/1.45 inherit;
}
.social-composer-input-m::placeholder { color: var(--social-muted); }
.social-composer-tools-m { display: flex; align-items: center; gap: 2px; padding-left: 46px; margin-top: 5px; }
.social-tool-m {
  width: 42px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px;
  background: transparent; color: var(--social-muted);
}
.social-tool-m.is-active { color: var(--social-gold); background: color-mix(in srgb, var(--social-gold) 11%, transparent); }
.social-tool-m svg { width: 18px; height: 18px; }
.social-publish-m {
  margin-left: auto; min-height: 38px; padding: 0 17px; border: 0; border-radius: 11px;
  background: var(--social-gold); color: #101722; font-size: 12px; font-weight: 750;
}
.social-publish-m:disabled { opacity: .38; }
.social-attachment-m { margin: 10px 0 0 46px; }
.social-media-draft-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.social-media-draft-m > div { position: relative; min-height: 90px; border-radius: 10px; overflow: hidden; background: var(--social-surface-2); }
.social-media-draft-m img, .social-media-draft-m video { width: 100%; height: 120px; object-fit: cover; }
.social-remove-media-m { position: absolute; top: 5px; right: 5px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(8,12,20,.78); color: white; }
.social-linked-os-m {
  display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 10px 11px 10px 0; border-block: 1px solid var(--social-line); background: var(--social-surface-2);
}
.social-linked-os-m::before { content: ""; align-self: stretch; background: var(--social-gold); }
.social-linked-os-m strong { display: block; font-size: 12px; }
.social-linked-os-m span { display: block; margin-top: 3px; color: var(--social-muted); font-size: 10px; }
.social-linked-os-m button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--social-muted); }
.social-kudo-draft-m { padding: 9px 11px; border-left: 3px solid var(--social-gold); background: var(--social-surface-2); font-size: 11px; }

.social-feed-m { min-height: 120px; }
.social-entry-m { position: relative; padding: 15px 8px; border-bottom: 1px solid var(--social-line); }
.social-entry-head-m { display: grid; grid-template-columns: 38px minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.social-entry-head-m[onclick] { cursor: pointer; }
.social-entry-person-m { min-width: 0; }
.social-entry-person-m strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.social-entry-person-m span { display: block; margin-top: 2px; color: var(--social-muted); font-size: 9.5px; }
.social-entry-menu-m { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--social-muted); }
.social-entry-copy-m { margin: 10px 0 0 48px; font-size: 13.5px; line-height: 1.48; overflow-wrap: anywhere; white-space: pre-wrap; }
.social-entry-copy-m mark { color: var(--social-gold); background: transparent; font-weight: 650; }
.social-official-m { margin: 10px 0 0 48px; color: var(--social-gold); font-size: 9px; font-weight: 750; letter-spacing: .75px; text-transform: uppercase; }
.social-kudo-mark-m { margin: 9px 0 0 48px; color: var(--social-gold); font-size: 11px; font-weight: 700; }
.social-entry-media-m { margin: 12px -8px 0; display: grid; gap: 2px; overflow: hidden; background: var(--social-surface-2); }
.social-entry-media-m.media-2, .social-entry-media-m.media-3, .social-entry-media-m.media-4 { grid-template-columns: repeat(2, 1fr); }
.social-entry-media-m img, .social-entry-media-m video { width: 100%; height: min(62vw, 330px); object-fit: cover; display: block; }
.social-entry-media-m.media-2 img, .social-entry-media-m.media-3 img, .social-entry-media-m.media-4 img { height: min(38vw, 210px); }
.social-os-preview-m {
  position: relative; min-height: 116px; margin: 12px -8px 0; padding: 15px 15px 13px;
  display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 0; width: calc(100% + 16px);
  color: white; text-align: left; background: #162235;
}
.social-os-preview-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.46) blur(1px); transform: scale(1.02); }
.social-os-preview-m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,15,26,.87), rgba(8,15,26,.38)); }
.social-os-preview-m > *:not(img) { position: relative; z-index: 1; }
.social-os-preview-m small { color: #ddbd7a; font-weight: 750; }
.social-os-preview-m strong { margin-top: 4px; font-size: 14px; }
.social-os-preview-m span { margin-top: 4px; font-size: 10px; color: rgba(255,255,255,.72); }
.social-os-preview-m.is-unavailable {
  min-height: 88px;
  background: linear-gradient(135deg, rgba(185,73,77,.18), rgba(22,34,53,.96));
  border: 1px solid rgba(248,113,113,.2);
}
.social-os-preview-m.is-unavailable::after { display: none; }
.social-os-preview-m.is-unavailable strong { color: #fff; }
.social-os-preview-m.is-unavailable span { max-width: 28rem; }
.social-entry-actions-m { display: grid; grid-template-columns: repeat(3, 1fr); margin: 9px 0 -5px 48px; }
.social-entry-action-m { min-height: 40px; border: 0; background: transparent; color: var(--social-muted); font-size: 10px; font-weight: 650; }
.social-entry-action-m.is-active { color: var(--social-gold); }
.social-comments-m { margin: 7px 0 0 48px; }
.social-comment-m { padding: 7px 0; font-size: 11px; line-height: 1.4; }
.social-comment-m strong { margin-right: 4px; }
.social-comment-form-m { display: flex; gap: 7px; margin-top: 5px; }
.social-comment-form-m input { flex: 1; min-width: 0; height: 39px; padding: 0 11px; border: 1px solid var(--social-line); border-radius: 10px; background: var(--social-surface-2); color: var(--social-ink); }
.social-comment-form-m button { width: 42px; border: 0; border-radius: 10px; color: #111827; background: var(--social-gold); }

.social-empty-m { padding: 42px 22px; text-align: center; color: var(--social-muted); }
.social-empty-m strong { display: block; margin-bottom: 6px; color: var(--social-ink); font-size: 14px; }
.social-status-m { padding: 9px 12px; color: var(--social-muted); font-size: 10px; border-bottom: 1px solid var(--social-line); }
.social-status-m.is-offline { color: #d39a66; }

.social-messages-head-m { position: sticky; top: 0; z-index: 3; padding: 10px 8px; background: var(--social-surface); border-bottom: 1px solid var(--social-line); }
.social-search-m { display: grid; grid-template-columns: 18px 1fr 38px; gap: 8px; align-items: center; min-height: 43px; padding: 0 6px 0 12px; border: 1px solid var(--social-line); border-radius: 12px; background: var(--social-surface-2); }
.social-search-m input { min-width: 0; border: 0; outline: 0; color: var(--social-ink); background: transparent; font: 12px inherit; }
.social-new-dm-m { width: 38px; height: 36px; border: 0; border-radius: 9px; color: var(--social-gold); background: transparent; }
.social-conversation-m { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 72px; padding: 10px 8px; border: 0; border-bottom: 1px solid var(--social-line); text-align: left; background: transparent; color: var(--social-ink); }
.social-conversation-copy-m { min-width: 0; }
.social-conversation-copy-m strong, .social-conversation-copy-m span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-conversation-copy-m strong { font-size: 12px; }
.social-conversation-copy-m span { margin-top: 5px; color: var(--social-muted); font-size: 10px; }
.social-conversation-meta-m { align-self: start; padding-top: 5px; text-align: right; color: var(--social-muted); font-size: 9px; }
.social-unread-m { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-top: 7px; padding: 0 5px; border-radius: 10px; background: var(--social-gold); color: #111827; font-size: 9px; font-weight: 800; }

.social-chat-m { position: fixed; inset: 0; width: 100%; height: 100dvh; min-height: 100%; z-index: 12000; display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; background: var(--social-surface); color: var(--social-ink); }
.social-chat-head-m { min-height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 6px 0; display: grid; grid-template-columns: 44px 38px minmax(0,1fr); gap: 6px; align-items: center; border-bottom: 1px solid var(--social-line); }
.social-chat-head-m strong, .social-chat-head-m span { display: block; }
.social-chat-head-m strong { font-size: 12px; }.social-chat-head-m span { margin-top: 2px; color: var(--social-muted); font-size: 9px; }
.social-chat-body-m { overflow: auto; padding: 12px 10px 18px; }
.social-load-more-m { display: block; min-height: 40px; margin: 0 auto 12px; border: 0; color: var(--social-gold); background: transparent; font-size: 10px; }
.social-bubble-row-m { display: flex; margin: 5px 0; }.social-bubble-row-m.mine { justify-content: flex-end; }
.social-bubble-m { max-width: 82%; padding: 9px 11px 7px; border-radius: 15px 15px 15px 4px; background: var(--social-surface-2); font-size: 12px; line-height: 1.42; }
.social-bubble-row-m.mine .social-bubble-m { border-radius: 15px 15px 4px 15px; color: #101722; background: #d8b36a; }
.social-bubble-m time { display: block; margin-top: 4px; text-align: right; opacity: .6; font-size: 8px; }
.social-bubble-media-m { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; margin: -5px -7px 7px; overflow: hidden; border-radius: 10px; }
.social-bubble-media-m img { width: 100%; height: 120px; object-fit: cover; }
.social-chat-compose-m { padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 42px 42px minmax(0,1fr) 44px; gap: 4px; align-items: end; border-top: 1px solid var(--social-line); background: var(--social-surface); }
.social-chat-compose-m textarea { min-height: 42px; max-height: 110px; resize: none; padding: 11px 12px; border: 1px solid var(--social-line); border-radius: 14px; outline: 0; color: var(--social-ink); background: var(--social-surface-2); font: 12px/1.4 inherit; }
.social-chat-compose-m button { height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--social-muted); }
.social-chat-compose-m .send { color: #101722; background: var(--social-gold); }

.social-picker-m { position: fixed; inset: 0; z-index: 13000; display: flex; align-items: end; background: rgba(3,8,16,.62); }
.social-picker-panel-m { width: 100%; max-height: 78dvh; padding: 8px 8px calc(12px + env(safe-area-inset-bottom)); overflow: auto; border-radius: 18px 18px 0 0; color: var(--social-ink); background: var(--social-surface); }
.social-picker-head-m { position: sticky; top: -8px; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; min-height: 52px; padding: 0 5px; background: var(--social-surface); border-bottom: 1px solid var(--social-line); }
.social-picker-head-m strong { font-size: 14px; }
.social-person-option-m { width: 100%; min-height: 62px; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 11px; align-items: center; padding: 8px 5px; border: 0; border-bottom: 1px solid var(--social-line); color: var(--social-ink); background: transparent; text-align: left; }
.social-person-option-m strong, .social-person-option-m span { display: block; }.social-person-option-m strong { font-size: 12px; }.social-person-option-m span { margin-top: 3px; color: var(--social-muted); font-size: 9px; }

.profile-rh-entry-m { cursor: pointer; }
.profile-rh-entry-m::after { content: "›"; margin-left: auto; color: var(--social-muted); font-size: 22px; }
#s-meu-rh { background: var(--bg); overflow: auto; }
#s-meu-rh .my-rh-body-m { padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
#s-meu-rh #hr-tab-rh { display: block !important; }
#s-meu-rh #hrCelebrationsHeadingM, #s-meu-rh #hrCelebrationsM, #s-meu-rh .hr-social-only-m { display: none !important; }
.ponto-mobile-disabled-m { padding: 12px 14px; margin-bottom: 12px; border-left: 3px solid var(--social-gold); color: var(--social-muted); background: var(--social-surface-2); font-size: 11px; line-height: 1.45; }
body #ponto-big-btn, body #ponto-geo-status { display: none !important; }

html.social-overlay-open-m body { overflow: hidden; }
@media (min-width: 700px) {
  .social-chat-m { left: 50%; width: min(680px, 100%); transform: translateX(-50%); border-inline: 1px solid var(--social-line); }
  .social-picker-panel-m { max-width: 620px; margin-inline: auto; border-radius: 18px 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .social-refresh-m.is-loading svg { animation: none; }
  .social-chat-m, .social-picker-m { scroll-behavior: auto; }
}
