.post-dialog{max-width:640px}
.post-dialog .post-body,.post-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.post-dialog textarea{width:100%;min-height:100px;resize:vertical}
.post-audience{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.post-member{display:flex!important;align-items:center;gap:8px;font-weight:400!important;overflow-wrap:anywhere;padding:5px 0}
.post-member input{width:auto!important}
.post-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.post-attachment{position:relative;min-width:0}
.post-attachment img,.post-attachment video{width:100%;max-height:160px;object-fit:contain;background:#f1f2f3}
.post-attachment button{position:absolute;right:2px;top:2px;background:white;font-size:22px}
.post-media{display:block;width:100%;max-height:420px;object-fit:contain;margin:12px 0;background:#f1f2f3}
.post-tags{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px}
.post-tag{border:1px solid #d3d8dc;border-radius:12px!important;background:#f1f2f3;color:#536774;padding:3px 8px;font-size:.8rem}
.post-comment{padding:12px 0;border-bottom:1px solid #d3d8dc}
.post-comment time{display:block;color:#647986;font-size:.75rem;margin-top:4px}
.post-comment p{margin:7px 0}
.post-owner-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
#postCommentForm textarea{display:block;margin:8px 0;border:1px solid #bac6cd;padding:10px}
.post-stream-row{grid-template-columns:44px minmax(0,1fr)!important;column-gap:12px!important}
.post-stream-row .post-author-mark{grid-column:1;grid-row:1/4;display:grid;place-items:center;width:44px;height:44px;border-radius:50%!important;background:#153f59;color:white;font-weight:600}
.post-stream-row>b,.post-stream-row>small,.post-stream-row>time{grid-column:2}
.post-stream-row>img{grid-column:1/-1;width:100%;max-height:180px;object-fit:cover}
.post-stream-entry{border-bottom:1px solid #d3d8dc}
.post-tag-filter{display:flex;align-items:center;gap:8px;padding:6px 12px}
@media(max-width:480px){.post-audience{grid-template-columns:1fr;gap:0}}

/* Inline post discussion: author and comment on one line, composer below. */
.post-stream-row>b{white-space:pre-wrap!important;overflow-wrap:anywhere;overflow:visible!important;text-overflow:clip!important;font-weight:400;line-height:1.5}
.post-comments-toggle{background:transparent;color:var(--fw-muted,#647986);border:0;padding:8px 12px;text-align:start;font-size:.85rem}
.post-inline-thread{position:relative;padding:8px 12px 12px;margin:0 0 4px;animation:post-comments-in .18s ease-out}
.post-inline-thread[hidden]{display:none}
.post-thread-close{display:grid;place-items:center;margin-inline-start:auto;width:32px;height:32px;border-radius:50%!important;border:1px solid #d3d8dc;background:var(--fw-surface,#fff);font-size:20px}
.post-comment{display:flex;gap:9px;align-items:flex-start;padding:8px 0;border:0}
.post-comment-avatar{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%!important;background:#153f59;color:white;font-size:.8rem}
.post-comment>div{min-width:0;flex:1}
.post-comment p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem;line-height:1.45}
.post-comment b{font-weight:600;margin-inline-end:4px}
.post-comment time{margin-top:3px;font-size:.7rem}
.post-comment-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.post-comment-compose{display:flex;align-items:center;gap:8px;border-top:1px solid #d3d8dc;margin-top:8px;padding-top:8px}
.post-thread #postCommentForm textarea{flex:1;min-width:0;min-height:40px;max-height:130px;resize:vertical;padding:8px;margin:0}
.post-comment-compose button{background:transparent!important;color:#c15f12!important;border:0;padding:8px;font-weight:600}
.post-inline-media{padding:0 12px}
.post-inline-media .post-media{margin:4px 0;max-height:420px}
.post-inline-thread .post-owner-actions{margin:4px 0 8px;font-size:.75rem}
@keyframes post-comments-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.post-inline-thread{animation:none}}
.post-comment-replies{margin-inline-start:28px;border-inline-start:1px solid var(--fw-border,#e2e2e2);padding-inline-start:10px}
.post-comment-replies:empty{display:none}
.post-comment-reply{border:0;background:transparent;color:var(--fw-muted,#647986);padding:4px 0;font-size:.75rem;font-weight:600}
#postReplyContext{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.75rem;color:var(--fw-muted,#647986)}
#postReplyContext[hidden]{display:none}
#postReplyCancel{display:grid;place-items:center;width:28px;height:28px;border-radius:50%!important;background:transparent;border:1px solid #ddd}
