.cc-chat{max-width:900px;border:1px solid var(--line,#34363d);background:#181a1f;color:#f2f0ea;display:flex;flex-direction:column;min-width:0}
.cc-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #34363d}.cc-heading h3{margin:0!important}
.cc-history{height:min(55vh,540px);min-height:240px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 16px;min-width:0}
.cc-message{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid #2c3037}
.cc-message:first-child,.cc-grouped{border-top:0}.cc-grouped{padding-top:2px}.cc-grouped .cc-avatar,.cc-grouped .cc-author{visibility:hidden}.cc-grouped .cc-meta{height:20px}
.cc-avatar{width:36px;height:36px;object-fit:cover;border:1px solid #34363d}.cc-message-content{min-width:0}.cc-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cc-author{min-width:0;max-width:100%;overflow-wrap:anywhere}.cc-author.nameplate{min-width:0;max-width:100%;min-height:36px}
.cc-meta time,.cc-edited{font-size:12px;color:#adb1ba;flex:none}.cc-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:15px;margin:6px 0;color:#f2f0ea}
.cc-tools,.cc-reactions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.cc-tools{font-size:12px;margin-top:6px}.cc-chat .cc-tools button,.cc-chat .cc-reactions button,.cc-chat summary{padding:4px 8px;min-height:30px;font-size:13px;line-height:1.3}.cc-tools details{position:relative}.cc-tools summary{cursor:pointer;border:1px solid #4a505c;list-style:none;background:#101114}
.cc-emoji-picker{display:flex;flex-wrap:wrap;gap:4px;padding:8px;background:#101114;border:1px solid #636975;position:absolute;left:0;bottom:100%;z-index:3;width:190px}
.cc-reactions button[aria-pressed=true]{border-color:var(--cyan,#5cebd2);background:#243932}.cc-tools>button{background:transparent!important}
.cc-composer{display:flex;gap:10px;align-items:flex-end;padding:12px 16px;border-top:1px solid #34363d;background:#181a1f;position:sticky;bottom:0;z-index:2}.cc-composer label{flex:1;min-width:0;display:block;font-size:13px;color:#adb1ba}.cc-chat textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-height:220px;resize:vertical;background:#101114;color:#f2f0ea;border:1px solid #636975;padding:10px;font:inherit;margin-top:6px}.cc-composer>button{min-height:44px}.cc-status{font-size:14px;padding:0 16px;overflow-wrap:anywhere;margin:8px 0;min-height:1.4em}.cc-new{align-self:center;margin:6px!important}.cc-edit{white-space:normal}.cc-edit button{margin-top:8px;margin-right:8px}.cc-chat [hidden]{display:none!important}
@media(max-width:600px){.cc-history{padding:8px;height:min(45dvh,360px);min-height:180px}.cc-heading,.cc-composer{padding:10px}.cc-composer{bottom:var(--cc-clearance,0px)}.cc-message{gap:8px}.cc-tools button,.cc-chat summary{min-height:36px!important}.cc-author .member-name{white-space:normal;overflow-wrap:anywhere}.cc-emoji-picker{width:180px}.cc-meta{gap:6px}.cc-author.nameplate{padding:6px 10px!important}}
