@media(max-width:1023px){
html body .mca-window-wrap{padding:0!important;display:block!important}
html body .mca-window{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:#f1f5fa!important;box-shadow:none!important;padding-top:env(safe-area-inset-top)!important;color:#4d6b92!important}
html body .mca-window>header{height:64px!important;min-height:64px!important;padding:0 16px!important;background:#f1f5fa!important;border:0!important;backdrop-filter:none!important}
html body .mca-window>header>div:first-child>svg{display:none!important}
html body .mca-window>header h2{font-size:23px!important;line-height:30px!important;font-weight:500!important;letter-spacing:-.5px;color:#344f74!important}
html body .mca-window>header button{position:relative!important;display:block!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;border-radius:50%!important;background:#e3ebf6!important;color:#8aa3c4!important}
html body .mca-window>header button svg{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);width:16px!important;height:16px!important;margin:0!important}
html body .mca-window>header button[aria-label*="полной странице"]{display:none!important}
html body .mca-window>nav{background:#f1f5fa!important;padding:0 16px!important;gap:18px!important;border-bottom:1px solid #dce5f0!important;min-height:44px!important;align-items:stretch}
html body .mca-window>nav>button{background:transparent!important;border-radius:0!important;border-bottom:2px solid transparent!important;padding:0 0 12px!important;font-size:11px!important;color:#93a8c3!important;gap:6px!important}
html body .mca-window>nav>button[aria-pressed="true"]{color:#537baa!important;border-bottom-color:#789bc4!important}
html body .mca-window>nav svg,html body .mca-window>nav button>span[aria-hidden]{width:15px!important;height:15px!important}
html body .mca-page{color:#506f97!important;background:#f1f5fa!important;gap:0!important}
html body .mca-page .communications-page-header{border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
html body .mca-page .communications-page-header h1{font-size:25px!important;color:#344f74!important;font-weight:500!important}
html body .mca-page .communications-metrics{display:none!important}
html body .mca-page .communications-shell{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;flex:1;overflow:hidden!important}
html body .mca-page .communications-sidebar{background:#f1f5fa!important;border:0!important;padding:16px!important;min-height:0;overflow:auto}
html body .mca-page .communications-sidebar input{border:0!important;outline:0!important;box-shadow:none!important;background:#e5edf7!important;color:#607fa8!important;border-radius:13px!important;height:42px!important;font-size:12px!important}
html body .mca-page .communications-dialog-list{max-height:none!important;padding:8px 0!important}
html body .mca-page .communications-dialog-card{background:transparent!important;border:0!important;border-bottom:1px solid #e1e8f2!important;border-radius:0!important;padding:14px 0!important;box-shadow:none!important}
html body .mca-page .communications-dialog-card .communications-dialog-title{font-size:13px!important;font-weight:500!important;color:#4b6b94!important}
html body .mca-page .communications-dialog-card p{font-size:11px!important;color:#91a5c0!important}
html body .mca-page .communications-chat{background:#f1f5fa!important;min-height:0!important}
html body .mca-page .communications-chat-header{padding:12px 16px!important;background:#f5f8fc!important;border-color:#dfe7f2!important}
html body .mca-page .communications-chat-body{min-height:0!important;overflow-y:auto!important;background:#f1f5fa!important;padding:18px 16px!important;overscroll-behavior:contain}
html body .mca-page .communications-message-bubble{font-size:13px!important;line-height:20px!important;border:0!important;box-shadow:none!important;color:#4b6486!important;max-width:min(78vw,430px)!important;padding:11px 14px!important}
html body .mca-page .communications-message-row.justify-end .communications-message-bubble{background:#dfe9f7!important;border-radius:16px 16px 5px 16px!important}
html body .mca-page .communications-message-row.justify-start .communications-message-bubble{background:#fff!important;border-radius:16px 16px 16px 5px!important}
html body .mca-page .communications-message-author{color:#9aaec7!important;font-weight:400!important}
html body .mca-page .communications-composer{flex-shrink:0;height:auto!important;min-height:48px!important;border:1px solid #dbe5f1!important;box-shadow:none!important;border-radius:24px!important;margin:8px 12px calc(10px + env(safe-area-inset-bottom))!important;padding:6px 8px!important;background:#fff!important}
html body .mca-page .communications-composer input,html body .mca-page .communications-composer textarea{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:16px!important;color:#526f95!important;min-width:0;resize:none}
html body .mca-page .communications-composer button{border-radius:50%!important;flex-shrink:0}
html body .mca-page .communications-composer button[aria-label*="Отправить"]{width:36px!important;height:36px!important;padding:0!important;background:#5376a4!important;color:white!important;display:grid!important;place-items:center!important}
html body .mca-page .communications-templates{display:none!important}
html body .mca-page .communications-quick-actions{background:transparent!important;color:#8aa2c1!important;font-size:10px!important}
html body .mca-team{height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;background:#f1f5fa!important}
html body .mca-team .mca-contacts{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;background:#f1f5fa!important;border:0!important}
html body .mca-team .mca-thread{display:none!important}
html body .mca-team.mca-conversation .mca-contacts{display:none!important}
html body .mca-team.mca-conversation .mca-thread{display:flex!important;flex-direction:column!important;width:100%!important;min-height:0!important;background:#f1f5fa!important;padding-bottom:env(safe-area-inset-bottom)!important}
html body .mca-team .mca-contacts>div:first-child{padding:16px!important;border:0!important;background:none!important}
html body .mca-team .mca-contacts h2{font-size:13px!important;font-weight:500!important;color:#87a0bf!important}
html body .mca-team .mca-contacts input{height:42px!important;background:#e4ecf7!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:13px!important;font-size:12px!important;color:#627fa4!important}
html body .mca-team .mca-contacts>div:nth-child(2){padding:0 16px 18px!important;overflow-y:auto!important}
html body .mca-team .mca-contacts button{background:transparent!important;border:0!important;border-bottom:1px solid #dfe7f1!important;border-radius:0!important;padding:15px 0!important;margin:0!important;gap:12px!important;box-shadow:none!important;min-height:70px!important}
html body .mca-team .mca-contacts button b{font-size:13px!important;font-weight:500!important;color:#4e709a!important}
html body .mca-team .mca-contacts button span.text-xs{font-size:10px!important;color:#98abc4!important}
html body .mca-back{display:flex!important;align-items:center;gap:5px;height:37px!important;flex-shrink:0;padding:8px 16px!important;background:#f1f5fa;color:#83a0c4;font-size:11px!important;border:0!important}
html body .mca-back svg{width:17px;height:17px}
html body .mca-thread>header{background:#f5f8fc!important;padding:10px 16px!important;border-color:#dfe7f1!important}
html body .mca-thread>header b{font-size:14px!important;font-weight:500!important;color:#4a6a93!important}
html body .mca-thread>header span.text-\[11px\]{font-size:10px!important;color:#95a9c3!important}
html body .mca-thread>header button{display:none!important}
html body .mca-thread>div{padding:18px 16px!important;min-height:0!important;overflow-y:auto!important}
html body .mca-thread>div>div{border:0!important;box-shadow:none!important;border-radius:16px!important;font-size:13px!important;line-height:20px!important;color:#4c678c!important;font-weight:400!important}
html body .mca-thread>div>div.ml-auto{background:#dfe9f7!important;border-bottom-right-radius:5px!important}
html body .mca-thread>div>div:not(.ml-auto){background:white!important;border-bottom-left-radius:5px!important}
html body .mca-thread>form{background:#f1f5fa!important;border:0!important;padding:9px 12px!important;gap:8px!important;align-items:flex-end}
html body .mca-thread>form input,html body .mca-thread>form textarea{height:44px!important;min-height:44px!important;max-height:110px!important;flex:1;min-width:0!important;background:#fff!important;border:1px solid #dfe7f2!important;border-radius:22px!important;outline:0!important;box-shadow:none!important;padding:11px 15px!important;color:#526e93!important;font-size:16px!important;line-height:21px!important;resize:none}
html body .mca-thread>form button[type="submit"]{display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;border-radius:50%!important;padding:0!important;flex-shrink:0;background:#5477a5!important;color:white!important}
html body .mca-thread>form button[type="submit"] svg{width:17px!important;height:17px!important;margin:0!important}
html body .mca-thread>p{font-size:9px!important;color:#a1b2c8!important;background:#f1f5fa!important;border:0!important;padding:2px 14px 8px!important}
html body .mca-page .communications-sheet{background:#f3f6fb!important;border-radius:26px 26px 0 0!important;color:#5a7ca7!important}
html body .mca-page .communications-sheet button{color:#6e8db5!important}
}
