/* PartnerApp v0.15: comunidad social — pantallas móviles y escritorio. */
.community-tabs{display:flex;gap:7px;flex-wrap:wrap;}
.community-tabs .community-tab{flex:1 1 100px;min-width:0;white-space:nowrap;font-size:12px;padding:9px 6px;}
.social-feed-pane,.social-connections-pane{padding-top:12px;}
.social-toolbar{display:flex;justify-content:space-between;align-items:center;gap:9px;margin:0 0 12px;flex-wrap:wrap;}
.social-mode-group{display:flex;gap:6px;background:#111f31;padding:4px;border-radius:12px;border:1px solid #324862;}
.social-mode{border-radius:9px;color:#bed0e4;padding:10px 12px;font-size:12px;font-weight:750;}
.social-mode.active{color:#1f2937;background:#fbbf24;}
.social-composer{padding:16px;border:1px solid #3c506a;border-radius:16px;background:#162338;margin-bottom:18px;display:flex;flex-direction:column;gap:10px;}
.social-compose-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.social-photo-select{font-size:13px;font-weight:700;color:#fde68a;display:inline-flex;align-items:center;cursor:pointer;gap:7px;background:#293e56;border:1px solid #526781;border-radius:9px;padding:10px;min-height:42px;}
.social-photo-select input{position:absolute;max-width:1px;opacity:0;overflow:hidden;}
.social-compose-row .note{flex:1;min-width:100px;}
.social-feed-list{display:flex;flex-direction:column;gap:14px;}
.social-post{border:1px solid #3a4e67;border-radius:16px;background:#172437;overflow:hidden;padding:15px;box-shadow:0 7px 14px #0002;}
.social-post-head{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:12px;}
.social-avatar,.social-connection-avatar{height:40px;width:40px;flex:0 0 40px;border-radius:50%;background:linear-gradient(135deg,#b77721,#f0b83a);color:#192435;font-weight:900;display:grid;place-items:center;font-size:17px;}
.social-post-person{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0;}
.social-post-person button{text-align:left;font-weight:800;font-size:14px;overflow-wrap:anywhere;}
.social-post-person span{font-size:11px;color:#a8bad0;}
.social-post-delete{border:1px solid #6e5260;color:#fca5a5;border-radius:8px;padding:6px 8px;font-size:11px;}
.social-post-body{white-space:pre-line;overflow-wrap:anywhere;line-height:1.55;font-size:14px;color:#e2e8f0;margin:5px 0 12px;}
.social-activity-badge{display:inline-block;background:#203b38;color:#85e4b0;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:750;margin:0 0 8px;}
.social-activity-title{font-size:17px;font-weight:850;margin:3px 0 8px;line-height:1.3;}
.social-post-place{color:#bdd2e8;font-size:12px;margin:0 0 12px;}
.social-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border-radius:12px;overflow:hidden;margin:10px 0 12px;}
.social-photo-grid.social-one-photo{grid-template-columns:minmax(0,1fr);}
.social-post-image{width:100%;height:185px;object-fit:cover;object-position:center;background:#0c1421;display:block;}
.social-one-photo .social-post-image{height:auto;max-height:400px;min-height:120px;object-fit:contain;}
.social-post-stats{font-size:12px;color:#aebfd0;padding:6px 0 10px;}
.social-post-actions{border-top:1px solid #35455d;border-bottom:1px solid #35455d;display:flex;align-items:center;gap:8px;padding:6px 0;}
.social-post-actions button{flex:1;min-height:39px;border-radius:9px;color:#d9e3f0;font-weight:700;font-size:12px;}
.social-post-actions button:hover{background:#263e58;}
.social-post-actions .liked{color:#ff9bab;}
.social-comments{padding-top:10px;}
.social-comment-list{display:flex;flex-direction:column;gap:10px;margin-bottom:9px;max-height:300px;overflow-y:auto;}
.social-comment{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;}
.social-comment>div{background:#25384c;padding:8px 10px;border-radius:12px;min-width:0;flex:1;}
.social-comment strong{font-size:12px;display:block;color:#ffda9c;}
.social-comment span{display:block;white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere;}
.social-comment small{font-size:10px;display:block;color:#adc0d1;margin-top:4px;}
.social-comment>button{font-size:11px;color:#fca5a5;padding:7px;}
.social-comment-form{display:flex;align-items:center;gap:7px;}
.social-comment-form input{min-width:0;flex:1;}
.social-comment-form button{white-space:nowrap;}
.social-more{display:block;margin:14px auto;}
.social-connection-list{display:flex;flex-direction:column;gap:10px;}
.social-connection{padding:12px;border:1px solid #3d5066;border-radius:13px;background:#17263a;}
.social-connection-top{display:flex;gap:10px;align-items:center;}
.social-connection-top>div{display:flex;flex-direction:column;gap:3px;min-width:0;}
.social-connection-top strong{font-size:14px;overflow-wrap:anywhere;}
.social-connection-top small{font-size:11px;color:#aebfd0;}
.social-connection-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid #384d66;}
.social-connection-actions .btn{min-height:38px;}
.social-link-actions{display:flex;flex-direction:column;gap:10px;}
.social-link-actions .btn{width:100%;min-height:44px;}
@media(max-width:767px){
 .community-tabs{gap:4px;}
 .community-tabs .community-tab{flex:1 1 70px;font-size:10.5px;padding:9px 2px;}
 .social-feed-pane,.social-connections-pane{padding-top:9px;}
 .social-toolbar{gap:7px;}
 .social-mode{padding:9px 10px;font-size:11px;}
 .social-composer,.social-post{padding:12px;border-radius:13px;}
 .social-photo-grid .social-post-image{height:138px;}
 .social-photo-grid.social-one-photo .social-post-image{height:auto;max-height:340px;}
 .social-post-actions button{font-size:12px;}
 .social-comment-form{flex-wrap:wrap;}.social-comment-form button{flex:1;}
 .social-compose-row .note{font-size:11px;}
}
@media(max-width:350px){
 .community-tabs .community-tab{font-size:10px;flex:1 1 60px;}
 .social-mode-group{width:100%;justify-content:space-between;}
 .social-mode{flex:1;}
}
