/* Unified profile/feed publishing; all rules scoped to post components. */
.pp-composer,.pp-profile-timeline{min-width:0;max-width:100%}.pp-composer h2{margin:0 0 .45rem;font-size:1.25rem;line-height:1.3}.pp-composer form{display:grid;gap:1rem}.pp-composer textarea,.pp-composer input:not([type=checkbox]):not([type=hidden]),.pp-composer select,.pp-tags-picker input[type=search],.pp-tag-settings input[type=search],.pp-inline-reply textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--cx-border,var(--mfs-border,#ded5f0));border-radius:12px;background:var(--cx-surface,var(--mfs-surface,#fff));color:var(--cx-ink,var(--mfs-ink,#211833));padding:.8rem;font:inherit;font-size:1rem}.pp-composer textarea,.pp-inline-reply textarea{resize:vertical;min-height:100px;max-height:420px}.pp-composer-options{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.pp-composer .cx-help{font-size:.88rem;line-height:1.6}.pp-composer input[type=file]{padding:.6rem}.pp-photo-previews{display:flex;gap:.6rem;flex-wrap:wrap}.pp-photo-previews:empty{display:none}.pp-photo-previews img{width:90px;height:90px;border-radius:12px;object-fit:cover}.pp-tag-details>summary,.pp-inline-reply>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650;color:var(--cx-primary,var(--mfs-primary,#6533d5))}.pp-tags-picker{margin:0;padding:1rem;border:1px solid var(--cx-border,var(--mfs-border,#ded5f0));border-radius:14px;min-width:0}.pp-tags-picker legend{font-weight:700;padding:0 .35rem}.pp-selected-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin:.5rem 0}.pp-tag-chip{max-width:100%;display:inline-flex;align-items:center;gap:.25rem;background:var(--cx-soft,var(--mfs-soft,#f1eafb));color:var(--cx-ink,var(--mfs-ink,#25163b));border-radius:999px;padding:0 .25rem 0 .8rem;overflow-wrap:anywhere}.pp-tag-chip>span{min-width:0}.pp-tag-chip button{border:0;background:transparent;color:inherit;font:inherit;font-size:1.25rem;cursor:pointer;min-width:44px;min-height:44px;flex-shrink:0}.pp-tag-results{list-style:none;margin:.5rem 0;padding:0;display:grid;gap:.35rem;max-height:280px;overflow-y:auto;overscroll-behavior:contain}.pp-tag-results:empty{display:none}.pp-friend-result{border:1px solid var(--cx-border,var(--mfs-border,#ded5f0));border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;width:100%;min-height:48px;background:var(--cx-surface,var(--mfs-surface,#fff));color:var(--cx-ink,var(--mfs-ink,#211833));padding:.65rem;cursor:pointer;text-align:left;overflow-wrap:anywhere}.pp-friend-result:hover{background:var(--cx-soft,var(--mfs-soft,#f3eafa))}.pp-friend-result small{opacity:.75}.pp-small-link{display:inline-block;padding:.4rem 0;font-size:.875rem}.pp-post-tags{display:flex;flex-wrap:wrap;gap:.3rem;align-items:center;margin:.4rem 0 .8rem;font-size:.9rem}.pp-post-tags a{font-weight:650}.pp-post-tags a+a::before{content:'·';margin-right:.3rem}.pp-timeline-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.pp-timeline-heading h2{margin:0}.pp-profile-timeline{display:grid;gap:1rem;scroll-margin-top:100px}.pp-profile-timeline .cx-card{margin:0}.pp-profile-timeline .cx-post{background:var(--cx-surface,var(--mfs-surface,#fff));color:var(--cx-ink,var(--mfs-ink,#231a35))}.pp-profile-timeline .cx-post a{color:var(--cx-primary,var(--mfs-primary,#6434d5))}.pp-profile-timeline .pp-composer{background:var(--cx-surface,var(--mfs-surface,#fff));color:var(--cx-ink,var(--mfs-ink,#231a35))}.pp-profile-timeline .cx-author{min-width:0}.pp-profile-timeline .cx-author span{min-width:0;overflow-wrap:anywhere}.pp-inline-reply form{display:grid;gap:.6rem}.pp-inline-reply button{justify-self:start}.pp-link-previews{max-width:100%;min-width:0;margin-top:.75rem}.pp-link-previews .link-preview-card{max-width:100%;margin-top:.6rem}.pp-link-previews .link-preview-thumb{width:100%;height:auto;max-height:240px;object-fit:cover}.pp-link-previews iframe,.pp-link-previews video,.pp-link-previews img{max-width:100%}.pp-link-previews .link-preview-meta{overflow-wrap:anywhere}.pp-radio-group,.pp-review-option{margin:0 0 1.2rem;border:0;padding:0;min-width:0}.pp-radio-group legend,.pp-review-option legend{font-size:1.1rem;font-weight:750;margin-bottom:.8rem}.pp-radio-group>label{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;border:1px solid var(--cx-border,var(--mfs-border,#ded5f0));border-radius:14px;cursor:pointer;margin-bottom:.6rem}.pp-radio-group input{min-height:24px;min-width:24px;accent-color:#6b30db;flex-shrink:0}.pp-radio-group span{display:grid;gap:.3rem}.pp-radio-group small{font-size:.88rem;line-height:1.5}.pp-radio-group label:has(input:checked){background:var(--cx-soft,var(--mfs-soft,#f0e8fd));border-color:#9269dd}.pp-exclusion-list{max-height:350px;overflow-y:auto;border:1px solid var(--cx-border,var(--mfs-border,#ded5f0));border-radius:12px;margin-top:.75rem;overscroll-behavior:contain}.pp-exclusion-row{display:flex;gap:.8rem;align-items:center;padding:.8rem;cursor:pointer;border-bottom:1px solid var(--cx-border,var(--mfs-border,#ded5f0));min-height:48px}.pp-exclusion-row input{width:22px;height:22px;flex-shrink:0;accent-color:#6b30db}.pp-exclusion-row span{display:grid;min-width:0;overflow-wrap:anywhere}.pp-exclusion-row small{opacity:.75}.pp-tag-settings h1{font-size:clamp(1.8rem,6vw,2.6rem)}.pp-tag-settings [hidden],.pp-exclusion-row[hidden],.pp-composer [hidden]{display:none!important}.pp-tags-review img{max-width:100%}.pp-composer :focus-visible,.pp-tags-picker :focus-visible,.pp-tag-settings :focus-visible{outline:3px solid #9b72e8;outline-offset:3px}.pp-tag-settings .cx-button,.pp-compose-actions .cx-button{min-height:44px}
@media(max-width:700px){.pp-composer-options{grid-template-columns:1fr}.pp-composer{padding:1rem}.pp-tags-picker{padding:.8rem}.pp-profile-timeline .cx-post-head{flex-wrap:wrap}.pp-compose-actions{display:grid;grid-template-columns:1fr}.pp-compose-actions a{text-align:center}.pp-tag-settings .cx-actions{display:grid}.pp-photo-previews img{width:72px;height:72px}.pp-timeline-heading{gap:.5rem}.pp-profile-timeline .cx-reactions{display:flex;flex-wrap:wrap;gap:.4rem}.pp-profile-timeline .cx-post-foot{flex-wrap:wrap;gap:.7rem}}
@media(prefers-reduced-motion:reduce){.pp-composer *,.pp-tag-settings *{scroll-behavior:auto!important;transition:none!important}}

.pp-profile-timeline.cx-page{width:100%;margin:0;padding:0}.pp-profile-timeline .pp-timeline-heading{color:var(--text,var(--mfs-ink,#271d3b))}.pp-profile-timeline .pp-timeline-heading h2{color:inherit}.pp-profile-timeline .cx-post h2{font-size:1.25rem}.pp-composer-options>.cx-field{margin-bottom:0}.pp-composer input[type=file]{overflow:hidden}.pp-profile-timeline .cx-button:not(.cx-secondary):not(.secondary){color:var(--mfs-on-primary,#fff)}.theme-dark .pp-profile-timeline .cx-button:not(.cx-secondary):not(.secondary){color:#21152f}

.pp-profile-timeline .pp-timeline-heading{padding:1rem 1.2rem;background:var(--cx-surface);border:1px solid var(--cx-border);border-radius:16px;color:var(--cx-ink)}.pp-profile-timeline .pp-timeline-heading h2{color:var(--cx-ink);font-size:1.35rem}.pp-profile-timeline .pp-timeline-heading p{margin:.4rem 0 0;color:var(--cx-muted);font-size:.9rem}.pp-profile-timeline>.pp-owner-post-tools{margin:0;padding:.8rem 1.1rem;border-radius:12px;background:var(--cx-surface);color:var(--cx-muted)}.pp-profile-timeline>.pp-owner-post-tools a{color:var(--cx-primary);display:inline-flex;align-items:center;min-height:44px}.pp-radio-group small{font-weight:400;color:var(--cx-muted)}
