/* Keep the title's geometry stable for both mouse hover and touch. */
.chat-list{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.chat-item{min-width:0}
.chat-item>.actions.compact-chat-actions{display:flex!important;flex:0 0 36px;gap:0;align-items:center;justify-content:flex-end}
.chat-action-source{display:none!important}
.chat-item .actions .chat-menu-trigger{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:40px;font-size:22px;flex:none}
.chat-item>.workflow-chat-copy{min-width:0;flex:1 1 0}
.chat-item .workflow-chat-copy>.title{display:block;flex:none;width:100%;unicode-bidi:plaintext}
.chat-folder-section{flex:none}
.sidebar-chat-menu{max-height:calc(100dvh - 16px);overflow-y:auto;min-width:176px}
.sidebar-chat-menu button{min-height:44px;font-size:13px;padding:10px 12px}
@media(max-width:1366px),(pointer:coarse){
 .chat-item .actions .chat-menu-trigger{width:44px;min-width:44px;height:44px}
 .chat-item>.actions.compact-chat-actions{flex-basis:44px}
 .chat-item .workflow-chat-copy>.title{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.5;max-height:3em}
}
