:root{font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#172333;background:#f7f9fc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #79b4ff;outline-offset:2px}::selection{color:#fff;background:#2684ff}.image-attachment-preview{position:relative;display:block;max-width:min(100%,380px);max-height:300px;padding:0;overflow:hidden;border:1px solid #e1e8f0;border-radius:12px;background:#f3f6fa}.image-attachment-preview img{display:block;max-width:100%;max-height:300px;object-fit:contain}.image-attachment-preview>span{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:7px;background:#142030b8;color:#fff;font-size:10px;opacity:0;transition:opacity .15s ease}.image-attachment-preview:hover>span,.image-attachment-preview:focus-visible>span{opacity:1}.image-attachment-loading{padding:12px;color:#7b899c;font-size:11px}.image-attachment-lightbox{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:48px;background:#080e18f0}.image-attachment-lightbox img{display:block;max-width:100%;max-height:calc(100vh - 100px);object-fit:contain}.image-attachment-lightbox p{position:absolute;right:64px;bottom:10px;left:64px;margin:0;overflow:hidden;color:#e8edf5;font-size:12px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.image-attachment-close{position:absolute;top:14px;right:20px;display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:#ffffff1a;color:#fff;font-size:27px;line-height:1}@media(max-width:600px){.image-attachment-lightbox{padding:52px 14px}.image-attachment-lightbox p{right:52px;left:52px}}.operations-page{min-height:100vh;background:radial-gradient(ellipse at 50% -14%,rgba(63,145,236,.09),transparent 42%),#f6f8fb}.operations-header{display:flex;align-items:center;justify-content:space-between;min-height:78px;padding:0 clamp(22px,6vw,88px);border-bottom:1px solid #e9eef4;background:#ffffffd1}.operations-brand,.operations-back,.header-actions{display:flex;align-items:center}.operations-brand{gap:11px;color:#1a2c42;font-weight:700;text-decoration:none}.operations-brand .brand-mark{width:36px;height:36px;font-size:23px}.operations-brand small{margin-left:6px;color:#3988e5;font-size:9px;letter-spacing:1px}.operations-back{gap:10px;color:#65758a;font-size:13px;font-weight:600;text-decoration:none}.operations-back:hover{color:#267fdf}.operations-content{width:min(100% - 40px,900px);margin:0 auto;padding:65px 0 46px}.operations-content>.eyebrow{margin-bottom:12px}.operations-content>h1{margin:0;color:#1a2c42;font-size:clamp(29px,5vw,39px);letter-spacing:-1.6px}.operations-intro{margin:12px 0 28px;color:#7a8798;font-size:14px;line-height:1.65}.overall-status{display:flex;align-items:center;gap:14px;min-height:82px;padding:16px 20px;border:1px solid #dcefe7;border-radius:12px;background:#f2fbf7}.overall-degraded{border-color:#f1e4bd;background:#fffaf0}.overall-down{border-color:#f1cccc;background:#fff5f5}.overall-indicator,.service-badge>span{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:#31b987;box-shadow:0 0 0 4px #31b9871f}.overall-degraded .overall-indicator,.badge-degraded>span{background:#d49c25;box-shadow:0 0 0 4px #d49c2521}.overall-down .overall-indicator,.badge-down>span{background:#d6535c;box-shadow:0 0 0 4px #d6535c1f}.overall-status>div{display:flex;flex:1;flex-direction:column;gap:5px}.overall-status strong{color:#287458;font-size:14px}.overall-degraded strong{color:#977020}.overall-down strong{color:#a63e47}.overall-status>div>span{color:#829082;font-size:11px}.refresh-button{width:34px;height:34px;border:1px solid #dbe8e2;border-radius:8px;background:#ffffffb3;color:#4f7968;font-size:21px;line-height:1}.service-list{display:grid;gap:12px;margin-top:16px}.service-card,.loading-card,.admin-users{border:1px solid #e6ebf2;border-radius:12px;background:#fff;box-shadow:0 5px 20px #23364e06}.service-card{padding:20px 22px 16px}.service-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.service-heading h2,.users-toolbar h2{margin:0;color:#26374c;font-size:15px;font-weight:700}.service-heading p{margin:6px 0 0;color:#95a0ae;font-size:11px}.service-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;border-radius:20px;background:#eff9f5;color:#338269;font-size:11px;font-weight:600;white-space:nowrap}.service-badge>span{width:7px;height:7px;box-shadow:none}.badge-degraded{background:#fff8e9;color:#987327}.badge-down{background:#fff0f0;color:#a64249}.badge-not_configured{background:#f1f3f6;color:#7a8695}.badge-not_configured>span{background:#98a2b0;box-shadow:none}.service-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:20px;padding-top:15px;border-top:1px solid #f0f2f6}.service-metrics>span{display:flex;flex-direction:column;gap:6px;color:#95a0ae;font-size:10px}.service-metrics strong{color:#506177;font-size:12px;font-weight:600}.status-footnote,.admin-updated{margin:17px 2px 0;color:#94a0ae;font-size:11px;line-height:1.7}.loading-card{padding:27px;color:#8491a1;font-size:13px;text-align:center}.history-warning,.operations-error{padding:11px 14px;border:1px solid #f1e4bd;border-radius:8px;background:#fffaf0;color:#8b6b25;font-size:12px}.operations-error{border-color:#f1cccc;background:#fff5f5;color:#a63e47}.operations-success{padding:11px 14px;border:1px solid #dcefe7;border-radius:8px;background:#f2fbf7;color:#287458;font-size:12px}.operations-footer{padding:19px;border-top:1px solid #e9eef4;color:#9aa5b2;font-size:10px;text-align:center}.header-actions{gap:22px}.logout-button,.user-search button,.user-action{min-height:35px;padding:0 12px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#52637a;font-size:11px;font-weight:600}.logout-button:hover,.user-search button:hover,.user-action:hover:not(:disabled){border-color:#b8c8dc;background:#f8fafc}.admin-content{width:min(100% - 40px,1120px)}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0}.metric-card{display:flex;flex-direction:column;gap:14px;min-height:100px;padding:18px;border:1px solid #e6ebf2;border-radius:10px;background:#fff}.metric-card>span{color:#8090a2;font-size:11px}.metric-card>strong{color:#23364d;font-size:26px;line-height:1}.admin-users{overflow:hidden}.users-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #edf0f4}.users-toolbar p{margin:6px 0 0;color:#929eac;font-size:11px}.user-search{display:flex;gap:7px}.user-search input{width:min(30vw,220px);height:35px;padding:0 10px;border:1px solid #dfe6ef;border-radius:7px;font-size:11px}.users-table-wrap{overflow-x:auto}.users-table{width:100%;border-collapse:collapse;text-align:left}.users-table th{padding:12px 14px;background:#f9fafc;color:#8c98a7;font-size:10px;font-weight:600;white-space:nowrap}.users-table td{padding:13px 14px;border-top:1px solid #f0f2f6;color:#647387;font-size:11px;white-space:nowrap}.users-table th:first-child,.users-table td:first-child{padding-left:20px}.username-cell{color:#283b53!important;font-weight:700}.user-status{display:inline-block;padding:5px 8px;border-radius:20px;background:#eff9f5;color:#338269;font-size:10px;font-weight:600}.user-status-blocked{background:#fff0f0;color:#a64249}.user-action{min-height:29px;padding:0 9px;font-size:10px}.user-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.promote-action{border-color:#d6e7fb;color:#2675c7}.user-action:disabled{cursor:wait;opacity:.6}.danger-action{border-color:#f0d8da;color:#a64249}.inspect-action{border-color:#dce8f8;color:#386eaa}.super-admin-inspector{margin-top:20px;overflow:hidden;border:1px solid #e6ebf2;border-radius:12px;background:#fff}.inspector-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid #edf0f4}.inspector-heading .eyebrow{margin:0 0 8px;color:#9a6a2c}.inspector-heading h2{margin:0;color:#27394f;font-size:17px}.inspector-heading p:last-child{margin:8px 0 0;color:#8794a4;font-size:11px;line-height:1.6}.inspector-layout{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.5fr);min-height:260px}.inspector-chat-list{border-right:1px solid #edf0f4}.inspector-chat-item{display:flex;width:100%;flex-direction:column;gap:7px;padding:14px 16px;border:0;border-bottom:1px solid #f0f2f6;background:#fff;color:#44566d;text-align:left;cursor:pointer}.inspector-chat-item:hover,.inspector-chat-item.selected{background:#f5f8fc}.inspector-chat-item strong{overflow:hidden;font-size:12px;text-overflow:ellipsis}.inspector-chat-item span,.inspector-empty{color:#8e9aaa;font-size:11px}.inspector-empty{padding:18px;line-height:1.6}.inspector-history{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:10px;max-height:570px;overflow:auto;padding:14px}.inspector-message{width:100%;padding:12px 13px;border:1px solid #edf0f4;border-radius:9px;background:#fbfcfe}.inspector-message>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.inspector-message strong{color:#41546b;font-size:11px}.inspector-message time,.inspector-message small{color:#9ba6b3;font-size:10px}.inspector-message p{margin:8px 0 0;color:#526176;font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.inspector-message .inspector-message-deleted{color:#9ba6b3;font-style:italic}.inspector-attachment{display:grid;justify-items:start;gap:9px;margin-top:10px}.empty-users{padding:32px!important;color:#8d99a8!important;text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}@media(max-width:760px){.operations-header{min-height:66px;padding:0 18px}.operations-content,.admin-content{width:min(100% - 32px,900px);padding-top:42px}.service-metrics,.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.inspector-layout{grid-template-columns:1fr}.inspector-chat-list{max-height:220px;overflow:auto;border-right:0;border-bottom:1px solid #edf0f4}.header-actions{gap:10px}.operations-brand{gap:8px;font-size:13px}.operations-brand .brand-mark{width:32px;height:32px;border-radius:10px;font-size:20px}}@media(max-width:480px){.operations-back{font-size:11px}.header-actions{gap:8px}.logout-button{padding:0 9px;font-size:10px}.service-card{padding:17px 15px 14px}.service-metrics{gap:13px 8px}.users-toolbar{align-items:flex-start;flex-direction:column}.user-search{width:100%}.user-search input{flex:1;width:auto}.admin-metrics{gap:8px}.metric-card{min-height:88px;padding:13px}.metric-card>strong{font-size:22px}}.messenger-shell{display:grid;grid-template-columns:360px minmax(0,1fr);height:100vh;min-height:560px;overflow:hidden;background:#fff}.chat-sidebar{display:flex;flex-direction:column;min-width:0;border-right:1px solid #e8edf4;background:#fbfcfe}.messenger-sidebar-header{padding:22px;border-bottom:1px solid #edf0f5;background:#fff}.messenger-brand{display:flex;align-items:center;gap:10px;color:#1b2b40;font-size:17px;font-weight:700;text-decoration:none}.messenger-brand .brand-mark{width:34px;height:34px;border-radius:11px;font-size:22px}.user-avatar,.chat-avatar,.message-avatar{display:grid;flex:0 0 auto;width:40px;height:40px;place-items:center;border-radius:14px;background:#e8f1ff;color:#2675d8;font-weight:700}.user-avatar{width:32px;height:32px;border-radius:11px}.chat-search-panel{position:relative;z-index:3;padding:16px 15px;border-bottom:1px solid #edf0f5;background:#fbfcfe}.chat-search-row{display:flex;align-items:center;gap:8px}.chat-search-box{display:flex;flex:1;align-items:center;gap:7px;min-width:0;height:40px;padding:0 11px;border:1px solid #e0e7f0;border-radius:9px;background:#fff;color:#8491a2}.chat-search-box:focus-within{border-color:#4993ed;box-shadow:0 0 0 3px #4993ed1f}.chat-search-icon{flex:0 0 16px;width:16px;height:16px;stroke:currentColor;stroke-linecap:round;stroke-width:1.6}.chat-search-box input{width:100%;min-width:0;padding:0;border:0;outline:0;color:#25364c;font-size:12px}.chat-search-box input:focus{outline:0}.chat-search-box input::placeholder{color:#98a4b3}.invite-link-row input:focus{border-color:#4993ed;outline:3px solid rgba(73,147,237,.12)}.create-group-toggle{display:grid;flex:0 0 40px;place-items:center;border:0;border-radius:9px;background:#287fe3;color:#fff}.create-group-icon{display:block;width:18px;height:18px;stroke:currentColor;stroke-linecap:round;stroke-width:1.8}.create-group-toggle:hover,.create-group-toggle.active{background:#176dce}.create-group-form{display:flex;gap:7px;margin-top:10px}.create-group-form input{flex:1;min-width:0;height:37px;padding:0 10px;border:1px solid #e0e7f0;border-radius:8px;background:#fff;color:#25364c;font-size:12px}.create-group-form button{padding:0 11px;border:0;border-radius:8px;background:#e9f2ff;color:#2675d8;font-size:11px;font-weight:650}.create-group-form button:disabled{cursor:default;opacity:.5}.search-results{position:absolute;top:calc(100% - 8px);right:15px;left:15px;max-height:min(380px,55vh);padding:6px;overflow-y:auto;border:1px solid #e5ebf3;border-radius:11px;background:#fff;box-shadow:0 14px 35px #22375224}.search-result{display:flex;align-items:center;gap:10px;width:100%;padding:9px;border:0;border-radius:8px;background:transparent;color:#27374d;text-align:left}.search-result:hover{background:#f1f6fc}.search-result .chat-avatar{width:34px;height:34px;border-radius:11px;font-size:12px}.search-result>span:nth-child(2){display:grid;flex:1;gap:4px;min-width:0}.search-result strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.search-result small{color:#8995a5;font-size:10px}.search-result-arrow{color:#4e8ed7;font-size:14px}.search-result-hint{margin:0;padding:13px 10px;color:#8793a4;font-size:11px}.chat-list-section{flex:1;min-height:0;padding:20px 11px 12px;overflow-y:auto}.chat-list-section h2{display:flex;align-items:center;justify-content:space-between;margin:0 10px 11px;color:#7b899c;font-size:11px;letter-spacing:.7px;text-transform:uppercase}.chat-list-section h2 span{display:grid;width:22px;height:22px;place-items:center;border-radius:7px;background:#edf2f8;color:#687990;font-size:10px;letter-spacing:0}.chat-list{display:grid;gap:4px}.chat-list-item{display:flex;align-items:center;gap:11px;width:100%;min-width:0;padding:11px 10px;border:0;border-radius:11px;background:transparent;color:#27374d;text-align:left}.chat-list-item:hover{background:#f1f5fa}.chat-list-item.selected{background:#eaf2ff}.chat-avatar.group-avatar{background:#ecedff;color:#6359ce}.chat-list-copy{display:grid;flex:1;min-width:0;gap:5px}.chat-list-copy strong{overflow:hidden;color:#29394f;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.chat-list-copy>span{overflow:hidden;color:#8793a4;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.chat-list-copy>.chat-preview-unread{color:#405a78;font-weight:600}.chat-list-trailing{display:grid;flex:0 0 auto;justify-items:end;gap:6px;align-self:flex-start}.chat-list-trailing time{align-self:flex-start;color:#99a4b2;font-size:10px}.chat-unread-badge{display:grid;min-width:19px;height:19px;place-items:center;padding:0 5px;border-radius:999px;background:#287fe3;color:#fff;font-size:9px;font-weight:700;line-height:1}.chat-list-hint{margin:12px 10px;color:#8b97a7;font-size:12px;line-height:1.6}.sidebar-footer{padding:14px 20px;border-top:1px solid #edf0f5;color:#9aa5b3;font-size:10px}.conversation-panel{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;background:radial-gradient(ellipse at 90% 5%,rgba(222,238,255,.3),transparent 30%),#f7f9fc}.conversation-panel.file-drag-active:after{position:absolute;z-index:20;top:78px;right:0;bottom:0;left:0;border:2px dashed #438de0;background:#ebf5ffc2;content:"";pointer-events:none}.file-drop-overlay{position:absolute;z-index:21;top:78px;right:0;bottom:0;left:0;display:grid;place-items:center;padding:22px;pointer-events:none}.file-drop-prompt{display:grid;justify-items:center;gap:9px;padding:28px 40px;border:1px solid #d5e7fb;border-radius:18px;background:#fffffff5;box-shadow:0 18px 48px #255b9729;text-align:center}.file-drop-prompt>span{display:grid;width:48px;height:48px;place-items:center;border-radius:16px;background:#eaf4ff;color:#2879d8;font-size:27px}.file-drop-prompt strong{color:#2d4764;font-size:14px}.file-drop-prompt small{color:#7d8da2;font-size:11px}.messenger-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;padding:12px 28px;border-bottom:1px solid #e8edf4;background:#ffffffed}.topbar-context{display:flex;flex:1;align-items:center;gap:12px;min-width:0}.topbar-brand-caption{color:#718096;font-size:13px;font-weight:600}.topbar-account{position:relative;flex:0 0 auto}.profile-menu-trigger{display:flex;align-items:center;gap:9px;padding:6px 9px;border:1px solid transparent;border-radius:11px;background:transparent;color:#41536b;font-size:12px;font-weight:600}.profile-menu-trigger:hover,.profile-menu-trigger.open{border-color:#e6edf6;background:#f7faff}.profile-menu-trigger .user-avatar{width:34px;height:34px}.profile-chevron{display:block;flex:0 0 16px;width:16px;height:16px;color:#8190a3;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.profile-menu{position:absolute;z-index:5;top:calc(100% + 8px);right:0;display:grid;width:210px;padding:6px;border:1px solid #e5ebf3;border-radius:12px;background:#fff;box-shadow:0 14px 35px #22375226}.profile-menu-heading{display:grid;gap:4px;margin:2px 2px 5px;padding:11px 10px;border-bottom:1px solid #edf0f5}.profile-menu-heading strong{overflow:hidden;color:#34445a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profile-menu-heading span{color:#8a96a6;font-size:10px}.profile-menu>button,.profile-menu>a{padding:10px;border:0;border-radius:7px;background:transparent;color:#51627a;font:inherit;font-size:11px;text-align:left;text-decoration:none}.profile-menu>button:hover,.profile-menu>a:hover{background:#f2f6fb;color:#2675d8}.profile-menu>.profile-logout{margin-top:3px;border-top:1px solid #edf0f5;border-radius:0 0 7px 7px;color:#bd5b54}.profile-dialog-backdrop{position:absolute;z-index:8;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#12223647;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.profile-dialog{position:relative;display:flex;width:min(100%,340px);flex-direction:column;align-items:center;padding:33px 28px 30px;border:1px solid #edf1f6;border-radius:18px;background:#fff;box-shadow:0 25px 80px #14284433;text-align:center}.profile-dialog-close{position:absolute;top:10px;right:13px;border:0;background:transparent;color:#8995a5;font-size:22px}.profile-dialog-avatar{display:grid;width:58px;height:58px;place-items:center;margin-bottom:20px;border:1px solid #dceafa;border-radius:20px;background:#eaf3ff;color:#2675d8;font-size:22px;font-weight:700}.profile-dialog .eyebrow{margin-bottom:8px}.profile-dialog h2{margin:0;color:#283a50;font-size:19px}.profile-dialog>p:last-child{margin:9px 0 0;color:#8190a3;font-size:12px}.group-settings-backdrop{overflow-y:auto}.group-settings-dialog{position:relative;width:min(100%,560px);max-height:min(820px,calc(100vh - 40px));padding:28px;overflow-y:auto;border:1px solid #e9eef5;border-radius:20px;background:radial-gradient(ellipse at 8% 0%,rgba(218,236,255,.5),transparent 32%),#fff;box-shadow:0 28px 90px #14284438}.group-settings-heading{display:flex;align-items:center;gap:15px;margin:0 34px 24px 0}.group-settings-icon{display:grid;flex:0 0 54px;width:54px;height:54px;place-items:center;border:1px solid #d9eaff;border-radius:18px;background:linear-gradient(145deg,#edf6ff,#f7fbff);box-shadow:0 8px 22px #317ed61a;color:#347fda;font-size:21px}.group-settings-heading .eyebrow{margin:0 0 5px;font-size:9px}.group-settings-heading h2{margin:0;color:#25364c;font-size:19px;letter-spacing:-.3px}.group-settings-heading div>span{display:block;margin-top:5px;color:#8995a5;font-size:11px}.group-settings-loading{padding:20px 0;color:#8793a4;font-size:12px;text-align:center}.group-rename-form{display:grid;gap:8px;margin-bottom:22px}.group-rename-form>label{color:#53647b;font-size:11px;font-weight:650}.group-rename-form>div{display:flex;gap:8px}.group-rename-form input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid #e0e7f0;border-radius:9px;background:#fbfcfe;color:#2d3e54;font-size:12px}.group-rename-form input:focus{border-color:#4993ed;outline:3px solid rgba(73,147,237,.12)}.group-rename-form button,.group-section-heading>button{padding:0 13px;border:0;border-radius:9px;background:#287fe3;color:#fff;font-size:11px;font-weight:650}.group-rename-form button:disabled,.group-section-heading>button:disabled{cursor:default;opacity:.5}.group-invites-section,.group-members-section{margin-top:22px;padding-top:18px;border-top:1px solid #edf0f5}.group-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.group-section-heading h3{margin:0;color:#34465d;font-size:13px}.group-section-heading p{margin:4px 0 0;color:#8995a5;font-size:10px}.group-section-heading>button{min-height:34px;padding:0 11px;background:#edf5ff;color:#2675d8}.group-section-heading>button:hover{background:#e2efff}.group-member-list{display:grid;gap:3px}.group-member-item,.group-invite-item{display:flex;align-items:center;gap:11px;min-height:54px;padding:7px 9px;border-radius:10px;transition:background .15s ease}.group-member-item:hover,.group-invite-item:hover{background:#f7f9fc}.group-member-avatar{display:grid;flex:0 0 36px;width:36px;height:36px;place-items:center;border:1px solid #e0ebfa;border-radius:12px;background:#eff6ff;color:#3477c6;font-size:12px;font-weight:700}.group-member-copy,.group-invite-item>span{display:grid;flex:1;gap:4px;min-width:0}.group-member-copy strong,.group-invite-item strong{overflow:hidden;color:#394b62;font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.group-member-copy small,.group-invite-item small{color:#8a97a8;font-size:9px}.member-actions{display:flex;gap:5px}.member-actions button,.group-invite-item>button{display:grid;min-width:30px;height:30px;place-items:center;padding:0 7px;border:1px solid #e7edf4;border-radius:8px;background:#fff;color:#64758c;font-size:15px}.member-actions button:hover{border-color:#cfe1f7;background:#f3f8ff;color:#2878d3}.member-actions .remove-member-button:hover,.group-invite-item>button:hover{border-color:#f1d6d2;background:#fff6f4;color:#b75c51}.member-actions button:disabled,.group-invite-item>button:disabled{cursor:default;opacity:.5}.group-invite-item{margin-top:3px}.group-invite-item>button{font-size:9px}.group-settings-empty{margin:12px 0 4px;color:#8a97a8;font-size:10px}.group-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:17px;border-top:1px solid #f1e7e5}.group-danger-zone p{max-width:280px;margin:0;color:#8995a5;font-size:10px;line-height:1.5}.group-danger-zone button,.leave-group-button{min-height:36px;padding:0 12px;border:1px solid #f0d8d4;border-radius:9px;background:#fff8f6;color:#b2564d;font-size:10px;font-weight:650}.group-danger-zone button:hover,.leave-group-button:hover{background:#fff0ed}.group-danger-zone button:disabled,.leave-group-button:disabled{cursor:default;opacity:.5}.leave-group-button{display:block;margin:22px 0 0 auto}.conversation-title{flex:1;min-width:0}.conversation-title h1{overflow:hidden;margin:0;color:#25364c;font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.conversation-title p{margin:5px 0 0;color:#8995a5;font-size:11px}.realtime-indicator{display:inline-flex;align-items:center;gap:5px;margin-top:5px;color:#8995a5;font-size:9px}.realtime-indicator>span{width:6px;height:6px;border-radius:50%;background:#d3a34a}.realtime-indicator.connected{color:#43856d}.realtime-indicator.connected>span{background:#31b987;box-shadow:0 0 0 3px #31b9871f}.typing-status{display:block;margin-top:4px;color:#43856d;font-size:10px}.audio-call-output{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none}.audio-call-container{position:fixed;width:0;height:0;pointer-events:none}.audio-call-button,.audio-call-controls>button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 11px;border:1px solid #d5e7fb;border-radius:9px;background:#eff7ff;color:#2675c7;font-size:10px;font-weight:650}.audio-call-button:disabled{cursor:default;opacity:.5}.audio-call-button:not(:disabled):hover,.audio-call-controls>button:not(:disabled):hover{background:#e3f0ff}.audio-call-controls{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.audio-call-controls>span{overflow:hidden;color:#52657d;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.audio-call-controls>.audio-call-end{border-color:#f0d7d4;background:#fff5f3;color:#b5574f}.audio-call-controls>.audio-call-end:hover{background:#ffebe8}.back-to-chats{display:none;border:0;background:transparent;color:#62738a;font-size:22px}.invite-button,.invite-link-row button{padding:9px 13px;border:1px solid #d9e6f7;border-radius:8px;background:#f5f9ff;color:#2675d8;font-size:11px;font-weight:650}.invite-button:hover,.invite-link-row button:hover{background:#eaf3ff}.invite-link-panel{padding:13px 28px;border-bottom:1px solid #e8edf4;background:#fff}.invite-link-panel label{display:block;margin-bottom:8px;color:#718096;font-size:11px;font-weight:650}.invite-link-row{display:flex;gap:8px}.invite-link-row input{flex:1;min-width:0;height:38px;padding:0 10px;border:1px solid #e0e7f0;border-radius:8px;color:#4c5e75;font-size:11px}.message-list{display:flex;flex:1;flex-direction:column;gap:17px;min-height:0;padding:28px clamp(18px,5vw,72px);overflow-y:auto}.load-older-messages{align-self:center;min-height:34px;padding:0 13px;border:1px solid #e1e8f0;border-radius:18px;background:#ffffffe6;color:#64758b;font-size:11px;font-weight:600}.load-older-messages:hover:not(:disabled){border-color:#c4d6eb;background:#fff;color:#347bc4}.load-older-messages:disabled{cursor:wait;opacity:.65}.message-row{position:relative;display:flex;align-items:flex-end;gap:9px;max-width:min(78%,680px);scroll-margin:35vh 0}.message-reaction-picker{position:absolute;top:-45px;right:0;z-index:4;display:flex;align-items:center;gap:2px;padding:5px;border:1px solid #e3eaf2;border-radius:11px;background:#fff;box-shadow:0 8px 22px #182d4921}.message-reaction-picker button{display:grid;width:31px;height:31px;place-items:center;padding:0;border:0;border-radius:8px;background:transparent;font-size:16px;transition:background .15s ease,transform .15s ease}.message-reaction-picker button:hover:not(:disabled){transform:scale(1.12);background:#f0f5fb}.message-reaction-picker button:disabled{cursor:default;opacity:.5}.message-jump-highlight .message-content>p{border-color:#8dbcf2;box-shadow:0 0 0 3px #4993ed1f;transition:border-color .2s ease,box-shadow .2s ease}.message-avatar{width:29px;height:29px;border-radius:10px;background:#e5edf8;color:#617a9d;font-size:11px}.message-content{display:grid;gap:5px;min-width:0}.message-author{padding-left:3px;color:#8090a4;font-size:10px}.message-content p{margin:0;padding:11px 14px;border:1px solid #e9edf3;border-radius:5px 15px 15px;background:#fff;box-shadow:0 3px 12px #182d4909;color:#34445a;font-size:13px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.message-file{display:flex;align-items:center;gap:11px;max-width:min(100%,360px);min-width:190px;padding:11px 13px;border:1px solid #e4ebf4;border-radius:6px 14px 14px;background:#fff;color:#435771;text-align:left;box-shadow:0 3px 12px #182d4909}.message-attachment{display:grid;justify-items:start;gap:7px}.message-file:hover{border-color:#b7d2f3;background:#fafdff}.message-file-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:10px;background:#edf5ff;color:#347ac5;font-size:19px}.message-file-copy{display:grid;min-width:0;gap:4px}.message-file-copy strong{overflow:hidden;color:#394d66;font-size:11px;text-overflow:ellipsis}.message-file-copy small{color:#8b98a9;font-size:10px}.message-reply-preview{display:grid;gap:3px;max-width:100%;padding:7px 10px;overflow:hidden;border:0;border-left:2px solid #77a9e5;border-radius:4px 8px 8px 4px;background:#f1f6fc;color:#667c98;text-align:left}.message-reply-preview:hover{background:#e8f1fb}.message-reply-preview:disabled{cursor:default;opacity:.8}.message-reply-preview strong{overflow:hidden;color:#4380c4;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.message-reply-preview span{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.4;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.message-meta{display:flex;align-items:center;justify-self:end;gap:6px;padding-right:3px;color:#9aa5b3;font-size:9px}.message-meta time{font-size:inherit}.message-meta>span{color:#a5afbc;font-size:9px}.message-meta>.message-read-receipt{color:#4384c9;font-weight:600}.message-reactions{display:flex;flex-wrap:wrap;gap:5px;justify-self:start;margin-top:2px}.message-reaction{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:2px 8px;border:1px solid #e2e9f1;border-radius:999px;background:#fff;color:#66778d;font-size:11px;transition:border-color .15s ease,background .15s ease,transform .15s ease}.message-reaction:hover:not(:disabled){transform:translateY(-1px);border-color:#cbdcf0;background:#f7faff}.message-reaction.selected{border-color:#b6d4f7;background:#eaf4ff;color:#2c6eb5}.message-reaction span:first-child{font-size:13px;line-height:1}.message-reaction span:last-child{font-size:10px;font-weight:650}.message-reaction:disabled{cursor:default;opacity:.6}.own-message{align-self:flex-end}.own-message .message-content p{border-color:#d6e8ff;border-radius:15px 5px 15px 15px;background:#e9f3ff;color:#244c78}.own-message .message-meta{justify-self:start}.message-actions{display:flex;align-items:center;gap:3px;align-self:center;margin-bottom:13px;opacity:0;transition:opacity .15s ease}.message-row:hover .message-actions,.message-row:focus-within .message-actions{opacity:1}.message-actions button{display:grid;width:27px;height:27px;place-items:center;padding:0;border:1px solid #e3eaf2;border-radius:8px;background:#ffffffe6;color:#75859b}.message-actions button:hover:not(:disabled){border-color:#cfe0f5;background:#fff;color:#2878d3}.message-actions .download-image-action svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.message-actions .delete-message-action:hover:not(:disabled){border-color:#f0d8d4;color:#b75c51}.message-actions button:disabled{cursor:default;opacity:.5}.message-actions svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.3}.message-edit-form{display:grid;gap:8px;min-width:min(300px,65vw);padding:9px;border:1px solid #cfe0f5;border-radius:12px;background:#fff;box-shadow:0 7px 20px #182d4914}.message-edit-form textarea{min-height:64px;max-height:180px;resize:vertical;padding:8px;border:1px solid #e6ebf2;border-radius:8px;color:#34445a;font:inherit;font-size:12px;line-height:1.5}.message-edit-form textarea:focus{border-color:#4993ed;outline:3px solid rgba(73,147,237,.12)}.message-edit-form>div{display:flex;justify-content:flex-end;gap:6px}.message-edit-form button{min-height:29px;padding:0 9px;border:1px solid #e4eaf2;border-radius:7px;background:#fff;color:#687990;font-size:10px}.message-edit-form button[type=submit]{border-color:#287fe3;background:#287fe3;color:#fff}.message-edit-form button:disabled{cursor:default;opacity:.5}.deleted-message-content{color:#8d99a8!important;font-size:11px!important;font-style:italic}.conversation-welcome,.empty-conversation{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center}.conversation-welcome{min-height:220px;margin:auto}.welcome-chat-icon{display:grid;width:50px;height:50px;place-items:center;border:1px solid #dceafa;border-radius:17px;background:#eef6ff;color:#3385e1;font-size:22px}.conversation-welcome h2,.empty-conversation h1{margin:17px 0 7px;color:#34465d;font-size:19px}.conversation-welcome p,.empty-conversation p{max-width:330px;margin:0;color:#8491a2;font-size:12px;line-height:1.7}.message-composer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:flex-end;gap:4px 10px;margin:0 clamp(18px,5vw,72px);padding:9px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;box-shadow:0 6px 25px #1c35550e}.composer-reply{display:flex;grid-column:1 / -1;align-items:center;gap:9px;min-width:0;padding:7px 8px;border-radius:8px;background:#f3f7fc}.composer-reply-marker{width:3px;align-self:stretch;border-radius:3px;background:#438be0}.composer-reply>div{display:grid;flex:1;gap:3px;min-width:0}.composer-reply strong,.composer-reply span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-reply strong{color:#3979bf;font-size:10px}.composer-reply span{color:#7d8ba0;font-size:10px}.message-composer .composer-reply>button{display:grid;flex:0 0 26px;width:26px;min-height:26px;place-items:center;padding:0;border:0;border-radius:7px;background:transparent;color:#8794a5;font-size:18px}.message-composer .composer-reply>button:hover{background:#e7edf5;color:#4e6179}.message-composer textarea{flex:1;min-height:38px;max-height:130px;resize:vertical;padding:10px 9px;border:0;background:transparent;color:#34445a;font:inherit;font-size:13px;line-height:1.5}.message-composer textarea:focus{outline:none}.message-composer button{min-height:38px;padding:0 16px;border:0;border-radius:9px;background:#287fe3;color:#fff;font-size:11px;font-weight:650}.message-composer button:hover:not(:disabled){background:#176dce}.message-composer button:disabled{cursor:default;opacity:.48}.composer-file-input{display:none}.message-composer .composer-attach{display:grid;width:38px;height:38px;place-items:center;border:1px solid #e5ebf3;border-radius:9px;background:#f8fafc;color:#64758c;font-size:22px;line-height:1;cursor:pointer}.message-composer .composer-attach svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.message-composer .composer-photo-attach{margin-left:-5px;background:#eef6ff;color:#2879d8}.message-composer .composer-photo-attach:hover{background:#e2efff}.message-composer .composer-attach:hover{border-color:#c8dcf5;background:#f0f6ff;color:#287fe3}.composer-file-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px clamp(18px,5vw,72px) 0;padding:7px 10px;border:1px solid #e4ebf4;border-radius:8px;background:#fff;color:#718198;font-size:10px}.composer-file-selection span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-file-selection strong{color:#455a74}.composer-file-selection button{flex:0 0 22px;width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:#8794a5;font-size:16px}.composer-hint{margin:8px clamp(18px,5vw,72px) 15px;color:#a2acb9;font-size:9px}.empty-chat-art{display:grid;width:78px;height:78px;place-items:center;border:1px solid rgba(112,165,225,.22);border-radius:27px;background:linear-gradient(145deg,#eaf4ff,#f8fbff);box-shadow:0 15px 45px #3c7fd01a;color:#3081dc;font-size:45px;font-weight:800}.empty-conversation h1{margin-top:24px;font-size:23px}.messenger-error{position:absolute;z-index:2;top:90px;right:18px;left:18px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 14px;border:1px solid #f2d2cd;border-radius:9px;background:#fff3f0;box-shadow:0 5px 18px #32282814;color:#a34d42;font-size:11px}.messenger-error button{flex:0 0 auto;padding:0;border:0;background:transparent;color:inherit;font-size:18px}@media(max-width:800px){.messenger-shell{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:620px){.messenger-shell{display:block;min-height:100dvh;height:100dvh}.chat-sidebar,.conversation-panel{width:100%;height:100%}.chat-sidebar-hidden-mobile{display:none}.conversation-panel:not(.conversation-empty){display:flex}.conversation-empty{display:none}.conversation-panel.conversation-empty{position:absolute;z-index:2;top:0;right:0;left:auto;display:flex;width:auto;height:68px;min-height:0;background:transparent;pointer-events:none}.conversation-empty .messenger-topbar{min-height:68px;padding-right:12px;border:0;background:transparent;pointer-events:auto}.conversation-empty .topbar-context,.conversation-empty .empty-conversation{display:none}.conversation-empty .profile-dialog-backdrop{position:fixed;pointer-events:auto}.back-to-chats{display:block}.messenger-topbar{min-height:70px;padding:10px 12px}.profile-trigger-name{display:none}.profile-menu-trigger{gap:3px;padding:4px}.topbar-context{gap:7px}.topbar-context .chat-avatar{width:34px;height:34px;border-radius:11px}.invite-button{padding:8px;font-size:10px}.message-list{padding:20px 13px}.message-row{max-width:90%}.message-actions{opacity:1}.message-actions button{width:25px;height:25px}.message-composer{margin-right:12px;margin-left:12px}.composer-hint{margin-right:14px;margin-left:14px}.invite-link-panel{padding:11px 14px}.invite-link-row input{font-size:10px}.invite-link-row button{padding-right:9px;padding-left:9px}.group-settings-dialog{max-height:calc(100vh - 24px);padding:22px 16px 18px;border-radius:16px}.group-settings-heading{gap:11px;margin-bottom:19px}.group-settings-icon{flex-basis:46px;width:46px;height:46px;border-radius:15px}.group-settings-heading h2{font-size:17px}.group-danger-zone{align-items:flex-start;flex-direction:column}.group-danger-zone button{align-self:flex-end}}#root{min-height:100vh}.auth-page{display:grid;grid-template-columns:minmax(390px,.88fr) 1.12fr;min-height:100vh;overflow:hidden}.auth-aside{position:relative;display:flex;min-height:100vh;overflow:hidden;color:#fff;background:radial-gradient(ellipse at 75% 12%,rgba(77,168,255,.38),transparent 32%),radial-gradient(ellipse at 15% 88%,rgba(34,99,211,.35),transparent 36%),linear-gradient(145deg,#10243d,#102c50 54%,#0b1d35)}.aside-content{z-index:1;display:flex;flex-direction:column;width:100%;padding:48px clamp(32px,5vw,76px) 36px}.brand-lockup,.mobile-brand{display:flex;align-items:center;gap:12px;font-family:inherit;font-size:19px;font-weight:700;letter-spacing:-.5px}.brand-mark{display:grid;flex:0 0 auto;width:39px;height:39px;place-items:center;border:1px solid rgba(255,255,255,.32);border-radius:13px;background:linear-gradient(145deg,#48a5ff,#1975e5);box-shadow:0 8px 24px #126ee152;color:#fff;font-family:inherit;font-size:25px;font-weight:800}.aside-message{max-width:470px;margin:auto 0;padding:70px 0}.eyebrow{margin:0 0 16px;color:#3289ee;font-size:11px;font-weight:700;letter-spacing:1.7px}.aside-message .eyebrow{color:#82bcff}.aside-message h1{margin:0;font-family:inherit;font-size:clamp(40px,4.5vw,62px);font-weight:700;letter-spacing:-3px;line-height:1.16}.aside-message h1 span{color:#77baff}.aside-message>p:last-child{max-width:330px;margin:22px 0 0;color:#bbcadc;font-size:15px;line-height:1.8}.aside-footer,.next-step{display:flex;align-items:center;gap:10px;color:#b1c2d7;font-size:12px}.status-dot{width:8px;height:8px;border-radius:50%;background:#4ad6aa;box-shadow:0 0 12px #4ad6aa73}.orbit{position:absolute;right:-190px;bottom:11%;width:470px;height:470px;border:1px solid rgba(143,192,244,.1);border-radius:50%}.orbit-two{right:-120px;bottom:18%;width:330px;height:330px;border-color:#8fc0f41f}.orbit-three{right:-50px;bottom:25%;width:190px;height:190px;border-color:#8fc0f424}.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:48px 36px 24px}.auth-card{width:min(100%,410px);margin:auto 0;padding:42px 0}.mobile-brand{display:none;margin-bottom:42px}.auth-card h2,.welcome-card h1{margin:0;font-family:inherit;font-size:29px;font-weight:700;letter-spacing:-1.1px}.form-intro{margin:10px 0 28px;color:#748196;font-size:14px;line-height:1.65}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:27px;padding:4px;border:1px solid #e8edf4;border-radius:10px;background:#f0f3f8}.auth-tabs button{padding:10px;border:0;border-radius:7px;background:transparent;color:#778398;font-size:13px;font-weight:600;transition:color .18s ease,background .18s ease,box-shadow .18s ease}.auth-tabs button.active{background:#fff;box-shadow:0 1px 5px #1f334c14;color:#1b2b40}.auth-card form{display:flex;flex-direction:column}.auth-card label{margin:0 0 8px;color:#35445a;font-size:12px;font-weight:600}.auth-card input{width:100%;height:48px;margin:0 0 20px;padding:0 14px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#172333;font-size:14px;transition:border-color .18s ease,box-shadow .18s ease}.auth-card input::placeholder{color:#a3adbb}.auth-card input:focus{border-color:#438ff0;box-shadow:0 0 0 3px #3390ec1a;outline:none}.input-wrap{position:relative}.input-wrap input{padding-left:35px}.input-prefix{position:absolute;top:14px;left:14px;color:#8290a2;font-size:14px}.primary-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:49px;margin-top:3px;border:0;border-radius:8px;background:linear-gradient(100deg,#2381ee,#3999fa);box-shadow:0 7px 16px #2985eb30;color:#fff;font-size:14px;font-weight:600;transition:filter .18s ease,transform .18s ease}.primary-button:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}.primary-button:disabled{cursor:wait;opacity:.7}.form-error{margin:-5px 0 15px;color:#c93d4c;font-size:13px;line-height:1.5}.privacy-note{margin:22px 0 0;color:#99a4b3;font-size:11px;line-height:1.7;text-align:center}.page-footer{display:flex;justify-content:space-between;width:min(100%,410px);padding:18px 0;border-top:1px solid #e9edf3;color:#9aa4b1;font-size:11px}.welcome-page{display:grid;min-height:100vh;padding:24px;place-items:center;background:radial-gradient(ellipse at 50% 0,rgba(51,144,236,.12),transparent 48%),#f7f9fc}.welcome-card{width:min(100%,440px);padding:46px;border:1px solid #edf0f5;border-radius:18px;background:#fff;box-shadow:0 18px 55px #1b304d14}.welcome-card .brand-mark{margin-bottom:28px}.welcome-card h1{font-size:27px;line-height:1.4}.welcome-card h1 span{color:#2788ef}.welcome-copy{margin:13px 0 24px;color:#778398;font-size:14px;line-height:1.7}.next-step{min-height:42px;padding:0 13px;border:1px solid #e8edf3;border-radius:8px;background:#f8fafc;color:#556478}.secondary-button{width:100%;min-height:45px;margin-top:20px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#47586e;font-weight:600}.secondary-button:hover{border-color:#b8c8dc;background:#f9fbfd}.access-back{display:flex;align-items:center;justify-content:center;margin-top:12px;color:#47586e;font-size:13px;text-decoration:none}@media(max-width:850px){.auth-page{grid-template-columns:minmax(290px,.75fr) 1.25fr}.aside-content{padding-right:36px;padding-left:36px}.aside-message h1{font-size:44px}}@media(max-width:640px){.auth-page{display:block}.auth-aside{display:none}.auth-main{min-height:100vh;padding:26px 25px 16px}.auth-card{padding:18px 0 28px}.mobile-brand{display:flex;margin-bottom:50px;font-size:17px}.auth-card h2{font-size:26px}.page-footer{margin-top:auto}.welcome-card{padding:32px 26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
