/* One mobile header and footer; desktop retains its approved horizontal row. */
.icon81{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sr81{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important;border:0!important}
#mobileBack81,#mobileHome81,#mobileTitle81,#mobileSearchButton81{display:none}
#legacyActions81{display:none!important}
.mobileDialog81{width:min(520px,calc(100vw - 20px));max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px - env(safe-area-inset-top));overflow:auto;overscroll-behavior:contain;box-sizing:border-box;margin:auto;padding:0 14px 16px;border:1px solid #cbd9cd;border-radius:18px;background:#fafcf9;color:#243b2a;box-shadow:0 18px 50px #0b271d40}
.mobileDialog81::backdrop{background:#102f2066;backdrop-filter:blur(3px)}
.mobileDialogHead81{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;background:#fafcf9;border-bottom:1px solid #dbe4dc}
.mobileDialogHead81 h2{font-size:20px;margin:0;min-width:0}.mobileDialogHead81 button{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px;border:1px solid #cbd9cd;border-radius:12px;background:white;color:#28643f;font-size:12px}
.mobileDialog81 section{display:grid;gap:6px;margin:14px 0}.mobileDialog81 h3{margin:0 0 2px;font-size:13px;color:#66766a}.mobileDialog81 .menuItem81{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:10px 12px;text-align:left;border:1px solid #d5e0d7;border-radius:12px;background:white;color:#275c3a;font-size:14px;line-height:1.25}.mobileDialog81 .menuItem81[aria-current=page]{background:#eaf3e8;border-color:#afc9b3}.menuItem81:focus-visible,.nav81 button:focus-visible{outline:2px solid #286840;outline-offset:2px}.menuLanguage81{display:grid;gap:8px;margin-top:10px;font-size:13px}.menuLanguage81 select{min-height:44px;padding:8px;border:1px solid #ccd9cf;border-radius:12px;width:100%;background:white}
#mobileSearch81 .search,#mobileSearch81 #workspaceSearch74{display:flex!important;margin-top:14px;max-width:none!important;min-height:48px!important;width:100%!important;position:static!important;background:#fff!important;color:#183f27!important;padding:10px!important;box-sizing:border-box;font-size:16px!important}
#mobileSearch81 #searchResults{position:static!important;width:100%!important;max-height:60dvh;margin-top:10px;box-shadow:none;box-sizing:border-box;overflow:auto}#mobileSearch81 #workspaceSearchDone81{display:flex;align-items:center;gap:8px;min-height:44px;border-radius:12px;margin-top:12px;padding:10px;background:#28663f;color:white}
#communitiesBack81{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;background:white;border:1px solid #cbd9cd;border-radius:12px;color:#28643f}
@media(min-width:1025px){
 #profileView#profileView:not(.cabinetOpen) .profileControlRow{grid-template-columns:repeat(7,minmax(0,1fr))!important}
 #profileView#profileView .profileControlRow .navIcon80{display:block}
 #profileView#profileView .profileControlRow :is(.profileTabs,.profileActions) button{flex-direction:column;min-height:64px!important}
}
@media(max-width:1024px){
 :root{--header81:calc(56px + env(safe-area-inset-top));--footer81:calc(70px + env(safe-area-inset-bottom))}
 body{padding-bottom:0!important;scroll-padding-top:var(--header81);scroll-padding-bottom:var(--footer81)}
 body:has(#profileApp:not(.hidden)){padding-bottom:var(--footer81)!important}
 #profileApp{padding-bottom:10px!important}
 #profileApp .socialHeader{position:sticky!important;top:0!important;z-index:80!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 44px 44px!important;grid-template-rows:44px!important;grid-template-areas:"back title search messages notifications"!important;gap:3px!important;height:var(--header81)!important;min-height:var(--header81)!important;max-height:var(--header81)!important;padding:calc(6px + env(safe-area-inset-top)) 6px 6px!important;margin:0!important;box-sizing:border-box;background:#fffffff5;transform:translateY(0);transition:transform .18s ease;will-change:transform}
 #profileApp .socialHeader.headerHidden81{transform:translateY(-101%)}
 #profileApp .socialHeader>.compactBrand,#profileApp .socialHeader>.search,#profileApp .socialHeader>.socialLanguage,#profileApp .socialHeader>.returnServices,#profileApp .socialHeader>.socialHomeHeader,#profileApp .socialHeader>.socialAccountEntry,#profileApp .socialHeader>#mobileHeaderLinks70{display:none!important}
 #profileApp .socialHeader :is(#mobileBack81,#mobileHome81,#mobileSearchButton81,.headerQuick){display:flex!important;align-items:center;justify-content:center;min-width:0!important;width:44px!important;height:44px!important;min-height:44px!important;padding:8px!important;border:1px solid #d4dfd6;border-radius:12px!important;background:white;color:#28663f;box-shadow:none;font-size:18px}
 #profileApp .socialHeader #mobileBack81,#profileApp .socialHeader #mobileHome81{grid-area:back!important}
 #profileApp .socialHeader #mobileBack81[hidden],#profileApp .socialHeader #mobileHome81[hidden]{display:none!important}
 #profileApp .socialHeader #mobileHome81 img{width:28px;height:28px;object-fit:contain}
 #profileApp .socialHeader #mobileSearchButton81{grid-area:search!important}
 #profileApp .socialHeader #mobileTitle81{display:block;grid-area:title!important;min-width:0;font-size:14px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 4px}
 #profileApp .socialHeader .headerQuick span{right:0;top:0;font-size:10px;min-width:14px}
 #profileApp #profileView#profileView .profileHero .profileControlRow{display:none!important}
 #profileApp #profileView .profileHero .profileActions{display:none!important}
 #profileApp .v18MobileNav.nav81{position:fixed!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:58px!important;gap:4px!important;left:0;right:0;bottom:0;z-index:90!important;height:var(--footer81)!important;min-height:var(--footer81)!important;margin:0;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;box-sizing:border-box;border-top:1px solid #ccd9cf;background:#fffffff7;transform:none!important;visibility:visible!important;opacity:1!important}
 #profileApp .v18MobileNav.nav81>button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%!important;height:58px!important;min-width:0!important;min-height:58px!important;margin:0!important;padding:4px 2px!important;border:1px solid #c5d7c7!important;border-radius:12px!important;background:#fafcf9;color:#28663f;font-size:10px!important;box-shadow:none!important;box-sizing:border-box}
 #profileApp .v18MobileNav.nav81>button::before{display:none!important}
 #profileApp .v18MobileNav.nav81>button .label81{position:static!important;width:auto!important;height:auto!important;max-width:100%;font-size:10px;line-height:1.15;font-weight:750;text-align:center;overflow-wrap:anywhere;clip-path:none}
 #profileApp .v18MobileNav.nav81>button.active{background:#eaf3e8!important;border-color:#b9cfbd!important;color:#245b36!important}
 #profileApp .v18MobileNav.nav81>.v18MobileCreate{background:#28663f!important;color:white!important;align-self:stretch;justify-self:stretch}
 #profileApp .v18MobileNav.nav81>.v18MobileCreate:disabled{opacity:.5!important}
 body.keyboardOpen81 #profileApp .v18MobileNav.nav81{visibility:hidden!important;pointer-events:none}
 .toast{bottom:calc(var(--footer81) + 8px)!important}#ynhBackToTop{bottom:calc(var(--footer81) + 10px)!important}
 #profileView [data-panel=communities]{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;overflow:visible!important;box-shadow:none!important;margin:0!important;min-height:calc(100dvh - var(--header81) - var(--footer81))}
 body.communitiesList81 #profileView>.profileHero,body.communitiesList81 #personContent>.sideColumn{display:none!important}
 body.communitiesList81 #personContent{display:block!important;margin-top:0}body.communitiesList81 #profileView{margin-top:10px}#communitiesBack81{display:none}
 #profileView [data-panel=communities]>.contentCard>.cardHead{gap:8px;flex-wrap:wrap}
 #workspaceNav74,#companyActions76,.cabinetNav>nav,.cabinetNav>.cabinetProfileLink{display:none!important}
 #companyContent[data-workspace-view76=work] #workspace74{position:relative!important;top:auto!important;display:block!important;min-height:84px;padding:16px 52px 16px 14px!important;z-index:0!important}
 #companyContent[data-workspace-view76=work] #workspace74 .workspaceIdentity74{display:block!important;max-width:none;width:100%}
 #companyContent[data-workspace-view76=work] #workspace74 .workspaceIdentity74>div{display:block!important}
 #workspace74 #workspaceMenu74,#workspace74 #workspaceSearch74,#workspace74 .workspaceTools74{display:none!important}
 #workspace74 #workspaceBannerEdit77{position:absolute;top:12px;right:10px;width:36px!important;min-height:40px!important}
 #workspace74 #workspaceCompanyName74{font-size:17px;white-space:normal}#workspaceClock74{font-size:12px}
 #workspaceSide74:has(#workspaceLegacySide74[hidden]){display:none!important}
 #v18CommunityPage .v18EntityActions,#v18CommunityPage .v66Admin{display:none!important}
 #v18CommunityPage .v18CommunityBack{display:none!important}
 .actionIcon81{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;border-radius:12px!important;min-height:44px;line-height:1.2;box-sizing:border-box;white-space:normal}
 .actionIcon81::before{content:'';display:block;flex:0 0 19px;width:19px;height:19px;background:currentColor;mask:var(--action-icon81) center/contain no-repeat;-webkit-mask:var(--action-icon81) center/contain no-repeat}
 .actionIcon81[hidden],.actionIcon81.hidden{display:none!important}
 dialog .dialogHead,dialog .postDialogHead,dialog .commentsDialogHead72{position:sticky;top:0;z-index:5;background:#fff}
 dialog .quickPanelClose{position:sticky;top:0;z-index:6;background:white;min-height:44px;border:1px solid #cbd9cd;border-radius:12px}
 dialog input,dialog textarea,dialog select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){#profileApp .socialHeader{transition:none!important}}

@media(max-width:1024px){#companyApp .simpleHeader{height:56px;min-height:56px;padding:6px 10px;gap:8px;box-sizing:border-box}#companyApp .simpleHeader .brand b{display:none}#companyApp .simpleHeader .brand img{width:32px;height:32px}#companyApp .simpleHeader>span{font-size:13px;min-width:0}#companyApp .simpleHeader .registrationProgress{font-size:11px;white-space:nowrap}#companyApp .wizardHead{position:relative;padding-top:8px;gap:8px}#companyApp .wizardHead h1{font-size:22px}#companyApp .wizardHead .eyebrow{display:none}#companyApp .wizardBackButton{display:inline-flex;position:sticky;top:6px;z-index:6;min-height:44px}}

@media(max-width:1024px){#companyApp .simpleHeader{position:sticky;top:0;z-index:80;grid-template-columns:auto minmax(0,1fr) auto}#companyApp .simpleHeader>.brand{display:none}#companyApp .simpleHeader .wizardBackButton{display:flex;position:static;margin:0;min-height:44px;padding:6px 8px;border-radius:12px;font-size:13px}}
@media(max-width:1024px){#profileApp .composerSubmit,#profileApp #partnerCta,#companyContent .partnerIntro>[data-action=edit-company],#profileApp .cabinetQuick{display:none!important}}
@media(max-width:650px){#feed74 .feed74Modes{grid-template-columns:.85fr 1.35fr 1fr 1.8fr!important;gap:4px!important}#feed74 .feed74Modes button{font-size:11px!important;min-width:0;min-height:44px;padding:6px 3px!important;white-space:normal;overflow-wrap:anywhere}}
