.chat-page{max-width:1120px!important}.chat-page h1{margin:0 0 12px}.chat-shell{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);height:clamp(480px,75dvh,790px);border:1px solid #343d4c;border-radius:14px;overflow:hidden;background:#10141c}.chat-shell[hidden],.chat-shell [hidden]{display:none!important}.chat-sidebar{min-width:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:12px;background:#181e28;border-right:1px solid #343d4c}.chat-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-sidebar h2,.chat-person-name h2{margin:0;font-size:18px}.chat-sidebar button,.chat-conversation button{width:auto;margin:0}.chat-sidebar-head button{padding:7px 9px;font-size:12px}.chat-label{font-size:12px;color:#aab4c4}.chat-sidebar input{width:100%}.chat-row{display:flex!important;align-items:center;gap:10px;text-align:left;width:100%!important;background:transparent!important;border:1px solid transparent!important;color:#eef1f6!important;border-radius:10px;padding:11px 8px!important}.chat-row:hover,.chat-row[aria-current=true]{background:#26343c!important;border-color:#394354!important}.chat-avatar{border-radius:50%;background:#30494b;color:#00dfc4;display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;font-weight:700}.chat-row-content{flex:1;min-width:0;display:grid;gap:4px}.chat-row-content strong,.chat-row-content small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-row-content small{color:#aab4c4;font-size:12px}.chat-row-meta{display:grid;gap:4px;justify-items:end;font-size:10px;color:#aab4c4}.chat-unread{border-radius:20px;padding:2px 6px;background:#00dfc4;color:#102321;font-weight:800}.chat-conversation{min-width:0;display:flex;flex-direction:column;overflow:hidden}.chat-empty{margin:auto;text-align:center;padding:20px;color:#aab4c4}.chat-conversation header{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#202632;border-bottom:1px solid #343d4c}.chat-person-name{flex:1;min-width:0;overflow-wrap:anywhere}.chat-person-name p{margin:2px 0;font-size:12px}.chat-menu-actions{position:absolute;right:20px;z-index:5;display:grid;gap:8px;background:#242b36;border:1px solid #465365;border-radius:9px;padding:12px}.chat-menu-actions a{padding:6px}.chat-conversation details summary{cursor:pointer}.chat-conversation #chat-back{display:none}#chat-scroll{flex:1;min-height:0;overflow:auto;padding:16px;overscroll-behavior:contain}#chat-older{display:block;margin:0 auto 12px!important}#chat-bubbles{display:flex;flex-direction:column;gap:8px;min-height:100%;justify-content:flex-end}.chat-bubble{align-self:flex-start;max-width:82%;background:#252d39;border-radius:12px 12px 12px 3px;padding:10px 12px;color:#eef1f6;overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end;background:#174844;border-radius:12px 12px 3px 12px}.chat-bubble p{white-space:pre-wrap;margin:0;color:inherit;font-size:14px;line-height:1.5}.chat-bubble time{display:block;text-align:right;color:#bac9ca;font-size:10px;margin-top:4px}.chat-date{text-align:center;color:#aab4c4;font-size:11px;margin:8px 0}#chat-compose{display:flex;align-items:end;padding:12px;gap:9px;border-top:1px solid #343d4c;background:#181e28;margin:0}#chat-compose textarea{flex:1;min-width:0;resize:vertical;max-height:120px;background:#11151d;border:1px solid #394354;border-radius:10px;padding:10px;font:inherit;color:#eef1f6}#chat-compose button{height:43px;padding:8px 20px}#chat-listing,#chat-restriction{padding:10px 14px;margin:0;border-bottom:1px solid #343d4c;font-size:13px;background:#202d32;overflow-wrap:anywhere}#chat-new-box{background:#10141c;border-radius:9px;padding:10px}#chat-new-box form{margin:0;display:grid;gap:6px}.chat-blocks{margin-top:auto;color:#aab4c4;font-size:12px}.chat-blocks>div{margin-top:8px}.chat-blocks .chat-row{font-size:12px}.chat-footnote{font-size:12px;color:#aab4c4}.chat-error{color:#ffb0ac!important}@media(max-width:700px){.chat-shell{display:flex;height:clamp(420px,72dvh,700px)}.chat-sidebar,.chat-conversation{width:100%;border:0}.chat-shell:not(.chat-open) .chat-conversation{display:none}.chat-shell.chat-open .chat-sidebar{display:none}.chat-conversation #chat-back{display:inline-block}.chat-menu-actions{right:12px}.chat-bubble{max-width:90%}#chat-scroll{padding:10px}.chat-page h1{font-size:23px}}
.nav-content>.chat-page{width:min(100%,1120px)}.chat-conversation header{margin:0;text-align:left}.chat-menu-actions{position:absolute}.chat-conversation #chat-menu{padding:6px;margin:0;position:relative}.chat-conversation #chat-menu .chat-menu-actions{right:0;min-width:160px}
