.messages-page{background:#f4f3ed;color:#143445}.msg-main{max-width:1280px;margin:auto;padding:8px 20px 16px}.msg-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 12px}.msg-title h1{font-size:26px;margin:0;letter-spacing:-.8px}.msg-title>div{display:flex;gap:6px}.msg-primary,.msg-soft,.msg-icon{font-family:inherit;cursor:pointer;border:0;border-radius:12px;min-height:40px;padding:9px 13px;font-size:13px;font-weight:650;line-height:1.3}.msg-primary{background:#b9430b;color:#fff}.msg-soft{background:#eaf0ef;color:#123345}.msg-icon{background:transparent;color:#123345;font-size:23px;width:40px;padding:5px;flex-shrink:0}.msg-primary:disabled,.msg-soft:disabled,.msg-icon:disabled{opacity:.5;cursor:not-allowed}.messages-page :focus-visible{outline:3px solid #d16219;outline-offset:2px}.msg-shell{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100dvh - 183px);min-height:350px;max-height:900px;background:#fff;border:1px solid #d7deda;border-radius:20px;overflow:hidden;box-shadow:0 12px 35px #14344508}.msg-sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid #e3e6e3;padding:13px 10px 8px}.msg-search input,.msg-conversation-search input{width:100%;border:0;border-radius:12px;background:#f2f5f3;padding:10px 12px;font:14px inherit;color:#143445;min-height:40px}.msg-tabs{display:flex;gap:4px;padding:10px 2px}.msg-tabs button{flex:1;border:0;border-radius:10px;background:transparent;padding:9px;font:600 13px inherit;cursor:pointer;color:#506571}.msg-tabs [aria-selected=true]{background:#e7f1ee;color:#145848}.msg-list{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.msg-contact{display:flex;align-items:center;gap:10px;border:0;width:100%;background:#fff;border-radius:12px;padding:11px 8px;text-align:left;color:#153748;font-family:inherit;text-decoration:none;cursor:pointer}.msg-contact:hover,.msg-contact[aria-current=true]{background:#edf4f0}.msg-avatar{height:39px;width:39px;min-width:39px;display:grid;place-items:center;border-radius:50%;background:#e5eee9;color:#21634e;font-size:14px;font-weight:700;letter-spacing:-.5px}.msg-contact-text{min-width:0;flex:1}.msg-contact strong{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msg-contact p{font-size:12px;color:#5b6e76;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0 0}.msg-contact small{font-size:10px;color:#526672}.msg-count{min-width:20px;height:20px;padding:2px 5px;display:grid;place-items:center;border-radius:12px;background:#b9430b;color:#fff;font-size:11px;font-weight:700}.msg-list-pages{display:flex;justify-content:space-between;gap:8px;padding:5px}.msg-support{font-size:11px;color:#48636e;padding:12px 5px 3px}.msg-chat{position:relative;min-width:0;min-height:0;background:#fff}.msg-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px;gap:14px}.msg-empty-symbol{background:#f4eee2;color:#a24112;border-radius:28px;padding:17px 23px;font-size:36px}.msg-empty h2{margin:0;font-size:27px;letter-spacing:-.6px}.msg-empty p{font-size:14px;color:#5c6c73;margin:0;line-height:1.7}.msg-empty small{font-size:11px;color:#5c6c73;overflow-wrap:anywhere}.msg-chat [hidden],.msg-main [hidden],.msg-dialog [hidden]{display:none!important}#msg-conversation{height:100%;display:flex;flex-direction:column;min-height:0}.msg-chat-heading{display:flex;align-items:center;gap:9px;padding:12px 16px;border-bottom:1px solid #edf0ec}.msg-chat-heading>div{flex:1;min-width:0}.msg-chat-heading h2{font-size:16px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.msg-chat-heading p{font-size:11px;color:#5e737b;margin:3px 0 0}.msg-request{padding:10px 16px;background:#fbf4e9;font-size:12px;color:#663917}.msg-request p{margin:0 0 6px}.msg-request button{margin-right:5px}.msg-history{flex:1;min-height:80px;overflow-y:auto;padding:14px 20px;overscroll-behavior:contain}.msg-row{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 14px}.msg-row.mine{align-items:flex-end}.msg-bubble{max-width:82%;border-radius:16px 16px 16px 4px;padding:10px 13px;background:#edf2ef;overflow-wrap:anywhere;min-width:60px}.mine .msg-bubble{background:#164c49;color:white;border-radius:16px 16px 4px 16px}.msg-bubble p{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.55}.msg-bubble .msg-quote{font-size:11px;border-left:3px solid #a3b8ae;background:#ffffff14;padding:4px 8px;margin:0 0 7px;white-space:pre-wrap;max-height:65px;overflow:auto}.msg-bubble img{display:block;width:auto;max-width:100%;height:auto;max-height:280px;border-radius:9px;margin:4px 0;object-fit:contain}.msg-photo-open{display:block;border:0;background:none;padding:0;cursor:zoom-in;max-width:100%}.msg-meta{display:flex;align-items:center;gap:7px;margin:3px 3px 0;font-size:10px;color:#526871}.msg-meta button{border:0;background:transparent;padding:0 6px;min-width:32px;min-height:28px;cursor:pointer;font-size:18px;color:#506a71}.msg-reactions{font-size:12px;border-radius:9px;background:#fff;color:#123345;display:flex;gap:5px;margin-top:5px}.msg-reactions span{padding:1px 5px;border:1px solid #d9e5dc;border-radius:10px}.msg-typing{font-size:11px;min-height:16px;margin:0;padding:0 18px;color:#4c6b70}.msg-compose{padding:8px 12px 10px;border-top:1px solid #edf0ec;background:#fff;flex-shrink:0}.msg-compose-row{display:flex;align-items:flex-end;gap:3px}.msg-compose-row>label{flex:1;min-width:0}.msg-compose textarea{display:block;width:100%;max-height:105px;min-height:42px;resize:none;border:1px solid #d5e0db;border-radius:15px;background:#f4f7f4;color:#153748;padding:10px 12px;line-height:1.35;font-size:16px;font-family:inherit}.msg-compose-note{font-size:10px!important;color:#586f77;margin:6px 0 0 5px}.msg-previews{display:flex;gap:8px;flex-wrap:wrap}.msg-preview{display:flex;align-items:center;gap:5px;padding:5px;border:1px solid #dce4db;border-radius:10px;font-size:10px;margin-bottom:7px;max-width:100%}.msg-preview img{width:44px;height:44px;object-fit:cover;border-radius:6px}.msg-preview small{display:block;font-size:10px}.msg-reply{font-size:12px;border-left:3px solid #b9430b;background:#f5f3ed;padding:6px 10px;margin-bottom:8px;display:flex;gap:10px;align-items:center}.msg-reply span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg-jump{position:absolute;bottom:115px;left:50%;transform:translateX(-50%);background:#143e43;color:#fff;border:0;border-radius:20px;padding:9px 15px;font-size:12px;cursor:pointer;box-shadow:0 4px 12px #0002}.msg-conversation-search{display:flex;gap:6px;padding:9px 12px}.msg-conversation-search label{flex:1;min-width:0}.msg-dialog{border:1px solid #d6ded6;border-radius:20px;padding:22px;max-width:480px;width:calc(100% - 28px);max-height:88dvh;overflow:auto;color:#143445;box-shadow:0 24px 100px #0003}.msg-dialog::backdrop{background:#0e2e4055;backdrop-filter:blur(3px)}.msg-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.msg-dialog h2{font-size:23px;margin:0}.msg-dialog p{font-size:13px;line-height:1.65;margin:10px 0}.msg-dialog .field{display:grid;gap:6px;margin:14px 0;font-size:13px}.msg-dialog :is(input:not([type=checkbox]),textarea,select){font:16px inherit;padding:10px;width:100%;border:1px solid #c8d6cf;border-radius:9px;min-height:42px}.msg-dialog .check{display:flex;gap:9px;font-size:13px;align-items:flex-start;margin:15px 0}.msg-dialog .check input{margin-top:3px}.msg-dialog .msg-actions{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.msg-dialog .msg-menu{display:grid;gap:8px}.msg-dialog .msg-menu>button{text-align:left}.msg-dialog .msg-view-photo{display:block;width:100%;max-height:65vh;object-fit:contain}.msg-dialog .fine{color:#5b6f76;font-size:11px}.msg-signedout{max-width:550px;margin:40px auto}#msg-back{display:none}.msg-inbox-empty{padding:20px 10px;font-size:13px;line-height:1.6;color:#5b6f76}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.messages-page .account-header{padding:8px 12px;gap:6px}.msg-main{padding:0 8px 8px}.msg-title{margin:5px 3px 8px}.msg-title h1{font-size:23px}.msg-title .msg-primary,.msg-title .msg-soft{font-size:12px;min-height:36px;padding:8px 11px}.msg-shell{grid-template-columns:1fr;border-radius:15px;min-height:280px;height:calc(100dvh - 185px)}.msg-sidebar{border:0}.msg-chat{display:none}.msg-shell.thread-open .msg-sidebar{display:none}.msg-shell.thread-open .msg-chat{display:block}.msg-chat-heading{padding:9px 7px;gap:7px}.msg-chat-heading h2{font-size:14px}.msg-history{padding:12px 10px}.msg-bubble{max-width:88%;padding:8px 11px}.msg-bubble p{font-size:13px}.msg-row{margin-bottom:9px}.msg-bubble img{max-height:210px}.msg-compose{padding:6px 6px max(7px,env(safe-area-inset-bottom))}.msg-compose .msg-icon{width:32px;min-height:40px;padding:4px;font-size:21px}.msg-compose #msg-send{padding:10px;min-height:42px;font-size:12px;border-radius:12px}.msg-meta{font-size:10px}.msg-avatar{width:34px;height:34px;min-width:34px;font-size:12px}.msg-contact{padding:10px 7px}.msg-contact strong{font-size:13px}#msg-back{display:block}.msg-dialog{padding:17px}.msg-dialog h2{font-size:21px}.msg-empty h2{font-size:22px}.msg-request{font-size:12px;padding:8px 10px}}

.messages-page .jc-message-link{display:none!important}.messages-page .msg-history:focus:not(:focus-visible){outline:none}.messages-page .msg-title,.messages-page .msg-shell{flex-shrink:0}

.msg-compose .msg-icon svg{display:block;width:23px;height:23px;margin:auto}

.msg-history{touch-action:pan-y}.msg-history .msg-bubble p{font-size:var(--message-font-size,14px)}.msg-history .msg-bubble .msg-quote{font-size:max(11px,calc(var(--message-font-size,14px) * .84))}.msg-history .msg-meta{font-size:max(10px,calc(var(--message-font-size,14px) * .74))}.msg-size-preview{background:#edf3ef;padding:14px;border-radius:12px}.msg-dialog input[type=range]{width:100%;accent-color:#154e49}
@media(max-width:760px){.msg-history .msg-bubble p{font-size:var(--message-font-size,13px)}.msg-history .msg-bubble .msg-quote{font-size:max(11px,calc(var(--message-font-size,13px) * .84))}.msg-history .msg-meta{font-size:max(10px,calc(var(--message-font-size,13px) * .74))}}

.msg-reactions{display:inline-flex;background:transparent}.msg-reactions span{background:#fff}
