/* Original emoji-style artwork. Only our known captions map to this sprite. */
.kf-reaction-inline{display:inline-block;width:1.7em;height:1.7em;margin-inline:1px;vertical-align:-.41em;line-height:1;white-space:nowrap}
.kf-reaction-inline svg{display:block;width:100%;height:100%;pointer-events:none}
.kf-reaction-editor{
 display:block;box-sizing:border-box;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
 white-space:pre-wrap;overflow-wrap:anywhere;text-align:start;font:inherit;line-height:1.5;cursor:text;
}
.kf-reaction-editor[data-empty=true]::before{content:attr(data-placeholder);color:#60738c;pointer-events:none}
.kf-reaction-editor:focus{outline:none}
.kf-reaction-editor[hidden]{display:none!important}
.kf-reaction-editor .kf-reaction-inline{height:1.5em;width:1.5em;vertical-align:-.31em;user-select:all}
#view-chats #composer .cbox .kf-reaction-editor#input{flex:1 1 0;width:0;max-height:110px;caret-color:var(--chat-accent,#205ead)}
.ui-visitor .composer .box .kf-reaction-editor#input{
 flex:1 1 0;width:0;min-height:36px;max-height:max(36px,min(104px,16cqh));padding:7px 8px;border-radius:5px;
 font-size:14px;color:var(--vc-ink,#243550);caret-color:var(--vc-accent,#205ead);
}
#send-form .kf-reaction-editor#message-input{height:auto;caret-color:var(--blue,#205ead);line-height:1.5}
@media (max-width:820px), (pointer:coarse){
 .ui-visitor .composer .box .kf-reaction-editor#input,#send-form .kf-reaction-editor#message-input{font-size:16px}
}
@media (max-width:820px),(pointer:coarse) and (orientation:landscape) and (max-width:1024px) and (max-height:500px){
 #view-chats #composer .cbox .kf-reaction-editor#input{flex:0 0 auto;width:100%;max-height:100px}
}
@container visitor-chat (max-height:480px){.ui-visitor .composer .box .kf-reaction-editor#input{max-height:max(36px,min(74px,15cqh))}}
.composer .kf-reaction-panel[hidden],#quick-attachment-draft[hidden]{display:none!important}
.composer .kf-reaction-panel.show{
 position:absolute;z-index:18;bottom:calc(100% + 5px);left:max(8px,env(safe-area-inset-left,0px));
 display:block;box-sizing:border-box;width:min(310px,calc(100% - 16px));max-width:calc(100% - 16px);
 max-height:min(274px,53dvh);padding:7px 8px 9px;overflow:auto;overscroll-behavior:contain;
 border:1px solid #cad9ec;border-radius:12px;background:#fff;color:#1b2b42;
 box-shadow:0 9px 28px #263d6026;scrollbar-width:thin;
}
.composer .kf-reaction-head{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:0 2px 4px;font-size:12px;line-height:1.5}
.composer .kf-reaction-head .kf-reaction-close{display:grid;place-items:center;width:32px;min-height:30px;padding:0;border:1px solid #dce5f1;border-radius:6px;background:#f7faff;color:#3d536e;font:inherit;font-size:18px;cursor:pointer}
.composer .kf-reaction-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:2px 0 6px}
.composer .kf-reaction-groups .kf-reaction-group{
 min-width:0;min-height:34px;padding:3px 0;border:1px solid #dae5f3;border-radius:6px;background:#fff;color:#3a4d66;
 font:inherit;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;
}
.composer .kf-reaction-groups .kf-reaction-group[aria-pressed=true]{border-color:#b0c9ee;background:#e7f0ff;color:#214f98}
.composer .kf-reaction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.composer .kf-reaction-grid .kf-reaction-option{
 display:grid;justify-items:center;align-content:center;gap:1px;margin:0;padding:3px 1px;min-width:0;min-height:44px;
 border:1px solid transparent;border-radius:7px;background:#f7faff;color:#293c58;
 font-family:inherit;font-size:10px;line-height:1.2;text-align:center;white-space:nowrap;cursor:pointer;
}
.composer .kf-reaction-option svg{display:block;width:29px;height:29px;flex:none}
.composer .kf-reaction-grid .kf-reaction-option:hover{border-color:#c8d8f2;background:#eaf2ff}
.composer .kf-reaction-panel button:focus-visible{outline:2px solid #3764bf;outline-offset:-2px}
#send-form.composer{position:relative}
#quick-attachment-draft{
 display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:4px 7px;margin:0 0 3px;
 border:1px solid #c7d8f2;border-radius:7px;background:#edf3fe;color:#29456e;font-size:12px;
}
#quick-attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#quick-attachment-remove{flex:none;min-height:28px;padding:2px 7px;color:#1a47a2}
.quick-attachment-hint{display:block;margin:2px 0;color:#435b7c;font-size:12px}
@media(max-height:420px){.composer .kf-reaction-panel.show{max-height:min(185px,46dvh)}}
@media(pointer:coarse){.composer .kf-reaction-head .kf-reaction-close{min-height:34px;width:34px}.composer .kf-reaction-groups .kf-reaction-group{min-height:40px}}
@media(max-width:300px){.composer .kf-reaction-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
