/* Article footer and conversation use the article surface, without comment cards. */
.theme-community .article-discussion{margin:32px 0 0;padding:0 0 22px;border-bottom:1px solid #eeedf2;}
.theme-community .article-discussion button,.theme-community .comment-sort-tabs button,.theme-community .comment-reply-button,.theme-community .reply-target-bar button{appearance:none;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;cursor:pointer;}
.theme-community .author-more-toggle{display:flex;align-items:center;gap:10px;text-align:left;padding:4px 0;max-width:100%;font-size:14px;}
.theme-community .author-more-toggle>span:last-child{overflow-wrap:anywhere;}
.theme-community .author-more-toggle .comment-avatar{width:36px;height:36px;flex:0 0 36px;}
.theme-community .discussion-counts{display:flex;align-items:center;gap:22px;margin-top:20px;font-size:14px;}
.theme-community .discussion-counts button{display:inline-flex;align-items:center;gap:6px;padding:6px 0;min-height:36px;}
.theme-community .discussion-counts svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;}
.theme-community #postLike svg{color:#e85b6a;}
.theme-community #postLike[aria-pressed=true] svg{fill:#e85b6a;}
.theme-community #discussionStatus{margin:6px 0 0;color:#75678f;font-size:12px;}
.theme-community #discussionStatus:empty{display:none;}
.theme-community .author-more-panel{padding:12px 0 2px;}
.theme-community .author-more-panel ul{list-style:none;padding:0;margin:0;}
.theme-community .author-more-panel li{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:13px;}
.theme-community .author-more-panel a{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;color:inherit;}
.theme-community .author-more-panel time{color:#9893a0;font-size:11px;flex-shrink:0;}
.theme-community .author-more-pages{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:8px;font-size:12px;color:#8b8399;}
.theme-community .author-more-pages button{padding:6px;}
.theme-community .article-discussion button:disabled,.theme-community .comment-reply-button:disabled{cursor:default;opacity:.45;}
.theme-community .comment-head-row{margin:0;padding:22px 0 6px;justify-content:flex-start;}
.theme-community .comment-sort-tabs{display:flex;gap:16px;font-size:14px;}
.theme-community .comment-sort-tabs button{padding:6px 0;color:var(--color-text-muted, #686174);}
.theme-community .comment-sort-tabs button[aria-pressed=true]{font-weight:700;color:#302b39;}
.discussion-sr-only{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;}
.theme-community .comment-list,.theme-community .comment-thread-root,.theme-community .comment-replies{list-style:none;margin:0;padding:0;}
.theme-community .comment-thread{margin:0;padding:0;border:0;background:none;}
.theme-community .comment-replies{margin-left:46px;}
.theme-community .comment-item,.theme-community .comment-item.is-mine{display:flex;gap:12px;margin:0;padding:18px 0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.theme-community .comment-item .comment-main,.theme-community .comment-item.is-mine .comment-main{flex:1;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.theme-community .comment-item .comment-avatar{width:34px;height:34px;flex:0 0 34px;}
.theme-community .comment-item-head{align-items:flex-start;gap:10px;margin:0 0 5px;}
.theme-community .comment-author-line{gap:6px;flex-wrap:wrap;}
.theme-community .comment-author{font-size:14px;color:#302b39;}
.theme-community .comment-owner-label{background:#edf8f2;color:#329268;border-radius:8px;padding:2px 5px;font-size:10px;line-height:1.2;}
.theme-community .comment-body{font-size:14px;line-height:1.75;color:#34303d;overflow-wrap:anywhere;}
.theme-community .comment-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:7px;color:#9b95a4;font-size:12px;}
.theme-community .comment-reply-button{padding:3px 0;font-size:12px;color:var(--color-text-muted, #686174);}
.theme-community .comment-tools{gap:9px;}
.theme-community .comment-tool-btn{font-size:11px;color:#a19aa9;padding:0;border:0;background:transparent;}
.theme-community .comment-unavailable{padding:18px 0 8px 46px;color:#9b95a4;font-size:13px;}
.theme-community .comment-form{margin-top:22px;padding-top:20px;border-top:1px solid #eeedf2;background:transparent;}
.theme-community .reply-target-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;color:#7452a4;font-size:13px;}
.theme-community .reply-target-bar[hidden]{display:none;}
.theme-community .reply-target-bar button{font-size:12px;padding:4px;}
.theme-community .article-discussion button:focus-visible,.theme-community .comment-sort-tabs button:focus-visible,.theme-community .comment-reply-button:focus-visible{outline:2px solid #9c83c1;outline-offset:4px;border-radius:3px;}
@media(max-width:600px){
 .theme-community .article-discussion{margin-top:24px;padding-bottom:16px;}
 .theme-community .comment-item{gap:9px;padding:15px 0;}
 .theme-community .comment-item .comment-avatar{width:30px;height:30px;flex-basis:30px;}
 .theme-community .comment-replies{margin-left:28px;}
 .theme-community .comment-body{font-size:14px;line-height:1.7;}
 .theme-community .comment-unavailable{padding-left:39px;}
 .theme-community .comment-tools{gap:7px;flex-shrink:0;}
 .theme-community .comment-author-line{gap:4px;}
}

/* Reply composer sits directly under the selected comment, before existing replies. */
.theme-community .comment-meta time{white-space:nowrap;}
.theme-community .comment-composer-region.is-inline-reply{margin-top:14px;}
.theme-community .comment-composer-region.is-inline-reply .comment-form{margin:0;padding:14px 16px;border:1px solid #dedbe4;border-radius:6px;background:#fff;gap:8px;}
.theme-community .is-inline-reply .comment-composer-title{font-size:13px;margin:0;color:#302b39;}
.theme-community .is-inline-reply .comment-input{min-height:72px;padding:4px 0;border:0;border-radius:0;box-shadow:none;background:transparent;}
.theme-community .is-inline-reply .comment-input:focus{outline:0;box-shadow:none;}
.theme-community .is-inline-reply .comment-form:focus-within{border-color:#a493bd;}
.theme-community .is-inline-reply .comment-media-composer{border:0;padding:0;}
.theme-community .is-inline-reply #commentMediaHelp{font-size:11px;margin:4px 0;}
.theme-community .is-inline-reply .comment-actions{margin:0;gap:12px;}
.theme-community .comment-cancel-reply{border:0;background:transparent;color:var(--color-text-muted, #686174);font:inherit;font-size:12px;padding:7px 10px;cursor:pointer;}
.theme-community .comment-cancel-reply[hidden]{display:none;}
.theme-community .is-inline-reply #submitCommentBtn{width:auto;min-width:60px;padding:7px 12px;font-size:12px;}
.theme-community .is-inline-reply .submission-status:empty{display:none;}
@media(max-width:600px){
 .theme-community .comment-composer-region.is-inline-reply .comment-form{padding:12px;}
 .theme-community .is-inline-reply .comment-input{min-height:80px;}
 .theme-community .is-inline-reply #commentMediaInput{width:100%;font-size:11px;}
}

.theme-community .is-inline-reply #commentMediaInput,.theme-community .is-inline-reply #commentMediaHelp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;border:0;margin:-1px;}
.theme-community .is-inline-reply .comment-media-composer>label{display:inline-block;color:var(--color-text-muted, #686174);font-size:12px;font-weight:400;cursor:pointer;margin:0;padding:4px 0;}
.theme-community .is-inline-reply .comment-media-composer:focus-within>label{outline:2px solid #9c83c1;outline-offset:3px;}
.theme-community .is-inline-reply .media-previews:empty,.theme-community .is-inline-reply #commentMediaStatus:empty{display:none;}

.theme-community .comment-recipient{color:#7952ad;font-weight:600;overflow-wrap:anywhere;}
.theme-community .is-inline-reply .reply-target-bar{margin:0;color:#7952ad;font-size:12px;overflow-wrap:anywhere;}

html[data-mobile-layout] .theme-community .comment-item .comment-main{padding:0;}
html[data-mobile-layout] .theme-community .comment-item,html[data-mobile-layout] .theme-community .comment-item.is-mine{gap:9px;}
html[data-mobile-layout] .theme-community .comment-item .comment-avatar{width:30px;height:30px;flex:0 0 30px;}

/* One quiet surface for the first comment and subsequent replies. */
.theme-community .comment-head-row.is-empty{padding:0;}
.theme-community .comment-sort-tabs[hidden]{display:none;}
.theme-community .comment-composer-region:not(.is-inline-reply) .comment-form{margin-top:22px;padding:16px 18px;border:1px solid var(--color-border-input);border-radius:6px;background:#fff;gap:10px;}
.theme-community .comment-composer-region:not(.is-inline-reply) .comment-form:focus-within{border-color:var(--color-link);}
.theme-community .comment-composer-region:not(.is-inline-reply) .comment-composer-title{margin:0;font-size:13px;}
.theme-community .comment-composer-region:not(.is-inline-reply) .comment-input{min-height:80px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;resize:vertical;}
.theme-community .comment-composer-region:not(.is-inline-reply) .comment-input:focus-visible{border:0;outline:0;box-shadow:none;}
.theme-community .comment-composer-region.is-empty .comment-form{margin-top:24px;}
.theme-community .comment-composer-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0;}
.theme-community .comment-composer-submit{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;white-space:nowrap;}
.theme-community .comment-composer-submit .comment-actions{align-items:center;gap:8px;}
.theme-community .comment-composer-submit #submitCommentBtn{width:auto;min-width:56px;padding:7px 12px;font-size:12px;}
.theme-community .comment-media-composer:not([hidden]){display:flex;align-items:center;flex-wrap:nowrap;gap:8px;padding:0;border:0;min-width:0;}
.theme-community .comment-media-composer .comment-photo-trigger{display:inline-flex;align-items:center;gap:5px;flex:none;margin:0;padding:5px 2px;color:var(--color-text-secondary);font-size:12px;font-weight:500;line-height:1.4;cursor:pointer;}
.theme-community .comment-photo-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.theme-community #commentMediaInput{position:absolute;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.theme-community .comment-media-composer:focus-within .comment-photo-trigger{outline:2px solid var(--color-link);outline-offset:2px;border-radius:2px;}
.theme-community #commentMediaHelp{flex:none;margin:0;font-size:11px;white-space:nowrap;}
.theme-community #commentMediaPreviews,.theme-community #commentMediaStatus{flex-basis:100%;margin:0;}
.theme-community .comment-media-composer:not([hidden]):has(.media-preview){flex-wrap:wrap;}
.theme-community #commentMediaStatus:empty,.theme-community #commentMediaPreviews:empty{display:none;}
@media(max-width:600px){
 .theme-community .comment-composer-region:not(.is-inline-reply) .comment-form{padding:14px;}
 .theme-community .comment-composer-region:not(.is-inline-reply) .comment-input{min-height:88px;padding:0;}
 .theme-community .comment-composer-footer{align-items:flex-start;flex-wrap:wrap;gap:8px;}
 .theme-community .comment-composer-submit{width:100%;justify-content:flex-end;}
 .theme-community #commentMediaHelp{flex-basis:auto;font-size:11px;}
 .theme-community .comment-composer-submit #submitCommentBtn{min-height:36px;padding:7px 12px;}
}
