/* Community controls extend the approved portal and Admin surfaces. */
.publication-list-item{min-width:0;display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--line,#33443C)}
.publication-list-item>.publication-select{width:100%;overflow-wrap:anywhere;min-height:52px;font-size:14px;line-height:1.5}
.publication-select .connection-badge{display:flex;width:fit-content;max-width:100%;margin-top:10px;font-size:12px;white-space:normal;gap:6px}
.publication-card-meta{display:grid;gap:6px;padding:0 8px;font-size:12px;line-height:1.6;color:var(--admin-muted,#B4C9BE);overflow-wrap:anywhere}
.publication-card-meta>small{font-size:12px}.publication-metrics{display:grid;gap:3px}.publication-list-filters{display:flex;gap:8px;flex-wrap:wrap}.publication-list-filters [aria-pressed=true]{background:#223F32;color:#E9FFF2;border-color:#95CFAF}
.publication-history p,.publication-delete p{font-size:14px;line-height:1.65;overflow-wrap:anywhere}.publication-history summary,.publication-delete summary{cursor:pointer}
.post-comments{margin-top:24px;border-top:1px solid var(--line,#3D5146);padding-top:12px;color:var(--ink,#F3F7F5);text-align:left;min-width:0}
.post-comments>summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:15px;font-weight:650;line-height:1.5}
.post-comments-body{padding:14px 0 0}.post-comment-list,.moderation-comments{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.post-comment,.moderation-comment{padding:18px;border:1px solid #3F5548;border-radius:12px;background:#0C1712;min-width:0;overflow-wrap:anywhere}
.post-comment-head{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;font-size:13px;line-height:1.5;color:#D4E6D9}
.post-comment-head strong{color:#F3FAF5;font-size:14px}.post-comment-head time{margin-inline-start:auto;color:#BDD0C3;font-size:12px}.comment-author-id{font-size:12px;color:#BDD0C3;overflow-wrap:anywhere}
.post-comment-copy{white-space:pre-wrap;font-size:15px;line-height:1.65;color:#EFF8F2;margin:14px 0}.post-comment-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.comment-like{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:56px;padding:8px 12px;border-radius:8px;background:#203F30;color:#E8FFF1;border:1px solid #648B73;font:inherit;font-size:14px}
.comment-like[aria-pressed=true]{background:#E2F4E9;color:#103321}.comment-heart{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.comment-like[aria-pressed=true] .comment-heart{fill:currentColor}
.comment-remove{padding:8px 12px;min-height:44px;color:#F1C5CE;background:none;border:1px solid #815A65;border-radius:8px;font:inherit;font-size:13px}
.post-comment-form{display:grid;gap:10px;margin-top:24px}.post-comment-form label{font-size:14px;font-weight:600;color:#E6F2EB}.post-comment-form textarea{width:100%;resize:vertical;min-height:100px;box-sizing:border-box;background:#0F1B15;color:#F3F9F5;border:1px solid #668674;border-radius:10px;padding:12px;font:inherit;font-size:16px;line-height:1.6}.post-comment-form textarea::placeholder{color:#A9BFB1}.post-comment-form>.btn{justify-self:start;min-height:44px}.comment-note,.comment-form-status{font-size:14px;line-height:1.65;color:#C7D9CD;overflow-wrap:anywhere}.comment-form-status:empty{display:none}.comment-pager{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.comment-pager .btn{min-height:44px}
.comment-like:focus-visible,.comment-remove:focus-visible,.post-comments summary:focus-visible,.portal-engagement-score summary:focus-visible{outline:2px solid #A4D9BA;outline-offset:3px}
.comment-like:disabled,.comment-remove:disabled{opacity:.6;cursor:wait}.comment-moderation-list{min-width:0}.comment-moderation-list>h2{font-size:22px;margin:20px 0}.moderation-comment>.btn{margin-top:12px;min-height:44px}.moderation-comment>small{display:block;color:#C7D9CD;font-size:12px}
.portal-avatar-stack{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 40px;min-width:40px}.portal-avatar-stack>img{width:40px;height:40px;object-fit:contain}.portal-earned-badges{display:flex;gap:3px;justify-content:center;max-width:72px;flex-wrap:wrap}.portal-earned-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--badge-color,#66FFF0);background:#14281E}.portal-earned-badge img{width:14px;height:14px;object-fit:contain}.portal-earned-badges:empty{display:none}
.portal-engagement-score{position:relative;max-width:100%;min-width:0}.portal-engagement-score>summary{cursor:pointer;color:#CBE9D6;font-size:12px;line-height:1.5;padding:5px 0;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}.portal-score-detail{position:absolute;z-index:90;right:0;top:100%;width:min(320px,70vw);padding:18px;border:1px solid #6D947D;border-radius:12px;background:#10251A;box-shadow:0 12px 32px #0008;color:#E8F5EE;display:grid;gap:8px;max-height:55dvh;overflow:auto}.portal-score-detail p{font-size:14px;line-height:1.6;margin:0 0 8px}.portal-score-detail small{font-size:12px;line-height:1.6;color:#CBE0D2}.portal-score-detail small:last-child{padding-top:8px;border-top:1px solid #4A6956}
.portal-engagement-score[hidden],.portal-avatar-stack[hidden]{display:none!important}
@media(max-width:1000px){.publication-list-filters{grid-column:1/-1}.publication-list-item{padding-bottom:14px}.post-comment-head time{width:100%;margin-inline-start:0}}
@media(max-width:599px){.post-comment,.moderation-comment{padding:14px}.post-comment-copy{font-size:16px}.post-comment-actions{gap:8px}.post-comment-form>.btn{width:100%;justify-self:stretch}.portal-engagement-score>summary{font-size:12px}.portal-score-detail{right:-25px;width:min(300px,75vw)}.portal-earned-badge{width:18px;height:18px}.publication-card-meta{padding:0 4px}}
