.conversation-list-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.conversation-list-controls label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:0}.conversation-list-controls select{width:auto;min-height:34px;padding:6px 28px 6px 10px;font-size:12px}.conversation-sort-note{font-size:11px;margin:-6px 0 12px}
#thread{max-width:1240px;margin-inline:auto}#thread-title{max-width:1000px;font-size:24px;line-height:1.4;margin-bottom:12px;overflow-wrap:anywhere}#thread-body{white-space:normal}#thread-body .thread-post-meta{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;font-size:12px}.thread-post-meta>span:first-child{font-size:10px;letter-spacing:.06em;color:var(--blue);font-weight:700}.thread-post-dates{display:flex;flex-wrap:wrap;gap:5px 16px;color:var(--muted);font-size:11px;margin:7px 0 15px}.thread-original-text{white-space:pre-wrap;font-size:14px;line-height:1.75;max-width:960px;margin:0 0 8px;overflow-wrap:anywhere}.thread-content-missing{font-size:13px;color:var(--muted);border-left:2px solid var(--line);padding-left:12px}.thread-collection-details{border-top:1px solid var(--line);margin:12px 0 10px;padding-top:10px;font-size:12px}.thread-collection-details>summary{cursor:pointer;color:var(--muted)}.thread-collection-details[open]>div{padding-top:15px}.thread-collection-details .conversation-statistics>.source-engagement{display:none}
#thread-coverage{font-size:12px;color:var(--muted);margin:12px 0}#thread #metrics{display:flex;gap:28px;flex-wrap:wrap;margin:18px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}#thread #metrics .metric{border:0;background:none;padding:0;min-width:0;border-radius:0;display:flex;align-items:baseline;gap:7px}#thread #metrics .metric strong{font-size:18px}#thread #metrics .metric span{font-size:11px;color:var(--muted)}#thread .comment-order{margin:16px 0 8px}
.comment-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:10px 0 14px;max-width:1050px}.comment-tools label{font-size:11px;color:var(--muted);margin:0;flex:1;max-width:420px}.comment-tools input{min-height:36px;margin:5px 0 0;font-size:12px;padding:8px 10px}.comment-find-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.comment-find-actions button{min-width:32px;min-height:32px;padding:5px 8px;font-size:12px}.comment-match-status{font-size:11px;color:var(--muted);margin-right:4px}.comment-tree{max-width:1050px}.comment-tree .comment{padding:11px 14px;margin-left:calc(var(--comment-depth)*18px);border-left-color:var(--line)}.comment-tree .comment:hover{border-left-color:var(--blue)}.comment-tree .comment[data-depth="0"]{border-left-color:var(--blue)}.comment-tree .comment-body{margin:5px 0;line-height:1.6;font-size:13px}.comment-meta{gap:7px}.comment-meta .comment-source{margin-left:auto;font-size:10px;color:var(--muted)}.comment-parent{display:inline-block;margin:0;min-height:22px;padding:2px 0}.comment-tree .source-engagement{font-size:11px;line-height:1.5;margin:6px 0 0}.comment-tree .engagement-metrics{gap:4px 12px}.comment-tree .engagement-reactions{margin-top:4px;gap:4px}.comment-tree .engagement-reactions>span{border:0;background:var(--surface-hover);padding:1px 6px}.comment-tree .engagement-details{margin-top:4px}.comment-tree .engagement-details>summary{font-size:10px}.read-more{display:block;border:0;background:none;color:var(--blue);padding:2px 0;min-height:24px;font-size:11px}.read-more:hover{background:none;text-decoration:underline}.is-clamped:not(.has-highlights){display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.comment-body mark{background:#ffe6a0;color:#4b3200;border-radius:3px;padding:0 2px;box-decoration-break:clone}.comment-body mark.is-current{background:#ffcb53;outline:2px solid #b67b00}.comment-tree .comment:focus{outline:2px solid var(--blue);background:var(--surface-hover)}
html[data-theme="dark"] .comment-body mark{background:#655020;color:#fff1bc}html[data-theme="dark"] .comment-body mark.is-current{background:#997328;color:#fff}
#thread .engagement-details>summary,#thread .thread-collection-details>summary{padding:4px 0;line-height:1.6;font-weight:500}#thread .thread-collection-details{margin:8px 0 0;padding-top:7px}#thread-body{padding:16px}#thread .source-engagement{margin:8px 0}#thread>.secondary:not(.close){margin-right:6px}#thread .comment-tree .engagement-details>summary{padding:2px 0}html[data-theme] #thread .read-more{background:transparent;color:var(--blue);box-shadow:none}#thread .comment-tree .has-highlights+.read-more{display:none}
@media(max-width:760px){#thread-title{font-size:20px}.conversation-list-controls{align-items:flex-start;gap:8px;flex-direction:column}.comment-tools{align-items:stretch;flex-direction:column;gap:8px}.comment-tools label{max-width:none}.comment-find-actions{justify-content:flex-end}.comment-match-status{margin-right:auto}.comment-tree .comment{margin-left:calc(var(--comment-depth)*8px);padding:10px 8px}.thread-post-dates{flex-direction:column;gap:3px}#thread #metrics{gap:12px 20px}.thread-original-text{font-size:13px}}

#comment-quality{max-width:1050px;margin:16px 0;padding:14px 0;border-block:1px solid var(--line)}#comment-quality h3{font-size:15px;margin:0 0 6px}#comment-quality p{margin:6px 0}#comment-quality>details>summary{font-size:12px;color:var(--blue)}.quality-comment{padding:8px 0;border-bottom:1px solid var(--line)}.quality-comment>summary{font-size:12px;line-height:1.6;overflow-wrap:anywhere;cursor:pointer}.quality-comment>p{font-size:12px}.quality-comment button{font-size:12px;min-height:32px}

#comment-quality .bt-cq-funnel{background:var(--bt-d10-subtle,#f6f8fc);border:1px dashed var(--bt-d10-border,#dce3ee);overflow:hidden}
#comment-quality .bt-cq-funnel .badge{white-space:normal;text-align:left;max-width:100%;line-height:1.35}
#comment-quality .bt-cq-funnel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#comment-quality .bt-cq-funnel-tile{background:var(--bt-d10-surface,#ffffff);border:1px solid var(--bt-d10-border,#dce3ee);min-width:0}
#comment-quality .bt-cq-funnel-lbl{font-size:12px;font-weight:600;color:var(--bt-d10-muted,#475569)}
#comment-quality .bt-cq-funnel-val{font-size:15px;font-weight:800}
#comment-quality .bt-cq-funnel-sub{font-size:12px;color:var(--bt-d10-muted,#475569);margin-top:2px}
#comment-quality .bt-cq-item-summary{display:flex;flex-direction:column;gap:6px}
#comment-quality .bt-cq-summary-badges{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
#comment-quality .bt-cq-summary-preview{display:block;font-weight:500;color:var(--bt-d10-text,#071437);overflow-wrap:anywhere}
#comment-quality .quality-comment.is-clause-mixed{border-left:3.5px solid #d97706 !important;background:#fffbeb !important}
html[data-theme="dark"] #comment-quality .quality-comment.is-clause-mixed{border-left-color:#fbbf24 !important;background:#261f12 !important}
#comment-quality .bt-cq-clause-alert{padding:8px 10px;border-radius:8px;border:1px dashed #d97706;background:#fef3c7;color:#78350f;font-size:12px;font-weight:600;line-height:1.45}
html[data-theme="dark"] #comment-quality .bt-cq-clause-alert{border-color:#b45309;background:#3a2a0d;color:#fde68a}
@media(max-width:640px){#comment-quality .bt-cq-funnel-grid{grid-template-columns:minmax(0,1fr)}#comment-quality button,#comment-quality summary{min-height:44px}}

#comment-quality>details>div{max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px}#comment-quality>details>button{margin-top:10px}

.thread-synthesis{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.thread-synthesis form label{display:block;font-size:12px}.thread-synthesis textarea{display:block;width:100%;resize:vertical;min-height:72px;margin:6px 0 10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:inherit;font:inherit;line-height:1.6}.thread-synthesis form button{margin:0 8px 6px 0}.thread-synthesis-result h3{margin-top:14px!important}.thread-synthesis-result blockquote{margin:8px 0;padding-left:12px;border-left:2px solid var(--line)}
.thread-refresh{margin:12px 0;font-size:13px}.thread-refresh summary{cursor:pointer}.thread-refresh-fields{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.thread-refresh-fields label{display:grid;gap:5px;font-size:12px}.thread-refresh-fields input{width:145px;max-width:100%}.thread-refresh>button{margin-right:8px}.thread-refresh .hint{max-width:760px}
