.messenger-main{padding-top:24px!important;padding-bottom:28px!important}.messenger{height:calc(100dvh - 235px);min-height:420px;max-height:900px;display:grid;grid-template-columns:310px minmax(0,1fr);border:1px solid #dde5e1;border-radius:18px;overflow:hidden;background:#fff}.conversation-list{display:flex;flex-direction:column;min-width:0;border-right:1px solid #e4eae7;background:#fff;overflow:hidden}.inbox-header{display:flex;align-items:center;justify-content:space-between;padding:22px 20px 14px}.inbox-header h1{font-size:24px;letter-spacing:-.7px;margin:0}.inbox-search{display:flex;align-items:center;gap:10px;margin:0 15px 14px;background:#f1f4f3;border-radius:22px;padding:10px 14px;color:#8b9891}.inbox-search .icon{width:18px;height:18px}.inbox-search input{min-width:0;width:100%;border:0;outline:0;background:none;font-size:13px;color:var(--ink)}.inbox-filters{display:flex;gap:16px;padding:0 20px;border-bottom:1px solid #e9eeeb}.inbox-filters button{position:relative;border:0;background:none;padding:10px 0 14px;font-size:12px;color:#88988e}.inbox-filters .selected{color:#397a78;font-weight:650}.inbox-filters .selected:after{content:'';position:absolute;height:3px;bottom:0;left:0;right:0;background:#58a5a0;border-radius:4px}#conversation-rows{overflow:auto;flex:1;padding:7px}.conversation-row{display:flex;align-items:center;gap:11px;width:100%;padding:12px 10px;text-align:left;background:white;border:0;border-radius:10px;margin-bottom:3px}.conversation-row:hover{background:#f2f6f4}.conversation-row.selected{background:#e7f2ef}.conversation-avatar{width:46px;height:46px;border-radius:50%;background:#dbe9df;color:#487864;display:inline-flex;align-items:center;justify-content:center;font-size:19px;font-weight:600;flex-shrink:0}.group-avatar{background:#ddeaf4;color:#547e9a}.conversation-info{min-width:0;flex:1}.conversation-title,.conversation-preview{display:flex;align-items:center;gap:8px;justify-content:space-between}.conversation-title strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-title time{font-size:9px;white-space:nowrap;color:#96a39b}.conversation-preview{margin-top:7px}.conversation-preview>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#8a9a90;flex:1}.unread-badge{border-radius:20px;background:#69a69a;color:white;min-width:19px;height:19px;display:grid;place-items:center;padding:0 5px;font-size:10px}.chat-list-empty{padding:35px 18px;line-height:1.8;color:#8b9a92;font-size:12px;text-align:center}.chat-refresh-note{color:#a1aea6;font-size:9px;padding:10px;text-align:center;margin:0}.conversation-thread{min-width:0;min-height:0;display:flex;flex-direction:column;background:#eaf0e9;background-image:radial-gradient(#b6c9b636 .8px,transparent .8px);background-size:19px 19px}.thread-header{background:#ffffffed;border-bottom:1px solid #dde6df;display:flex;gap:12px;align-items:center;padding:14px 20px}.thread-header .conversation-avatar{width:38px;height:38px;font-size:16px}.thread-header>div{min-width:0}.thread-header h2{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 5px}.thread-header p{font-size:10px;color:#8a9d90;margin:0;line-height:1.4}.thread-back{display:none}.thread-trip{margin-left:auto}.messenger-log{flex:1;min-height:0;overflow:auto;padding:20px 28px;overscroll-behavior:contain}.message-day{width:fit-content;margin:4px auto 20px;font-size:10px;color:#69806d;background:#d8e4d7c9;border-radius:20px;padding:5px 13px}.telegram-message{display:flex;justify-content:flex-start;margin-bottom:10px}.telegram-message.outgoing{justify-content:flex-end}.telegram-bubble{max-width:85%;background:white;border-radius:13px 13px 13px 3px;padding:10px 13px 6px;box-shadow:0 1px 2px #243e2610;min-width:95px}.outgoing .telegram-bubble{background:#d8eecb;border-radius:13px 13px 3px 13px}.telegram-author{font-size:11px;color:#438775;font-weight:650}.telegram-bubble p{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0}.telegram-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#91a28c;font-size:9px}.telegram-meta .icon{width:13px;height:13px}.message-delete{border:0;background:none;padding:3px;color:#94a18f;display:inline-flex;border-radius:4px}.message-delete:hover{color:#a44343;background:#e7ece1}.telegram-compose{display:flex;align-items:flex-end;gap:10px;padding:12px 18px 15px;background:#fff;flex-wrap:wrap;border-top:1px solid #e1e8e1}.telegram-compose textarea{flex:1;min-width:0;max-height:130px;resize:vertical;border:0;background:#f2f5f3;padding:12px 16px;border-radius:22px;font:inherit;font-size:13px;line-height:1.5}.send-message{width:42px;height:42px;border:0;background:#538e81;color:white;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.send-message:hover{background:#3c7568}.telegram-compose .form-error{width:100%;margin:0}.chat-readonly{text-align:center;padding:20px;background:#fff;color:#8b998d;font-size:12px}.conversation-start{margin:45px auto;width:fit-content;text-align:center;font-size:12px;line-height:1.8;color:#789179;background:#f8fbf6b8;border-radius:13px;padding:18px 25px}.messenger-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:#6e8a74;padding:25px}.messenger-welcome>span{width:90px;height:90px;background:#dce8d9;border-radius:50%;display:grid;place-items:center;margin-bottom:24px}.messenger-welcome .icon{width:38px;height:38px;stroke-width:1.3}.messenger-welcome h2{font-size:24px;font-weight:500}.messenger-welcome p{font-size:13px}.messenger-welcome .btn .icon{width:18px;height:18px}@media(max-width:1100px){.messenger{grid-template-columns:265px minmax(0,1fr)}.messenger-log{padding:18px}.conversation-list{max-width:310px}}@media(max-width:900px) and (min-width:681px){.messenger{grid-template-columns:230px minmax(0,1fr)}.conversation-row{gap:7px}.conversation-avatar{width:37px;height:37px}.thread-header{padding:13px}.telegram-bubble{max-width:94%}}@media(max-width:680px){.messenger-main{padding:0!important;min-height:0!important}.messenger{height:calc(100dvh - 139px - env(safe-area-inset-bottom));max-height:none;min-height:350px;display:block;border:0;border-radius:0}.conversation-list{height:100%;border:0;max-width:none}.conversation-thread{display:none;height:100%}.messenger.thread-open .conversation-list{display:none}.messenger.thread-open .conversation-thread{display:flex}.thread-back{display:inline-flex}.inbox-header{padding:20px 20px 14px}.inbox-header h1{font-size:27px}.conversation-title strong{font-size:14px}.conversation-preview>span{font-size:12px}.conversation-row{padding:14px 10px}.conversation-avatar{width:48px;height:48px}.thread-header{padding:12px 14px;gap:10px}.thread-header h2{font-size:15px}.thread-header p{font-size:10px}.thread-header .conversation-avatar{width:34px;height:34px}.messenger-log{padding:16px}.telegram-bubble p{font-size:14px}.telegram-compose{padding:10px 12px}.telegram-compose textarea{font-size:16px}.telegram-bubble{max-width:88%}.thread-header>div{flex:1}.workspace:has(.messenger){padding-bottom:0}}
