/* Figma Telegram Chats, 375 × 812, nodes 0:3515 and 0:5645.
   Account provenance and CRM controls remain visible beneath the message row. */
.client-inbox-workspace .client-shell.inbox .client-list-tools>.search img{
  display:block;flex:none;width:auto;height:auto;max-width:none;margin:0 2px 0 4px;
}
:root[data-theme="light"] .client-inbox-workspace .client-shell.inbox .client-list-tools>.search img,
:root[data-business-theme="light"] .client-inbox-workspace .client-shell.inbox .client-list-tools>.search img{filter:invert(1)}
@media(max-width:710px){
 .client-inbox-workspace .client-shell.inbox .list-pane{background:var(--surface)}
 .client-inbox-workspace .client-shell.inbox .client-list-tools>.search{
   height:36px!important;min-height:36px!important;border-radius:10px!important;
   gap:5px!important;padding:0 8px!important;
   background:color-mix(in srgb,var(--txt) 6%,var(--surface))!important;
 }
 .client-inbox-workspace .client-shell.inbox .client-list-tools>.search input{
   font-size:14px!important;line-height:20px!important;
 }
 .client-inbox-workspace .client-shell.inbox #conversations{padding:0 0 72px!important}
 .client-inbox-workspace .client-shell.inbox .client-card{
   grid-template-columns:60px minmax(0,1fr)!important;column-gap:10px!important;
   row-gap:4px!important;min-height:106px;margin:0!important;padding:8px 10px 5px!important;
   border:0!important;border-radius:0!important;box-shadow:none!important;
   position:relative;
 }
 .client-inbox-workspace .client-shell.inbox .client-card::after{
   content:"";position:absolute;bottom:0;left:80px;right:0;
   border-bottom:1px solid color-mix(in srgb,var(--txt) 9%,transparent);
   pointer-events:none;
 }
 .client-inbox-workspace .client-shell.inbox .client-card.selected{
   background:color-mix(in srgb,var(--blue) 12%,var(--surface))!important;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-avatar,
 .client-inbox-workspace .client-shell.inbox .client-card[data-kind="groups"] .client-card-avatar{
   width:60px;height:60px;border-radius:50%;font-size:23px;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-heading{height:22px;gap:8px}
 .client-inbox-workspace .client-shell.inbox .client-card-name{line-height:21px}
 .client-inbox-workspace .client-shell.inbox .client-card-name strong{
   font-size:16px!important;line-height:21px!important;font-weight:650;letter-spacing:-.3px;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-heading time{
   max-width:66px;font-size:12px;line-height:18px;font-variant-numeric:tabular-nums;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-account{height:16px;margin-top:1px}
 .client-inbox-workspace .client-shell.inbox .client-account-tag{font-size:11px;line-height:16px}
 .client-inbox-workspace .client-shell.inbox .client-card-preview{
   margin-top:0;font-size:14px;line-height:19px;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-preview span{
   max-height:19px;-webkit-line-clamp:1;white-space:normal;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-controls{
   grid-column:2!important;grid-template-columns:27px minmax(0,1.1fr) minmax(0,1fr)!important;
   margin:0!important;gap:5px!important;
 }
 .client-inbox-workspace .client-shell.inbox .client-card-analysis,
 .client-inbox-workspace .client-shell.inbox .client-card-controls select,
 .client-inbox-workspace .client-shell.inbox .client-card-controls>.client-case-scope{
   min-height:27px!important;height:27px!important;max-height:27px!important;
 }
}
@media(max-width:390px){
 .client-inbox-workspace .client-shell.inbox .client-card{column-gap:9px!important;padding-inline:8px!important}
 .client-inbox-workspace .client-shell.inbox .client-card::after{left:77px}
}
