.item-chat-message{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;inline-size:100%;margin-inline:-0.125rem;padding-inline:0.125rem;gap:clamp(.3125rem,.1875rem + .625vw,.9375rem)}.item-chat-message{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.item-chat-message--start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.item-chat-message--start .item-chat-message__body{border-end-start-radius:0}.item-chat-message--start{flex-direction:row}.item-chat-message--end .item-chat-message__body{border-end-end-radius:0}.item-chat-message--end .item-chat-message__label--second{-webkit-margin-start:auto;margin-inline-start:auto}.item-chat-message--new .item-chat-message__body{border:.0625rem solid var(--accent-color)}.item-chat-message__avatar{-webkit-box-flex:0;-ms-flex:0 0 2.5rem;flex:0 0 2.5rem;inline-size:2.5rem;aspect-ratio:1;overflow:hidden;position:sticky;bottom:0}@media (max-width:47.99875em){.item-chat-message__avatar{-webkit-box-flex:0;-ms-flex:0 0 1.875rem;flex:0 0 1.875rem;inline-size:1.875rem}}.item-chat-message__avatar--small{-webkit-box-flex:0;-ms-flex:0 0 1.5625rem;flex:0 0 1.5625rem;inline-size:1.5625rem;border-radius:50px}.item-chat-message__content{inline-size:100%;max-inline-size:clamp(15.3125rem,10.875rem + 22.1875vw,37.5rem);min-width:0}.item-chat-message__content *{user-select:text!important}.item-chat-message__content:has(.attachments-grid) .item-chat-message__body:not(:has(.item-chat-message__text)){padding:0;border:none}.item-chat-message__top{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.3125rem;min-width:0}.item-chat-message__top:not(:last-child){-webkit-margin-after:0.625rem;margin-block-end:0.625rem}.item-chat-message__name{font-size:.875rem;font-weight:700;letter-spacing:-.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.item-chat-message__label{font-size:.875rem;letter-spacing:-.02em;color:var(--text-color-50);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.3125rem;text-align:right}.item-chat-message__label--second{font-size:.75rem;letter-spacing:-.03em}.item-chat-message__label::before{-webkit-box-flex:0;-ms-flex:0 0 1rem;flex:0 0 1rem;inline-size:1rem;aspect-ratio:1;font-size:.75rem}.item-chat-message__body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1.25rem;border-radius:var(--border-radius);background-color:var(--light-color);-webkit-box-shadow:var(--box-shadow-second);box-shadow:var(--box-shadow-second);padding:clamp(.9375rem,.875rem + .3125vw,1.25rem);border-bottom:var(--border)}.theme-dark .item-chat-message__body{background-color:var(--black-color-30)}.item-chat-message__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:.625rem}.item-chat-message__title{font-size:.875rem;font-weight:600;letter-spacing:-.03em}.item-chat-message__text{font-weight:700;letter-spacing:-.02em;line-height:1.2;font-size:clamp(.875rem, .85rem + .125vw, 1rem);white-space:break-spaces}.item-chat-message__text>p:not(:last-child){-webkit-margin-after:0.3125rem;margin-block-end:0.3125rem}@media (max-width:29.99875em){.item-chat-message__row .files-block{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.item-chat-message__row .files-item{max-inline-size:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.item-chat-message__row .files-item__preview{max-inline-size:4rem;aspect-ratio:64/45}}.item-chat-message__check{-webkit-box-flex:0;-ms-flex:0 0 0.8125rem;flex:0 0 0.8125rem;inline-size:0.8125rem;block-size:0.8125rem;color:var(--black-color-50)}.item-chat-message__check::before{font-size:.75rem}.chat__item-message:hover .reply-action-btn{opacity:1;pointer-events:all}@media (any-hover:none){.chat__item-message .reply-action-btn{opacity:1}}