/* NestPortal v277 · barra lateral de conversaciones y membresías de grupos */
#communityDrawerHandleV277{position:fixed;left:0;top:46%;z-index:79;width:16px;height:64px;border:0;border-radius:0 14px 14px 0;background:rgba(7,94,84,.74);color:#fff;padding:0;box-shadow:3px 5px 18px rgba(4,50,43,.2);cursor:pointer;display:grid;place-items:center;transition:.18s}
#communityDrawerHandleV277 span{font-size:24px;transform:translateX(-1px)}#communityDrawerHandleV277:hover{width:22px;background:#075e54}
#communityDrawerOverlayV277{position:fixed;inset:0;z-index:150;background:rgba(1,25,22,.42);backdrop-filter:blur(2px);opacity:0;transition:opacity .2s}
body.communityDrawerOpenV277 #communityDrawerOverlayV277{opacity:1}
#communityDrawerV277{position:absolute;left:0;top:0;bottom:0;width:min(370px,90vw);display:flex;flex-direction:column;background:linear-gradient(180deg,#0a4c46,#0b665b 170px,#f4fbf8 170px);box-shadow:18px 0 50px rgba(0,0,0,.25);transform:translateX(-102%);transition:transform .22s cubic-bezier(.2,.8,.2,1);overflow:hidden}
body.communityDrawerOpenV277 #communityDrawerV277{transform:translateX(0)}
#communityDrawerV277>header{min-height:112px;padding:24px 18px 16px;display:flex;align-items:flex-start;justify-content:space-between;color:#fff}#communityDrawerV277>header small{font-size:11px;font-weight:900;opacity:.8;text-transform:uppercase;letter-spacing:.08em}#communityDrawerV277>header h2{margin:4px 0 0;font-size:25px}#communityDrawerV277>header button{width:40px;height:40px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.12);color:#fff;font-size:25px;cursor:pointer}
.communityDrawerBodyV277{flex:1;min-height:0;overflow:auto;padding:12px 10px 18px;-webkit-overflow-scrolling:touch}.communityDrawerSectionV277{margin-bottom:16px}.communityDrawerSectionHeadV277{display:flex;align-items:center;justify-content:space-between;padding:5px 8px 8px}.communityDrawerSectionHeadV277 h3{margin:0;color:#31524b;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.communityDrawerSectionHeadV277 button{border:0;background:transparent;color:#0b7f70;font-weight:900;font-size:11px;cursor:pointer}.communityDrawerSectionHeadV277>span{font-size:11px;color:#6a807a;font-weight:900}
.communityDrawerListV277{display:grid;gap:5px}.communityDrawerRowV277{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:14px;background:transparent;padding:8px;text-align:left;color:#17342e;cursor:pointer}.communityDrawerRowV277:hover,.communityDrawerRowV277:active{background:#e4f6ef}.communityDrawerRowV277>span:nth-child(2){min-width:0;flex:1}.communityDrawerRowV277 b,.communityDrawerRowV277 small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.communityDrawerRowV277 b{font-size:13px;color:#0a534a}.communityDrawerRowV277 small{font-size:10.5px;color:#6b817a;margin-top:2px}.communityDrawerRowV277 em{font-style:normal;min-width:22px;height:22px;border-radius:999px;background:#0db790;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:1000;padding:0 6px}.communityDrawerAvatarV277,.communityDrawerGroupIconV277{width:42px;height:42px;flex:0 0 42px;border-radius:15px;overflow:hidden;background:#e9f5f0;display:grid;place-items:center;font-size:20px;border:1px solid rgba(7,94,84,.1)}.communityDrawerAvatarV277{border-radius:999px}.communityDrawerAvatarV277 img,.communityDrawerGroupIconV277 img{width:100%;height:100%;object-fit:cover;display:block}.communityDrawerEmptyV277{margin:4px 8px;padding:15px;border:1px dashed rgba(7,94,84,.22);border-radius:15px;color:#6b817a;text-align:center;font-size:12px;background:rgba(255,255,255,.6)}.communityDrawerLoadingV277{padding:30px;text-align:center;color:#60746f;font-weight:900}
#communityDrawerV277>footer{padding:10px 12px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(7,94,84,.1);background:#fff}#communityDrawerV277>footer button{width:100%;min-height:44px;border:0;border-radius:14px;background:#e5f8f1;color:#075e54;font-weight:950;cursor:pointer}
.groupMembershipCardV277{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:9px 10px;border-radius:14px;background:#fff7e8;border:1px solid rgba(180,110,10,.16)}.groupMembershipCardV277.joined{background:#e9faf3;border-color:rgba(13,183,144,.2)}.groupMembershipCardV277 span{font-size:11px;color:#6c5c3d;font-weight:900}.groupMembershipCardV277.joined span{color:#0a705e}.groupMembershipCardV277 button,.groupMembershipBarV277 button{border:0;border-radius:12px;background:#0db790;color:#fff;padding:8px 12px;font-weight:950;cursor:pointer;white-space:nowrap}.groupMembershipCardV277.joined button,.groupMembershipBarV277.joined button{background:#edf4f1;color:#49635c;border:1px solid rgba(7,94,84,.14)}
.groupMembershipBarV277{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#fff7e8;border-bottom:1px solid rgba(180,110,10,.14)}.groupMembershipBarV277.joined{background:#e9faf3;border-color:rgba(13,183,144,.16)}.groupMembershipBarV277 span{min-width:0}.groupMembershipBarV277 b,.groupMembershipBarV277 small{display:block}.groupMembershipBarV277 b{color:#76581d;font-size:13px}.groupMembershipBarV277 small{color:#766b57;font-size:10.5px;margin-top:2px}.groupMembershipBarV277.joined b{color:#075e54}.groupMembershipBarV277.joined small{color:#55736a}.privateProfileActionV277{display:block!important}
@media(max-width:760px){#communityDrawerHandleV277{width:11px;height:58px;top:42%}#communityDrawerHandleV277 span{font-size:18px}#communityDrawerV277{width:min(350px,92vw)}#communityDrawerV277>header{padding-top:calc(20px + env(safe-area-inset-top,0px))}.groupMembershipBarV277{align-items:flex-start;flex-direction:column}.groupMembershipBarV277 button{width:100%}.groupMembershipCardV277{align-items:flex-start;flex-direction:column}.groupMembershipCardV277 button{width:100%}}


/* v278: estructura visual ordenada para el panel lateral */
#communityDrawerV277{
  background:#f4fbf8!important;
}
#communityDrawerV277>header{
  flex:0 0 auto!important;
  min-height:0!important;
  padding:24px 20px 22px!important;
  background:linear-gradient(145deg,#075e54,#0b7b6d)!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 8px 24px rgba(4,58,51,.16)!important;
  position:relative!important;
  z-index:2!important;
}
#communityDrawerV277>header h2{
  margin:5px 0 0!important;
  line-height:1.08!important;
  font-size:28px!important;
}
#communityDrawerV277>header button{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
}
.communityDrawerBodyV277{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  padding:18px 12px 22px!important;
  background:#f4fbf8!important;
  position:relative!important;
  z-index:1!important;
}
.communityDrawerSectionV277{
  margin:0 0 15px!important;
  padding:13px!important;
  border:1px solid rgba(7,94,84,.12)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(7,72,62,.06)!important;
  overflow:hidden!important;
}
.communityDrawerSectionHeadV277{
  min-height:32px!important;
  padding:0 2px 10px!important;
  gap:12px!important;
}
.communityDrawerSectionHeadV277 h3{
  color:#244f47!important;
  font-size:12.5px!important;
  line-height:1.25!important;
}
.communityDrawerSectionHeadV277 button{
  flex:0 0 auto!important;
  color:#0a786b!important;
  padding:5px 2px!important;
}
.communityDrawerSectionHeadV277>span{
  flex:0 0 auto!important;
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#edf8f4!important;
  color:#55736a!important;
}
.communityDrawerListV277{
  display:grid!important;
  gap:8px!important;
}
.communityDrawerRowV277{
  min-height:58px!important;
  padding:8px 9px!important;
  border:1px solid rgba(7,94,84,.09)!important;
  border-radius:16px!important;
  background:#f8fdfb!important;
}
.communityDrawerRowV277:hover,
.communityDrawerRowV277:active{
  background:#e8f8f2!important;
  border-color:rgba(13,183,144,.22)!important;
}
.communityDrawerEmptyV277{
  margin:0!important;
  padding:18px 12px!important;
  background:#f9fdfb!important;
}
#communityDrawerV277>footer{
  flex:0 0 auto!important;
  position:relative!important;
  z-index:3!important;
  padding:12px 12px calc(14px + env(safe-area-inset-bottom,0px))!important;
  background:#fff!important;
  box-shadow:0 -8px 20px rgba(7,72,62,.05)!important;
}
#communityDrawerV277>footer button{
  min-height:48px!important;
  border-radius:16px!important;
}
@media(max-width:760px){
  #communityDrawerV277{width:min(360px,92vw)!important}
  #communityDrawerV277>header{
    padding:calc(18px + env(safe-area-inset-top,0px)) 18px 18px!important;
  }
  #communityDrawerV277>header h2{font-size:25px!important}
  .communityDrawerBodyV277{padding:14px 10px 18px!important}
  .communityDrawerSectionV277{padding:11px!important;border-radius:18px!important}
  .communityDrawerRowV277{min-height:56px!important;padding:7px 8px!important}
}
