/* Community workspace: shared dashboard palette, no new theme. */
.rr-community-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#fff;border-bottom:1px solid var(--ui-border,#d1d5db);}
.rr-community-heading{display:flex;align-items:center;gap:12px;min-width:0}.rr-community-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:9px;background:#0052ff;color:white;font-size:17px}.rr-community-heading h1{font-size:1.4rem;font-weight:700;color:var(--ui-text,#0f172a);line-height:1.2}.rr-community-heading p{font-size:.84rem;color:#64748b;margin:4px 0 0}
.rr-community-shell{min-width:0;box-sizing:border-box}.rr-community-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);gap:18px;align-items:start}.rr-community-main{min-width:0}.rr-community-rail{display:grid;gap:12px;min-width:0}.rr-community-panel,.rr-community-filters{background:white;border:1px solid #d1d5db;border-radius:10px;padding:16px}.rr-community-panel h2,.rr-community-filters h2{font-size:1rem;font-weight:700;color:#0f172a}.rr-community-panel p{font-size:.84rem;line-height:1.6;color:#64748b;margin:7px 0}.rr-community-panel a{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:.84rem;color:#334155;border-top:1px solid #e5e7eb}.rr-community-panel a i:last-child{margin-left:auto;color:#94a3b8}.rr-community-panel a:hover{color:#0052ff}
.rr-community-secondary,.rr-community-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;min-height:36px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#334155;font-size:.8rem;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}.rr-community-primary{background:#0052ff;border-color:#0052ff;color:#fff}.rr-community-secondary:hover{border-color:#93b4ff;color:#0052ff}.rr-community-primary:hover{background:#003ecb;color:#fff}
.rr-community-main .feed-container{width:100%;max-width:none;margin:0;padding:0}.rr-community-main .feed-container .create-post-card,.rr-community-main .feed-container .post-card,.rr-timeline .post-card{border:1px solid #d1d5db;border-radius:10px;box-shadow:0 1px 3px rgba(15,23,42,.05);margin-bottom:12px;transform:none;background:#fff}.rr-community-main .feed-container .post-card:hover,.rr-timeline .post-card:hover{box-shadow:0 1px 3px rgba(15,23,42,.05)}
.rr-community-main .feed-container .create-post-input{display:block;text-align:left;width:100%;background:#f8fafc;border:1px solid #dbe2ea;border-radius:8px;color:#64748b;font:inherit;padding:12px;cursor:pointer}.rr-community-feed .create-post-actions .action-btn{color:#475569;font-weight:500}.rr-community-feed .create-post-actions .action-btn i{color:#0052ff!important}.rr-community-main .feed-container .post-header,.rr-timeline .post-header{background:#fff;border-bottom:1px solid #edf0f4;padding:12px 16px}.rr-community-main .feed-container .post-image,.rr-community-main .feed-container .post-media,.rr-timeline .post-image,.rr-timeline .post-media{width:100%;max-height:580px;object-fit:contain;background:#f1f5f9;border-radius:8px}.rr-community-main .feed-container .post-actions{border-top:1px solid #e5e7eb}.rr-community-main .feed-container .post-text,.rr-timeline .post-text{font-size:.94rem;line-height:1.65;overflow-wrap:anywhere}
.rr-community-filters{margin-bottom:12px;padding:12px}.rr-community-filter-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.rr-community-filter-row+.rr-community-filter-row{margin-top:10px}.rr-community-search{display:flex;align-items:center;gap:8px;flex:1;min-width:150px;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;color:#64748b;background:white}.rr-community-search input{border:0;outline:0;min-width:0;width:100%;background:transparent;font:inherit;font-size:.85rem;color:#0f172a}.rr-community-filter-row select{background:white;border:1px solid #d1d5db;border-radius:8px;padding:8px;font:inherit;font-size:.82rem;color:#334155}.rr-community-status{font-size:.76rem;color:#64748b;margin:8px 0 0}.rr-community-status:empty{display:none}.rr-community-empty{padding:24px;background:#fff;border:1px solid #d1d5db;border-radius:10px;text-align:center;font-size:.88rem;color:#64748b}.rr-community-feed #loadMoreBtn{margin:auto;background:#fff;color:#0052ff;border:1px solid #d1d5db;box-shadow:none;border-radius:8px;font-size:.85rem;padding:10px 16px}
.rr-timeline .timeline-container{width:100%;max-width:none;padding:0;margin:0}.rr-timeline .timeline-header{background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:20px;margin:0;box-shadow:none}.rr-timeline .profile-section{margin:0;gap:16px;align-items:center}.rr-timeline .profile-avatar{width:64px;height:64px;margin:0;border:1px solid #d1d5db;box-shadow:none}.rr-timeline .profile-info{flex:1;min-width:0}.rr-timeline .profile-info h1{font-size:1.25rem}.rr-timeline .profile-stats{gap:8px;flex-wrap:wrap;margin-top:12px}.rr-timeline .stat-item{border:0;border-radius:6px;background:#f8fafc;box-shadow:none;padding:8px 12px}.rr-timeline .stat-number{font-size:1.2rem}.rr-timeline .stat-label{font-size:.72rem}.rr-timeline-content{padding-top:0!important}.rr-timeline .timeline-tabs{gap:6px;border:1px solid #d1d5db;border-radius:10px;box-shadow:none;margin-bottom:12px;align-items:center}.rr-timeline .timeline-tab{flex:0 1 auto;padding:9px 14px;font-size:.85rem;border:1px solid transparent;background:transparent}.rr-timeline .timeline-tab.active{background:#eaf0ff;color:#0052ff;border-color:#c4d5ff;box-shadow:none}.rr-timeline .timeline-tabs .rr-community-primary{margin-left:auto}.rr-timeline-filters{margin-bottom:10px}.rr-timeline-more{margin:12px auto;display:flex}.rr-timeline .post-stats{background:#fff;border-top:1px solid #e5e7eb}
.rr-community-header :is(a,button):focus-visible,.rr-community-shell :is(a,button,input,select):focus-visible{outline:2px solid #0052ff;outline-offset:2px}
@media(max-width:1050px){.rr-community-grid{grid-template-columns:minmax(0,1fr)}.rr-community-rail{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.rr-community-header{padding:12px;flex-wrap:wrap}.rr-community-heading h1{font-size:1.15rem}.rr-community-heading p{font-size:.76rem}.rr-community-rail{grid-template-columns:1fr}.rr-timeline .profile-section{align-items:flex-start}.rr-timeline .profile-stats{gap:4px}.rr-timeline .stat-item{padding:6px}.rr-timeline .timeline-tabs{flex-wrap:wrap}.rr-timeline .timeline-tab{padding:7px 9px}.rr-community-main .feed-container .post-card{border-radius:10px}}

/* Content-driven composer. Scope overrides so share/auth dialogs are unaffected. */
#createPostModal{align-items:center;justify-content:center;padding:20px;box-sizing:border-box;background:rgba(15,23,42,.45);backdrop-filter:none;}
#createPostModal .modal-content{box-sizing:border-box;width:min(100%,560px);max-width:560px;height:auto!important;min-height:0!important;max-height:calc(100dvh - 40px)!important;margin:0!important;align-self:center;overflow:auto;border-radius:14px;background:#fff;border:1px solid #dbe2ea;box-shadow:0 12px 40px rgba(15,23,42,.18);}
#createPostModal .modal-header{background:#fff;padding:16px 20px;border-radius:0;position:sticky;top:0;z-index:2;}
#createPostModal .modal-title{font:700 1.1rem 'DM Sans',Arial,sans-serif;}
#createPostModal .modal-close{width:32px;height:32px;border-radius:8px;font-size:.85rem;}
#createPostModal .modal-body{padding:18px 20px 16px;min-height:0;height:auto;}
.rr-composer-author{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.rr-composer-author .user-avatar{flex:0 0 40px;width:40px;height:40px;margin:0;}
.rr-composer-author strong,.rr-composer-author small{display:block;line-height:1.5;}
.rr-composer-author strong{font-size:.9rem;color:#0f172a;font-weight:700;}
.rr-composer-author small{font-size:.72rem;color:#64748b;}
#createPostModal #postText{border:0;background:#fff;box-shadow:none;resize:vertical;min-height:94px;max-height:240px;padding:8px 0;font:400 1rem/1.6 'DM Sans',Arial,sans-serif;color:#0f172a;}
#createPostModal #postText:focus{outline:0;box-shadow:none;}
.rr-composer-attachment{border:1px solid #dbe2ea;border-radius:10px;padding:12px;margin:10px 0;min-width:0;}
#createPostModal .hidden{display:none!important;}
#createPostModal .image-upload-area{padding:0;border:0;background:transparent;}
#createPostModal .file-upload-label{display:grid;justify-items:center;gap:5px;text-align:center;padding:20px 10px;border:1px dashed #b6c6dc;border-radius:8px;background:#f8fafc;cursor:pointer;color:#334155;}
#createPostModal .file-upload-label i{font-size:1.4rem;color:#0052ff;}
#createPostModal .file-upload-label strong{font-size:.85rem;}
#createPostModal .file-upload-label small{font-size:.72rem;color:#64748b;}
#createPostModal #previewMediaContainer :is(img,video){display:block;width:100%;max-height:300px;object-fit:contain;background:#f1f5f9;border-radius:7px;}
.rr-composer-file{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:.75rem;color:#475569;}
.rr-composer-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rr-composer-file button{flex-shrink:0;color:#475569;font-weight:600;padding:6px;background:#f1f5f9;border-radius:5px;}
.rr-composer-label{display:block;font-size:.8rem;font-weight:600;margin-bottom:6px;}
#createPostModal #pollQuestion{margin-bottom:10px;}
#createPostModal .add-poll-option{display:flex;align-items:center;gap:6px;margin-top:10px;color:#0052ff;font-weight:600;font-size:.8rem;}
.rr-composer-privacy{display:flex;align-items:baseline;gap:6px;font-size:.73rem;color:#64748b;margin:10px 0 14px;line-height:1.5;}
.rr-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #e5e7eb;}
.rr-composer-tools{display:flex;gap:5px;flex-wrap:wrap;min-width:0;}
.rr-composer-tool{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid transparent;border-radius:7px;color:#475569;font-size:.78rem;font-weight:600;background:transparent;cursor:pointer;}
.rr-composer-tool i{color:#0052ff;font-size:1rem;}
.rr-composer-tool:hover,.rr-composer-tool[aria-pressed=true]{background:#eff6ff;border-color:#bfdbfe;color:#0052ff;}
#createPostModal #submitBtn{width:auto;min-width:90px;padding:9px 18px;margin:0;box-shadow:none;background:#0052ff;border-radius:8px;font-size:.86rem;font-weight:600;flex-shrink:0;}
#createPostModal #submitBtn:disabled{background:#e5e7eb;color:#94a3b8;opacity:1;cursor:not-allowed;transform:none;}
@media(max-width:600px){#createPostModal{padding:10px;align-items:center;}#createPostModal .modal-content{max-height:calc(100dvh - 20px)!important;}#createPostModal .modal-header{padding:12px 14px;}#createPostModal .modal-body{padding:14px;}#createPostModal #postText{font-size:16px;}.rr-composer-tool{padding:7px;}.rr-composer-tool span{font-size:.72rem;}}
