.wc-page{display:flex;flex-direction:column;min-width:0;height:calc(100dvh - 118px);min-height:590px}.wc-page .page-heading{flex-shrink:0;margin-bottom:18px}.wc-workbench{flex:1;min-height:0;display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);border:1px solid #ede7ec;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 4px 24px #30213a04}.wc-contacts{display:flex;flex-direction:column;min-height:0;border-right:1px solid #eee7ed}.wc-search{display:flex;gap:8px;padding:16px;border-bottom:1px solid #f1ebf0;flex-shrink:0}.wc-search input{min-width:0;flex:1;border:1px solid #e7dce5;border-radius:7px;background:#fcfafc;padding:10px;color:#382e3a;font-size:12px}.wc-list{flex:1;min-height:0;overflow:auto}.wc-contact{display:flex;align-items:center;gap:11px;width:100%;padding:16px;border:0;border-bottom:1px solid #f6f1f5;background:#fff;text-align:left;cursor:pointer;color:#322c36}.wc-contact:hover{background:#fff8fb}.wc-contact.selected{background:#fff0f5;box-shadow:inset 3px 0 #e94a72}.wc-contact:disabled{cursor:not-allowed;opacity:.58;background:#faf9fb}.wc-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:39px;height:39px;border-radius:12px;background:#f7eaf0;color:#ce4772;font-size:17px;font-weight:600}.wc-contact-copy{display:block;flex:1;min-width:0}.wc-contact-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.wc-contact-title b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wc-contact small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#998699;font-size:11px;line-height:1.8;margin-top:4px}.wc-contact time{font-size:10px;color:#af9dad}.wc-unread{display:inline-flex;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#ed4870;color:#fff;font-size:10px;font-style:normal;line-height:18px}.wc-presence{width:6px;height:6px;border-radius:50%;background:#c8c0ca;flex-shrink:0}.wc-presence.online{background:#45b69b}.wc-pages{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:12px;border-top:1px solid #eee7ed;flex-shrink:0;font-size:10px;color:#9b899a}.wc-thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fcfafc}.wc-placeholder{margin:auto;text-align:center;padding:35px;color:#ad99aa}.wc-placeholder h2{font-size:17px;font-weight:500;color:#796775;margin:18px 0 10px}.wc-placeholder p{font-size:12px;line-height:1.8;max-width:340px}.wc-placeholder-mark{display:flex;align-items:center;justify-content:center;width:65px;height:65px;border-radius:23px;background:#f7eaf1;color:#dc799b;font-size:25px;margin:auto}.wc-thread-head{display:flex;gap:11px;align-items:center;padding:16px 23px;background:#fff;border-bottom:1px solid #f0e8ee;flex-shrink:0}.wc-thread-head>div{flex:1;min-width:0}.wc-thread-head h2{font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere;color:#3e3040}.wc-thread-head p{font-size:10px;color:#ad9bab;margin:4px 0 0}.wc-sync{font-size:10px;line-height:1.5;color:#aa94a7;padding:8px 23px;min-height:30px;flex-shrink:0}.wc-sync.error{color:#bd3e60;background:#fff2f4}.wc-messages{flex:1;min-height:0;overflow:auto;padding:10px 24px 20px;overscroll-behavior:contain}.wc-message{display:flex;align-items:flex-start;flex-direction:column;max-width:81%;margin:16px 0}.wc-message.own{align-items:flex-end;margin-left:auto}.wc-message-meta{font-size:10px;color:#ac98a9;margin-bottom:6px;line-height:1.6}.wc-bubble{padding:12px 15px;border-radius:4px 13px 13px;background:#fff;border:1px solid #f0e7ef;font-size:13px;line-height:1.8;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:#4a394a;max-width:100%}.wc-message.own .wc-bubble{background:#ffeaf1;border-color:#f5d9e4;border-radius:13px 4px 13px 13px}.wc-delivery{font-size:9px;color:#bba3b2;line-height:1.7;margin-top:4px}.wc-history{display:block;margin:0 auto 12px;padding:6px 12px;background:transparent;border:0;color:#bb6e8c;font-size:11px;cursor:pointer}.wc-list-empty,.wc-thread-empty{padding:28px 20px;font-size:12px;color:#b09dad;text-align:center;line-height:1.8}.wc-composer{flex-shrink:0;background:#fff;border-top:1px solid #ede4eb;padding:16px 22px}.wc-composer textarea{display:block;width:100%;height:84px;min-height:70px;max-height:160px;resize:vertical;border:1px solid #eee4ed;border-radius:9px;background:#fdfbfe;color:#433044;padding:12px;box-sizing:border-box;line-height:1.7;font-family:inherit;font-size:13px}.wc-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.wc-composer-foot>span{font-size:10px;color:#b19bac;line-height:1.5}.wc-composer-foot>.btn{min-width:80px}.wc-pending{border:1px solid #eadde9;padding:10px 12px;border-radius:8px;margin-bottom:10px;background:#faf7fc;font-size:11px;color:#8c6b85}.wc-pending.error{border-color:#f0d8e2;color:#b6486b;background:#fff6f8}.wc-pending p{margin:4px 0;line-height:1.6}.wc-pending blockquote{margin:8px 0;padding-left:10px;border-left:2px solid #dec5d6;max-height:70px;overflow:auto;white-space:pre-wrap;word-break:break-all}.wc-pending b{font-weight:500}.wc-pending .btn{margin-top:5px}
@media(max-width:1100px){.wc-page{height:calc(100dvh - 115px)}.wc-workbench{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:720px){.wc-page{height:auto;min-height:0}.wc-workbench{display:flex;flex-direction:column;overflow:hidden}.wc-contacts{border-right:0;border-bottom:1px solid #eee7ed;max-height:300px;min-height:180px}.wc-list{min-height:65px;max-height:180px}.wc-contact{padding:11px 14px}.wc-contact .wc-avatar{width:32px;height:32px;border-radius:10px;font-size:14px}.wc-contact time{display:none}.wc-pages{padding:8px 12px}.wc-thread{height:650px;min-height:480px}.wc-thread-head{padding:13px 15px}.wc-messages{padding:8px 14px 16px}.wc-message{max-width:92%}.wc-composer{padding:12px}.wc-composer-foot{gap:8px}.wc-composer-foot>span{max-width:65%}.wc-thread-head>.btn{font-size:10px;padding:7px}.wc-sync{padding:7px 15px}}
