
.social-compose .social-purpose[hidden]{display:none}

/* Separate everyday reactions, owner tools and request follow-up actions. */
.social-card .social-post-management{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;margin-block:14px 18px}
.social-card .social-post-management>button{width:100%;min-width:0;min-height:46px;padding:11px 14px;border-radius:10px;font-size:15px!important;line-height:1.5;white-space:normal;overflow-wrap:normal;word-break:normal}
.social-card .social-post-more{grid-column:1/-1;min-width:0}
.social-card .social-post-more>summary{display:flex;align-items:center;min-height:44px;width:fit-content;padding:6px 10px;cursor:pointer;list-style:none;font-size:14px;font-weight:500;color:var(--muted,#aebfd0);border-radius:8px}
.social-post-more>summary::-webkit-details-marker{display:none}
.social-card .social-post-more>summary:focus-visible{outline:3px solid #3287dc;outline-offset:3px}
.social-card .social-post-more>button[data-social-text=delete]{display:block;width:auto;max-width:100%;min-height:44px;margin-top:6px;padding:10px 14px;background:transparent;border:1px solid #925562;border-radius:10px;color:#f3a6ae;box-shadow:none;font-size:15px!important;white-space:normal;word-break:normal}
.social-card .social-post-more:not([open])>button{display:none!important}
html[data-design=light] .social-card .social-post-more>summary{color:#52677c}
html[data-design=light] .social-card .social-post-more>button[data-social-text=delete]{background:transparent!important;border-color:#dbb6bf!important;color:#a83343!important;box-shadow:none!important}
.social-card .social-post-management>button:focus-visible{outline:3px solid #3287dc;outline-offset:3px}
.member-social .social-card .social-request-engagement,.social-dialog .social-card .social-request-engagement{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;padding:18px;margin-block:16px 0;border-radius:16px}
.social-card .social-request-engagement>.social-request-status-line,.social-card .social-request-engagement>.social-success-report{grid-column:1/-1}
.social-card .social-request-status-line{align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.social-card .social-request-badge{padding:5px 10px;border-radius:8px;background:#438bcf20;font-size:15px}
.social-card .social-request-engagement>button{width:100%;min-width:0;min-height:48px;padding:12px 14px;border-radius:10px;font-size:15px!important;line-height:1.5;white-space:normal;overflow-wrap:normal;word-break:normal}
@media(max-width:600px){.social-card .social-post-management,.member-social .social-card .social-request-engagement,.social-dialog .social-card .social-request-engagement{grid-template-columns:minmax(0,1fr)}}

/* Profile actions retain avatar geometry and clear keyboard focus. */
.social-author .social-avatar-link,.social-comment-author .social-avatar-link{display:flex;flex:0 0 44px;width:44px;padding:0;min-height:44px;border:0;background:transparent;box-shadow:none;cursor:pointer;border-radius:15px}
.social-avatar-link .social-avatar{width:100%;flex-basis:100%}
.social-comment-author .social-author-name{padding:0;border:0;background:transparent;color:inherit;text-align:start;box-shadow:none;font:inherit;cursor:pointer}
.social-author-name:hover{text-decoration:underline}
.social-author-name:focus-visible,.social-avatar-link:focus-visible{outline:3px solid #238ad4;outline-offset:3px}
.member-social{max-width:1080px;margin-inline:auto;padding:clamp(16px,3vw,32px);color:var(--text,#e7effa)}
.social-heading{margin-block-end:24px}.social-heading h1{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.15;margin:8px 0}.social-heading p{color:var(--muted,#9eb1c9)}
.social-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-block:20px}.social-field{display:flex;flex:1 1 180px;flex-direction:column;gap:7px;min-width:0;font-weight:600}.social-field input,.social-field textarea,.social-field select{box-sizing:border-box;width:100%;min-width:0;background:var(--input-bg,#0b1b2c);border:1px solid var(--border,#2b425a);border-radius:13px;padding:12px;color:inherit;font:inherit}.social-field textarea{resize:vertical;line-height:1.55}.social-field input:focus,.social-field textarea:focus,.social-field select:focus{outline:2px solid #39aee8;outline-offset:2px}
.social-feed{display:grid;gap:18px;max-width:800px;margin-inline:auto}.social-card{min-width:0;background:var(--panel,#0d2033);border:1px solid var(--border,#2a4058);border-radius:22px;padding:clamp(17px,3vw,26px);box-shadow:0 10px 30px #0000000a;overflow-wrap:anywhere}.social-card h2{font-size:1.22rem;line-height:1.4;margin:16px 0 10px}.social-post-text{white-space:pre-wrap;line-height:1.7;margin-block:12px 20px}.social-author{display:flex;align-items:center;gap:12px}.social-author>div{flex:1;min-width:0}.social-author small{display:block;opacity:.7;margin-top:5px}.social-avatar{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#226ad0,#24afc9);font-weight:800;color:#fff}.social-author button{font-size:.8rem;padding:9px 12px;min-height:36px}.social-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.social-tags span{background:#288ccc15;color:inherit;padding:5px 9px;border-radius:7px;font-size:.78rem}.social-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:16px}.social-post-actions{border-top:1px solid var(--border,#2a4058);padding-top:13px}.social-post-actions button{font-size:.8rem;min-height:38px;padding:8px 11px}.social-status{line-height:1.6}.social-status:empty{display:none}.social-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.social-groups .social-card{display:flex;flex-direction:column;gap:10px}.social-groups button{margin-top:auto}.social-form-grid{display:flex;flex-wrap:wrap;gap:12px}.social-compose{display:grid;gap:16px}.social-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;box-sizing:border-box}.social-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.social-dialog>header h2{margin:0;font-size:1.4rem}.social-dialog .social-field{margin-block:10px}.social-media-field{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,2fr) auto;gap:8px;align-items:end}.social-media-field>button{margin-bottom:10px}.social-media{overflow:hidden;border-radius:14px;background:#061424;display:grid;place-items:center;min-height:70px}.social-media img,.social-media video{display:block;width:100%;max-height:480px;object-fit:contain}.social-media iframe{display:block;width:100%;aspect-ratio:16/9;border:0}.social-attachments{display:grid;gap:8px}.social-attachments:has(>:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}.social-comments{display:grid;gap:12px;max-height:45vh;overflow:auto}.social-comments article{padding:14px;background:#288ccc10;border-radius:12px}.social-comments p{white-space:pre-wrap;overflow-wrap:anywhere}.social-dialog summary{cursor:pointer;font-weight:700;padding-block:8px}
html[data-design="light"] .member-social,html[data-design="light"] .social-dialog{color:#19364b}
html[data-design="light"] .social-card{background:#fff;border-color:#d1dce8}
html[data-design="light"] .social-field input,html[data-design="light"] .social-field textarea,html[data-design="light"] .social-field select{background:#f7faff;border-color:#cad8e7;color:#19364b}
html[data-design="light"] .social-heading p{color:#526a7f}
@media(max-width:650px){.member-social{padding:16px 0}.social-toolbar{gap:10px}.social-toolbar>.social-field{flex-basis:45%}.social-toolbar>button{flex:1;white-space:normal}.social-groups{grid-template-columns:1fr}.social-card{border-radius:18px}.social-dialog{padding:17px}.social-media-field{grid-template-columns:1fr}.social-media-field>.social-field{margin:0}.social-media-field>button{justify-self:start}.social-post-actions{gap:6px}.social-post-actions button{padding:8px}.social-author{gap:9px}.social-author strong{font-size:.92rem}.social-attachments:has(>:nth-child(2)){grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference){.social-card{animation:social-enter .22s ease-out both}@keyframes social-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}}
.social-media-list{display:grid;gap:12px;margin-block:14px}.social-upload-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;padding:14px;border:1px solid var(--border,#2b425a);border-radius:16px;background:#258ccc0b}.social-upload-row>img,.social-upload-row>video{width:110px;height:110px;object-fit:contain;border-radius:10px;background:#082034}.social-upload-info{min-width:0;display:flex;flex-direction:column;gap:6px}.social-upload-info strong{overflow-wrap:anywhere;font-size:.9rem}.social-upload-info small,.social-upload-info>.social-status{font-size:.8rem;margin:0}.social-upload-info progress{width:100%;height:9px;accent-color:#279edc}.social-upload-info>.social-actions{margin-top:4px;gap:5px}.social-upload-info button{font-size:.75rem;min-height:34px;padding:7px 9px}.social-upload-info>span{font-size:.75rem}html[data-design="light"] .social-upload-row{border-color:#d1dce8;background:#f7faff}@media(max-width:420px){.social-upload-row{grid-template-columns:70px minmax(0,1fr);gap:10px;padding:10px}.social-upload-row>img,.social-upload-row>video{width:70px;height:85px}}
.social-purpose{min-width:0;margin:0;padding:16px;border:1px solid var(--border,#2b425a);border-radius:18px;background:#258ccc08}.social-purpose legend{font-size:1.1rem;font-weight:750;padding-inline:5px}.social-purpose>p{font-size:.86rem;line-height:1.5;margin:0 0 13px}.social-purpose-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.social-purpose-choice{position:relative;display:flex;align-items:center;gap:8px;min-width:0;cursor:pointer;padding:11px 10px;border:1px solid var(--border,#2b425a);border-radius:12px;background:var(--input-bg,#0b1b2c)}.social-purpose-choice input{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#2187d0}.social-purpose-choice:has(input:checked){border-color:#42a6e4;box-shadow:0 0 0 1px #42a6e4;background:#2789d51a}.social-purpose-choice:focus-within{outline:2px solid #4facde;outline-offset:2px}.social-category-badge{--badge-bg:#273e55;--badge-text:#dcebf9;display:inline-flex;align-items:center;max-width:100%;border-radius:8px;padding:6px 10px!important;background:var(--badge-bg)!important;color:var(--badge-text)!important;font-size:.8rem!important;font-weight:750;line-height:1.4;white-space:normal}.social-category-badge[data-tone="distributor"]{--badge-bg:#173e69;--badge-text:#c8e6ff}.social-category-badge[data-tone="manufacturer"]{--badge-bg:#343765;--badge-text:#e0ddff}.social-category-badge[data-tone="supplier"]{--badge-bg:#174b48;--badge-text:#c4f4e9}.social-category-badge[data-tone="buyer"]{--badge-bg:#51431e;--badge-text:#ffebbc}.social-category-badge[data-tone="partnership"]{--badge-bg:#4b305d;--badge-text:#f3d7ff}.social-category-badge[data-tone="offer"]{--badge-bg:#204c36;--badge-text:#d5f5dd}.social-purpose-choice .social-category-badge{padding:0!important;background:transparent!important;color:inherit!important;font-weight:650}.social-more-types{margin-top:12px}.social-more-types summary{font-size:.86rem}.social-identity-field{max-width:320px}.social-business-details{padding:12px 15px;border:1px solid var(--border,#2b425a);border-radius:14px}.social-business-details>summary{font-size:.9rem}.social-business-details>.ghost-action{font-size:.8rem}.social-compose>.social-actions{justify-content:flex-end;border-top:1px solid var(--border,#2b425a);padding-top:14px}.social-compose>.social-actions>.primary-action{min-width:210px}.social-author .social-author-name{padding:0;min-height:0;border:0;background:transparent;text-align:start;box-shadow:none;justify-content:start;color:inherit}.social-author .social-author-name strong{font-size:1rem;line-height:1.35}.social-feed{gap:22px}.social-card .social-tags{margin-block:17px 8px}.social-card .social-attachments:empty{display:none}.social-post-text{font-size:.98rem;line-height:1.7}.social-author small{line-height:1.35}.social-post-actions{row-gap:8px}
html[data-design="light"] .social-purpose,html[data-design="light"] .social-business-details{background:#f8fbff;border-color:#d5e0ec}html[data-design="light"] .social-purpose-choice{background:#fff;border-color:#d4dfeb}html[data-design="light"] .social-purpose-choice:has(input:checked){background:#eaf4ff;border-color:#438fd0}html[data-design="light"] .social-category-badge{--badge-bg:#eaf0f6;--badge-text:#364e65}html[data-design="light"] .social-category-badge[data-tone="distributor"]{--badge-bg:#e4f0ff;--badge-text:#205487}html[data-design="light"] .social-category-badge[data-tone="manufacturer"]{--badge-bg:#eeebff;--badge-text:#504390}html[data-design="light"] .social-category-badge[data-tone="supplier"]{--badge-bg:#ddf3ed;--badge-text:#1c6254}html[data-design="light"] .social-category-badge[data-tone="buyer"]{--badge-bg:#fff1d3;--badge-text:#7c5519}html[data-design="light"] .social-category-badge[data-tone="partnership"]{--badge-bg:#f3e8fc;--badge-text:#70458d}html[data-design="light"] .social-category-badge[data-tone="offer"]{--badge-bg:#e3f2e7;--badge-text:#316340}
@media(max-width:480px){.social-purpose{padding:12px}.social-purpose-choice{padding:10px 8px;gap:7px}.social-purpose-choice .social-category-badge{font-size:.79rem!important}.social-compose>.social-actions>.primary-action{width:100%;min-width:0}.social-card{padding:18px}.social-identity-field{max-width:none}}
.social-group-image{display:block;width:100%;height:160px;object-fit:cover;border-radius:14px;margin-bottom:12px}
.social-group-type,.social-group-member{display:inline-block;padding:5px 10px;border-radius:12px;background:var(--surface-soft,#14364b);color:var(--text,#d7ebfa);font-weight:600;font-size:.8rem}
.social-group-member{margin-inline-start:8px}
.social-group-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border,#34506a);padding-bottom:10px;margin-bottom:18px}
#view-groups .social-group-tabs button{min-height:44px;padding:10px 18px;margin:0}
#view-groups .social-group-tabs button[aria-pressed=true]{background:#2267c4!important;color:#fff!important;border-color:#2267c4!important}
.social-group-search{margin-bottom:24px}.social-group-search-row{display:flex;align-items:end;gap:10px}.social-group-search-row .social-field{flex:1}
.social-group-filters{margin-top:12px}.social-group-filters>summary{cursor:pointer;min-height:44px;display:list-item;width:fit-content;padding:10px 8px;box-sizing:border-box;font-weight:600}
.social-group-filter-fields{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:12px 0}
#view-groups .social-groups-compact{grid-template-columns:1fr;gap:16px}
#view-groups .social-groups-compact .social-group-card{gap:12px;padding:20px;border-radius:18px}
.social-group-card-head{display:flex;gap:14px;align-items:center;min-width:0}
#view-groups .social-group-card-head h2{margin:0;flex:1;font-size:1.12rem;line-height:1.35}
#view-groups .social-group-name{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:start;font:inherit!important;color:inherit!important;min-height:44px;white-space:normal}
.social-group-logo{position:relative;display:grid;place-items:center;flex:0 0 60px;height:60px;border-radius:14px;background:#2374ba;color:#fff;font-size:1.5rem;font-weight:750;overflow:hidden}
#view-groups .social-group-logo .social-group-image{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:cover;border-radius:0}
.social-group-badges{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#view-groups .social-group-badges>*{margin:0;width:auto;font-size:.75rem;padding:4px 9px}
.social-group-private:before{content:'🔒';margin-inline-end:5px}
#view-groups .social-group-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;margin:0;font-size:.95rem}
#view-groups .social-group-meta{font-size:.8rem;line-height:1.5;margin:0;color:#a9bfd5}
html[data-design=light] #view-groups .social-group-meta{color:#536a7d!important}
.social-group-card-action{margin-top:auto;padding-top:4px}
#view-groups .social-group-card-action button{width:100%;min-height:44px;padding:10px 14px;margin:0}
#view-groups .social-group-card-action .social-join-request-controls p{margin:0 0 8px;font-size:.85rem}
body:has(#view-groups:not([hidden])) .assistant-launcher{display:none!important}
@media(min-width:740px){#view-groups .social-groups-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){#view-groups .social-groups-compact{grid-template-columns:repeat(3,minmax(0,1fr))}}
.social-group-card h2{margin-block:12px 8px;overflow-wrap:anywhere}
.social-group-sharing{display:flex;flex-wrap:wrap;gap:10px;margin-block:12px}
html[data-design="light"] .social-group-type,html[data-design="light"] .social-group-member{background:#e8f2fc;color:#225b86}
@media(max-width:600px){.social-group-image{height:130px}.social-group-sharing>*{flex:1;text-align:center}}
html[data-design="light"] .social-dialog{background:#fff;border-color:#bdcfe0;color:#19364b}
.social-comments article{color:#e0ecf7;background:#122b40;border:1px solid #2a475e}
.social-comments article strong{display:block;color:inherit;line-height:1.4}
.social-comments article p{color:inherit;opacity:1;margin-block:8px 0;line-height:1.6}
.social-comments article small{color:#b5cadd}
html[data-design="light"] .social-comments article{background:#f0f6fc;border-color:#d2dfec;color:#234158}
html[data-design="light"] .social-comments article small,html[data-design="light"] .social-dialog .social-status{color:#45637b}
.social-post-actions button[aria-pressed="true"]{background:#206bbf;color:#fff;border-color:#3a8ddc}
.social-post-actions button[aria-busy="true"]{opacity:.85}
.social-comments:empty{display:none}.social-comment-compose{display:grid;gap:10px;padding-top:14px;border-top:1px solid var(--border,#29415a)}
.social-invite-search{display:flex;gap:12px;align-items:end;margin-block:16px}.social-invite-search>.social-field{margin:0;flex:1}
.social-invite-people{display:grid;gap:10px;max-height:38vh;overflow:auto}.social-invite-person{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px;border:1px solid var(--border,#2a4058);border-radius:14px}.social-invite-person>strong,.social-invite-person>h3{flex:1 1 180px;margin:0}.social-invite-person>small{flex:1 1 160px}
.social-incoming-invites{display:grid;gap:12px;margin-block:16px}.social-incoming-invites:empty{display:none}
.social-group-sharing>a,.social-group-sharing>button{flex:1 1 160px;text-align:center;padding:12px}
@media(max-width:500px){.social-invite-search{flex-direction:column;align-items:stretch}.social-invite-person>button{flex:1}.social-group-sharing>a,.social-group-sharing>button{flex-basis:100%}}
/* Compact post actions: keep real button text accessible to assistive technology. */
.social-card .social-post-actions button[data-social-text="like"],.social-card .social-post-actions button[data-social-text="liked"],.social-card .social-post-actions button[data-social-text="comments"],.social-card .social-post-actions button[data-social-text="save"],.social-card .social-post-actions button[data-social-text="saved"],.social-card .social-post-actions button[data-social-text="share"]{font-size:0!important;min-width:44px!important;width:44px;min-height:44px;padding:10px!important;border:0!important;border-radius:50%;background:transparent!important;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center;color:var(--text,#52718b)!important;flex:0 0 44px}
.social-card .social-post-actions button[data-social-text="like"]::before,.social-card .social-post-actions button[data-social-text="liked"]::before,.social-card .social-post-actions button[data-social-text="comments"]::before,.social-card .social-post-actions button[data-social-text="save"]::before,.social-card .social-post-actions button[data-social-text="saved"]::before,.social-card .social-post-actions button[data-social-text="share"]::before{content:"";display:block;width:23px;height:23px;background:currentColor;mask:var(--post-action-icon) center/contain no-repeat;-webkit-mask:var(--post-action-icon) center/contain no-repeat}
.social-post-actions [data-social-text="like"],.social-post-actions [data-social-text="liked"]{--post-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.7l-1.1-1.1a5.5%205.5%200%200%200-7.8%207.8L12%2021l8.8-8.6a5.5%205.5%200%200%200%200-7.8Z%22%2F%3E%3C%2Fsvg%3E")}
.social-post-actions [data-social-text="comments"]{--post-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011.5a8.5%208.5%200%200%201-8.5%208.5H4l-2%202V11.5a9.5%209.5%200%200%201%2019%200Z%22%2F%3E%3C%2Fsvg%3E")}
.social-post-actions [data-social-text="save"],.social-post-actions [data-social-text="saved"]{--post-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-6-4-6%204V3Z%22%2F%3E%3C%2Fsvg%3E")}
.social-post-actions [data-social-text="share"]{--post-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2016V3m-5%205%205-5%205%205M5%2013v7a1%201%200%200%200%201%201h12a1%201%200%200%200%201-1v-7%22%2F%3E%3C%2Fsvg%3E")}
.social-card .social-post-actions{gap:6px;align-items:center}.social-post-actions>small{margin-inline-start:-5px;margin-inline-end:10px;font-size:13px;font-variant-numeric:tabular-nums}.social-card .social-post-actions button[aria-pressed="true"]{color:#2474cc!important;background:#2474cc18!important}.social-card .social-post-actions button:hover{background:#2474cc12!important}.social-card .social-post-actions button:focus-visible{outline:2px solid #2474cc;outline-offset:2px}
/* One post, one conversation scroll surface. The composer is part of the thread,
   not a second modal or a nested scrolling comments box. */
.social-dialog.social-thread-dialog{width:min(800px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;overflow:auto;overscroll-behavior:contain;scroll-padding-block:20px}
.social-thread-dialog>.social-card{border:0;border-radius:0;box-shadow:none;padding:0 0 22px;background:transparent!important}
.social-thread-dialog .social-thread-content>.social-comment-compose{border-top:1px solid var(--border,#ccd9e7);border-bottom:1px solid var(--border,#ccd9e7);padding:20px 0;margin:0 0 24px}
.social-thread-dialog .social-thread-content>.social-comments{max-height:none;overflow:visible;padding:0;gap:0}
.social-thread-content[hidden]{display:none!important}
.social-comments-collapse{margin-block:0 16px;min-height:44px;white-space:normal}
.social-comments-collapse::before{content:'⌃';margin-inline-end:8px}
.social-comments-collapse[aria-expanded="false"]::before{content:'⌄'}
.social-thread-dialog .social-thread-comment{background:transparent!important;border:0;border-bottom:1px solid var(--border,#ccd9e7);border-radius:0;padding:22px 0;color:var(--text,#dceafa)}
.social-thread-dialog .social-thread-comment p{color:inherit;opacity:1;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}
.social-comment-author,.social-reply-identity{display:flex;align-items:center;gap:12px;min-width:0}
.social-comment-author>div{min-width:0;display:grid;gap:4px}
.social-comment-author strong{overflow-wrap:anywhere;font-size:.94rem}
.social-comment-author time{font-size:.74rem;color:var(--text-muted,#8098ae)}
.social-comment-author .social-avatar{flex-basis:38px;height:38px;border-radius:50%;overflow:hidden}
.social-comment-author .social-avatar img{width:100%;height:100%;object-fit:cover}
.social-reply-identity .social-avatar{flex-basis:34px;height:34px;border-radius:50%;font-size:.85rem}
.social-comment-actions{gap:8px;margin-top:8px}.social-comment-actions>small{font-variant-numeric:tabular-nums;font-size:.78rem}
.social-comment-actions button{min-height:40px;padding:8px 12px;font-size:.8rem}
.social-comment-actions button[data-social-text="like"],.social-comment-actions button[data-social-text="liked"]{font-size:0!important;width:40px;padding:6px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--text,#52718b)!important}
.social-comment-actions button[data-social-text="like"]::before{content:'♡';font-size:26px;line-height:1}
.social-comment-actions button[data-social-text="liked"]::before{content:'♥';font-size:24px;line-height:1}
.social-comment-actions button[aria-pressed="true"]{color:#2983d4!important}
.social-thread-replies{margin-inline-start:18px;padding-inline-start:22px;border-inline-start:2px solid var(--border,#ccd9e7);margin-top:16px}
.social-thread-dialog .social-thread-replies>.social-thread-comment:last-child{border-bottom:0;padding-bottom:0}
.social-thread-toggle{margin-top:12px;font-size:.8rem;min-height:40px}
.social-reply-context:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;color:var(--text,#52718b)}
.social-reply-context>span,.social-reply-target{font-size:.82rem;overflow-wrap:anywhere}
.social-reply-context button{font-size:.75rem;padding:6px 10px;min-height:36px}
.social-thread-dialog .social-comment-compose textarea{min-height:94px;font-size:16px;line-height:1.6;resize:vertical}
html[data-design="light"] .social-thread-dialog .social-thread-comment{color:#173348}
@media(max-width:600px){
  .social-dialog.social-thread-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:18px 18px max(24px,env(safe-area-inset-bottom));box-sizing:border-box}
  .social-thread-dialog>header{margin-bottom:22px}
  .social-thread-replies{margin-inline-start:8px;padding-inline-start:14px}
  .social-thread-dialog .social-thread-comment{padding-block:18px}
}
.social-heading h1.social-stream-title{display:flex;flex-wrap:wrap;column-gap:.28em;row-gap:0}
.social-stream-title>span{display:inline-block;min-width:0;overflow-wrap:normal;word-break:normal}
.social-group-photo-editor{border:1px solid var(--border,#c9d9e7);border-radius:14px;padding:18px;margin-block:20px}
.social-group-photo-editor h3{font-size:1rem;margin-block:0 12px}
.social-group-photo-preview{display:block;width:100%;max-width:360px;max-height:230px;object-fit:contain;border-radius:12px;margin-block:14px}
.social-group-photo-preview[hidden]{display:none}
.social-group-photo-editor progress{width:100%;accent-color:#2879cd}
.social-group-photo-editor .social-actions{gap:8px;flex-wrap:wrap}
.social-group-main-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.social-group-main-actions>button,.social-group-management-actions>button{min-width:0;white-space:normal;line-height:1.45;margin:0;min-height:48px}
.social-group-management{margin-top:22px;padding-top:18px;border-top:1px solid var(--border,#ccd9e7)}
.social-group-management>summary{cursor:pointer;font-weight:600;font-size:.9rem;padding-block:8px}
.social-group-management-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.social-group-detail h1{font-size:clamp(1.7rem,5vw,2.5rem);overflow-wrap:anywhere;line-height:1.2}
@media(max-width:600px){.social-group-main-actions{grid-template-columns:1fr}.social-group-management-actions>button{flex:1 1 100%}}
.social-join-request-controls{display:grid;gap:10px;min-width:0;width:100%}
.social-join-request-controls p{margin:0;line-height:1.6}
.social-join-request-controls button{justify-self:start;white-space:normal;max-width:100%}
.social-group-detail>.social-group-info-label{font-size:.78rem!important;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#87c8fa!important;margin:0 0 18px!important;opacity:1!important}
#view-groups .social-group-detail{border-top:3px solid #3989c9;background:#102337}
#view-groups .social-group-discussion{margin-top:32px;padding-top:24px;border-top:1px solid #38546b}
#view-groups .social-group-discussion>h2{font-size:1.2rem;line-height:1.4;margin:0 0 20px;color:#e4effa}
#view-groups .social-group-posts{gap:20px}
html[data-design=light] #view-groups .social-group-detail{background:#edf5fc!important;border-color:#bbd3e8!important;border-top-color:#347ac1!important}
html[data-design=light] .social-group-detail>.social-group-info-label{color:#245e91!important}
html[data-design=light] #view-groups .social-group-discussion{border-color:#c9d9e8}
html[data-design=light] #view-groups .social-group-discussion>h2{color:#193d59}
/* XibLive is a business-video showcase; XibStream retains its post layout. */
.social-live-featured{max-width:980px;margin:0 auto 26px}.social-live-featured[hidden]{display:none}
.social-live-feature-card{padding:22px;overflow:hidden}
.social-live-eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--accent,#4ab2d4);margin:0 0 14px}
.social-live-feature-card>.social-attachments{display:block!important;margin-bottom:20px}
.social-live-feature-card .social-media{aspect-ratio:16/9;background:#071322;width:100%}
.social-live-feature-card .social-media video,.social-live-feature-card .social-media iframe{width:100%;height:100%;max-height:none;object-fit:contain}
.social-live-feed{max-width:980px;gap:16px}
.social-live-card{display:grid;grid-template-columns:minmax(160px,28%) minmax(0,1fr);gap:20px;padding:20px;align-items:start}
.social-live-card>.ghost-action{grid-column:2;justify-self:start}
.social-live-thumbnail{position:relative;width:100%;aspect-ratio:16/10;padding:0!important;overflow:hidden;border-radius:12px!important;border:1px solid #28506c!important;background:linear-gradient(145deg,#123752,#071a2d)!important;color:#fff!important;min-height:110px;display:grid;place-items:center;box-shadow:none!important}
.social-live-thumbnail img,.social-live-thumbnail video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;pointer-events:none}
.social-live-player-preview{aspect-ratio:16/9;background-color:#164c78!important;background-size:cover!important;background-position:center!important;display:grid;place-items:center}
.social-live-player-preview iframe{width:100%;height:100%}
.social-live-intro{max-width:650px;line-height:1.65;margin-top:16px;color:#b8cce0}
html[data-design=light] .social-live-intro{color:#476078!important}
.social-live-play{position:relative;z-index:1;font-size:25px;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#061b32bc;border:1px solid #ffffff66;box-shadow:0 6px 20px #0003}
.social-live-watch{position:absolute;inset:auto 8px 8px;z-index:2;font-size:.7rem;font-weight:650;color:#fff;text-align:center;text-shadow:0 1px 4px #000}
.social-live-card-body{min-width:0}.social-live-card .social-author{gap:9px}.social-live-card .social-avatar{flex-basis:32px;height:32px;font-size:.8rem}
.social-live-card .social-author small{font-size:.72rem}.social-live-card .social-author .social-author-name strong{font-size:.85rem}
.social-live-card .social-tags{margin-block:10px 7px}.social-live-card h2{margin-block:6px 8px;font-size:1.15rem}
.social-live-title{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;color:inherit!important;text-align:start;font:inherit!important;line-height:1.35!important;min-height:0;white-space:normal;overflow-wrap:anywhere}
.social-live-card .social-post-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-block:8px 12px;font-size:.9rem;line-height:1.6}
.social-live-card .social-post-actions{margin-top:12px;padding-top:10px;gap:4px}
@media(max-width:600px){.social-live-card{grid-template-columns:minmax(105px,31%) minmax(0,1fr);gap:12px;padding:14px}.social-live-card .social-author{flex-wrap:wrap}.social-live-thumbnail{min-height:100px}.social-live-play{width:40px;height:40px;font-size:20px}.social-live-card .social-post-actions{margin-inline-start:calc(-45% - 12px)}.social-live-feature-card{padding:16px}.social-live-card h2{font-size:1rem}}
.social-field>.social-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.social-toolbar.social-feed-toolbar>.social-field{flex:1 1 190px;min-width:0}
.member-social .social-request-engagement,.social-dialog .social-request-engagement{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px;margin-block:12px;border:1px solid #38516a;border-radius:12px;background:#102237;color:#eaf3ff}
.social-request-status-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;flex-basis:100%;line-height:1.5}.social-request-status-label{font-size:14px}.social-request-status-label::after{content:':'}.social-request-badge{font-size:16px;line-height:1.5;font-weight:650;padding:0;border:0;border-radius:0;background:none;cursor:default;color:#94cafa}.social-request-badge[data-status=in_discussion]{color:#f2ce86}.social-request-badge[data-status=fulfilled]{color:#8de0c3}
.social-request-engagement>button{font-size:16px;min-height:42px;white-space:normal}.social-success-report{flex-basis:100%;font-size:16px;line-height:1.65}.social-success-report p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.social-story-consent{display:flex;align-items:flex-start;gap:10px;font-size:16px;line-height:1.6}.social-story-consent>input{width:20px;min-width:20px;height:20px;margin-top:4px}
html[data-design=light] .social-request-engagement{background:#f0f6fc;color:#17324b;border-color:#cbdbea}html[data-design=light] .social-request-badge{color:#245f99}html[data-design=light] .social-request-badge[data-status=in_discussion]{color:#815c16}html[data-design=light] .social-request-badge[data-status=fulfilled]{color:#176b52}
.member-social .social-feed-controls{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-block:18px 22px;width:100%}
.member-social .social-feed-controls>button{min-height:46px;white-space:normal;line-height:1.5;max-width:100%;font-size:16px}
.member-social .social-feed-disclosure{width:100%;min-width:0;border:1px solid var(--premium-line,#38516a);border-radius:14px;background:var(--premium-surface,#102237);color:var(--premium-ink,#eaf3ff)}
.member-social .social-feed-disclosure>summary{cursor:pointer;padding:14px 18px;font-size:16px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.member-social .social-feed-disclosure>summary:focus-visible{outline:2px solid var(--premium-primary,#4489ed);outline-offset:3px;border-radius:12px}
.member-social .social-feed-disclosure .social-filter-count:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-width:25px;margin-inline-start:10px;padding:1px 7px;border-radius:8px;background:var(--premium-surface-soft,#18314b);color:var(--premium-ink,#eaf3ff);font-size:14px}
.member-social .social-feed-disclosure>.social-feed-toolbar{margin:0;padding:4px 18px 18px;border:0;background:transparent;box-shadow:none}
.member-social .social-filter-count>.social-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html[data-design=light] .member-social .social-feed-disclosure{background:#fff;color:#17324b;border-color:#cbdbea}
html[data-design=light] .member-social .social-feed-disclosure .social-filter-count:not([hidden]){background:#eaf2fb;color:#17324b}
@media(max-width:650px){.member-social .social-feed-controls>button{width:100%}.member-social .social-feed-disclosure>summary{padding:13px 14px}.member-social .social-feed-disclosure>.social-feed-toolbar{padding:4px 14px 14px}}
.social-toolbar.social-feed-toolbar>.social-field:nth-child(3){flex:2 1 240px}
.social-toolbar.social-feed-toolbar>button{min-width:140px;white-space:normal;word-break:normal;line-height:1.45}
@media(max-width:650px){.social-toolbar.social-feed-toolbar>.social-field,.social-toolbar.social-feed-toolbar>.social-field:nth-child(3){flex:1 1 100%}.social-toolbar.social-feed-toolbar>button{flex:1 1 160px;min-width:0}}
.social-dialog .social-reply-branch{margin-inline-start:20px;padding-inline-start:14px;border-inline-start:2px solid #3b6484;margin-block-start:14px}.social-dialog [data-reply-depth="3"] .social-reply-branch{margin-inline-start:0;padding-inline-start:0;border-inline-start:0}.social-dialog .social-reply-unloaded>small{display:block;font-size:14px;line-height:1.6;color:#b8cde0;padding-block:8px}.social-media .social-video-failure{padding:20px;background:#112a40;color:#edf6ff;font-size:16px;line-height:1.6}.social-media .social-video-failure p{color:inherit}.social-media .social-video-failure a{display:inline-flex;white-space:normal;min-height:44px;align-items:center}html[data-design=light] .social-dialog .social-reply-unloaded>small{color:#496278}html[data-design=light] .social-media .social-video-failure{background:#edf4fb;color:#17324b}@media(max-width:600px){.social-dialog .social-reply-branch{margin-inline-start:8px;padding-inline-start:8px}}
.social-media video[hidden]{display:none!important}
.social-group-rules{margin-block:20px;padding:18px;border:1px solid #54718a;border-radius:16px;min-width:0}
.social-group-rules .social-group-rules-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.65;color:inherit}
.social-group-rules-consent{display:flex;align-items:flex-start;gap:12px;margin-block:18px;font-size:16px;line-height:1.6;cursor:pointer}
.social-dialog .social-group-rules-consent input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin-top:3px;accent-color:#246ace}
.social-group-rules-consent input:focus-visible{outline:3px solid #429bd9;outline-offset:3px}
html[data-design=light] .social-group-rules{border-color:#c4d2e2;background:#f3f7fc;color:#18354d}
/* Compact, distinct entry points for the two social feeds. */
.member-social>header.social-discovery-hero{--discovery-accent:#8fceff;--discovery-soft:#1c4059;position:relative;isolation:isolate;display:block!important;overflow:hidden;padding:26px!important;margin:18px 0 0!important;border:1px solid #36566f!important;border-radius:22px!important;background:linear-gradient(125deg,#142c45,#102d30)!important;box-shadow:none!important;color:#edf6ff!important;min-height:0!important}
.member-social>header.social-discovery-hero[data-discovery=video]{--discovery-accent:#d1baff;--discovery-soft:#39345a;background:linear-gradient(125deg,#1d2846,#302440)!important;border-color:#55446e!important}
.member-social>header.social-discovery-hero::before{content:'';position:absolute;z-index:-1;pointer-events:none;width:170px;height:170px;border:26px solid var(--discovery-accent);border-radius:50%;opacity:.08;inset-block-start:-110px;inset-inline-end:-65px}
.member-social .social-discovery-brand{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px;font-size:11px;font-weight:750;letter-spacing:.1em;color:var(--discovery-accent)}
.member-social .social-discovery-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--discovery-soft);font-size:20px;letter-spacing:0}
.member-social .social-discovery-badge{margin-inline-start:auto;font-size:11px;letter-spacing:0;font-weight:600;padding:5px 9px;border-radius:20px;background:var(--discovery-soft);line-height:1.5}
.member-social>header.social-discovery-hero>h1{font-size:clamp(25px,3.5vw,38px)!important;line-height:1.18!important;letter-spacing:-.035em!important;max-width:700px;margin:0!important;color:inherit!important;border:0!important;outline:0;box-shadow:none!important}
.member-social>header.social-discovery-hero>.social-discovery-copy{font-size:15px!important;line-height:1.65!important;color:#c2d4e4!important;max-width:630px;margin:14px 0 20px!important}
.member-social .social-discovery-actions>button{min-height:48px;width:100%;font-size:16px!important;line-height:1.4;white-space:normal;border-radius:12px!important}
.member-social .social-discovery-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.member-social .social-discovery-quick>button{min-width:0;width:100%;min-height:44px;padding:10px!important;font-size:14px!important;line-height:1.4!important;font-weight:650;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;border:1px solid #527086!important;border-radius:11px!important;background:#172f43!important;color:#e2f1ff!important;box-shadow:none!important}
.member-social .social-discovery-quick>button[aria-pressed=true]{background:var(--discovery-soft)!important;border-color:var(--discovery-accent)!important;color:var(--discovery-accent)!important}
.member-social .social-discovery-hero button:focus-visible{outline:3px solid var(--discovery-accent)!important;outline-offset:3px}
html[data-design=light] .member-social>header.social-discovery-hero{--discovery-accent:#2467a1;--discovery-soft:#e0eef7;background:linear-gradient(125deg,#f5f9ff,#eaf6f3)!important;border-color:#c4dce4!important;color:#15334c!important}
html[data-design=light] .member-social>header.social-discovery-hero[data-discovery=video]{--discovery-accent:#7150a0;--discovery-soft:#eae3f7;background:linear-gradient(125deg,#f8f9ff,#f0eafa)!important;border-color:#d6cce8!important}
html[data-design=light] .member-social>header.social-discovery-hero>.social-discovery-copy{color:#4a6277!important}
html[data-design=light] .member-social .social-discovery-quick>button{background:#ffffffbf!important;border-color:#c6d6e3!important;color:#245780!important}
html[data-design=light] .member-social .social-discovery-quick>button[aria-pressed=true]{background:var(--discovery-soft)!important;border-color:var(--discovery-accent)!important;color:var(--discovery-accent)!important}
@media(min-width:850px){.member-social .social-discovery-actions,.member-social .social-discovery-quick{max-width:540px}}
@media(max-width:650px){.member-social>header.social-discovery-hero{padding:20px!important}.member-social .social-discovery-brand{gap:6px;font-size:10px}.member-social .social-discovery-badge{font-size:10px;padding:5px 7px}}
.social-dialog .social-compose .social-purpose-choices{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.social-dialog .social-compose .social-purpose-choice{box-sizing:border-box;min-width:0;max-width:100%;min-height:52px;gap:12px;padding:12px!important}
.social-dialog .social-compose .social-purpose-choice input{flex:0 0 18px;width:18px;min-width:18px;height:18px;margin:0}
.social-dialog .social-compose .social-purpose-choice .social-category-badge{display:block;flex:1 1 0;min-width:0;max-width:100%;font-size:15px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
.social-dialog .social-compose .social-purpose legend{max-width:100%;box-sizing:border-box;white-space:normal;line-height:1.4}
.social-dialog .social-compose .social-identity-field{width:100%;max-width:none;min-width:0}
.social-dialog .social-compose .social-identity-field select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;font-size:16px}
@media(max-width:650px){.social-dialog .social-compose .social-purpose-choices{grid-template-columns:minmax(0,1fr)}.social-dialog .social-compose .social-purpose{padding:14px}.social-dialog .social-compose .social-purpose>p{font-size:14px;line-height:1.6}}
#view-groups>header.social-group-entry{display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:10px 12px;padding:20px!important;margin:18px 0!important;min-height:0!important;border:1px solid #376b66!important;border-radius:18px!important;background:linear-gradient(120deg,#142e35,#122432)!important;box-shadow:none!important;color:#edf8f5}
#view-groups .social-group-entry-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#20483f;color:#9ee1ce;font-size:27px}
#view-groups .social-group-entry-copy{min-width:0}
#view-groups .social-group-entry-copy>h1{font-size:clamp(22px,2.8vw,30px)!important;line-height:1.2!important;letter-spacing:-.025em;margin:0!important;color:inherit!important}
#view-groups .social-group-entry-copy>p{font-size:14px!important;line-height:1.55!important;margin:9px 0 0!important;color:#bcd6d1!important}
#view-groups>header.social-group-entry>button{grid-column:2;justify-self:start;min-height:44px;max-width:100%;padding:9px 15px!important;font-size:14px!important;line-height:1.4;white-space:normal;border-radius:10px!important;margin:2px 0 0!important}
html[data-design=light] #view-groups>header.social-group-entry{background:linear-gradient(120deg,#eff9f4,#f4f8fc)!important;border-color:#c7ded7!important;color:#183c39}
html[data-design=light] #view-groups .social-group-entry-mark{background:#dcefe7;color:#247463}
html[data-design=light] #view-groups .social-group-entry-copy>p{color:#506b66!important}
