/* Compact profile, company card and independent private workspace banner. */
#profileView#profileView:not(.cabinetOpen):has(#personContent:not(.hidden))>.profileHero .profileIdentity{display:grid!important;grid-template-columns:84px minmax(180px,1fr) auto;gap:12px;padding:12px 18px;align-items:center;flex-wrap:nowrap}
#profileView#profileView .profileIdentity .largeAvatar{width:84px;height:84px;margin-top:0}
#profileView#profileView .profileIdentity .identityText{min-width:0}
#profileView#profileView .profileIdentity h1{font-size:clamp(18px,2vw,28px);margin:0;overflow-wrap:anywhere}
#profileView#profileView .profileIdentity p{margin:3px 0;font-size:14px}
#profileView#profileView:not(.cabinetOpen):has(#personContent:not(.hidden))>.profileHero .profileIdentity .profileActions{width:auto;flex-wrap:nowrap;gap:4px}
#profileView#profileView .profileActions button,#profileView#profileView .profileActions button[id$=Person76]{padding:8px!important;min-height:44px;font-size:14px;white-space:nowrap}
.profileTabs{gap:4px!important;padding:6px!important;display:flex!important;flex-wrap:nowrap!important}
.profileTabs button{flex:1;min-width:0;padding:8px 4px!important;white-space:normal}
#companyActions76{display:grid;gap:6px;margin:12px 0}
#companyActions76 button{width:100%;text-align:left;padding:10px 12px;border:1px solid #c8d8cc;border-radius:12px;background:white;color:#285b3b;min-height:44px}
#companyContent .partnerIntro{gap:10px;padding:16px}
#companyContent .partnerIntro .cardHead{display:flex;align-items:center;gap:10px;justify-content:space-between}
#companyContent .partnerIntro .eyebrow{display:none}
#partnerHeading{margin:0;font-size:22px;min-width:0;overflow-wrap:anywhere}
#partnerVerificationStatus{flex-shrink:0;font-size:12px}
.companyVisual68{height:200px;margin-bottom:32px}
.companyAvatar68{width:76px;height:76px;bottom:-24px}
.companyFields68{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:6px 0}
.companyFields68 .companyField68{grid-column:auto!important}
.companyFields68 .companyDescription77{grid-column:1/-1!important}
.companyFields68 h3{margin:0 0 4px;font-size:14px}
.companyField68>div{line-height:1.4;white-space:normal;font-size:16px}
.companyField68 .companyLink{margin:0}
.companyField68 .companyLink a{padding:0;display:inline-flex;gap:6px}
.companyField68 .companyLink a>span:last-child{display:none}
.excerpt77{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.excerpt77.expanded77{display:block;overflow:visible}
.expand77{padding:6px 0;border:0;background:none;color:#286840;min-height:36px;font-weight:600}
.publicType77{font-size:14px!important;font-weight:600;color:inherit}
.companyAssociation77 button{width:100%;text-align:left;overflow-wrap:anywhere}
#workspace74{display:grid;grid-template-columns:44px minmax(170px,1fr) minmax(120px,1fr) auto auto auto 36px;gap:8px;align-items:center;padding:12px;background:linear-gradient(#ffffffdb,#ffffffdb),var(--header-banner77,none) center/cover;border-radius:18px;isolation:isolate}
#workspace74.hasBanner77{background:linear-gradient(#ffffffbd,#ffffffbd),var(--header-banner77) center/cover}
#workspace74 .workspaceIdentity74,#workspace74 .workspaceTools74{display:contents!important}
#workspace74 .workspaceIdentity74>div{grid-column:2;grid-row:1}
#workspace74 .workspaceIdentity74 #workspaceSearch74{grid-column:3;grid-row:1}
#workspace74 #workspaceCreate74{grid-column:4;grid-row:1}
#workspace74 #workspaceNotifications74{grid-column:5;grid-row:1}
#workspace74 #workspaceGPT74{grid-column:6;grid-row:1}
#workspace74 #workspaceBannerEdit77{grid-column:7;grid-row:1;width:36px;min-width:0;padding:4px}
#workspace74 button{min-height:44px;white-space:nowrap;padding:8px}
#workspaceClock74{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#workspaceCompanyName74{font-size:18px}
#workspaceSearch74{height:44px;padding:8px}
.bannerPreview77{width:100%;max-height:180px;object-fit:cover;border-radius:12px}
#workspaceBannerDialog77{width:min(600px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #c8d8cc;border-radius:16px}
@media(max-width:1100px){
 #profileView#profileView:not(.cabinetOpen):has(#personContent:not(.hidden))>.profileHero .profileIdentity{grid-template-columns:60px minmax(100px,1fr) auto;gap:8px;padding:10px}
 #profileView#profileView .profileIdentity .largeAvatar{width:60px;height:60px}
 #profileView#profileView .profileActions button,#profileView#profileView .profileActions button[id$=Person76]{font-size:0!important;width:40px!important;min-width:40px;padding:6px!important}
 #profileView#profileView .profileActions button::before,#profileView#profileView .profileActions button[id$=Person76]::before{display:block;font-size:21px;content:'✎'}
 #profileView#profileView .profileActions #previewPerson76::before{content:'◉'}
 #profileView#profileView .profileActions #cabinetPerson76::before{content:'♙'}
 #profileView#profileView .profileActions #publishPerson76::before{content:'+'}
 #workspace74{grid-template-columns:40px minmax(90px,1fr) minmax(70px,.7fr) 40px 44px 44px 36px;gap:4px;padding:8px}
 #workspaceCreate74{font-size:0!important}#workspaceCreate74::before{content:'+';font-size:24px}
 #workspaceGPT74{font-size:0!important}#workspaceGPT74::before{content:'GPT';font-size:12px;font-weight:700}
 #workspaceCompanyName74{font-size:14px}
}
@media(max-width:600px){
 #profileView#profileView:not(.cabinetOpen):has(#personContent:not(.hidden))>.profileHero .profileIdentity{grid-template-columns:40px minmax(60px,1fr) auto;gap:4px;padding:8px 4px}
 #profileView#profileView .profileIdentity .largeAvatar{width:40px;height:40px;border-width:2px}
 #profileView#profileView .profileIdentity h1{font-size:16px}
 #profileView#profileView .profileIdentity p{font-size:12px;line-height:1.25}
 #profileView#profileView .profileActions{gap:2px!important}
 #profileView#profileView .profileActions button,#profileView#profileView .profileActions button[id$=Person76]{width:34px!important;min-width:34px;padding:4px!important}
 .profileTabs button{font-size:12px!important}
 #companyContent .partnerIntro{padding:10px}
 #partnerHeading{font-size:18px}
 .companyFields68{gap:10px}
 .companyVisual68{height:150px;margin-bottom:24px}
 .companyAvatar68{width:60px;height:60px;bottom:-20px}
 #workspace74{grid-template-columns:32px minmax(50px,1fr) 32px 32px 36px 36px 32px;gap:3px;padding:6px;position:sticky}
 #workspace74 #workspaceMenu74,#workspace74 #workspaceBannerEdit77{width:32px;padding:2px}
 #workspace74 button{min-width:0;padding:2px;min-height:40px}
 #workspace74 #workspaceSearch74{font-size:14px;padding:4px;cursor:text;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23286840' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E") center no-repeat;color:transparent}
 #workspaceSearch74::placeholder{color:transparent}
 #workspace74 #workspaceSearch74:focus{position:absolute;left:42px;right:6px;top:6px;width:calc(100% - 48px);z-index:3;background:white;color:#193626}
 #workspace74 #workspaceSearch74:focus::placeholder{color:#68776d}
 #workspaceClock74{font-size:12px}#workspaceCompanyName74{font-size:14px}
}

#profileView#profileView .profileIdentity .profileActions{grid-column:3;grid-row:1;padding-top:0}
#companyContent[data-workspace-view76=public] #workspaceSide74{display:block}
#profileView#profileView:not(.cabinetOpen):has(#personContent:not(.hidden))>.profileHero .profileIdentity{position:relative;bottom:auto;left:auto;right:auto;background:white}
#profileView#profileView .profileHero .identityText{padding-top:0;text-shadow:none}
#profileView#profileView .profileHero .identityText h1{color:#19231c}
#profileView#profileView .profileHero .identityText p,#profileView#profileView .profileHero #profileAccountType,#profileView#profileView .profileHero #profileAccountType button{color:#4c6252!important}
#profileView#profileView .profileHero #profileAccountType{display:block!important;white-space:normal}
#profileView#profileView .profileHero #profileAccountType button{display:inline;width:auto;min-width:0;padding:0;min-height:0;height:auto;font:inherit;white-space:normal}
#profileView#profileView .profileControlRow .profileTabs{min-width:0;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important}
#profileView#profileView .profileControlRow .profileTabs button{white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:12px!important}
#workspace74 #workspaceCompanyName74{font-size:18px}
@media(max-width:600px){#workspace74 #workspaceCompanyName74{font-size:14px}#workspaceClock74{font-size:12px}#profileView#profileView .profileControlRow .profileTabs button{font-size:12px!important}}
@media(max-width:600px){
 #profileView#profileView .profileControlRow .profileTabs{display:flex!important;overflow-x:auto!important;scrollbar-width:thin;max-width:100%;scroll-snap-type:x proximity}
 #profileView#profileView .profileControlRow .profileTabs button{flex:0 0 86px;white-space:normal;overflow-wrap:normal;word-break:normal;scroll-snap-align:start;padding:6px 2px!important}
}
@media(max-width:1100px){
 #profileView#profileView .profileActions #previewPerson76::before{content:'';width:22px;height:22px;margin:auto;background:#286840;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
 #profileView#profileView .profileActions #cabinetPerson76::before{content:'';width:22px;height:22px;margin:auto;background:#286840;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 22v-3a8 8 0 0 1 16 0v3Z'/%3E%3C/svg%3E") center/contain no-repeat}
}
