.comment-thread{margin-top:28px;text-align:left}.comment-thread h2{font-size:18px;margin:0 0 16px}
.comment-thread .comment-form label{display:block;font-size:13px}.comment-thread textarea{display:block;width:100%;margin-top:8px;resize:vertical;min-height:90px;font:inherit;font-size:14px}
.comment-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:10px}.comment-form-actions button{flex-shrink:0}
.comment{padding:16px 0;border-top:1px solid #42433f30}.comment-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}.comment-heading strong{overflow-wrap:anywhere}
.comment-body{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.comment-heading .comment-delete{margin-left:auto;padding:4px 6px;background:transparent;border:0;box-shadow:none;color:var(--bad);font-size:12px;transform:none}
.comment-thread .comment-error{margin:10px 0}.comment-sign-in{text-decoration:underline;text-underline-offset:3px}
.assessment-comments{margin-top:16px;padding-top:12px;border-top:1px solid #42433f30}.assessment-comments>summary{font-size:14px;font-weight:bold;cursor:pointer}.assessment-comments .comment-thread{margin-top:16px}
.assessment-comments .comment-thread h2{font-size:15px}
.own-profile>.comment-thread{max-width:760px;margin-top:36px;padding:24px}
@media(max-width:540px){.comment-form-actions{flex-wrap:wrap}.comment-form-actions>.meta{flex-basis:100%}}

.comment-heading .account-avatar{width:28px;height:28px;font-size:14px}
.comment-heading .comment-delete:hover{background:#ad403b20;border-radius:4px}
.comment-replies{margin:12px 0 0 14px;padding-left:14px;border-left:2px solid #42433f30}.comment-replies.comment-replies-flat{margin-left:0;padding-left:0;border-left:0}
.comment-deleted{font-size:14px;font-style:italic;color:var(--muted)}
.comment .comment-reply,.comment .comment-replies-toggle{display:inline-block;margin:8px 0 0;padding:5px 8px;background:transparent;border:0;box-shadow:none;color:var(--muted);font-size:12px;transform:none}
.comment .comment-reply:hover,.comment .comment-replies-toggle:hover{background:#42433f10;border-radius:4px}
.comment-reply-form-slot:empty{display:none}.comment-reply-form{margin:12px 0}.comment-reply-form label{font-size:13px;display:block}

.comment-thread [hidden]{display:none!important}
.comment-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comment-replies-slot{display:inline-flex}
.comment-mention{position:relative;display:inline-block;overflow:hidden;vertical-align:bottom;padding:0 4px;border-radius:4px;background:var(--mention-bg,#e8b75b);color:var(--mention-ink,#17231f);font-weight:bold;line-height:inherit}
.comment-mention:after{content:'';position:absolute;inset:-40%;pointer-events:none;background:linear-gradient(135deg,transparent 35%,#ffffff55 50%,transparent 65%);transform:translate(-140%,-140%);animation:mention-shine 12s linear infinite}
@keyframes mention-shine{0%,88%{transform:translate(-140%,-140%)}100%{transform:translate(140%,140%)}}
@media(prefers-reduced-motion:reduce){.comment-mention:after{animation:none;display:none}}
.comment .comment-parent-reference{display:block;max-width:100%;margin:0 0 10px;padding:7px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#42433f0a;border:0;border-left:2px solid #42433f45;border-radius:4px;box-shadow:none;color:var(--muted);font:inherit;font-size:12px;text-align:left;transform:none}
.comment .comment-parent-reference:hover{background:#42433f16;color:var(--text)}
.comment .comment-parent-reference:focus-visible{outline:2px solid #3577ac;outline-offset:2px}
.comment .comment-parent-mobile-only{display:none}
.comment-content{border-radius:5px;transition:background-color .2s,box-shadow .2s}
.comment-content.comment-parent-highlight{background:#e8b75b30;box-shadow:0 0 0 5px #e8b75b30}
@media(max-width:540px){.comment-replies.comment-replies-mobile-flat{margin-left:0;padding-left:0;border-left:0}.comment .comment-parent-mobile-only{display:block}}
@media(prefers-reduced-motion:reduce){.comment-content{transition:none}}

/* Comments have their own surface, separate from the profile and assessment. */
.own-profile>.comment-thread,.assessment-comments.comment-panel{background:var(--p);border:3px solid var(--line);border-radius:8px;box-shadow:0 6px 0 #42433f,0 9px 14px #42433f15}
.assessment-primary-column{display:grid;gap:24px;min-width:0;align-self:start}.assessment-primary-column>#assessmentComments:empty{display:none}
.assessment-comments.comment-panel{margin:0;padding:22px}
.assessment-comments.comment-panel>summary{font-size:18px}
.assessment-comments.comment-panel>.comment-thread{margin-top:18px;padding:0}
.assessment-comments.comment-panel>.comment-thread>h2{display:none}
@media(max-width:540px){.own-profile>.comment-thread,.assessment-comments.comment-panel{padding:17px}.assessment-primary-column{gap:20px}}

.comment-thread .comment-reply-form .comment-form-actions{flex-direction:row;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px}

.comment-timestamp{position:relative;display:inline-flex}
.comment-timestamp time{cursor:help}
.comment-date-tooltip{position:absolute;z-index:10;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);width:max-content;max-width:min(280px,calc(100vw - 32px));padding:9px 12px;border-radius:6px;background:rgba(15,18,20,.9);color:#fff;font-size:12px;line-height:1.4;font-weight:normal;text-align:center;box-shadow:0 3px 10px #0002;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .15s}
.comment-date-tooltip:after{content:'';position:absolute;left:50%;top:100%;transform:translateX(-50%);border:6px solid transparent;border-bottom:0;border-top-color:rgba(15,18,20,.9)}
.comment-timestamp:hover .comment-date-tooltip,.comment-timestamp:focus-within .comment-date-tooltip{visibility:visible;opacity:1}
.comment-timestamp time:focus-visible{outline:2px solid #3577ac;outline-offset:3px;border-radius:2px}
@media(prefers-reduced-motion:reduce){.comment-date-tooltip{transition:none}}

.comment-form-actions>.meta{margin-right:auto}

.comment-heading .comment-author{color:inherit;font-weight:700;text-decoration:none;overflow-wrap:anywhere}.comment-heading .comment-author:hover,.comment-heading .comment-author:focus-visible{text-decoration:underline}
