/* Compact community, business-page and event headers without cover photos. */
.profile-header.ls-empty-header{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:0 12px;position:relative;height:auto!important;min-height:82px;margin:0;padding:14px 18px;background:#fff;border:1px solid #dfe5eb;border-bottom:0;border-radius:10px 10px 0 0;overflow:visible}
.ls-empty-header .profile-cover-wrapper{display:contents;background:none;height:auto;min-height:0}
.ls-empty-header .profile-avatar-wrapper,.ls-empty-header .profle-date-wrapper{grid-column:1;grid-row:1;position:relative!important;inset:auto!important;transform:none!important;width:52px!important;height:52px!important;margin:0;padding:0;border:0;border-radius:10px;box-shadow:none}
.ls-empty-header .profile-avatar-wrapper>img{width:100%;height:100%;max-width:100%;object-fit:cover;border-radius:10px}
.ls-empty-header .profile-name-wrapper{grid-column:2;grid-row:1;position:static!important;inset:auto!important;transform:none!important;min-width:0;margin:0;padding:0;color:#18273a;font-size:22px;font-weight:700;line-height:1.4;text-shadow:none;text-align:left;overflow-wrap:anywhere}
.ls-empty-header .profile-name-wrapper>a{color:#18273a!important;text-shadow:none;font-size:inherit;line-height:inherit}
.ls-empty-header .profile-name-wrapper .privacy-badge{color:#7b8796;font-size:13px;vertical-align:middle}
.ls-empty-header .profile-buttons-wrapper{grid-column:3;grid-row:1;position:static!important;inset:auto!important;transform:none!important;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin:0;padding:0;text-align:right}
.ls-empty-header .profile-buttons-wrapper .btn{padding:8px 14px;min-height:36px;font-size:14px;line-height:1.3;border-radius:7px!important;box-shadow:none;white-space:nowrap}
.ls-empty-header .profile-buttons-wrapper .btn-success{background:#3159cd;border-color:#3159cd;color:#fff}
.ls-empty-header .profile-buttons-wrapper .btn-success:hover{background:#274bb5;border-color:#274bb5}
.ls-empty-header .profile-cover-buttons{grid-column:4;grid-row:1;position:static;inset:auto;display:flex;align-items:center;gap:4px;z-index:3}
.ls-empty-header .profile-cover-change>i{color:#526174;background:#eef2f7;border-radius:6px}
.ls-empty-header .profile-cover-change-loader,.ls-empty-header .profile-cover-position-loader{left:0;right:0;top:0;bottom:0;border-radius:10px;background:#f3f6fb;color:#526174}
.ls-empty-header.no-avatar .profle-date-wrapper{grid-row:1 / span 2;display:flex;flex-direction:column;justify-content:center;background:#edf2ff;color:#3159cd;font-size:14px;font-weight:700;line-height:1.5;text-align:center}
.ls-empty-header.no-avatar .profle-meta-wrapper{grid-column:2;grid-row:2;position:static!important;inset:auto!important;transform:none!important;min-width:0;margin:3px 0 0;padding:0;color:#64748b;font-size:13px;line-height:1.6;text-shadow:none;text-align:left}
.ls-empty-header.no-avatar .profile-buttons-wrapper,.ls-empty-header.no-avatar .profile-cover-buttons{grid-row:1 / span 2}
.profile-tabs-wrapper.ls-compact-tabs{justify-content:flex-start!important;gap:4px;min-height:42px;height:auto;margin:0 0 14px;padding:0 12px;background:#fff;border:1px solid #dfe5eb;border-top:1px solid #edf0f4;border-radius:0 0 10px 10px;overflow-x:auto;flex-wrap:nowrap}
.ls-compact-tabs>a{display:flex;align-items:center;flex:0 0 auto;gap:0;height:42px;margin:0;padding:9px 16px;color:#526174;font-size:14px;line-height:22px;white-space:nowrap;border-bottom:2px solid transparent}
.ls-compact-tabs>a>.main-icon{display:none!important}
.ls-compact-tabs>a>span{display:inline!important;margin-left:0!important}
.ls-compact-tabs>a.active{color:#3159cd;border-bottom-color:#3159cd;background:#f7f9ff}
.ls-compact-tabs>a:hover{color:#3159cd;background:#f7f9ff}
.ls-compact-tabs>a:focus-visible{outline:2px solid #3159cd;outline-offset:-4px}
@media(max-width:767px){
 .profile-header.ls-empty-header{grid-template-columns:40px minmax(0,1fr) auto;gap:0 10px;min-height:66px;padding:12px;border-radius:8px 8px 0 0}
 .ls-empty-header .profile-avatar-wrapper,.ls-empty-header .profle-date-wrapper{width:40px!important;height:40px!important;border-radius:8px}
 .ls-empty-header .profile-avatar-wrapper>img{border-radius:8px}
 .ls-empty-header .profile-name-wrapper{font-size:18px;line-height:1.4}
 .ls-empty-header .profile-buttons-wrapper .btn{min-height:32px;padding:7px 10px;font-size:13px}
 .ls-empty-header .profile-cover-buttons{grid-column:2 / -1;grid-row:3;margin-top:7px;justify-self:end}
 .ls-empty-header.no-avatar .profle-meta-wrapper{font-size:12px}
 .ls-empty-header.no-avatar .profile-buttons-wrapper{grid-column:2 / -1;grid-row:3;margin-top:8px;justify-content:flex-start;text-align:left}
 .ls-empty-header.no-avatar .profile-cover-buttons{grid-column:2 / -1;grid-row:4}
 .profile-tabs-wrapper.ls-compact-tabs{gap:0;padding:0 6px;min-height:40px;border-radius:0 0 8px 8px;margin-bottom:12px}
 .ls-compact-tabs>a{height:40px;padding:8px 12px;font-size:13px}
}
@media(max-width:480px){
 .profile-header.ls-empty-header{grid-template-columns:40px minmax(0,1fr)}
 .ls-empty-header .profile-avatar-wrapper{grid-row:1 / span 2;align-self:start}
 .ls-empty-header .profile-buttons-wrapper{grid-column:2;grid-row:2;margin-top:7px;justify-content:flex-start;text-align:left}
 .ls-empty-header.no-avatar .profile-buttons-wrapper{grid-row:3}
}
