.bs-chat-guest{max-width:1000px;margin:auto;padding:24px 16px 100px}.bs-chat-app{--chat-blue:#1565c0;--chat-dark:#123457;--chat-orange:#f58220;--chat-muted:#65758a;position:fixed;inset:12px;z-index:1000000;max-width:1480px;margin:auto;height:calc(var(--chat-vh,100dvh) - 24px);display:grid;grid-template-columns:350px minmax(0,1fr);background:#fff;color:var(--chat-dark);border:1px solid #dbe5ef;border-radius:18px;overflow:hidden;box-shadow:0 16px 80px #17365b20;font-family:inherit}.bs-chat-app *{box-sizing:border-box}.bs-chat-app button,.bs-chat-app input,.bs-chat-app textarea,.bs-chat-app select{font:inherit}.bs-chat-app button{cursor:pointer}.bs-chat-app button:disabled{opacity:.45;cursor:default}.bs-chat-app [hidden]{display:none!important}.bs-chat-app svg{width:22px;height:22px;flex:none;vertical-align:middle}.bs-chat-app button:focus-visible,.bs-chat-app input:focus-visible,.bs-chat-app textarea:focus-visible,.bs-chat-app a:focus-visible,.bs-chat-app select:focus-visible{outline:3px solid var(--chat-orange);outline-offset:2px}.chat-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-icon{width:44px;height:44px;min-width:44px;display:inline-grid;place-items:center;border:0;border-radius:50%;padding:10px;background:transparent;color:#46617d;flex:none;transition:background .15s}.chat-icon:hover{background:#e3ecf6}.chat-sidebar{display:flex;flex-direction:column;border-right:1px solid #dce5ef;background:#fff;min-width:0;min-height:0}.chat-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-top:3px solid var(--chat-orange);background:#fff;gap:10px}.chat-brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#174d87;font-weight:850;font-size:18px;min-width:0}.chat-brand small{display:block;font-size:11px;font-weight:600;color:var(--chat-muted);margin-top:1px}.chat-brand-mark{position:relative;display:grid;place-items:center;border-radius:13px;background:var(--chat-blue);color:#fff;width:43px;height:43px;font-weight:900;font-size:17px}.chat-brand-mark span{position:absolute;right:-2px;top:-3px;width:11px;height:11px;background:var(--chat-orange);border-radius:50%;border:2px solid #fff}.chat-sidebar-tools{padding:8px 18px 14px}.chat-list-title{display:flex;align-items:center;gap:10px;margin:4px 0 15px}.chat-list-title h1{font-size:28px;letter-spacing:-.5px;margin:0;font-weight:850}.chat-total{font-size:12px;background:#edf4ff;color:#1565c0;padding:3px 9px;border-radius:10px;font-weight:800}.chat-search-box{display:flex;align-items:center;gap:10px;border-radius:12px;background:#f0f4f9;border:1px solid transparent;padding:0 12px}.chat-search-box:focus-within{border-color:#8ab8ef;background:#f6faff}.chat-search-box svg{width:19px;color:#70829a}.chat-search-box input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;width:100%;min-width:0;padding:12px 0;color:#183d62;font-size:14px}.chat-filters{display:flex;gap:8px;margin-top:14px}.chat-filters button{border:1px solid #e1e9f1;border-radius:24px;min-height:38px;padding:7px 15px;background:#f9fbfd;color:#65758a;font-size:13px;font-weight:700}.chat-filters button.selected{background:#e4f0ff;color:#0d5ab7;border-color:#d4e7ff}.chat-list-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.chat-person{display:flex;gap:12px;align-items:center;width:100%;text-align:start;border:0;border-bottom:1px solid #edf1f6;background:white;color:#173552;padding:14px 18px;min-height:80px}.chat-person:hover{background:#f3f8ff}.chat-person[aria-current=true]{background:#eaf3ff;border-left:3px solid #f58220;padding-left:15px}.chat-avatar{width:46px;height:46px;min-width:46px;border-radius:50%;object-fit:cover;background:#edf3fc;border:1px solid #e0e8f3}.chat-person-copy{min-width:0;flex:1}.chat-person-top{display:flex;align-items:center;gap:8px;justify-content:space-between}.chat-person-name{font-weight:750;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.55}.chat-person-time{font-size:10px;white-space:nowrap;color:#8190a1}.chat-person-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:4px}.chat-person-preview{font-size:12px;color:#7a899b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-person-badge{background:#1565c0;color:#fff;font-size:11px;font-weight:800;min-width:21px;height:21px;padding:3px 6px;line-height:15px;text-align:center;border-radius:20px}.chat-person-id{font-size:10px;color:#8291a2}.chat-person-unread .chat-person-name{font-weight:850}.chat-person-unread .chat-person-time{color:#1565c0}.chat-list-empty{padding:30px 22px;color:#8190a1;font-size:13px;line-height:1.7;text-align:center}.chat-results-title{font-size:11px;color:#1565c0;font-weight:800;text-transform:uppercase;padding:10px 20px;background:#f6f9fd}.chat-sidebar-foot{font-size:12px;color:#647993;text-decoration:none;text-align:center;padding:15px 8px;border-top:1px solid #edf1f6;background:#fbfcfe}.chat-pagination{display:flex;justify-content:center;gap:8px;padding:8px}.chat-pagination button{border:1px solid #dce5ee;background:white;border-radius:8px;color:#1565c0;padding:8px 12px;min-height:40px}.chat-main{min-width:0;min-height:0;position:relative;background:#eef4fa}.chat-welcome{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center;background:radial-gradient(ellipse at 50% 30%,#fafdff 0%,#eff5fc 60%,#e9f1fb 100%)}.chat-welcome-icon{width:100px;height:100px;display:grid;place-items:center;border-radius:28px;background:#e0edff;color:#1565c0;box-shadow:10px 10px 0 #ffead7;margin-bottom:30px}.chat-welcome-icon svg{width:48px;height:48px}.chat-welcome h2{font-size:26px;line-height:1.4;max-width:450px;font-weight:750;margin:0 0 12px}.chat-welcome>p{font-size:15px;color:#73869c;margin:0;max-width:380px}.chat-welcome small{display:block;max-width:440px;font-size:11px;line-height:1.7;color:#8b99aa;margin-top:40px}.chat-welcome small svg{width:13px;height:13px}.chat-conversation{height:100%;min-height:0;display:flex;flex-direction:column;position:relative}.chat-peer-head{position:relative;display:flex;align-items:center;gap:12px;background:#fff;padding:14px 20px;border-bottom:1px solid #dbe6f1;min-height:77px;flex:none}.chat-peer-head .chat-avatar{width:43px;height:43px;min-width:43px}.chat-peer-details{min-width:0;flex:1}.chat-peer-details h2{font-size:15px;font-weight:800;color:#173653;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-peer-details p{color:#8b9aab;font-size:11px;margin:3px 0 0;line-height:1.5}.chat-peer-details p.is-typing{color:#1565c0}.chat-mobile-back{display:none}.chat-menu{position:absolute;z-index:4;right:15px;top:67px;min-width:200px;background:white;border:1px solid #e0e8f1;border-radius:12px;box-shadow:0 10px 30px #123b6420;padding:6px}.chat-menu button{display:block;width:100%;text-align:start;background:transparent;border:0;border-radius:8px;padding:12px;color:#304f70;font-size:13px;min-height:44px}.chat-menu button:hover{background:#eef5ff}.chat-menu #chat-report{color:#af5720}.chat-blocked{margin:0;padding:10px 18px;background:#fff2e7;color:#94511a;font-size:12px;text-align:center;flex:none}.chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 6%;background-color:#f0f5fb;background-image:radial-gradient(#b1c3d433 .8px,transparent .8px);background-size:17px 17px;scroll-behavior:auto;display:flex;flex-direction:column;gap:7px}.chat-message{position:relative;align-self:flex-start;background:white;border-radius:4px 15px 15px 15px;max-width:80%;min-width:95px;padding:9px 13px 7px;box-shadow:0 1px 2px #17365712;overflow-wrap:anywhere;border:1px solid #e9eff7}.chat-message.self{align-self:flex-end;background:#dfeeff;border-color:#d2e5fb;border-radius:15px 4px 15px 15px}.chat-message-body{white-space:pre-wrap;unicode-bidi:plaintext;font-size:14px;line-height:1.6;margin:0 0 4px;color:#23415c}.chat-message-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;color:#8293a5;font-size:10px;line-height:1.5;white-space:nowrap}.chat-tick{font-family:Arial,sans-serif;color:#8096ab;font-size:13px;font-weight:800;letter-spacing:-2px;padding-right:2px}.chat-tick.read{color:#1681df}.chat-message-reply{position:absolute;top:4px;right:-34px;width:30px;height:32px;min-width:30px;padding:7px;background:#fff9;color:#6a849e;opacity:0}.chat-message-reply svg{width:16px;height:16px}.chat-message.self .chat-message-reply{left:-34px;right:auto}.chat-message:hover .chat-message-reply,.chat-message:focus-within .chat-message-reply{opacity:1}.chat-date{align-self:center;border:1px solid #e0e9f2;border-radius:8px;background:#fffdf3;color:#8a8d91;font-size:10px;padding:5px 12px;margin:10px 0 8px;box-shadow:0 1px 2px #1736570a}.chat-quote{border:0;border-left:3px solid #f58220;border-radius:6px;background:#1565c00a;padding:7px 10px;margin-bottom:8px;max-width:100%;text-align:start;display:block}.chat-quote strong{display:block;font-size:11px;color:#1565c0;margin-bottom:2px}.chat-quote span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;color:#6e849b;white-space:pre-wrap}.chat-photo-button{display:block;max-width:290px;width:100%;border:0;background:none;padding:0;margin:0 0 6px;border-radius:9px;overflow:hidden}.chat-photo-button img{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:8px}.chat-file{display:flex;align-items:center;gap:10px;background:#fff9;border:1px solid #d6e4f2;border-radius:9px;color:#1d598c;text-decoration:none;padding:12px;max-width:290px;margin-bottom:6px}.chat-file span{min-width:0;overflow:hidden}.chat-file strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-file small{display:block;font-size:10px;color:#7d8b9b;margin-top:3px}.chat-message audio{width:270px;max-width:100%;height:42px;margin:4px 0 7px;display:block}.chat-older{align-self:center;border:1px solid #d3e1ee;background:#fff;color:#356b9e;min-height:35px;border-radius:20px;padding:6px 15px;font-size:11px;position:absolute;z-index:2;top:85px;box-shadow:0 2px 8px #17365710}.chat-compose-area{background:#f9fbfe;border-top:1px solid #dee8f1;padding:10px 16px calc(6px + env(safe-area-inset-bottom));flex:none}.chat-send{position:relative;display:flex;align-items:flex-end;gap:7px}.chat-send textarea{flex:1;min-width:0;resize:none;max-height:130px;min-height:45px;border:1px solid #dee7ef;background:white;color:#21445f;border-radius:24px;padding:11px 18px;line-height:1.5;font-size:14px;box-shadow:none}.chat-send-button{display:grid;place-items:center;border:0;border-radius:50%;background:#1565c0;color:white;width:45px;min-width:45px;height:45px;box-shadow:0 3px 7px #1565c025;padding:11px}.chat-send-button svg{width:23px;height:23px}.chat-file-help{display:block;font-size:9px;text-align:center;color:#99a7b7;margin:5px 0 0;line-height:1.5}.chat-attach-menu{left:0;right:auto;top:auto;bottom:60px}.chat-attach-menu button{display:flex;align-items:center;gap:10px}.chat-reply-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;border-left:3px solid #f58220;background:#eaf2fc;border-radius:8px;padding:8px 10px;margin-bottom:8px;min-width:0}.chat-reply-preview>div{min-width:0}.chat-reply-preview strong{font-size:11px;color:#1565c0}.chat-reply-preview p{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#657e99;margin:3px 0 0}.chat-attachment-preview{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;border:1px solid #dbe7f1;background:#fff;border-radius:10px;padding:8px;max-height:170px;overflow:auto}.chat-attachment-preview>div{min-width:0;display:flex;align-items:center;gap:10px;overflow:hidden}.chat-attachment-preview img{max-height:120px;max-width:150px;border-radius:6px}.chat-attachment-preview audio{width:240px;max-width:100%;height:40px}.chat-attachment-preview p{font-size:11px;overflow:hidden;text-overflow:ellipsis;color:#6c8398}.chat-recording{display:flex;align-items:center;gap:12px;padding:6px 10px;color:#ba3b36;font-size:12px}.chat-record-dot{width:9px;height:9px;background:#d65b4a;border-radius:50%;animation:chat-record-pulse 1s infinite}.chat-recording>span:nth-child(2){flex:1}.chat-message-search{display:flex;align-items:center;gap:8px;background:white;padding:10px 16px;border-bottom:1px solid #dbe7f2}.chat-message-search input{flex:1;min-width:0;padding:9px 12px;border:1px solid #d8e5f1;border-radius:8px}.chat-message-search>button:not(.chat-icon){border:0;border-radius:8px;background:#e7f1ff;color:#1565c0;padding:10px;min-height:40px}.chat-found-messages{max-height:180px;overflow:auto;background:#fff;flex:none;border-bottom:1px solid #dce7f1}.chat-found-row{display:block;width:100%;border:0;border-bottom:1px solid #edf2f7;background:white;text-align:start;padding:10px 18px;color:#375975;font-size:12px;min-height:44px}.chat-found-row small{display:block;color:#9aa8b5;font-size:10px;margin-top:3px}.chat-jump{position:absolute;right:24px;bottom:110px;z-index:2;border:1px solid #c9def3;border-radius:20px;padding:9px 15px;background:white;color:#1565c0;font-size:11px;box-shadow:0 3px 15px #17365718;min-height:40px}.chat-notice{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:20;max-width:calc(100% - 30px);background:#153e65;color:white;border-radius:10px;box-shadow:0 4px 20px #17365725;padding:11px 18px;font-size:12px;line-height:1.6;margin:0;text-align:center}.chat-notice.error{background:#924023}.chat-dialog{width:calc(100% - 36px);max-width:440px;max-height:90dvh;overflow:auto;border:1px solid #d5e5f3;border-radius:18px;padding:24px;color:#173e65;box-shadow:0 18px 80px #0d274b30}.chat-dialog::backdrop{background:#14345588;backdrop-filter:blur(2px)}.chat-dialog h2{font-size:19px;margin:0 0 18px}.chat-dialog p{font-size:14px;line-height:1.7}.chat-dialog label{display:block;font-size:13px;font-weight:700;margin:12px 0 5px}.chat-dialog input,.chat-dialog select,.chat-dialog textarea{width:100%;padding:10px 12px;border:1px solid #bcd2e7;border-radius:9px;background:#fff;color:#244c70;max-width:100%}.chat-dialog-actions{display:flex;gap:9px;margin-top:18px;flex-wrap:wrap}.chat-dialog button:not(.chat-icon){border:0;border-radius:9px;padding:11px 16px;min-height:44px;background:#e8f2ff;color:#1565c0;font-weight:700}.chat-dialog-actions button[type=submit]{background:#1565c0;color:white}.chat-media-dialog{max-width:900px;padding:50px 15px 15px;text-align:center;background:#17314d}.chat-media-dialog>.chat-icon{position:absolute;right:8px;top:6px;color:#fff}.chat-media-dialog img{max-width:100%;max-height:70dvh;display:block;margin:auto;object-fit:contain}.chat-media-dialog a{display:inline-block;padding:13px;color:#fff}.chat-nojs{position:absolute;z-index:10;top:100px;left:20px;background:#fff3dc;padding:20px;border:1px solid #efbd73}.chat-message.highlight{outline:2px solid #f58220;outline-offset:2px}.chat-loading{color:#71869b;font-size:13px;text-align:center;padding:24px}.chat-empty-messages{color:#8a9aaa;font-size:12px;text-align:center;align-self:center;margin:auto;padding:25px}.chat-empty-messages svg{display:block;margin:0 auto 10px;color:#a9c1da;width:32px;height:32px}@keyframes chat-record-pulse{50%{opacity:.25}}@media(min-width:1500px){.bs-chat-app{inset:24px;height:calc(var(--chat-vh,100dvh) - 48px)}}@media(max-width:950px) and (min-width:721px){.bs-chat-app{grid-template-columns:300px minmax(0,1fr)}.chat-messages{padding:18px 30px}.chat-message{max-width:86%}.chat-peer-head{gap:8px;padding:12px}.chat-compose-area{padding-left:9px;padding-right:9px}.chat-send{gap:3px}}@media(max-width:720px){.bs-chat-app{inset:0;height:var(--chat-vh,100dvh);grid-template-columns:1fr;border:0;border-radius:0;max-width:none}.chat-sidebar{border:0}.chat-sidebar-head{padding:15px 18px 10px}.chat-sidebar-tools{padding:5px 16px 14px}.chat-sidebar-head .chat-brand{font-size:18px}.chat-main{display:none}.bs-chat-app.chat-open .chat-sidebar{display:none}.bs-chat-app.chat-open .chat-main{display:block}.chat-mobile-back{display:inline-grid}.chat-peer-head{gap:8px;min-height:71px;padding:9px 8px;padding-top:calc(9px + env(safe-area-inset-top))}.chat-peer-head>.chat-icon{width:40px;min-width:40px;height:40px}.chat-peer-head .chat-avatar{width:39px;height:39px;min-width:39px}.chat-peer-details h2{font-size:14px}.chat-messages{padding:15px 27px}.chat-message{max-width:91%;font-size:14px}.chat-message-reply{opacity:.6;right:-29px;width:27px;min-width:27px}.chat-message.self .chat-message-reply{left:-29px;right:auto}.chat-compose-area{padding:8px 6px calc(6px + env(safe-area-inset-bottom))}.chat-send{gap:2px}.chat-send .chat-icon{min-width:38px;width:38px}.chat-send textarea{padding-left:13px;padding-right:10px;min-height:44px}.chat-send-button{width:43px;min-width:43px;height:43px}.chat-file-help{font-size:8px}.chat-menu{right:10px;top:62px}.chat-older{top:80px}.chat-message audio{width:230px}.chat-photo-button{max-width:245px}.chat-sidebar-foot{padding-bottom:calc(14px + env(safe-area-inset-bottom))}.chat-notice{bottom:85px;left:12px;right:12px;transform:none;max-width:none}.chat-dialog{padding:20px}.chat-attachment-preview audio{width:200px}.chat-jump{right:16px;bottom:113px}}@media(prefers-reduced-motion:reduce){.bs-chat-app *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

