#x-ai-cs-panel .x-ai-attach{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;margin-left:4px;padding:0;border:0;border-radius:10px;background:transparent;color:#08745d;font:400 24px/1 system-ui;box-shadow:none;cursor:pointer}
#x-ai-cs-panel .x-ai-attach:hover{background:#eaf7f2}
#x-ai-cs-panel .x-ai-attach:disabled{opacity:.45;cursor:not-allowed}
.x-ai-upload-preview{display:flex;align-items:center;gap:9px;padding:8px 12px;border-top:1px solid #edf0ef;background:#fff}
.x-ai-upload-preview[hidden]{display:none}
.x-ai-upload-preview img{width:52px;height:52px;border-radius:9px;object-fit:cover;border:1px solid #e0e7e4}
.x-ai-upload-preview span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#61716c;font-size:12px}
.x-ai-upload-preview button{width:28px;height:28px;border:0;border-radius:8px;background:#f0f4f3;color:#53635e;cursor:pointer}
.x-ai-content-image{max-width:240px!important;max-height:220px!important}
.upload-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;max-width:44px;padding:0;overflow:hidden;border:1px solid #dbe4e2;border-radius:10px;color:#087f6b;background:#f8fbfa;cursor:pointer}
.upload-button svg{display:block;flex:none}
.upload-button:hover{background:#eaf7f2;border-color:#087f6b}
.upload-button.disabled{opacity:.5;pointer-events:none}
.reply-image-preview{display:flex;align-items:center;gap:10px;padding:8px 18px;border-top:1px solid #e2e9e7;background:#fff}
.reply-image-preview[hidden]{display:none}
.reply-image-preview img{width:58px;height:58px;border-radius:9px;object-fit:cover;border:1px solid #dbe4e2}
.reply-image-preview span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#657671;font-size:12px}
.reply-image-preview button{width:30px;height:30px;border:0;border-radius:8px;background:#edf3f1;color:#53645f;font-size:18px;cursor:pointer}
.message-bubble.has-image{width:fit-content;min-width:0;max-width:min(70%,360px);overflow:hidden}
.message-image-frame{display:block;width:320px;max-width:100%;padding:0;border:0;background:transparent;overflow:hidden;cursor:zoom-in;margin:7px 0 3px}
.message-image{display:block;width:100%;height:auto;max-height:260px;border-radius:10px;object-fit:contain}
.message-row.admin .message-image{background:#fff}
.user-group{border-bottom:1px solid #e7eeec;background:#fff}
.user-group-header{display:flex;align-items:center;gap:9px;width:100%;padding:13px 14px;border:0;background:#fff;text-align:left;cursor:pointer}
.user-group-header:hover,.user-group.expanded>.user-group-header{background:#f2f8f6}
.user-arrow{flex:none;color:#70817c;font-size:22px;line-height:1;transition:transform .18s}
.user-group.expanded .user-arrow{transform:rotate(90deg)}
.user-copy{display:flex;min-width:0;flex:1;flex-direction:column}
.user-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172522;font-size:14px}
.user-copy small{margin-top:4px;color:#83918d;font-size:11px}
.user-side{display:flex;flex:none;align-items:flex-end;flex-direction:column;gap:5px}
.user-side time{color:#98a39f;font-size:10px;white-space:nowrap}
.user-side .badge{font-style:normal}
.user-ticket-children[hidden]{display:none}
.ticket-item.ticket-child{padding:11px 14px 11px 39px;background:#fbfcfc;border-top:1px solid #edf1f0;border-bottom:0}
.ticket-item.ticket-child:hover,.ticket-item.ticket-child.active{background:#eaf6f2}
.ticket-item.ticket-child.active:before{left:28px}
.ticket-child .ticket-top strong{font-size:12px;font-weight:600}
.ticket-child .ticket-preview{margin-top:5px;font-size:11px}
