.area-chat{position:fixed;right:22px;bottom:22px;z-index:1200;display:grid;justify-items:end;gap:12px;font-family:inherit}.area-chat[hidden],.area-chat__panel[hidden],.area-chat__launcher b[hidden],.area-chat__header button[hidden],.area-chat__composer[hidden],.area-chat__error[hidden]{display:none!important}.area-chat__launcher{position:relative;width:58px;height:58px;border:0;border-radius:50%;color:#fff;background:linear-gradient(145deg,#0872ce,#064c8c);box-shadow:0 12px 32px #04376352;font-size:24px;cursor:pointer}.area-chat__launcher:hover{transform:translateY(-2px)}.area-chat__launcher-icon{display:grid;place-items:center}.area-chat__bubble-icon{width:32px;height:32px;overflow:visible}.area-chat__bubble-icon path{fill:#fff}.area-chat__bubble-icon circle{fill:#0872ce}.area-chat__close-icon{display:none;font-size:30px;line-height:1}.area-chat__launcher[aria-expanded=true] .area-chat__bubble-icon{display:none}.area-chat__launcher[aria-expanded=true] .area-chat__close-icon{display:block}.area-chat__launcher b{position:absolute;right:-3px;top:-4px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border:2px solid #fff;border-radius:999px;color:#fff;background:#df2638;font-size:11px}.area-chat__panel{width:min(370px,calc(100vw - 28px));height:min(590px,calc(100vh - 110px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #d7e1ea;border-radius:18px;background:#fff;box-shadow:0 24px 70px #05254247}.area-chat__header{min-height:68px;margin:0;display:flex;align-items:center;gap:10px;padding:12px 14px;color:#fff;background:linear-gradient(110deg,#063b70,#0872ce)}.area-chat__header>div{display:grid;gap:2px;min-width:0;flex:1}.area-chat__header b,.area-chat__header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.area-chat__header span{font-size:11px;opacity:.8}.area-chat__header button{width:34px;height:34px;padding:0;border:0;border-radius:50%;color:#fff;background:#ffffff1c;font-size:24px;cursor:pointer}.area-chat__body{min-height:0;overflow-y:auto;padding:8px}.area-chat__contact{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:0;border-radius:12px;text-align:left;background:transparent;cursor:pointer}.area-chat__contact:hover{background:#eef7ff}.area-chat__avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#0865ad;background:#dff1ff;font-size:12px;font-weight:800}.area-chat__identity{display:grid;gap:3px;min-width:0}.area-chat__identity b,.area-chat__identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.area-chat__identity b{color:#153852;font-size:13px}.area-chat__identity small{color:#6d7f8f;font-size:10px}.area-chat__contact-badge{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;color:#fff;background:#df2638;font-size:10px;font-weight:800}.area-chat__body.conversation{display:flex;flex-direction:column;gap:8px;padding:14px;background:#f4f8fb}.area-chat__message{align-self:flex-start;max-width:82%;padding:9px 11px;border-radius:4px 14px 14px 14px;color:#18384f;background:#fff;box-shadow:0 2px 8px #1c496a10}.area-chat__message.own{align-self:flex-end;border-radius:14px 4px 14px 14px;color:#fff;background:#0872ce}.area-chat__message p{margin:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4;white-space:pre-wrap}.area-chat__message time{display:block;margin-top:4px;text-align:right;font-size:9px;opacity:.7}.area-chat__attachment{display:block;width:min(240px,100%);max-height:280px;object-fit:cover;border-radius:10px}.area-chat__attachment-button{display:block;max-width:100%;padding:0;border:0;border-radius:10px;background:transparent;cursor:zoom-in}.area-chat__attachment-button:focus-visible{outline:3px solid #80c8ff;outline-offset:2px}.area-chat__composer{display:grid;grid-template-columns:40px minmax(0,1fr) 42px;align-items:end;gap:8px;padding:11px 12px 12px;border-top:1px solid #e1e8ee;background:#fff}.area-chat__attach{display:grid;place-items:center;width:40px;height:40px;align-self:end;margin:0;border:1px solid #c9d9e7;border-radius:12px;color:#0872ce;background:#edf7ff;cursor:pointer}.area-chat__attach:hover{border-color:#0872ce;background:#e1f1ff}.area-chat__attach svg{width:20px;height:20px}.area-chat__input{width:100%;min-width:0;height:50px;padding:0 13px;border:1px solid #cbd8e2;border-radius:999px;outline:none;font:inherit}.area-chat__input:focus{border-color:#0872ce;box-shadow:0 0 0 3px #0872ce18}.area-chat__send{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;color:#fff;background:#0872ce;cursor:pointer}.area-chat__send svg{width:21px;height:21px}.area-chat__send:disabled{opacity:.45;cursor:not-allowed}.area-chat__attachment-preview{grid-column:1/-1;display:grid;grid-template-columns:50px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:7px 8px;border:1px solid #d5e8f6;border-radius:12px;color:#31536c;background:#f0f8fe;font-size:11px}.area-chat__attachment-preview[hidden]{display:none!important}.area-chat__attachment-preview img{width:50px;height:42px;object-fit:cover;border-radius:8px}.area-chat__attachment-preview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.area-chat__attachment-preview button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;color:#637b8e;background:#fff;font-size:18px;cursor:pointer}.area-chat__status{margin:auto;padding:24px;color:#718292;text-align:center;font-size:12px}.area-chat__error{grid-row:4;margin:0;padding:7px 12px;color:#a61b2b;background:#fff1f2;font-size:11px}.area-chat__image-viewer{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:20px;background:#031423d1;cursor:zoom-out}.area-chat__image-viewer[hidden]{display:none}.area-chat__image-viewer-content{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(960px,100%);max-height:calc(100vh - 40px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 80px #00000073;cursor:default}.area-chat__image-viewer-content header{min-height:52px;margin:0;display:flex;align-items:center;gap:16px;padding:8px 10px 8px 18px;color:#fff;background:linear-gradient(110deg,#063b70,#0872ce)}.area-chat__image-viewer-content header span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.area-chat__image-viewer-content header button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;color:#fff;background:#ffffff29;font-size:25px;cursor:pointer}.area-chat__image-viewer-content>img{display:block;max-width:100%;max-height:calc(100vh - 92px);margin:auto;object-fit:contain}@media(max-width:600px){.area-chat{right:14px;bottom:14px}.area-chat__panel{height:min(620px,calc(100vh - 90px))}.area-chat__launcher{width:54px;height:54px}.area-chat__image-viewer{padding:10px}.area-chat__image-viewer-content{max-height:calc(100vh - 20px)}.area-chat__image-viewer-content>img{max-height:calc(100vh - 72px)}}

.area-chat__header #chat-manage-group{width:32px;height:32px;font-size:20px;flex:0 0 auto}.area-chat__group-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;overflow:hidden;border-radius:12px;color:#0865ad;background:#dff1ff;font-size:18px}.area-chat__group-avatar>span,.area-chat__group-avatar>img{display:grid;width:100%;height:100%;place-items:center;object-fit:cover}.area-chat__avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.area-chat__management-dialog{grid-template-rows:auto;align-content:start;overflow-y:auto}.area-chat__management-dialog>section{display:grid;gap:5px;color:#29475d;font-size:12px}.area-chat__management-dialog>section>small{color:#718291;font-size:10px}.area-chat__management-photo{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;background:#f3f8fb}.area-chat__management-photo>span{display:grid;place-items:center;width:50px;height:50px;flex:0 0 50px;overflow:hidden;border-radius:14px;color:#0865ad;background:#dff1ff;font-size:22px}.area-chat__management-photo>span img{width:100%;height:100%;object-fit:cover}.area-chat__management-photo>div{display:grid;gap:4px;min-width:0}.area-chat__management-photo b{overflow:hidden;color:#193d56;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.area-chat__management-photo small{color:#718291;font-size:10px}.area-chat__management-remove-photo{justify-self:start;padding:5px 0;border:0;color:#345c78;background:transparent;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.area-chat__management-dialog footer{width:100%;justify-content:space-between}.area-chat__management-dialog footer>span{display:flex;gap:8px}.area-chat__management-dialog footer .area-chat__management-leave{margin-right:auto;border-color:#f1cbd0;color:#a61b2b;background:#fff6f6}.area-chat__management-dialog [hidden]{display:none!important}.area-chat__management-dialog button:disabled{opacity:.55;cursor:not-allowed}
.area-chat__group-avatar[hidden]{display:none!important}.area-chat__contact>img.area-chat__avatar{object-fit:cover}.area-chat__management-dialog>label input[type="file"]{max-width:100%}
.area-chat__header .area-chat__group-avatar{font-size:18px;opacity:1}
.area-chat__avatar img{border-radius:inherit}
.area-chat__attachment-file{display:grid;grid-template-columns:46px minmax(0,1fr) 20px;align-items:center;gap:9px;max-width:240px;padding:8px;border:1px solid #d7e5ef;border-radius:10px;color:#18384f;background:#f8fbfd;text-decoration:none}.area-chat__attachment-file:hover{background:#eef7ff}.area-chat__attachment-filetype{display:grid;place-items:center;width:46px;height:40px;border-radius:8px;color:#0865ad;background:#e1f1ff;font-size:10px;font-weight:800;letter-spacing:.3px}.area-chat__attachment-filename{display:grid;min-width:0;gap:3px;overflow:hidden}.area-chat__attachment-filename b,.area-chat__attachment-filename small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.area-chat__attachment-filename b{font-size:11px}.area-chat__attachment-filename small{color:#6d7f8f;font-size:9px}.area-chat__attachment-open{color:#0872ce;font-size:17px;text-align:center}.area-chat__attachment-preview .area-chat__attachment-filetype{width:50px;height:42px}.area-chat__attachment-preview .area-chat__attachment-filename{font-size:11px}
