.chat{background-color:var(--bg-grey-color);border-radius:var(--border-radius);border:var(--border);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative}.chat--hide .chat__body{max-height:0}.chat--service{border:none}.chat--service .chat__top{border:var(--border);border-radius:var(--border-radius)}.chat--service .chat__header{border-radius:inherit}.chat--selected .chat__top{border-color:var(--green-color)}.chat--new .chat__top{border-color:var(--accent-color)}.chat._open-chat .chat__toggler::before{rotate:180deg}.theme-dark .chat{background-color:var(--grey-color)}.chat__header{position:relative}.chat__header .h5{margin-bottom:0}@media (max-width:47.99875em){.chat__message-pinned{display:none!important}}.chat__body{block-size:100%;inline-size:100%;max-inline-size:78.4375rem;margin-inline:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;-webkit-transition:max-height var(--trans-elem);transition:max-height var(--trans-elem);padding-inline:clamp(0.625rem,0.5rem + 0.625vw,1.25rem);padding-bottom:10px}.chat__content{block-size:100%;max-block-size:calc(100% - 6.375rem);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-before:clamp(0.9375rem,0.875rem + 0.3125vw,1.25rem);padding-block-start:clamp(0.9375rem,0.875rem + 0.3125vw,1.25rem)}.chat__messages{overflow:auto;scrollbar-width:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:clamp(1.25rem,1.125rem + .625vw,1.875rem)}.chat__bottom{padding-block:1.25rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.chat__bottom--second{border:none;padding-block:0.9375rem}.chat__bottom--second .btn-round{-webkit-box-flex:0;-ms-flex:0 0 1.875rem;flex:0 0 1.875rem;inline-size:1.875rem;block-size:1.875rem;background-color:var(--grey-color);color:var(--black-color-50);border-radius:.3125rem}.chat__bottom--second .btn-round::before{font-size:1.125rem}@media (any-hover:hover){.chat__bottom--second .btn-round:hover{background-color:var(--text-color-15)}.theme-dark .chat__bottom--second .btn-round:hover{background-color:var(--black-color-20)}}.theme-dark .chat__bottom--second .btn-round{background-color:#7d7e7f;color:var(--bg-color)}.chat__bottom--second textarea.chat__input{padding-block:0.3125rem;min-block-size:1.875rem;-webkit-padding-end:5rem;padding-inline-end:5rem}.chat__bottom--second .item-chat-message{gap:.3125rem}.chat__bottom--second .item-chat-message--start .item-chat-message__body{-webkit-box-shadow:var(--box-shadow-second);box-shadow:var(--box-shadow-second);background-color:var(--light-color)}.chat__bottom--second .item-chat-message__top:not(:last-child){-webkit-margin-after:0.375rem;margin-block-end:0.375rem}.chat__bottom--second .item-chat-message__label{font-size:.75rem;-webkit-margin-start:auto;margin-inline-start:auto}.chat__bottom--second .item-chat-message__body{padding:.9375rem;padding-block:0.625rem;background-color:var(--grey-color)}.chat__bottom--second .item-chat-message__text{font-size:.875rem;letter-spacing:-.03em;line-height:1.15;font-weight:700}@media (max-width:29.99875em){.chat__bottom--second .item-chat-message__row .files-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.chat__bottom--second .item-chat-message__row .files-item__preview{max-inline-size:100%}}.chat__wrapper{position:relative;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow-second);box-shadow:var(--box-shadow-second);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-block:0.3125rem;padding-inline:0.625rem;background-color:var(--light-color);border:.0625rem solid transparent;-webkit-transition:border-color var(--trans-elem);transition:border-color var(--trans-elem)}.chat__wrapper:focus-within{border-color:var(--text-color)}.theme-dark .chat__wrapper{background-color:var(--black-color-30)}.chat__input{border:none;outline:0;background-color:transparent!important;font-size:.875rem;font-weight:600;inline-size:100%;-webkit-padding-end:1.25rem;padding-inline-end:1.25rem;color:var(--text-color);line-height:1.1}.chat__input::-webkit-input-placeholder{letter-spacing:-.03em;color:var(--black-color-50);opacity:1;-webkit-transition:opacity var(--trans-elem);transition:opacity var(--trans-elem)}.chat__input::-moz-placeholder{letter-spacing:-.03em;color:var(--black-color-50);opacity:1;-moz-transition:opacity var(--trans-elem);transition:opacity var(--trans-elem)}.chat__input:-ms-input-placeholder{letter-spacing:-.03em;color:var(--black-color-50);opacity:1;-ms-transition:opacity var(--trans-elem);transition:opacity var(--trans-elem)}.chat__input::-ms-input-placeholder{letter-spacing:-.03em;color:var(--black-color-50);opacity:1;-ms-transition:opacity var(--trans-elem);transition:opacity var(--trans-elem)}.chat__input::placeholder{letter-spacing:-.03em;color:var(--black-color-50);opacity:1;-webkit-transition:opacity var(--trans-elem);transition:opacity var(--trans-elem)}.chat__input:focus-visible::-webkit-input-placeholder{opacity:0}.chat__input:focus-visible::-moz-placeholder{opacity:0}.chat__input:focus-visible:-ms-input-placeholder{opacity:0}.chat__input:focus-visible::-ms-input-placeholder{opacity:0}.chat__input:focus-visible::placeholder{opacity:0}.chat textarea.chat__input{resize:none;padding-block:0.5rem;min-block-size:2.5rem;scrollbar-width:none;-webkit-padding-end:6.25rem;padding-inline-end:6.25rem}.chat__actions{position:absolute;bottom:auto;right:.625rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.625rem}.chat__file-item{position:relative;cursor:pointer}.chat__file-item *{cursor:pointer}.chat__file-input{position:absolute;top:0;left:0;opacity:0;font-size:0}.chat__file-btn{cursor:pointer;color:var(--black-color-50)}.chat__btn-action{border-radius:.3125rem}.chat__info-block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:fit-content;flex-wrap:wrap;gap:10px;padding:20px 25px;max-width:488px;background-color:var(--bg-color);margin:0 auto;border-radius:var(--border-radius)}.theme-dark .chat__info-block{background-color:var(--white5)}.chat__info-block .btn{width:214px}.chat__descr-block{font-size:.875rem;font-weight:600;max-inline-size:23.125rem;border-radius:var(--border-radius);background-color:var(--grey-color);padding-block:1.25rem;padding-inline:0.9375rem;text-align:center;line-height:1.1}.chat__descr-block--second{max-inline-size:29.0625rem}.chat__review{inline-size:100%;max-inline-size:26.625rem}.chat__toggler{position:absolute;bottom:-.75rem;left:50%;translate:-50% 0;inline-size:1.5rem;aspect-ratio:1;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grey-color)!important;border-radius:50%;-webkit-transition:background-color var(--trans-elem),color var(--trans-elem);transition:background-color var(--trans-elem),color var(--trans-elem)}.chat__toggler::before{font-size:.75rem!important;-webkit-transition:rotate var(--trans-elem);transition:rotate var(--trans-elem)}.chat__toggler:focus-visible{outline:.125rem dashed currentColor;outline-offset:0.125rem;background-color:var(--text-color);color:var(--light-color)}@media (any-hover:hover){.chat__toggler:hover{background-color:var(--text-color);color:var(--light-color)}}.task-card__toggler{position:absolute;left:50%;bottom:-.75rem;translate:-50% 0;inline-size:1.5rem;block-size:1.5rem;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--grey-color)!important;-webkit-transition:background-color var(--trans-elem),color var(--trans-elem);transition:background-color var(--trans-elem),color var(--trans-elem);cursor:pointer}.task-card__toggler::before{font-size:.75rem!important;-webkit-transition:scarotatelrotatee var(--trans-elem);transition:rotate var(--trans-elem)}@media (any-hover:hover){.task-card__toggler:hover{background-color:var(--bg-grey-color)}.theme-dark .task-card__toggler:hover{color:var(--text-color);background-color:var(--light-blue-color)}}.theme-dark .task-card__toggler{background-color:var(--light-color-15)}._open-card-task .task-card__toggler::before{rotate:-180deg}@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}.new-messages{display:inline-block;background-color:var(--accent-color)!important;animation:bounce 1s infinite}.new-messages:hover{animation:none}.header-chat{background-color:var(--light-color);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:1.25rem}.header-chat--order{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);padding-block:0.9375rem;padding-inline:clamp(0.9375rem,0.75rem + 0.9375vw,1.875rem)}@media (max-width:61.99875em){.header-chat__profile{position:relative;z-index:2}}.header-chat__title{text-align:center}@media (min-width:61.99875em){.header-chat__title::before{display:none}}@media (max-width:61.99875em){.header-chat__title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;gap:.4375rem}.header-chat__title::before{-webkit-box-flex:0;-ms-flex:0 0 1.5rem;flex:0 0 1.5rem;inline-size:1.5rem;aspect-ratio:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:.875rem;-webkit-transition:rotate var(--trans-elem);transition:rotate var(--trans-elem)}}@media (max-width:29.99875em){.header-chat__title{display:none}}.header-chat__buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.9375rem}@media (min-width:61.99875em){.header-chat__button{display:-webkit-box;display:-ms-flexbox;display:flex}.header-chat__button:first-of-type{padding-inline:clamp(1.5625rem,1.25rem + 1.5625vw,3.125rem)}.header-chat__button:nth-of-type(2){padding-inline:clamp(1.5625rem,1.375rem + 0.9375vw,2.5rem)}}@media (max-width:61.99875em){.header-chat__button{display:none}}@media (min-width:61.99875em){.header-chat__button--hide{display:none}}@media (max-width:61.99875em){.header-chat__button--hide{position:relative;z-index:2;display:-webkit-box;display:-ms-flexbox;display:flex;padding-inline:1.5625rem}}@media (max-width:29.99875em){.header-chat__button--hide{display:none}}.header-chat__open{-webkit-transition:background-color var(--trans-elem);transition:background-color var(--trans-elem)}@media (min-width:61.99875em){.header-chat__open{display:none}}@media (max-width:61.99875em){.header-chat__open{position:absolute;inset:0;opacity:0}}@media (max-width:29.99875em){.header-chat__open{position:relative;opacity:1;inline-size:1.875rem;block-size:1.875rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;background-color:var(--bg-grey-color)}.header-chat__open::before{rotate:90deg}}@media (any-hover:hover){.header-chat__open:hover{background-color:var(--grey-color)}}.header-chat__open--visible{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;background-color:var(--bg-grey-color);color:var(--black-color-50)}.header-chat__open--visible::before{rotate:90deg}.header-chat__inner{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}.header-chat__buttons-action{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.3125rem}.header-chat__button-action{-webkit-box-flex:0;-ms-flex:0 0 1.875rem;flex:0 0 1.875rem;inline-size:1.875rem;color:var(--black-color-50)}.header-chat__button-action::before{font-size:1.125rem;-webkit-transition:color var(--trans-elem);transition:color var(--trans-elem)}.header-chat__button-action--selected::before{color:var(--accent-color)}@media (min-width:47.99875em){.header-chat__main{max-inline-size:39.125rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.625rem}}@media (max-width:47.99875em){.header-chat__main{display:none}}.header-chat__text{font-weight:600;font-size:.875rem;letter-spacing:-.03em;color:var(--text-color-70);display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:6;-webkit-transition:all var(--trans-elem);transition:all var(--trans-elem)}._open-text .header-chat__text{-webkit-line-clamp:unset}.theme-dark .header-chat__text{color:var(--text-color-50)}.header-chat__more-btn{font-size:.875rem;font-weight:600;letter-spacing:-.03em;-ms-flex-item-align:start;-ms-grid-row-align:start;align-self:start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;gap:.5rem;-webkit-transition:color var(--trans-elem);transition:color var(--trans-elem)}.header-chat__more-btn::before{font-size:.8125rem;-webkit-transition:rotate var(--trans-elem);transition:rotate var(--trans-elem)}._open-text .header-chat__more-btn::before{rotate:180deg}@media (any-hover:hover){.header-chat__more-btn:hover{color:var(--text-color-70)}}.header-chat__right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.9375rem}@media (min-width:47.99875em){.header-chat__right{-ms-flex-item-align:start;-ms-grid-row-align:start;align-self:start;-webkit-box-flex:0;-ms-flex:0 0 13.5rem;flex:0 0 13.5rem}}.header-chat__info{letter-spacing:-.03em;font-size:.875rem;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.9375rem}@media (max-width:29.99875em){.header-chat__info{display:none}}.header-chat__info-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.4375rem}.header-chat__info-label{color:var(--text-color-70)}.theme-dark .header-chat__info-label{color:var(--text-color-50)}@media (max-width:29.99875em){.header-chat__btn{font-size:.75rem}}.chat-component{border:1px solid var(--freelance_color);border-radius:var(--border-radius);display:flex;flex-direction:column;position:relative;overflow:hidden;width:100%}.message-list{padding:5px;overflow-y:auto;flex-grow:1;display:flex;flex-direction:column;gap:16px;max-height:220px;overflow-x:hidden}.message-item{display:flex;align-items:flex-start;gap:10px;max-width:85%;border-radius:var(--border-radius);transition:all .3s}.avatar{border-radius:100%;flex-shrink:0;overflow:hidden}.message-content{display:flex;flex-direction:column;width:100%}.message-header{display:flex;align-items:flex-end;gap:8px;margin-bottom:5px}.username{font-weight:600;font-size:12px}.timestamp{font-size:10px;color:#888}.message-bubble{background-color:var(--freelance_color);border-radius:var(--border-radius);padding:5px 10px;font-size:12px;line-height:1.4;word-break:break-word;position:relative}.message-item.is-current-user{align-self:flex-end;flex-direction:row-reverse}.message-item.is-current-user .message-header{flex-direction:row-reverse}.message-item.is-current-user .message-bubble{background-color:var(--color11)}.chat-composer{border-top:1px solid var(--freelance_color);padding:5px 10px;z-index:2}.reply-section{display:flex;align-items:center;gap:10px}.reply-section textarea{flex-grow:1;border:none;outline:0;background:0 0;font-size:12px;height:36px}.attach-btn,.send-btn{background:0 0;border:none;color:#6c757d;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,color .2s;flex-shrink:0;transition:all .3s}.send-btn:hover{color:#000;background-color:#f1f3f5}.attach-btn:hover{background-color:#f1f3f5;color:#000}.send-btn{color:#fff;font-size:12px;font-weight:700}.send-btn:disabled{opacity:.5}.attachments-grid,.pending-attachments-list{display:flex;flex-direction:column;gap:8px}.attachments-grid{margin-top:8px}.pending-attachments-list{margin-bottom:8px;padding:8px;background-color:var(--grey-color);border-radius:8px;max-height:150px;overflow-y:auto;margin-top:8px}.theme-dark .pending-attachments-list{background-color:var(--bg-grey-color)}.attachment-image,.attachment-thumbnail{max-width:167px;max-height:105px;object-fit:contain;border-radius:10px;cursor:pointer}.attachment-file{display:flex;align-items:center;gap:8px;padding:8px;background-color:rgba(0,0,0,.05);border-radius:8px;cursor:pointer;transition:background-color .2s;max-width:250px}.attachment-file:hover{background-color:rgba(0,0,0,.1)}.pending-attachment{display:flex;align-items:center;gap:8px;font-size:13px}.pending-thumbnail{width:32px;height:32px;object-fit:cover;border-radius:4px}.remove-btn{margin-left:auto;background:0 0;border:none;font-size:20px;cursor:pointer;color:#666;padding:0 4px}.file-icon{background-color:#adb5bd;color:#fff;padding:4px 6px;border-radius:4px;font-size:10px;font-weight:700;flex-shrink:0}.file-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messages_loading{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:5;background:rgba(255,255,255,.7)}@keyframes shimmer{100%{transform:translateX(100%)}}.skeleton-box{position:relative;overflow:hidden;background-color:#e2e8f0;border-radius:var(--border-radius)}.skeleton-box::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,transparent,#f1f5f9,transparent);transform:translateX(-100%);animation:shimmer 1.5s infinite}.skeleton .avatar{border-radius:50%}.skeleton .username{height:14px;width:100px}.skeleton .message-bubble{background-color:transparent;padding:5px 0;display:flex;flex-direction:column;gap:6px}.skeleton .message-bubble .skeleton-box{height:12px}.reply-action-btn{background:#f1f3f5;border:none;border-radius:50%;width:24px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#868e96;cursor:pointer!important;opacity:0;transition:opacity .2s,background-color .2s}.reply-action-btn>*{pointer-events:none}.message-item:hover .reply-action-btn{opacity:1}.reply-action-btn:hover{background:#e9ecef;color:#000}.message-item:not(.is-current-user) .reply-action-btn:first-of-type{margin-left:auto}.message-item.is-current-user .reply-action-btn{margin-right:auto}.replied-message{padding:6px 8px;margin-bottom:6px;background-color:rgba(0,0,0,.05);border-left:2px solid #adb5bd;border-radius:4px;cursor:pointer}.message-item.is-current-user .replied-message{border-left-color:var(--color9)}.replied-message:hover{background-color:rgba(0,0,0,.08)}.replied-user{font-size:11px;font-weight:600;color:#495057}.replied-text{font-size:11px;color:#868e96;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reply-preview{display:flex;align-items:flex-start;padding:8px;margin-top:8px;background:var(--bg-color);border-radius:8px;border-left:3px solid var(--color9)}.reply-preview-content{flex-grow:1}.reply-preview-user{font-size:12px;font-weight:600}.reply-preview-text{font-size:12px;color:#6c757d;margin:2px 0 0;overflow:hidden;text-overflow:ellipsis;word-break:break-all;max-width:100%;max-height:30px}.cancel-reply-btn{margin-left:10px;background:0 0;border:none;font-size:20px;cursor:pointer;color:#666;padding:0 4px;align-self:center}.message-highlighted{animation:highlight 1.5s ease-out}@keyframes highlight{0%{background-color:#feac4f70}100%{background-color:transparent}}.empty_messages{width:100%;height:100%;display:flex;align-items:center;justify-content:center;opacity:.5;text-align:center}.message-bubble-text{white-space:pre-wrap}.message-bubble,.message-bubble *{user-select:text!important}.not_readed{background:#feac4f70}.remove_message{color:red;opacity:0;cursor:pointer;transition:all .3s;padding:7px}.message-item:hover .remove_message,.remove_message:hover{opacity:1}.message_deleted{opacity:.5}.chat_notifications{margin-top:20px;position:fixed;bottom:190px;width:100%;max-width:calc(100% - 335px);right:20px;padding-top:15px}.chat_notifications .order-aside__works-review{margin:0 auto!important}.item-chat-message-notification{text-align:center;justify-content:center!important;align-items:center}@media (max-width:991px){.chat_notifications{max-width:calc(100% - 40px)}}