#social:is(.profile79,.profile20261002) .wall-actions{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid var(--r44-theme-border,#dde5ee);padding-top:8px}
#social:is(.profile79,.profile20261002) .wall-button{background:transparent!important;color:var(--r44-theme-accent,#2869c3)!important;border:0!important;padding:5px!important;font-size:12px!important;box-shadow:none;min-height:30px}
#social:is(.profile79,.profile20261002) .wall-button[aria-pressed=true]{color:#e33f64!important}
#social:is(.profile79,.profile20261002) .wall-comment-form{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;min-width:0}
#social:is(.profile79,.profile20261002) .wall-comment-form textarea{flex:1;min-width:0;min-height:40px;max-height:160px;resize:vertical;background:var(--r44-theme-bg,#f4f7fb);color:var(--r44-theme-text,#172b50);font-size:14px;border:1px solid var(--r44-theme-border,#dde5ee);border-radius:8px;padding:9px;box-sizing:border-box}
#social:is(.profile79,.profile20261002) .wall-comment-form>button{font-size:12px;padding:8px;border-radius:8px}
#social:is(.profile79,.profile20261002) .wall-comments[hidden],#social:is(.profile79,.profile20261002) .wall-reply-label[hidden]{display:none!important}
#social:is(.profile79,.profile20261002) .wall-comments{margin-top:12px;max-height:550px;overflow:auto}
#social:is(.profile79,.profile20261002) .wall-comment{display:flex;gap:8px;margin:12px 0;min-width:0}
#social:is(.profile79,.profile20261002) .wall-comment>img{width:30px;height:30px;object-fit:cover;border-radius:50%;flex-shrink:0}
#social:is(.profile79,.profile20261002) .wall-comment>div{min-width:0;flex:1}
#social:is(.profile79,.profile20261002) .wall-comment p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#social:is(.profile79,.profile20261002) .wall-comment a{font-size:12px;font-weight:600}
#social:is(.profile79,.profile20261002) .wall-reply{margin-left:20px}
#social:is(.profile79,.profile20261002) .wall-reply-to{display:block;font-size:11px;margin-top:3px}
#social:is(.profile79,.profile20261002) .wall-reply-label{flex-basis:100%;font-size:12px;display:flex;justify-content:space-between}
#social:is(.profile79,.profile20261002) .wall-body{white-space:pre-wrap}
#social:is(.profile79,.profile20261002) .wall-status{font-size:13px;overflow-wrap:anywhere}
#social:is(.profile79,.profile20261002) .wall-status:empty{display:none}
/* Web audit: retain the current theme and layout. */
#social .wall-author{display:flex;align-items:center;gap:8px;min-width:0;text-decoration:none;color:inherit}
#social .wall-author img{width:36px;height:36px;object-fit:cover;border-radius:50%;flex:none}
#social .wall-author b{overflow-wrap:anywhere}
#social .showcase-post-author{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#social .wall-menu{margin-left:auto;position:relative}
#social .wall-menu summary{cursor:pointer;list-style:none;padding:6px 12px;font-size:20px}
#social .wall-menu[open]{background:var(--ui162-surface,var(--card,#edf3f6));border:1px solid var(--r44-theme-border,#b5c3ce);border-radius:10px;padding:6px}
#social .wall-menu button{display:block}
#social .wall-focused{outline:2px solid var(--r44-theme-accent,#28776c);outline-offset:4px;scroll-margin-top:100px}
#social .wall-post,#social .wall-comment{scroll-margin-top:100px;overflow-wrap:anywhere}
.wall-editor{max-width:560px;width:calc(100% - 40px);box-sizing:border-box;border:1px solid var(--r44-theme-border,#b5c3ce);border-radius:14px;background:var(--ui162-surface,var(--card,#edf3f6));color:var(--ui162-text,var(--text,#172b50));padding:22px}
.wall-editor::backdrop{background:#0009}
.wall-editor textarea{display:block;box-sizing:border-box;width:100%;margin:12px 0;background:var(--ui162-soft,var(--bg,#e5edf2));color:inherit;border:1px solid var(--r44-theme-border,#b5c3ce);border-radius:8px;padding:12px}
.wall-editor button{margin:4px}
#social .profile-gallery-manage summary,#social .profile-friends-all summary{cursor:pointer;padding:10px 0}
#social .profile-gallery-edit{display:flex;align-items:center;gap:10px;margin:10px 0;overflow-wrap:anywhere}
#social .profile-gallery-edit img{width:64px;height:64px;object-fit:cover;border-radius:8px}
#social .profile-friends-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
#social .profile-friends-list img{width:38px;height:38px;border-radius:50%;object-fit:cover}
#social .profile-friends-list a{display:flex;align-items:center;gap:7px;min-width:0;color:inherit;overflow-wrap:anywhere}
/* Profile-wall comments match the group/photo discussion controls. */
#social:is(.profile79,.profile20261002) .wall-comments{max-height:none;overflow:visible;margin-top:12px;padding:0;border:1px solid var(--ui162-border,#d7e2ec);border-radius:16px;background:var(--ui162-surface,#fff);color:var(--ui162-text,#22314a);box-sizing:border-box}
#social .wall-comments-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid var(--ui162-border,#d7e2ec)}
#social .wall-comments-heading h3{margin:0;font-size:15px;line-height:1.4;color:inherit}
#social .wall-comments-heading h3 span{color:var(--ui162-muted,#526477);font-weight:400}
#social:is(.profile79,.profile20261002) .wall-comments-heading>button.wall-button{display:flex;align-items:center;justify-content:center;width:40px;min-height:40px;font-size:24px!important;color:var(--ui162-muted,#526477)!important;touch-action:manipulation}
#social .wall-comment-list{max-height:min(520px,55dvh);padding:3px 12px 8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;box-sizing:border-box;scroll-padding:12px}
#social:is(.profile79,.profile20261002) .wall-comment{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:9px;margin:0;padding:13px 0;min-width:0;max-width:100%;border-bottom:1px solid var(--ui162-border,#d7e2ec);box-sizing:border-box;font-size:14px;scroll-margin-block:100px}
#social .wall-comment:last-child{border-bottom:0}
#social:is(.profile79,.profile20261002) .wall-comment>img{width:34px;height:34px;border-radius:50%;object-fit:cover}
#social:is(.profile79,.profile20261002) .wall-comment>.wall-comment-content{position:relative;display:block;min-width:0;padding:0;background:transparent;border-radius:0}
#social:is(.profile79,.profile20261002) .wall-comment.wall-reply{margin-left:22px;max-width:calc(100% - 22px);border-left:0;padding-left:0}
#social:is(.profile79,.profile20261002) .wall-comment .wall-comment-author{display:inline-block;max-width:calc(100% - 38px);font-size:14px;line-height:1.45;color:var(--ui162-text,#22314a);text-decoration:none;overflow-wrap:anywhere}
#social .wall-comment-time{display:block;margin:2px 38px 0 0;color:var(--ui162-muted,#526477);font-size:11px;line-height:1.4}
#social:is(.profile79,.profile20261002) .wall-comment .wall-comment-body{margin:7px 0 2px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;color:var(--ui162-text,#22314a)}
#social .wall-comment-mention{font-weight:600;color:var(--ui162-link,#256d63)}
#social .wall-comment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:3px 9px;min-width:0;margin-top:3px}
#social .wall-comment-actions>.svo-comment-reaction{flex:0 1 auto;min-width:0;max-width:100%;margin:0!important;gap:4px 6px}
#social:is(.profile79,.profile20261002) .wall-comment-actions>.wall-comment-reply{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:2px 0!important;color:var(--ui162-muted,#526477)!important;font-size:12px!important;line-height:1.4;touch-action:manipulation}
#social .wall-comment-reply>span:first-child{font-size:20px;line-height:1}
#social .wall-comment-menu{position:static;margin:0;padding:0;min-width:0}
#social .wall-comment-menu>summary{position:absolute;right:-4px;top:-4px;display:flex;align-items:center;justify-content:center;list-style:none;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ui162-muted,#526477);font-size:24px;line-height:1;cursor:pointer;touch-action:manipulation}
#social .wall-comment-menu>summary::-webkit-details-marker{display:none}
#social .wall-comment-menu-panel{position:static!important;display:grid;gap:9px;width:100%;max-width:100%;min-width:0;margin:10px 0;padding:10px;border:1px solid var(--ui162-border,#d7e2ec);border-radius:12px;background:var(--ui162-soft,#edf3f6);box-sizing:border-box}
#social .wall-comment-menu:not([open])>.wall-comment-menu-panel{display:none}
#social .wall-comment-menu-panel :is(details,form,label){min-width:0;max-width:100%;box-sizing:border-box;margin:0}
#social .wall-comment-menu-panel>details>summary,#social:is(.profile79,.profile20261002) .wall-comment-menu-panel>button.wall-button{display:flex!important;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:44px!important;margin:0;padding:8px 10px!important;border:0!important;border-radius:9px;background:transparent!important;color:var(--ui162-text,#22314a)!important;box-shadow:none!important;text-align:left;box-sizing:border-box;font-size:13px!important;line-height:1.4;cursor:pointer}
#social .wall-comment-menu-panel>details>summary{list-style:none}
#social .wall-comment-menu-panel>details>summary::-webkit-details-marker{display:none}
#social:is(.profile79,.profile20261002) .wall-comment-menu-panel>button.wall-comment-delete{color:#cf4050!important}
#social .wall-comment-action-icon{display:block;width:20px!important;height:20px!important;min-width:20px;max-width:20px;flex:0 0 20px;fill:none;stroke:currentColor;pointer-events:none}
#social .wall-inline-form{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-top:8px!important}
#social .wall-inline-form label{display:block;color:var(--ui162-text,#22314a);font-size:13px;line-height:1.5}
#social .wall-inline-form textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:84px;padding:10px;margin:5px 0 0;border:1px solid var(--ui162-border,#d7e2ec);border-radius:9px;background:var(--ui162-surface,#fff);color:var(--ui162-text,#22314a);font:inherit;resize:vertical}
#social .wall-inline-form>button{display:block;width:auto;min-height:36px;margin:0;padding:8px 10px;border:1px solid var(--ui162-border,#d7e2ec);border-radius:9px;background:var(--ui162-surface,#fff);color:var(--ui162-text,#22314a);font-size:12px;white-space:normal}
#social:is(.profile79,.profile20261002) .wall-comment-form{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:end;gap:8px!important;width:100%;max-width:100%;margin:10px 0 0;box-sizing:border-box;scroll-margin-bottom:calc(88px + env(safe-area-inset-bottom));scroll-margin-top:100px}
#social:is(.profile79,.profile20261002) .wall-reply-label{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:8px 10px;border-left:3px solid var(--ui162-link,#256d63);border-radius:8px;background:var(--ui162-soft,#edf3f6);color:var(--ui162-muted,#526477);font-size:12px;line-height:1.45}
#social .wall-reply-label>span{min-width:0;overflow-wrap:anywhere}
#social:is(.profile79,.profile20261002) .wall-reply-label>button{flex:none;width:32px;min-height:32px;font-size:22px!important;color:inherit!important;padding:0!important}
#social:is(.profile79,.profile20261002) .wall-comment-form textarea{display:block;width:100%;min-width:0;min-height:44px;max-height:150px;margin:0;padding:11px 12px;border:1px solid var(--ui162-border,#d7e2ec);border-radius:14px;background:var(--ui162-surface,#fff);color:var(--ui162-text,#22314a);font:inherit;font-size:14px;line-height:20px;resize:none;box-sizing:border-box;overflow-y:auto}
#social:is(.profile79,.profile20261002) .wall-comment-form>button{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;max-height:44px;margin:0;padding:10px!important;border:0!important;border-radius:14px;background:var(--ui162-link,#256d63)!important;color:var(--ui162-surface,#fff)!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
#social .wall-comment-form>button svg{width:24px!important;height:24px!important;max-width:24px;fill:currentColor!important;stroke:none!important;flex:none}
#social .wall-comments-empty{margin:0;padding:18px 0;color:var(--ui162-muted,#526477);font-size:13px}
#social :is(.wall-comment-menu,.wall-comment-actions,.wall-comment-form,.wall-comments-heading) :is(button,summary,textarea):focus-visible{outline:2px solid var(--ui162-link,#256d63);outline-offset:2px}
@media(max-width:760px){#social:is(.profile79,.profile20261002) .wall-comments,#social .wall-comment-list{max-height:none!important;overflow:visible!important;overscroll-behavior:auto;touch-action:auto}#social .wall-comment-list{padding-inline:10px}#social:is(.profile79,.profile20261002) .wall-comment{grid-template-columns:30px minmax(0,1fr);gap:8px;font-size:13px}#social:is(.profile79,.profile20261002) .wall-comment>img{width:30px;height:30px}#social:is(.profile79,.profile20261002) .wall-comment.wall-reply{margin-left:15px;max-width:calc(100% - 15px)}#social .wall-comment-actions{gap:2px 7px}#social:is(.profile79,.profile20261002) .wall-comment-reply{min-height:44px}#social:is(.profile79,.profile20261002) .wall-comment-form textarea,#social .wall-inline-form textarea{font-size:16px!important}}
body.theme-night #social:is(.profile79,.profile20261002) .wall-comment-menu-panel>button.wall-comment-delete,body.theme-dark #social:is(.profile79,.profile20261002) .wall-comment-menu-panel>button.wall-comment-delete{color:#ff8b93!important}

/* Original-author cards for community posts shared to a profile wall. */
#social .wall-body.has-feed-share{white-space:normal}
#social .wall-feed-note,#social .wall-feed-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.6}
#social .wall-feed-share{box-sizing:border-box;min-width:0;margin:12px 0 0;padding:16px;border:1px solid var(--ui162-border,var(--r44-theme-border,#d9e2e8));border-radius:16px;background:var(--ui162-soft,var(--r44-theme-bg,#f4f7fb));color:var(--ui162-text,var(--r44-theme-text,#22314a))}
#social .wall-feed-label{display:block;margin-bottom:13px;font-size:12px;font-weight:700;color:var(--ui162-link,var(--r44-theme-accent,#2869c3))}
#social .wall-feed-author{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;min-width:0}
#social .wall-feed-author>img{width:42px!important;height:42px!important;flex:none;border-radius:50%;object-fit:cover}
#social .wall-feed-author>span{min-width:0}#social .wall-feed-author strong,#social .wall-feed-author small{display:block;overflow-wrap:anywhere}#social .wall-feed-author strong{font-size:15px}#social .wall-feed-author small{font-size:11px;opacity:.8;margin-bottom:3px}
#social .wall-feed-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
#social .wall-feed-photos>a{display:block;min-width:0;border-radius:10px;overflow:hidden;background:var(--ui162-surface,#fff)}
#social .wall-feed-photos>a:only-child{grid-column:1/-1}
#social .wall-feed-photos>a>img{display:block;width:100%!important;height:auto!important;max-height:400px;object-fit:contain!important;margin:0!important;border-radius:0!important}
#social .wall-feed-open{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:700;color:var(--ui162-link,var(--r44-theme-accent,#2869c3));text-decoration:none}
#social .wall-feed-unavailable{margin:0;line-height:1.5;opacity:.8}
@media(max-width:600px){#social .wall-feed-share{padding:12px;border-radius:13px}#social .wall-feed-photos{gap:6px}}
