.community-page{background:#f6f7f3;color:#173d42}
.community-page .discussion-shell{width:min(1400px,calc(100% - 32px));max-width:1400px;margin:0 auto;padding:32px 0 72px}
.discussion-shell *{box-sizing:border-box}.discussion-shell [hidden]{display:none!important}
.discussion-shell a{color:#087e80;text-decoration:none}.discussion-shell a:hover{text-decoration:underline;text-underline-offset:3px}
.discussion-shell button,.discussion-shell .button{font:inherit;cursor:pointer;border:0;border-radius:10px;min-height:44px;padding:11px 18px;width:auto;background:#008d8f;color:#fff;transition:background .15s,box-shadow .15s}
.discussion-shell button:hover,.discussion-shell .button:hover{background:#00787b}.discussion-shell button:disabled{opacity:.55;cursor:wait}.discussion-shell :focus-visible{outline:3px solid #e5a441;outline-offset:3px}
.discussion-shell .community-welcome{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:center;gap:40px;padding:34px 40px;margin-bottom:30px;border:1px solid #cce3df;border-radius:22px;background:radial-gradient(ellipse at 80% 10%,#f7efd3 0,transparent 42%),linear-gradient(115deg,#e4f4ee,#f1f8f2 72%);position:relative;overflow:hidden}
.discussion-shell .welcome-copy{position:relative}.discussion-shell .eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:2px;color:#257c79;font-weight:700}.discussion-shell .welcome-dot{width:7px;height:7px;border-radius:50%;background:#00a6a3;box-shadow:0 0 0 5px #00a6a312}
.discussion-shell h1{font-size:clamp(27px,2.7vw,40px);line-height:1.4;letter-spacing:-1px;margin:14px 0 10px;color:#153c42}.discussion-shell .welcome-copy p{margin:0;color:#526f6d;font-size:16px;line-height:1.9}.discussion-shell .welcome-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.discussion-shell .welcome-tags span{font-size:12px;color:#477270;border:1px solid #cde1da;background:#ffffff80;border-radius:20px;padding:5px 13px}
.discussion-shell .welcome-invite{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding-left:30px;border-left:1px solid #b9d6cb}.discussion-shell .welcome-invite>strong{font-size:15px;line-height:1.7;color:#315957}.discussion-shell .welcome-invite>button{font-weight:700;padding:12px 26px;box-shadow:0 5px 12px #007d7715}.discussion-shell .welcome-note{font-size:12px;color:#647b70}.discussion-shell .welcome-people{display:flex;padding-left:10px}.discussion-shell .welcome-people span{display:grid;place-items:center;width:40px;height:40px;border:3px solid #f1f7ee;border-radius:50%;margin-left:-10px;background:#2e8b84;color:#fff;font-size:14px;font-weight:700}.discussion-shell .welcome-people span:nth-child(2){background:#c68d54;transform:translateY(-5px)}.discussion-shell .welcome-people span:nth-child(3){background:#7b9b80}
.discussion-shell .layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.discussion-shell .feed-column{min-width:0}.discussion-shell h2{margin:0;font-size:21px}.discussion-shell .section-kicker{font-size:11px;letter-spacing:1px;color:#8b785a;font-weight:600}.discussion-shell .feed-tools{padding:4px 0 0}.discussion-shell .feed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.discussion-shell .feed-heading h2{margin-top:4px;font-size:24px;color:#173d42}.discussion-shell .feed-sort{font-size:12px;color:#667d76;display:flex;align-items:center;gap:9px}.discussion-shell .feed-sort select{font:inherit;font-size:13px;color:#375d59;border:1px solid #d6e1da;background:#fff;border-radius:8px;min-height:42px;padding:0 30px 0 12px;max-width:135px}
.discussion-shell #search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d5e1da;border-radius:12px;padding:5px 5px 5px 16px;box-shadow:0 2px 5px #193a3010}.discussion-shell .search-mark{font-size:27px;line-height:1;color:#4f827c}.discussion-shell input,.discussion-shell textarea{font:inherit;min-width:0;width:100%;border:1px solid #cddfd8;border-radius:10px;padding:12px;color:#173d42;background:#fff}.discussion-shell #query{border:0;background:none;font-size:15px;padding:10px 2px}.discussion-shell #search button{flex-shrink:0;white-space:nowrap;padding:10px 22px}.discussion-shell #status{font-size:12px;color:#6b817a;margin:14px 2px 18px;min-height:20px}
.discussion-shell .post{background:#fff;border:1px solid #dce5df;border-radius:16px;overflow:hidden;margin:0 0 24px;box-shadow:0 4px 16px #1c433408;overflow-wrap:anywhere}.discussion-shell .post-content{padding:24px 26px 18px}.discussion-shell .has-media .post-content{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:24px}.discussion-shell .post-head{display:flex;align-items:center;gap:11px;grid-column:1/-1;margin-bottom:15px}.discussion-shell .avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#e9ede4;color:#68815e;font-weight:700;font-size:14px;text-transform:uppercase}.discussion-shell .avatar-official{background:#008e8e;color:#fff;font-family:Arial,sans-serif;font-size:26px;font-style:italic}.discussion-shell .author-name{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:14px}.discussion-shell .author-name strong{color:#234b4a}.discussion-shell .badge{font-size:10px;font-weight:500;line-height:1.5;color:#31817b;background:#eaf6f2;border:1px solid #d7e9e0;border-radius:5px;padding:2px 7px}.discussion-shell .post-identity>time{font-size:11px;display:block;color:#84908a;margin-top:3px}
.discussion-shell .post-title{grid-column:1;grid-row:2;margin:0 0 10px;color:#1b3d41;font-size:21px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.discussion-shell .post-body{grid-column:1;grid-row:3;font-size:15px;line-height:1.9;color:#5a706c;white-space:pre-wrap;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.discussion-shell .expand{grid-column:1;grid-row:4;justify-self:start;background:none;color:#087e80;padding:7px 0;font-size:13px;min-height:34px}.discussion-shell .expand:hover{background:none;color:#005c60;text-decoration:underline}.discussion-shell .article-link{grid-column:1;grid-row:5;justify-self:start;font-size:13px;font-weight:600;margin:4px 0 0}
.discussion-shell .post-media{grid-column:2;grid-row:2/6;align-self:start;min-width:0;position:relative}.discussion-shell .photos{margin:0}.discussion-shell .photos a{display:block}.discussion-shell .photos img{display:block;width:100%;height:162px;object-fit:cover;border-radius:10px;background:#edf3ec}.discussion-shell .image-count{position:absolute;right:7px;bottom:7px;color:#fff;background:#173d42d9;border-radius:5px;padding:3px 8px;font-size:10px;pointer-events:none}
.discussion-shell .expanded .post-content{display:block}.discussion-shell .expanded .post-title,.discussion-shell .expanded .post-body{display:block;overflow:visible}.discussion-shell .expanded .post-media{margin-top:12px}.discussion-shell .expanded .photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.discussion-shell .expanded .photos img{height:auto;max-height:560px;object-fit:contain}.discussion-shell .expanded .image-count{position:static;display:inline-block;color:#607b70;background:#edf4ee;margin-top:8px}
.discussion-shell .actions{display:flex;align-items:center;gap:16px;margin:0 26px;border-top:1px solid #edf0eb;padding:7px 0}.discussion-shell .actions button{display:flex;align-items:center;gap:7px;background:none;color:#658077;font-size:13px;padding:6px 8px;min-height:38px}.discussion-shell .actions button:hover{background:#eef6f1;color:#007e80}.discussion-shell .actions button:last-child{margin-left:auto}.discussion-shell .actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.discussion-shell .actions [aria-pressed=true]{color:#00878a;background:#e8f5ee}.discussion-shell .notice{color:#9b5b22;font-size:13px;padding:0 26px}.discussion-shell .notice:empty{display:none}
.discussion-shell .comment-preview{background:#f7f9f5;border-top:1px solid #e7eee6;padding:16px 26px 8px}.discussion-shell .preview-heading{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:600;color:#5c7f6a;margin-bottom:14px}.discussion-shell .preview-heading>span:before{content:'';display:inline-block;width:4px;height:10px;background:#b8cdb1;margin-right:7px;border-radius:2px}.discussion-shell .preview-heading small{font-size:10px;font-weight:400;color:#8b978d}.discussion-shell .comment{display:flex;align-items:flex-start;gap:10px;margin:0 0 15px;min-width:0}.discussion-shell .comment .avatar{width:29px;height:29px;flex-basis:29px;font-size:11px;margin-top:2px}.discussion-shell .comment .avatar-official{font-size:21px}.discussion-shell .comment-copy{min-width:0;flex:1}.discussion-shell .comment-meta{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:3px;margin:0 0 4px;font-size:12px;color:#365e52}.discussion-shell .comment-meta time{font-size:10px;color:#8b968b}.discussion-shell .comment-label{font-size:9px;color:#94743d;border:1px solid #dfd3b3;border-radius:4px;padding:1px 5px}.discussion-shell .comment-text{white-space:pre-wrap;line-height:1.8;color:#536b5d;font-size:13px;margin:0;overflow-wrap:anywhere}.discussion-shell .comment-preview .comment-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.discussion-shell .comment-read-more,.discussion-shell .view-comments,.discussion-shell .comment-delete,.discussion-shell .collapse-comments{background:none;color:#18827a;font-size:12px;min-height:34px;padding:5px 0}.discussion-shell .view-comments:hover,.discussion-shell .comment-read-more:hover,.discussion-shell .collapse-comments:hover{background:none;text-decoration:underline}.discussion-shell .view-comments{display:block;font-weight:600;margin-top:-3px}.discussion-shell .comment-prompt{display:flex;align-items:center;gap:10px;width:100%;color:#8a9c92;background:#fff;border-radius:0;padding:15px 26px;font-size:13px;text-align:left;border-top:1px solid #edf1ea}.discussion-shell .comment-prompt:hover{background:#fafcf8;color:#477a6a}.discussion-shell .comment-prompt .avatar{width:29px;height:29px;flex-basis:29px;font-size:11px}.discussion-shell .prompt-action{margin-left:auto;color:#16827a;font-size:12px;white-space:nowrap}
.discussion-shell .comments{padding:18px 26px;background:#f7f9f5;border-top:1px solid #e6eee4}.discussion-shell .comments-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;color:#365e52;font-size:13px}.discussion-shell .comment-form textarea{font-size:14px;resize:vertical;min-height:100px}.discussion-shell .comment-form>button{font-size:13px;margin-top:9px}.discussion-shell .comment-login{display:inline-block;background:#e5f1e9;color:#007b77;border:1px solid #c8ded0;padding:10px 17px;font-size:13px;border-radius:8px;margin:3px 0}.discussion-shell .empty-comments,.discussion-shell .comments-loading{font-size:13px;color:#758a79}.discussion-shell .comment-delete{color:#8b7565;font-size:11px}
.discussion-shell .community-sidebar{display:flex;flex-direction:column;gap:20px}.discussion-shell .panel{border:1px solid #dce5df;border-radius:15px;padding:24px;background:#fff}.discussion-shell .panel h2{margin:6px 0 19px;font-size:19px;color:#214a47}.discussion-shell .recent-panel{border-top:3px solid #d8b575;background:#fffcf5}.discussion-shell .activity-item{display:flex;gap:9px;padding:12px 0;border-top:1px solid #ede9dd;color:#60715e}.discussion-shell .activity-item:first-child{border-top:0;padding-top:0}.discussion-shell .activity-copy{display:flex;flex-direction:column;min-width:0;gap:4px;font-size:12px;line-height:1.65}.discussion-shell .activity-copy strong{color:#496a52;font-size:12px}.discussion-shell .activity-copy>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.discussion-shell .activity-copy small{color:#9a9a86;font-size:10px}.discussion-shell .sidebar-empty{font-size:13px;line-height:1.9;color:#7a8b74}.discussion-shell .resource-panel>a{display:flex;align-items:center;gap:10px;border-top:1px solid #e9eee6;padding:13px 0;color:#61816d}.discussion-shell .resource-panel>a>span:nth-child(2){flex:1}.discussion-shell .resource-panel strong,.discussion-shell .resource-panel small{display:block}.discussion-shell .resource-panel strong{font-size:13px;color:#315f54}.discussion-shell .resource-panel small{font-size:11px;color:#8b998a;margin-top:4px}.discussion-shell .resource-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;color:#508d76;background:#edf5ed;font-size:20px}.discussion-shell .guidelines{background:#edf2eb;border-color:#dde7d9;font-size:12px;color:#7c8c75;line-height:1.9}.discussion-shell .guidelines h2{margin-bottom:13px;font-size:17px}.discussion-shell .guidelines p{margin:9px 0}
.discussion-shell .composer{position:fixed;z-index:10000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(540px,calc(100vw - 32px));max-height:85vh;overflow:auto;box-shadow:0 0 0 100vmax #153a4566,0 14px 60px #173b4033}.discussion-shell .composer-head{display:flex;justify-content:space-between;align-items:center}.discussion-shell .composer-head button{background:none;color:#42696c;font-size:26px;padding:4px 12px}.discussion-shell .composer-head h2{margin:0}.discussion-shell .composer textarea{resize:vertical;margin:10px 0}.discussion-shell .hint{font-size:12px;color:#7a8d7c}.discussion-shell #more{display:block;margin:30px auto;padding:12px 35px;border:1px solid #c8ded4;background:#fff;color:#3b7d69;box-shadow:0 3px 12px #244f3810}.discussion-shell #more:hover{background:#e9f3eb}.discussion-shell #retry{font-size:13px;margin-bottom:15px}.discussion-shell .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1100px){.discussion-shell .layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.discussion-shell .has-media .post-content{grid-template-columns:minmax(0,1fr) 170px;column-gap:18px}.discussion-shell .photos img{height:140px}.discussion-shell .panel{padding:20px}.discussion-shell .community-welcome{grid-template-columns:minmax(0,1fr) 300px;padding:30px;gap:28px}}
@media(max-width:900px){.discussion-shell .layout{grid-template-columns:1fr}.discussion-shell .community-sidebar{display:none}.discussion-shell .community-welcome{grid-template-columns:minmax(0,1fr) 240px;padding:26px;gap:20px}.discussion-shell .welcome-invite{padding-left:20px}.discussion-shell .welcome-invite>strong{font-size:13px}.discussion-shell .has-media .post-content{grid-template-columns:minmax(0,1fr) 200px}.discussion-shell .photos img{height:150px}}
@media(max-width:600px){.community-page .discussion-shell{padding-top:18px}.discussion-shell .community-welcome{display:block;padding:23px 20px;border-radius:16px;margin-bottom:26px}.discussion-shell .eyebrow{font-size:9px;letter-spacing:1.4px}.discussion-shell h1{font-size:27px;margin:15px 0 10px;letter-spacing:-.5px}.discussion-shell .welcome-copy p{font-size:13px;line-height:1.8}.discussion-shell .welcome-copy br{display:none}.discussion-shell .welcome-tags{gap:7px;margin-top:14px}.discussion-shell .welcome-tags span{font-size:10px;padding:4px 10px}.discussion-shell .welcome-invite{border:0;padding:18px 0 0;margin-top:18px;border-top:1px solid #cce0d4;align-items:flex-start;gap:8px}.discussion-shell .welcome-invite>strong,.discussion-shell .welcome-people{display:none}.discussion-shell .welcome-invite>button{padding:10px 18px;font-size:13px}.discussion-shell .welcome-note{font-size:10px}.discussion-shell .feed-heading{margin-bottom:15px}.discussion-shell .feed-heading h2{font-size:22px}.discussion-shell .feed-sort{font-size:0}.discussion-shell .feed-sort select{font-size:12px;min-height:38px;max-width:123px}.discussion-shell #search{padding-left:12px}.discussion-shell #query{font-size:13px}.discussion-shell #search button{font-size:13px;padding:9px 17px}.discussion-shell #status{font-size:11px;margin:12px 2px 15px}.discussion-shell .post{border-radius:13px;margin-bottom:18px}.discussion-shell .post-content{padding:19px 17px 12px}.discussion-shell .has-media .post-content{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:0 14px}.discussion-shell .post-head{margin-bottom:14px}.discussion-shell .author-name{font-size:12px;gap:7px}.discussion-shell .avatar{width:33px;height:33px;flex-basis:33px}.discussion-shell .avatar-official{font-size:23px}.discussion-shell .badge{font-size:9px;padding:1px 5px}.discussion-shell .post-identity>time{font-size:10px}.discussion-shell .post-title{font-size:17px;line-height:1.6;-webkit-line-clamp:3;margin-bottom:8px}.discussion-shell .post-body{font-size:13px;line-height:1.85;-webkit-line-clamp:2}.discussion-shell .post-media{grid-row:2/5}.discussion-shell .photos img{height:108px;border-radius:8px}.discussion-shell .image-count{font-size:8px;padding:3px 5px;right:4px;bottom:4px}.discussion-shell .expand{font-size:12px}.discussion-shell .actions{margin:0 17px;gap:8px}.discussion-shell .actions button{font-size:12px;padding:5px 4px;gap:5px}.discussion-shell .actions svg{width:17px;height:17px}.discussion-shell .comment-preview{padding:14px 17px 7px}.discussion-shell .comment{gap:8px;margin-bottom:14px}.discussion-shell .comment-meta{font-size:11px}.discussion-shell .comment-text{font-size:12px;line-height:1.85}.discussion-shell .comment-preview .comment-text{-webkit-line-clamp:3}.discussion-shell .preview-heading{margin-bottom:12px}.discussion-shell .comment-prompt{padding:13px 17px;font-size:11px;gap:8px}.discussion-shell .comment-prompt .avatar{width:25px;height:25px;flex-basis:25px}.discussion-shell .prompt-action{font-size:11px}.discussion-shell .comments{padding:15px 17px}.discussion-shell .comment-login{font-size:12px}.discussion-shell .notice{padding:0 17px}.discussion-shell .expanded .post-content{display:block}.discussion-shell .expanded .photos{grid-template-columns:1fr}.discussion-shell .expanded .photos img{height:auto}.discussion-shell .composer{padding:22px}}
@media(prefers-reduced-motion:reduce){.discussion-shell button,.discussion-shell .button{transition:none}}
/* Keep the shared referral action accessible without the large portrait covering replies. */
@media(max-width:600px){.community-page .home-assistant-tools{display:flex;align-items:center;gap:8px;right:12px;bottom:12px}.community-page .home-assistant-tools .concierge-avatar{display:none!important}.community-page .home-assistant-tools .service-concierge strong{padding:10px 14px;font-size:12px;background:#008d8f;box-shadow:0 3px 12px #173d4220}.community-page .home-assistant-tools .home-back-top{width:38px;height:38px}.community-page .home-assistant-tools .home-back-top svg{width:20px;height:20px}}

/* Reading sizes for the community feed, including compact screens. */
.discussion-shell .post-body,.discussion-shell .comment-text,.discussion-shell .welcome-copy p{font-size:1.125rem;line-height:1.75;color:#384f47}
.discussion-shell .post-title{font-size:1.45rem}
.discussion-shell .author-name,.discussion-shell .comment-meta,.discussion-shell .expand,.discussion-shell .actions button,.discussion-shell .comment-prompt,.discussion-shell .comment-login,.discussion-shell .article-link,.discussion-shell .view-comments,.discussion-shell .collapse-comments,.discussion-shell .comment-read-more,.discussion-shell .comment-delete,.discussion-shell .comment-form textarea,.discussion-shell .comment-form>button,.discussion-shell #query,.discussion-shell #search button,.discussion-shell .feed-sort select,.discussion-shell .welcome-invite>button{font-size:1rem}
.discussion-shell :is(.welcome-note,.welcome-tags span,.badge,.comment-label,.image-count,.preview-heading,.preview-heading small,.post-identity>time,.comment-meta time,.activity-copy,.activity-copy small,.activity-copy strong,.resource-panel strong,.resource-panel small,.guidelines,.section-kicker,.eyebrow,.prompt-action,.hint,.sidebar-empty,.empty-comments,.comments-heading),.discussion-shell #status{font-size:.9375rem}
.discussion-shell :is(.post-identity>time,.comment-meta time,.activity-copy small,.resource-panel small,.preview-heading small,.welcome-note,.guidelines,.comment-prompt){color:#51675e}
.discussion-shell .post-head,.discussion-shell .author-name,.discussion-shell .comment-meta{row-gap:5px}
@media(max-width:600px){
  .discussion-shell .has-media .post-body,.discussion-shell .has-media .expand,.discussion-shell .has-media .article-link{grid-column:1/-1}
  .discussion-shell .post-media{grid-row:2;margin-bottom:10px}
  .discussion-shell .post-title{font-size:1.25rem}
  .discussion-shell .actions{flex-wrap:wrap}
  .discussion-shell .welcome-tags span{padding:4px 9px}
}

/* Keep post actions and the conversation visually distinct. */
.discussion-shell .actions{gap:8px;padding:10px 0}
.discussion-shell .actions button{border-radius:24px;background:#f1f6f3;color:#345d54;min-height:44px;padding:8px 15px;font-weight:600}
.discussion-shell .actions svg{width:20px;height:20px;stroke-width:1.8}
.discussion-shell .actions button:last-child{background:transparent}
.discussion-shell .actions [aria-pressed=true]{background:#dcf1e9;color:#08655c}
.discussion-shell .comment-preview{background:#f5f8f5;padding-top:20px;padding-bottom:12px}
.discussion-shell .preview-heading{gap:8px;margin-bottom:16px;color:#254f47;font-size:1.125rem}
.discussion-shell .preview-heading small{background:#deebe3;color:#32584a;border-radius:16px;font-size:.9375rem;font-weight:700;min-width:26px;padding:2px 8px;text-align:center}
.discussion-shell .comment-preview .comment-copy{padding:10px 14px;background:white;border:1px solid #e1e8e2;border-radius:2px 13px 13px}
.discussion-shell .comment-preview .comment-meta{margin-bottom:6px}
.discussion-shell .comment-preview .avatar{margin-top:8px}
@media(max-width:600px){.discussion-shell .actions{gap:5px}.discussion-shell .actions button{padding:8px 10px}.discussion-shell .comment-preview .comment-copy{padding:10px}}

.discussion-shell .reply-action{min-height:44px;padding:6px 10px;background:transparent;color:#006f72;font-size:1rem;font-weight:600}
.discussion-shell .reply-action:hover{background:#e1f1eb}
.discussion-shell .reply-quote{margin:6px 0;padding:7px 12px;border-left:3px solid #70a897;background:#edf5f1;font-size:1rem;color:#355e50;overflow-wrap:anywhere}
.discussion-shell .comment-copy form textarea{display:block;margin:7px 0}

.discussion-shell .conversation{padding:12px 0;border-bottom:1px solid #dce6df}
.discussion-shell .conversation:last-of-type{border-bottom:0}
.discussion-shell .conversation .comment{margin:0}
.discussion-shell .conversation .comment-copy{padding:4px 0;background:transparent;border:0;box-shadow:none}
.discussion-shell .conversation .conversation-reply{margin:8px 0 6px 38px;padding:6px 0 2px 14px;border-left:2px solid #a9cbbd}
.discussion-shell .reply-target,.discussion-shell .reply-context{font-size:.9375rem;color:#52685d}
.discussion-shell .reply-context{margin:0 0 10px;padding:6px 10px;border-left:2px solid #a9cbbd}
.discussion-shell .conversation .reply-action{min-height:40px;padding:4px 6px}
.discussion-shell .conversation .comment-form{margin:8px 0 4px;padding:12px;background:white;border:1px solid #d4e3da;border-radius:10px}
.discussion-shell .conversation .comment-form textarea{min-height:64px}
@media(max-width:600px){.discussion-shell .conversation .conversation-reply{margin-left:18px;padding-left:10px}}

.discussion-shell .conversation .conversation-reply{margin-inline-start:min(calc(var(--reply-depth,1) * 32px),35%);border-inline-start:2px solid #96bfae}
.discussion-shell .comment-number{color:#4b6d62;font-size:.9375rem}
@media(max-width:600px){.discussion-shell .conversation .conversation-reply{margin-inline-start:min(calc(var(--reply-depth,1) * 17px),27%)}}

/* A single toolbar and a quiet reading column for the community page. */
.discussion-shell .community-welcome{display:flex;justify-content:space-between;align-items:center;gap:16px;background:none;border:0;border-radius:0;border-bottom:1px solid #d5e1db;padding:10px 0 22px;margin:0 0 22px}
.discussion-shell .community-welcome h1{margin:0;font-size:clamp(27px,3vw,36px)}
.discussion-shell .community-welcome p{color:#51675e;margin:6px 0 0;font-size:1rem}
.discussion-shell #new-post{white-space:nowrap}
.discussion-shell .feed-tools{display:flex;align-items:center;gap:14px;padding:0}
.discussion-shell .feed-tools #search{flex:1;min-width:0;order:-1;box-shadow:none}
.discussion-shell .feed-heading{margin:0}
.discussion-shell .recent-panel{background:#fff;border:1px solid #dce5df}
.discussion-shell .activity-item .avatar{display:none}
.discussion-shell .post{box-shadow:none;margin-bottom:18px}
.discussion-shell .post-content .post-title{margin-bottom:6px}
.discussion-shell .actions{padding:4px 0}
.discussion-shell .actions button{background:transparent}
.discussion-shell .comment-preview,.discussion-shell .comments{background:#f8faf8}
.discussion-shell .conversation .comment-meta{gap:7px}
.discussion-shell .conversation .reply-action{font-size:.95rem;min-height:36px;padding:4px 0}
.discussion-shell .conversation .comment-text{line-height:1.65}
.discussion-shell .conversation .conversation-reply{border-left:2px solid #c6d9cf}
.discussion-shell .conversation .comment-number,.discussion-shell .reply-target{font-size:.9rem;color:#536b61}
@media(max-width:900px){.discussion-shell .community-sidebar:has(.composer:not([hidden])){display:block}}
@media(max-width:600px){.discussion-shell .community-welcome{padding:4px 0 16px;align-items:flex-start}.discussion-shell .community-welcome p{font-size:.95rem}.discussion-shell #new-post{font-size:.95rem;padding:8px 12px}.discussion-shell .feed-tools{flex-wrap:wrap;gap:8px}.discussion-shell .feed-tools #search{flex-basis:100%}.discussion-shell .feed-heading{margin-left:auto}.discussion-shell #status{margin-top:0}.discussion-shell .comment-preview .avatar,.discussion-shell .comments-list .avatar{display:none}.discussion-shell .comment-preview .conversation .comment-copy,.discussion-shell .comments-list .conversation .comment-copy{padding:0}}
.discussion-shell .forum-tabs{display:flex;gap:4px;border-bottom:2px solid #c6d9cf;margin-bottom:18px}
.discussion-shell .forum-tabs[hidden],.discussion-shell .topic-row .post-content[hidden]{display:none}
.forum-tabs button{font:inherit;font-weight:650;color:#456257;background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 16px;cursor:pointer}
.forum-tabs button[aria-pressed=true]{color:#075c52;border-color:#078279}
.discussion-shell #feed:has(.topic-row){border:1px solid #d1dfd8;border-radius:14px;overflow:hidden;background:white}
.discussion-shell .topic-row{margin:0;border:0;border-bottom:1px solid #ceddd5;border-radius:0;padding:19px 0 8px}
.discussion-shell .topic-row:last-child{border-bottom:0}
.topic-overview{padding:0 24px}
.topic-info h2{font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.4;margin:0 0 8px}
.topic-link{color:#153e35;text-decoration:none}.topic-link:hover,.topic-link:focus-visible{text-decoration:underline}
.topic-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;color:#4c645a;font-size:1rem}
.topic-kind{background:#eaf3ed;color:#285948;border-radius:5px;padding:2px 8px;font-weight:650}
.discussion-shell .topic-row .actions{border:0;margin:6px 24px 0}
.discussion-shell .topic-row .comment-preview{margin-top:6px}
@media(max-width:600px){.topic-overview{padding:0 15px}.discussion-shell .topic-row .actions{margin-inline:15px}.forum-tabs button{padding:10px 9px}}
.community-page{background:#f4f7f6;color:#21392f;font-family:system-ui,"Microsoft JhengHei",sans-serif}
.discussion-shell .community-welcome{border:0;align-items:center;margin:0;padding:12px 0 20px}
.discussion-shell .community-welcome h1{margin:0;font-size:clamp(26px,2.5vw,36px);letter-spacing:-.04em}
.discussion-shell #new-post{border-radius:22px;min-height:42px;padding:8px 19px}
.discussion-shell .feed-column{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:0}
.feed-column>*{grid-column:1/-1}
.discussion-shell .forum-tabs{grid-column:1;grid-row:1;border:0;gap:4px;margin:0 0 14px;align-items:center;flex-wrap:wrap}
.discussion-shell .forum-tabs button{border:0;border-radius:22px;min-height:40px;padding:6px 16px;color:#445b52;background:transparent}
.discussion-shell .forum-tabs button[aria-pressed=true]{background:#184e45;color:white}
.stream-search{grid-column:2;grid-row:1;justify-self:end;min-width:42px;position:relative}
.stream-search summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;justify-content:center;min-height:40px;color:#31564c}
.stream-search summary::-webkit-details-marker{display:none}
.stream-search[open]{grid-column:1/-1;grid-row:2;width:100%;justify-self:stretch}
.stream-search[open] summary{justify-content:flex-end}
.stream-search .feed-tools{margin-bottom:12px}
.discussion-shell #status{font-size:1rem;margin:0 0 8px;color:#586a62}
.discussion-shell #feed:has(.topic-row){border:0;background:none;border-radius:0;overflow:visible}
.discussion-shell .topic-row,.discussion-shell .topic-row:last-child{background:white;border:1px solid #dce5df;border-radius:16px;margin:0 0 14px;padding:0;overflow:hidden}
.discussion-shell .topic-overview{padding:18px 22px 0}
.discussion-shell .topic-meta{display:flex;align-items:center;gap:8px;font-size:1rem;color:#273f35}
.topic-meta .avatar{width:33px;height:33px;font-size:17px}
.topic-meta .topic-kind{background:transparent;color:#546a60;font-weight:500;padding:0}
.topic-meta time{margin-left:auto;font-size:.94rem;color:#56675f}
.stream-story{margin:13px 0 0}
.stream-story:has(.stream-photo){display:grid;grid-template-columns:clamp(120px,13vw,176px) minmax(0,1fr);gap:18px;align-items:center}
.stream-photo{display:block}
.stream-photo img{display:block;width:100%;height:auto;aspect-ratio:1.48;object-fit:cover;border-radius:10px;background:#eef4f1}
.topic-info h2{font-size:clamp(19px,1.6vw,23px);margin:0;line-height:1.48;font-weight:650;letter-spacing:-.018em}
.discussion-shell .topic-link{color:#223a30}
.stream-excerpt,.activity-copy>span,.activity-copy>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.stream-excerpt{font-size:1.06rem;line-height:1.6;margin:6px 0 0;color:#475d51}
.discussion-shell .topic-row .actions{margin:12px 22px 0;padding:6px 0 9px;border-top:1px solid #edf1ee;gap:8px}
.discussion-shell .topic-row .actions button{background:#f3f7f4;padding:6px 12px;min-height:38px;border-radius:22px}
.discussion-shell .topic-row .actions button:last-child{background:transparent}
.discussion-shell .topic-row .comment-preview{background:#f8faf8;margin:0;padding:10px 22px;border-top:1px solid #e3ece6}
.discussion-shell .recent-panel{border-radius:16px;border-top:4px solid #388b7b}
.discussion-shell .recent-panel .activity-item{align-items:start}
.discussion-shell .activity-item .avatar{display:grid}
@media(max-width:600px){
.discussion-shell .community-welcome{padding:3px 0 14px}
.discussion-shell .forum-tabs{gap:2px;margin-bottom:8px}
.discussion-shell .forum-tabs button{padding:5px 9px;font-size:1rem}
.stream-search:not([open]) summary span{display:none}
.discussion-shell .topic-overview{padding:13px 13px 0}
.discussion-shell .topic-meta{gap:6px;font-size:.95rem}
.stream-story:has(.stream-photo){grid-template-columns:minmax(0,1fr) 85px;gap:12px}
.stream-photo{grid-column:2;grid-row:1}
.stream-story .topic-info{grid-column:1;grid-row:1}
.stream-photo img{aspect-ratio:1}
.topic-info h2{font-size:1.13rem}
.stream-excerpt{font-size:1rem;line-height:1.55}
.discussion-shell .topic-row .actions{margin:10px 13px 0}
.discussion-shell .topic-row .comment-preview{padding:8px 13px}
}
/* Neutral reading surface; teal identifies the active filter and primary actions. */
body.portal-page.community-page{background:#f6f6f7;color:#242529}
.community-page .discussion-shell{--text:#242529;--muted:#595b62;--rule:#dedee1;color:var(--text)}
.community-page .discussion-shell :is(h1,h2,.topic-link,.topic-meta,.topic-meta strong,.author-name strong,.comment-meta strong,.activity-copy strong){color:var(--text)}
.community-page .discussion-shell :is(.stream-excerpt,.post-body,.comment-text,.activity-copy,.activity-copy>span){color:#38393d}
.community-page .discussion-shell :is(#status,.topic-kind,time,.post-identity>time,.activity-copy small,.reply-target,.comment-number,.comment-meta,.stream-search summary,.feed-sort){color:var(--muted)}
.community-page .discussion-shell :is(.post,.topic-row:last-child,.recent-panel,.composer,.comment-form textarea){border-color:var(--rule);background-color:#fff}
.community-page .discussion-shell .recent-panel{border-top:1px solid var(--rule)}
.community-page .discussion-shell :is(.avatar:not(.avatar-official),.badge,.preview-heading small){background:#ededf0;color:#505158}
.community-page .discussion-shell .forum-tabs button:not([aria-pressed=true]){color:#4c4d53}
.community-page .discussion-shell :is(.actions,.activity-item,.comment-copy,.comments-heading){border-color:#e7e7e9}
.community-page .discussion-shell .actions button{color:#404146;background:#f3f3f4}
.community-page .discussion-shell .actions button:last-child{background:transparent}
.community-page .discussion-shell .actions button[aria-pressed=true]{background:#e4f2f1;color:#006c69}
.community-page .discussion-shell :is(.comment-preview,.comments){background:#fafafa;border-color:#e4e4e7}
.community-page .discussion-shell .conversation-reply{border-color:#cfcfd5}
.community-page .discussion-shell :is(.reply-action,.collapse-comments,.view-comments,.expand){color:#484950}
.community-page .discussion-shell :is(.actions button,.reply-action,.view-comments):hover{background:#e9e9ec;color:#202124}
.community-page .discussion-shell .community-welcome{background:#f7e8d8;display:flex;align-items:stretch;justify-content:space-between;position:relative;border:1px solid #e6d6c7;border-radius:18px;overflow:hidden;padding:0;margin:0 0 18px;gap:0;isolation:isolate}
.discussion-shell .welcome-content{align-self:center;padding:18px 30px;z-index:1}
.community-page .discussion-shell .community-welcome h1{color:#392f2b;font-weight:750;line-height:1.2;margin:0 0 12px}
.discussion-shell .welcome-photo{width:45%;height:144px;display:block;object-fit:cover;object-position:50% 42%;mask-image:linear-gradient(90deg,transparent,#000 18%)}
.community-page .discussion-shell #new-post{min-height:40px;padding:7px 16px;background:#88452f;color:#fff;border:0}
.community-page .discussion-shell #new-post:hover{background:#703822}
.discussion-shell .subject-links{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 10px;grid-row:1}
.discussion-shell .subject-links[hidden]{display:none}
.discussion-shell .subject-links a{font-size:1rem;line-height:1.3;font-weight:600;padding:6px 12px;border-radius:8px;background:#f6e9dd;color:#70412c;text-decoration:none}
.discussion-shell .subject-links a:nth-child(2){background:#eae6f5;color:#55416e}
.discussion-shell .subject-links a:nth-child(3){background:#e5edf7;color:#365373}
.discussion-shell .subject-links a:nth-child(4){background:#f5ecd5;color:#66502b}
.discussion-shell .subject-links a:hover,.discussion-shell .subject-links a[aria-current]{text-decoration:underline;text-underline-offset:3px}
.discussion-shell .forum-tabs,.discussion-shell .stream-search{grid-row:2}
.discussion-shell .stream-search[open]{grid-row:3}
.community-page .discussion-shell .topic-row:has(.comment-preview:not([hidden])) .topic-info h2{border-inline-start:3px solid #c27d55;padding-inline-start:10px}
.community-page .discussion-shell .topic-row .comment-preview{background:#fcf8f4;border-color:#ece2d9}
.community-page .discussion-shell .conversation .conversation-reply{border-color:#ceab94}
.community-page .discussion-shell .recent-panel{border-top:3px solid #bd805d}
@media(max-width:600px){
.community-page .discussion-shell .community-welcome{margin-bottom:12px;border-radius:14px}
.discussion-shell .welcome-content{padding:12px 0 12px 14px}
.community-page .discussion-shell .community-welcome h1{font-size:clamp(21px,5.9vw,28px);margin-bottom:8px}
.discussion-shell .welcome-photo{width:43%;height:108px;object-position:52% center}
.community-page .discussion-shell #new-post{min-height:36px}
.discussion-shell .subject-links{gap:5px}.discussion-shell .subject-links a{padding:5px 9px}
}
/* Keep the question and its responses together before the post actions. */
.community-page .discussion-shell .topic-row .comment-preview:not([hidden]){margin:12px 22px 0 38px;padding:4px 0 4px 18px;border:0;border-inline-start:2px solid #d9bba6;background:transparent}
.community-page .discussion-shell .topic-row .comment-preview .conversation{background:#fbf7f2;border-radius:12px;padding:9px 12px;margin:4px 0}
.community-page .discussion-shell .topic-row .comment-preview .comment-text{display:block;overflow:visible;-webkit-line-clamp:unset}
.community-page .discussion-shell .topic-row .comment-preview .comment-meta{margin-bottom:4px}
.community-page .discussion-shell .topic-row .comment-preview .reply-action{min-height:34px;color:#795038}
.community-page .discussion-shell .reply-target{font-weight:600;color:#745643}
.community-page .discussion-shell .topic-row .actions{margin-top:6px}
.community-page .discussion-shell .topic-row .actions button[aria-controls]{font-weight:650;color:#613e2d;background:#f6ece4}
@media(max-width:600px){
.community-page .discussion-shell .topic-row .comment-preview:not([hidden]){margin:8px 12px 0 24px;padding-inline-start:10px}
.community-page .discussion-shell .topic-row .comment-preview .conversation{padding:8px 10px}
.community-page .discussion-shell .welcome-content{padding-block:8px}
.community-page .discussion-shell .welcome-photo{height:90px}
}
/* A continuous conversation feed, with the author rail shared by the post and replies. */
body.portal-page.community-page{background:#fff}
.community-page .discussion-shell .community-welcome{margin:0 0 12px;padding:0;border:0;border-radius:0;background:white}
.discussion-shell .welcome-content{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 0}
.community-page .discussion-shell .community-welcome h1{margin:0;color:#24262c}
.community-page .discussion-shell #new-post{background:#333947;border-radius:24px;color:white}
.community-page .discussion-shell #new-post:hover{background:#202634}
.community-page .discussion-shell #feed:has(.topic-row){border-top:1px solid #dedfe4}
.community-page .discussion-shell .topic-row,.community-page .discussion-shell .topic-row:last-child{border:0;border-bottom:1px solid #dedfe4;background:white;border-radius:0;margin:0;padding:16px 0 6px}
.discussion-shell .topic-overview{padding:0;position:relative}
.discussion-shell .topic-meta{min-height:34px}
.discussion-shell .stream-story{margin:3px 0 0 46px}
.community-page .discussion-shell .topic-row:has(.comment-preview:not([hidden])) .topic-info h2{border:0;padding:0}
.community-page .discussion-shell .topic-info h2{font-weight:650}
.community-page .discussion-shell .topic-row:has(.comment-preview:not([hidden])) .topic-overview:after{content:"";position:absolute;left:16px;top:41px;bottom:-12px;border-left:2px solid #dadbe2}
.community-page .discussion-shell .topic-row .comment-preview:not([hidden]){padding:0;border:0;margin:12px 0 0;background:white}
.community-page .discussion-shell .topic-row .comment-preview .conversation{padding:0;margin:0;background:white}
.community-page .discussion-shell .comment-preview .comment{display:flex;gap:10px;align-items:flex-start}
.community-page .discussion-shell .comment-preview .comment>.avatar{display:grid;flex:0 0 32px;width:32px;height:32px;margin:0;background:#fae7d9;color:#6c493a;font-size:15px}
.community-page .discussion-shell .topic-overview .avatar:not(.avatar-official){background:#eae8f6;color:#574773}
.community-page .discussion-shell .comment-preview .conversation .comment-copy{padding:0;min-width:0;flex:1}
.community-page .discussion-shell .comment-preview .reply-target{color:#636570;font-weight:500}
.community-page .discussion-shell .topic-row .actions{margin:4px 0 0 43px;border:0}
.community-page .discussion-shell .topic-row .actions button,.community-page .discussion-shell .topic-row .actions button[aria-controls]{background:transparent;color:#474a53}
.community-page .discussion-shell .topic-row .actions button:hover{background:#f0eff4}
.community-page .discussion-shell .forum-tabs{margin:0;border-bottom:1px solid #e4e4e8}
.community-page .discussion-shell .forum-tabs button,.community-page .discussion-shell .forum-tabs button[aria-pressed=true]{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5f6068}
.community-page .discussion-shell .forum-tabs button[aria-pressed=true]{color:#272935;border-color:#3b3e50}
.discussion-shell .stream-search[open] .subject-links{margin:0 0 12px}
.community-page .discussion-shell #status{margin:8px 0;color:#676974}
.community-page .discussion-shell .recent-panel{background:#f8f8fa;border:0;border-radius:12px}
@media(min-width:901px){
.community-page .discussion-shell .layout{grid-template-columns:minmax(0,820px) minmax(220px,300px);justify-content:center;column-gap:clamp(24px,5vw,80px)}
.community-page .discussion-shell .community-welcome{max-width:calc(1120px + clamp(24px,5vw,80px));margin-inline:auto}
}
@media(max-width:600px){
.community-page .discussion-shell .welcome-content{padding:4px 0}
.community-page .discussion-shell .community-welcome{margin-bottom:8px}
.community-page .discussion-shell .topic-row{padding-top:12px}
.discussion-shell .stream-story{margin-left:0}
.community-page .discussion-shell .topic-row:has(.comment-preview:not([hidden])) .topic-overview:after{display:none}
.community-page .discussion-shell .topic-row .comment-preview:not([hidden]){margin:8px 0 0 8px;padding-left:10px;border-left:2px solid #e2e0e8}
.community-page .discussion-shell .comment-preview .comment{gap:7px}
.community-page .discussion-shell .comment-preview .comment>.avatar{width:25px;height:25px;flex-basis:25px}
.community-page .discussion-shell .topic-row .actions{margin-left:0}
}
.community-page .discussion-shell .actions button[hidden]{display:none}
.community-page .discussion-shell .actions button[aria-controls^="reply-"]{background:#efedf7;color:#423956;border-radius:18px;font-weight:650;padding:6px 13px}
.community-page .discussion-shell .inline-reply{margin:8px 0 10px;padding:12px 14px;background:#f8f8fa;border:1px solid #dbdbe2;border-radius:12px;display:grid;gap:8px}
.discussion-shell .root-editor:not(:empty){margin-inline:clamp(8px,4vw,44px)}
.community-page .discussion-shell .inline-reply label{display:grid;gap:7px;font-size:1rem;font-weight:600;color:#393742}
.community-page .discussion-shell .inline-reply textarea{box-sizing:border-box;display:block;width:100%;min-height:64px;border:1px solid #b8b6c2;border-radius:8px;padding:8px 10px;font:inherit;font-weight:400;background:#fff;color:#202126;resize:vertical}
.community-page .discussion-shell .inline-reply textarea:focus-visible{outline:2px solid #70658b;outline-offset:1px}
.discussion-shell .inline-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.community-page .discussion-shell .inline-controls button{border:0;border-radius:8px;min-height:38px;padding:6px 14px;font:inherit;background:#423b50;color:#fff}
.community-page .discussion-shell .inline-controls button[type=button]{background:transparent;color:#55515c}
.discussion-shell .inline-reply p:empty{display:none}
/* Group masthead and navigation sit above the shared post stream. */
body.portal-page.community-page:has(.group-home){background:#f2f3f5}
.community-page .discussion-shell.group-home{max-width:1120px;margin-inline:auto;padding:18px 20px 40px}
.group-header{background:white;border:1px solid #dcdde0;border-radius:16px;overflow:clip;margin-bottom:18px}
.group-cover{height:160px;position:relative;isolation:isolate;overflow:hidden;background:#352c30}
.group-cover img{position:absolute;right:0;top:0;width:65%;height:100%;object-fit:cover;object-position:50% 36%;z-index:-2}
.group-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#352c30 28%,rgba(53,44,48,.94) 39%,transparent 75%);z-index:-1}
.group-name{height:100%;display:flex;flex-direction:column;justify-content:center;padding:0 32px}
.community-page .group-home .group-name h1{margin:0;color:white;font-size:clamp(26px,3vw,40px);letter-spacing:-.035em;line-height:1.25}
.group-name p{color:#f4e6df;margin:7px 0 0;font-size:1rem}
.group-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:0 14px}
.community-page .group-home .group-navigation .forum-tabs{grid-column:1;grid-row:1;border:0;margin:0}
.group-home .group-navigation .stream-search{grid-column:2;grid-row:1;align-self:center}
.group-home .group-navigation .stream-search[open]{grid-column:1/-1;grid-row:2}
.community-page .discussion-shell.group-home .layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,29%);gap:20px}
.community-page .group-home .feed-column{display:block}
.community-page .group-home #new-post.group-compose{display:flex;align-items:center;width:100%;gap:12px;padding:12px 16px;margin:0;background:white;color:#42464e;border:1px solid #dedfe3;border-radius:12px;text-align:left;font-weight:500}
.group-compose .compose-pencil{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#f4e8df;color:#674d41;font-size:23px}
.group-compose strong{font-size:.96rem;margin-left:auto;color:#464154}
.community-page .group-home #status{margin:10px 4px 6px}
.community-page .group-home #feed:has(.topic-row){border:0}
.community-page .discussion-shell.group-home .post,.community-page .discussion-shell.group-home .topic-row:last-child{box-sizing:border-box;border:1px solid #dcdee3;border-radius:14px;background:#fff;padding:0;margin:0 0 14px;overflow:hidden}
.community-page .group-home .topic-overview{padding:16px 20px 0}
.community-page .group-home .topic-overview:after{display:none}
.community-page .group-home .stream-story,.community-page .group-home .stream-story:has(.stream-photo){display:flex;flex-direction:column;margin:10px 0 0;gap:8px;align-items:stretch}
.group-home .stream-story .topic-info{order:-1}
.group-home .stream-story .stream-photo img{width:100%;height:auto;max-height:360px;object-fit:contain;background:#f4f4f5;border-radius:8px}
.community-page .group-home .topic-info h2{margin:0;font-size:1.26rem;line-height:1.45}
.community-page .group-home .topic-row .actions{display:flex;align-items:center;gap:6px;border-block:1px solid #ebebee;margin:12px 20px 0;padding:5px 0}
.community-page .group-home .topic-row .comment-preview:not([hidden]){border:0;background:white;margin:0;padding:12px 20px}
.community-page .group-home .topic-row .comment-preview .conversation{padding:0;background:white}
.community-page .group-home .comment-preview .conversation .comment-copy,.community-page .group-home .comments-list .conversation .comment-copy{background:#f1f2f5;border-radius:0 14px 14px 14px;padding:10px 13px;border:0}
.community-page .group-home .comment-preview .conversation-reply,.community-page .group-home .comments-list .conversation-reply{border-color:#cccdd3}
.community-page .group-home .topic-row .reply-action{min-height:32px;color:#555762}
.community-page .group-home .recent-panel{background:white;border:1px solid #dcdee3;border-radius:14px}
.group-home .activity-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media(max-width:900px){.community-page .discussion-shell.group-home .layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
.community-page .discussion-shell.group-home{padding:8px 9px 28px}
.group-header{border-radius:12px;margin-bottom:10px}
.group-cover{height:104px}.group-name{padding:0 15px}.group-name p{font-size:.94rem}
.group-navigation{padding:0 5px}
.community-page .group-home #new-post.group-compose{padding:7px 12px}
.community-page .group-home .topic-overview{padding:13px 14px 0}
.community-page .group-home .topic-info h2{font-size:1.16rem}
.community-page .group-home .topic-row .actions{margin:9px 14px 0}
.community-page .group-home .topic-row .comment-preview:not([hidden]){padding:9px 11px}
}
/* A group cover, identity strip, tabs and feed are distinct horizontal regions. */
.community-page .discussion-shell.group-home{width:min(1400px,calc(100% - 32px));max-width:1400px;padding:0 0 40px;box-sizing:border-box}
.group-home .group-header{background:white;border-radius:0 0 10px 10px}
.group-home .group-cover{height:clamp(190px,22vw,285px);background:#e8e5df}
.group-home .group-cover:before{display:none}
.group-home .group-cover img{position:static;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 37%}
.group-home .group-name{height:auto;padding:16px 28px 14px}
.community-page .group-home .group-name h1{color:#191b20;font-size:clamp(26px,3vw,36px)}
.group-home .group-name p{margin:4px 0 0;color:#565963}
.group-home .group-navigation{border-top:1px solid #dddfe4;padding:0 20px}
.community-page .discussion-shell.group-home .layout{width:100%;max-width:none;margin-inline:0;grid-template-columns:minmax(0,1fr) clamp(280px,28%,350px);gap:18px}
.group-home #new-post .write-prompt{flex:1;padding:9px 16px;background:#f1f2f5;border-radius:25px}
.group-feed-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 2px}
.group-home .group-feed-bar .feed-sort select{font-weight:650;width:auto;background:transparent;border:0;color:#34363e;min-height:34px;padding-block:3px}
.community-page .group-home .group-feed-bar #status{margin:0;font-size:.95rem}
.community-page .group-home .group-about{padding:18px;margin-bottom:12px;border:1px solid #dcdee3;border-radius:12px;background:white;color:#3c3e47}
.group-home .group-about h2{margin:0 0 12px;font-size:1.18rem}
.group-about p{font-size:1rem;line-height:1.55;margin:10px 0 0}
.group-home .topic-overview .topic-meta{display:grid;grid-template-columns:38px max-content 1fr;gap:1px 8px;align-content:center}
.group-home .topic-meta>.avatar{grid-row:1/3;grid-column:1;width:38px;height:38px}
.group-home .topic-meta>strong{grid-column:2;grid-row:1}
.group-home .topic-meta>.topic-kind{grid-column:3;grid-row:1}
.group-home .topic-meta>time{grid-column:2/4;grid-row:2;margin:0;font-size:.9rem}
.community-page .group-home .topic-row .actions button{flex:1;justify-content:center;margin:0}
@media(max-width:900px){.community-page .discussion-shell.group-home .layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
.community-page .discussion-shell.group-home{padding:0 0 24px}
.group-home .group-cover{height:110px;object-position:center}
.group-home .group-name{padding:10px 13px}
.group-home .group-navigation{padding:0 4px}
.community-page .group-home .group-navigation .forum-tabs button{padding-inline:7px}
.community-page .group-home .group-navigation .stream-search{min-width:30px}
}

@media(min-width:561px) and (max-width:900px){.community-page .discussion-shell.group-home{width:calc(100% - 40px)}}
@media(max-width:560px){.community-page .discussion-shell.group-home{width:calc(100% - 28px)}}
/* One type scale for the feed, direct-post view and replies. */
.community-page .discussion-shell.group-home{font-family:system-ui,-apple-system,"Segoe UI","PingFang HK","Microsoft JhengHei",sans-serif}
.community-page .group-home :is(button,input,textarea,select){font-family:inherit}
.community-page .group-home :is(.topic-info h2,.post-title){font-size:1.375rem;line-height:1.45;font-weight:650}
.community-page .group-home :is(.stream-excerpt,.post-body,.conversation .comment-text,.inline-reply textarea){font-size:1.125rem;line-height:1.6}
.community-page .group-home :is(.topic-meta>strong,.author-name strong,.comment-meta strong,.activity-copy strong){font-size:1.0625rem;font-weight:650}
.community-page .group-home :is(.topic-kind,.topic-meta>time,.comment-meta time,.comment-number,.reply-target,.activity-copy small,.post-identity>time){font-size:.9375rem;line-height:1.45;color:#565a63}
.community-page .group-home :is(.activity-copy>span,.group-navigation button,.feed-sort select,.inline-controls button,.write-prompt){font-size:1.0625rem}
.community-page .discussion-shell.group-home .actions button,.community-page .discussion-shell.group-home .conversation .reply-action{font-size:1rem;font-weight:600;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.3}
.community-page .discussion-shell.group-home .actions button[hidden],.community-page .discussion-shell.group-home .conversation .reply-action[hidden]{display:none}
.community-page .group-home :is(.actions,.reply-action,.compose-pencil) svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.community-page .group-home .reply-action svg{width:18px;height:18px}
.community-page .group-home .actions button[aria-pressed=true]{color:#365697;background:#eaf0fc}
@media(max-width:600px){
.community-page .group-home :is(.topic-info h2,.post-title){font-size:1.25rem}
.community-page .discussion-shell.group-home .actions button{padding-inline:4px;gap:5px}
}
.community-page .discussion-shell.group-home .post .actions{display:flex;justify-content:flex-start;gap:7px;padding:0;border:0;margin-top:6px}
.community-page .discussion-shell.group-home .post .actions button{flex:0 0 auto;background:transparent;color:#565d68;border:0;min-width:40px;min-height:40px;margin:0;padding:3px 6px;gap:5px;font-size:.9375rem;font-weight:500}
.community-page .discussion-shell.group-home .post .actions svg{width:20px;height:20px}
.community-page .discussion-shell.group-home .post .actions button[aria-pressed=true]{color:#315faa}
.community-page .discussion-shell.group-home .post .conversation .comment-copy{background:transparent;border:0;border-radius:0;padding:0}
.community-page .discussion-shell.group-home .post .comment-preview{padding-block:4px}
.community-page .discussion-shell.group-home .post .conversation .comment-text{font-size:1.0625rem;line-height:1.52}
.community-page .discussion-shell.group-home .post .conversation .reply-action{font-size:.9375rem;min-height:34px;padding:0 4px;color:#515964}
.community-page .group-home .post .comment-meta{margin-bottom:2px}
.group-home .answer-dock{display:flex;align-items:flex-start;gap:8px;padding:6px 16px 12px}
.group-home .answer-dock>.avatar{flex:0 0 32px;width:32px;height:32px;margin-top:4px}
.community-page .group-home .answer-prompt{flex:1;min-height:40px;background:#f0f2f5;color:#535c67;border:0;border-radius:20px;font:inherit;text-align:start;padding:7px 14px;cursor:text}
.group-home .answer-dock .dock-editor:empty{display:none}
.group-home .answer-dock .dock-editor{flex:1;min-width:0}
.community-page .group-home .dock-editor .inline-reply{margin:0}
@media(max-width:600px){.group-home .answer-dock{padding-inline:11px}}
.group-home .comment-actions{display:flex;align-items:center;gap:10px}
.community-page .discussion-shell.group-home .comment-actions button{display:inline-flex;align-items:center;gap:4px;padding:2px 4px;min-height:34px;border:0;background:transparent;font:inherit;font-size:.9375rem;font-weight:600;color:#525a64;cursor:pointer}
.community-page .group-home .comment-actions button[aria-pressed=true]{color:#345995}
.community-page .group-home .comment-actions button[hidden]{display:none}
.group-home .comment-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.group-home .shared-comment{outline:2px solid #aba4cb;outline-offset:2px;border-radius:6px}
.community-page .group-home .conversation .comment-meta time::before{content:"· ";color:#777}
.community-page .group-home .conversation .reply-to-author{font-weight:600;color:#345b90}
.community-page .group-home .conversation .conversation-reply{position:relative}
.community-page .group-home .conversation .conversation-reply::before{content:"";position:absolute;inset-inline-start:-2px;top:0;width:10px;height:15px;border-inline-start:2px solid #ccced4;border-bottom:2px solid #ccced4;border-radius:0 0 0 7px;pointer-events:none}
.community-page .group-home .conversation .shared-comment{outline:none}
.community-page .group-home .conversation .shared-comment .comment-copy{background:#eaf2fc;border-radius:12px;padding:8px 12px}

.community-page .group-home .post .reply-branch{margin:0 0 4px 15px;padding:0 0 0 21px}
.reply-branch>summary{cursor:pointer;width:fit-content;color:#515964;font-size:.96rem;font-weight:600;padding:5px 0}
.reply-branch .reply-branch .reply-branch{margin-left:0!important;padding-left:0!important}
.community-page .group-home .post .reply-node{position:relative;padding:4px 0 0}
.community-page .group-home .post .conversation .conversation-reply{border:0;margin:0;padding-inline-start:0}
.community-page .group-home .post .conversation .conversation-reply::before{content:none}
.reply-branch>.reply-node::before{content:"";position:absolute;left:-20px;top:0;width:15px;height:21px;border-left:1.5px solid #cdd1d6;border-bottom:1.5px solid #cdd1d6;border-bottom-left-radius:9px}
.reply-branch>.reply-node:not(:last-child)::after{content:"";position:absolute;left:-20px;top:16px;bottom:0;border-left:1.5px solid #cdd1d6}
.reply-branch .reply-branch .reply-branch>.reply-node::before,.reply-branch .reply-branch .reply-branch>.reply-node::after{display:none}
.thread-dialog{margin:auto;border:0;padding:0;border-radius:16px;width:min(760px,96vw);max-width:100%;height:min(84dvh,850px);max-height:100dvh;box-shadow:0 14px 70px #1113;color:inherit}
.thread-dialog[open]{display:flex;flex-direction:column}
.thread-dialog::backdrop{background:#20232b77}
body:has(.thread-dialog[open]){overflow:hidden}
.thread-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #ddd;font-size:1.14rem}
.thread-close{border:0;background:#eef0f3;border-radius:20px;padding:8px 15px;cursor:pointer}
.thread-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:16px}
.community-page .group-home .post .thread-dialog .post-content{display:block}
.thread-dialog .post-body{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important}
.thread-dialog .answer-dock{flex:none}
@media(max-width:600px){.thread-dialog{width:100%;height:100dvh;border-radius:0}.thread-scroll{padding:12px}}

.community-page .post .reply-recipient{display:block;max-width:100%;background:none;border:0;padding:2px 0;margin:0;color:#325d91;text-align:start;font:inherit;font-size:.95rem;overflow-wrap:anywhere;cursor:pointer}
.community-page .post .reply-recipient:hover{text-decoration:underline}
.conversation .comment:focus-visible{outline:2px solid #6383a2;outline-offset:2px;border-radius:8px}

.group-home .group-navigation{align-items:center;gap:12px;grid-template-columns:auto minmax(0,1fr)}
.group-home .search-always{width:min(100%,28rem);justify-self:end;padding:5px 0}
.group-home .search-always form{margin:0}
.group-home .group-feed-bar .feed-heading{flex-wrap:wrap;gap:6px}
@media(max-width:600px){.group-home .group-navigation{grid-template-columns:minmax(0,1fr);gap:0}.group-home .search-always{width:100%;padding:3px 8px 8px;box-sizing:border-box}}

.group-home .group-feed-bar .feed-sort select{max-width:none;width:auto;min-width:max-content;padding-inline-end:2em}
.group-home .post .photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin:0;overflow:hidden;border-radius:8px}
.group-home .post .photo-grid a{display:block;min-width:0}
.group-home .post .photo-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0}
.group-home .post.has-media .post-content:has(.photo-grid){display:block}
.group-home .post.has-media .post-content[hidden]{display:none}
.group-home .post .post-media:has(.photo-grid){margin:12px 0}

.group-home .post .stream-story .photo-grid{width:100%;max-width:620px;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;align-self:flex-start;box-sizing:border-box}
