.tc-message {position:relative;-webkit-touch-callout:none;}
.tc-reactions {display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:100%;}
.tc-reactions:has(.tc-reaction) {margin-top:7px;}
.tc-reactions :is(.tc-reaction,.tc-add),.tc-emoji {display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:0;border:1px solid #8884;background:transparent;color:inherit;font:inherit;cursor:pointer;letter-spacing:0;box-sizing:border-box;}
.tc-reactions .tc-reaction {min-width:38px;min-height:28px;padding:3px 8px;border-radius:8px;font-size:16px;line-height:1.2;background:#8881;}
.tc-reaction span {font-size:11px;font-weight:600;}
.tc-reaction small {font-size:9px;opacity:.75;}
.tc-reactions .tc-reaction[aria-pressed="true"] {background:#3578e525;border-color:#6098ec;}
.tc-reactions .tc-add {position:absolute;right:6px;top:6px;width:32px;height:32px;padding:7px;border-radius:8px;background:var(--td-panel,var(--surface,#18181b));color:var(--td-text,var(--text,#f4f4f5));opacity:0;pointer-events:none;transition:opacity .12s;}
.tc-message:focus-within .tc-add,.tc-add[aria-expanded="true"] {opacity:1;pointer-events:auto;}
.tc-emoji {width:38px;height:38px;flex:0 0 38px;padding:9px;border:0;border-radius:8px;color:inherit;opacity:.7;}
.tc-emoji svg,.tc-add svg {display:block;width:100%;height:100%;}
.tc-emoji:hover,.tc-emoji[aria-expanded="true"] {opacity:1;background:#8882;}
.tc-picker {position:fixed;z-index:100000;display:grid;grid-template-columns:repeat(8,36px);gap:0;padding:8px;max-width:calc(100vw - 16px);border:1px solid #8884;border-radius:8px;background:var(--td-panel,var(--surface,#18181b));color:var(--td-text,var(--text,#f4f4f5));box-shadow:0 8px 28px #0003;box-sizing:border-box;}
.tc-picker button {display:flex;align-items:center;justify-content:center;width:36px;height:40px;padding:0;border:0;border-radius:6px;background:transparent;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:24px;cursor:pointer;line-height:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
.tc-picker-reactions {grid-template-columns:repeat(8,34px);padding:6px;}
.tc-picker-reactions button {width:34px;height:38px;}
.tc-picker button:hover,.tc-picker button:focus-visible,.tc-picker button.is-pointed {background:#8883;outline:none;}
.tc-picker button:focus-visible {outline:2px solid #6098ec;outline-offset:-2px;}
.tc-reactions[aria-busy="true"] {opacity:.55;}
.tc-error {font-size:11px;color:#ef7777;flex-basis:100%;overflow-wrap:anywhere;}
.tc-jump {align-self:center;flex:0 0 auto;max-width:100%;padding:7px 12px;margin:5px auto;border:1px solid #7775;border-radius:8px;background:var(--td-panel,var(--surface,#18181b));color:var(--td-text,var(--text,#f4f4f5));font:inherit;font-size:12px;cursor:pointer;}
.tc-jump[hidden] {display:none!important;}
.tc-reactions button:focus-visible,.tc-emoji:focus-visible,.tc-jump:focus-visible {outline:2px solid #6098ec;outline-offset:2px;}
.public-help .tc-picker,.public-help .tc-add {background:#fbfbf9;color:#161616;}
.public-help .attachment-picker {gap:2px;flex-wrap:wrap;margin:0 0 12px;padding:2px 0;}
.public-help .attachment-picker .attach-btn {width:38px;height:38px;border:0;background:transparent;color:#646461;}
.public-help .attachment-picker .attach-btn:hover {background:#0001;color:#161616;}
.public-help .attachment-hint {flex:1 1 160px;margin-left:8px;font-size:11px;}
.public-help .tc-emoji {color:#646461;}
.public-help .form-group:has(#ticketDesc) {margin-bottom:8px!important;}
.public-help #replyText {margin-bottom:8px!important;}
.public-help .ai-state[hidden] {display:none!important;}
@media (hover:hover) and (pointer:fine) {.tc-message:hover .tc-add {opacity:1;pointer-events:auto;}}
@media (max-width:400px) {.tc-picker:not(.tc-picker-reactions) {grid-template-columns:repeat(8,34px)}.tc-picker:not(.tc-picker-reactions) button {width:34px}}
@media (prefers-reduced-motion:reduce) {.tc-add {transition:none!important;}}
