.sm-dialog,.sm-dialog *{box-sizing:border-box}.sm-dialog{color:#d5d5d5;background:#111;border:1px solid #414141;border-radius:14px;padding:0;width:min(960px,calc(100vw - 32px));height:min(680px,calc(100dvh - 40px));max-width:none;max-height:none;overflow:hidden;font:13px Inter,'Segoe UI',sans-serif;position:fixed;inset:0;margin:auto}.sm-dialog::backdrop{background:#000c}.sm-dialog [hidden]{display:none!important}.sm-dialog button,.sm-dialog input,.sm-dialog textarea{font:inherit;color:inherit;letter-spacing:normal}.sm-dialog button{border:0;background:transparent;cursor:pointer;min-height:34px;padding:7px 10px;border-radius:5px;flex-shrink:0}.sm-dialog button:hover:not(:disabled){background:#303030}.sm-dialog button:disabled{opacity:.45;cursor:default}.sm-dialog button:focus-visible,.sm-dialog input:focus-visible,.sm-dialog textarea:focus-visible{outline:1px solid #ddd;outline-offset:2px}.sm-dialog h2,.sm-dialog h3,.sm-dialog p{margin:0}.sm-top{height:75px;padding:17px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #303030}.sm-top h2{font-size:19px;font-weight:500}.sm-top p{font-size:10px;color:#929292;margin-top:4px}.sm-top>button{font-size:25px;line-height:1}.sm-layout{height:calc(100% - 108px);display:grid;grid-template-columns:310px minmax(0,1fr)}.sm-rail{padding:17px 14px;border-right:1px solid #303030;display:flex;flex-direction:column;min-height:0;overflow:hidden}.sm-search{display:block;font-size:10px;color:#aaa;margin:0}.sm-search input[type=search]{display:block;margin-top:8px;width:100%;min-width:0;background:#1c1c1c;border:1px solid #393939;border-radius:6px;padding:10px 12px;color:#ddd;font-size:12px}.sm-tabs{display:flex;gap:4px;justify-content:space-between;margin:14px 0 10px}.sm-tabs button{font-size:11px;padding:7px 9px;min-width:0}.sm-tabs button[aria-pressed=true]{background:#d4d4d4;color:#141414}.sm-people{overflow:auto;min-height:0;flex:1;scrollbar-width:thin}.sm-people>h3{font-size:10px;font-weight:400;color:#999;margin:18px 8px 6px;text-transform:uppercase;letter-spacing:.1em}.sm-person{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:5px 0;border-bottom:1px solid #252525}.sm-dialog .sm-person-open{flex:1;min-width:0;display:block;text-align:left;padding:10px 8px;overflow:hidden}.sm-person-open strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sm-person-open small{display:block;color:#999;font-size:10px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sm-person-actions{display:flex;gap:4px;align-items:center;padding:0 6px 8px;width:100%}.sm-person-actions button,.sm-person-actions>span{font-size:10px}.sm-person-actions button:first-child{background:#303030}.sm-unread,.sm-trigger>span{font-size:9px;background:#d8d8d8;color:#111;border-radius:999px;padding:3px 6px;margin-right:6px}.sm-trigger>span{margin:0 0 0 3px;display:inline-block}.sm-trigger>span[hidden]{display:none}.sm-empty{color:#999;font-size:11px;line-height:1.8;padding:26px 10px}.sm-conversation{min-width:0;min-height:0;position:relative}.sm-welcome{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:35px;text-align:center}.sm-welcome>span{font-size:52px;color:#777;margin-bottom:18px}.sm-welcome h3{font-size:18px;font-weight:400;line-height:1.5}.sm-welcome p{font-size:12px;color:#999;max-width:310px;line-height:1.8;margin-top:13px}.sm-chat{height:100%;display:flex;flex-direction:column;min-height:0}.sm-chat-head{display:flex;align-items:center;gap:12px;padding:15px 20px;min-height:75px;border-bottom:1px solid #282828}.sm-chat-head>div{min-width:0;flex:1}.sm-chat-head h3{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sm-chat-head small{display:block;color:#929292;font-size:10px;margin-top:5px}.sm-chat-head [data-sm-remove]{font-size:10px;color:#999}.sm-chat-head [data-sm-back]{display:none;font-size:19px}.sm-scroll{flex:1;min-height:0;overflow:auto;padding:19px;scrollbar-width:thin}.sm-log{display:flex;flex-direction:column;gap:12px}.sm-message{align-self:flex-start;max-width:85%;background:#242424;border:1px solid #333;border-radius:11px 11px 11px 3px;padding:10px 13px;min-width:80px}.sm-message.sm-mine{align-self:flex-end;background:#d3d3d3;border-color:#d3d3d3;color:#151515;border-radius:11px 11px 3px 11px}.sm-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;color:inherit}.sm-message time{display:block;font-size:9px;color:#979797;margin-top:5px;text-align:right}.sm-mine time{color:#626262}.sm-no-messages{text-align:center;font-size:11px;color:#929292;padding:30px}.sm-older{display:block;margin:0 auto 15px;font-size:10px}.sm-dialog .sm-composer{padding:12px 18px 13px;border-top:1px solid #303030;background:#151515}.sm-text-label{display:block;margin:0;font-size:0;color:inherit}.sm-text-label textarea{width:100%;min-width:0;min-height:65px;max-height:140px;resize:vertical;border:1px solid #414141;background:#1c1c1c;border-radius:7px;padding:10px;font-size:13px;color:#ddd;line-height:1.6}.sm-composer>div{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.sm-counter{font-size:9px;color:#999}.sm-dialog .sm-composer button{background:#d4d4d4;color:#111;padding:8px 19px}.sm-composer button:hover:not(:disabled){background:#eee}.sm-status{height:33px;padding:8px 16px;border-top:1px solid #303030;color:#aaa;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sm-friend-required{font-size:11px;padding:10px 18px;background:#202020;color:#aaa;line-height:1.6}.sm-remove-confirm{padding:12px 18px;background:#272727;font-size:11px}.sm-remove-confirm p{line-height:1.6;margin-bottom:6px}.sm-remove-confirm button{font-size:11px}.sm-profile-button{margin-top:12px;border:1px solid #555!important;border-radius:6px!important;padding:8px 13px!important;font-size:12px!important;background:#242424!important;color:#ddd!important;cursor:pointer}.sm-profile-button:disabled{opacity:.5}.sm-trigger{white-space:nowrap}
@media(max-width:650px){.sm-dialog{width:calc(100vw - 18px);height:calc(100dvh - 24px);border-radius:10px}.sm-layout{grid-template-columns:1fr}.sm-conversation{display:none}.sm-rail{border:0}.sm-peer-open .sm-conversation{display:block}.sm-peer-open .sm-rail{display:none}.sm-chat-head [data-sm-back]{display:block}.sm-top{padding-inline:16px}.sm-top h2{font-size:17px}.sm-chat-head{padding:12px 13px;gap:7px}.sm-chat-head h3{font-size:13px}.sm-chat-head [data-sm-remove]{font-size:9px;padding:6px}.sm-scroll{padding:14px}.sm-message{max-width:91%}.sm-person-open strong{font-size:13px}.sm-person-actions button{min-height:37px}.sm-dialog .sm-composer{padding:12px}.sm-message p{font-size:13px}}
.sm-dialog .sm-top,.sm-dialog .sm-chat-head{margin:0;flex-shrink:0}.sm-dialog .sm-tabs{order:0;flex:0 0 auto}.sm-dialog .sm-search{flex:0 0 auto}
.sm-dialog .sm-tabs button[aria-pressed=true],.sm-dialog .sm-tabs button[aria-pressed=true]:hover{background:#d4d4d4;color:#141414}.sm-dialog .sm-composer button:hover:not(:disabled){background:#eee;color:#111}
