.auth-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:28px 16px;color:#f3f2fb;background:radial-gradient(ellipse at 18% 8%,rgba(119,103,225,.2),transparent 36%),radial-gradient(ellipse at 85% 90%,rgba(89,190,185,.09),transparent 34%),#10111b}.auth-card{width:min(100%,440px);padding:34px;border:1px solid rgba(255,255,255,.09);border-radius:25px;background:linear-gradient(160deg,#1e2031f7,#151724fa);box-shadow:0 24px 80px #00000052,inset 0 1px #ffffff09}.auth-card--setup{width:min(100%,500px)}.auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:28px;font-family:Manrope,sans-serif;font-size:19px;font-weight:800;letter-spacing:-.5px}.auth-brand>span>span{color:#a99bff}.auth-brand-mark{width:38px;height:38px;display:grid;place-items:center;overflow:hidden}.auth-brand-mark img{width:100%;height:100%;object-fit:contain}.auth-orbit{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 17px;border:1px solid rgba(169,155,255,.2);border-radius:19px;color:#c2b8ff;background:linear-gradient(145deg,#a99bff2e,#72d9d214);box-shadow:0 10px 28px #6f5ed321}.auth-orbit--success{color:#8be0c3;border-color:#8be0c333;background:#8be0c317}.auth-kicker{margin:0 0 9px;color:#a99bff;font-size:9px;font-weight:800;letter-spacing:1.65px;text-align:center}.auth-card h1{margin:0;color:#f5f3ff;font-family:Manrope,sans-serif;font-size:clamp(24px,5vw,29px);line-height:1.25;letter-spacing:-.8px;text-align:center}.auth-description{margin:10px auto 23px;max-width:345px;color:#9b9fb3;font-size:12px;line-height:1.7;text-align:center}.auth-description strong{color:#e6e2ff;overflow-wrap:anywhere}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:21px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#07080f4d}.auth-tabs button{min-height:36px;border:0;border-radius:9px;color:#8e92a8;background:transparent;font-size:11px;font-weight:700;cursor:pointer}.auth-tabs button.is-active{color:#f2efff;background:#a99bff26;box-shadow:inset 0 0 0 1px #a99bff21}.auth-form{display:grid;gap:15px}.auth-field{display:grid;gap:7px;color:#c4c1d5;font-size:10px;font-weight:700}.auth-field>div{min-height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid rgba(255,255,255,.09);border-radius:11px;color:#888da5;background:#080a1247}.auth-field>div:focus-within{border-color:#a99bff8c;box-shadow:0 0 0 3px #a99bff14}.auth-field input{width:100%;min-width:0;border:0;outline:0;color:#f3f2fb;background:transparent;font-size:12px}.auth-field input::placeholder{color:#676c82}.auth-password-toggle{width:28px;height:30px;display:grid;flex:0 0 auto;place-items:center;border:0;color:#858aa1;background:transparent;cursor:pointer}.auth-forgot{justify-self:end;margin-top:-6px;border:0;color:#b7aaff;background:transparent;font-size:10px;cursor:pointer}.auth-submit,.auth-primary-link{min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:3px;border:0;border-radius:11px;color:#211d3c;background:linear-gradient(120deg,#c1b6ff,#8c7cf2 65%,#77d6ce);box-shadow:0 8px 22px #8270f530;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .18s ease,filter .18s ease}.auth-submit:hover:not(:disabled),.auth-primary-link:hover{filter:brightness(1.06);transform:translateY(-1px)}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-spinner{animation:auth-spin 1s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-message{padding:10px 12px;border:1px solid transparent;border-radius:10px;font-size:10px;line-height:1.55}.auth-message--error{color:#ffc0c7;border-color:#ff788b2e;background:#ff5c7314}.auth-message--success{color:#9be4c6;border-color:#7bdab22e;background:#51bf9114}.auth-message--info{margin:18px 0;color:#c4bee6;border-color:#a99bff24;background:#a99bff12}.auth-security{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:20px;color:#8d91a8;font-size:9px}.auth-security svg{flex:0 0 auto;color:#8bd6bb}.auth-footnote{margin:15px 0 0;color:#6f748b;font-size:9px;line-height:1.6;text-align:center}.auth-secondary-button,.auth-back,.auth-secondary-link{min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;border:1px solid rgba(255,255,255,.08);border-radius:10px;color:#c2bddb;background:#ffffff06;font-size:10px;text-decoration:none;cursor:pointer}.auth-secondary-button:disabled{opacity:.6;cursor:wait}.auth-back{min-height:34px;margin-top:13px;border:0;color:#969ab0;background:transparent}.auth-secondary-link{border:0;color:#b7aaff;background:transparent}.setup-steps{display:grid;gap:12px;margin:22px 0}.setup-steps>div{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:#ffffff06}.setup-steps>div>span{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;border-radius:10px;color:#c1b6ff;background:#a99bff1c;font-size:10px;font-weight:800}.setup-steps p{display:grid;gap:4px;margin:0}.setup-steps strong{color:#e9e6f5;font-size:11px}.setup-steps small{color:#888da5;font-size:9px}.auth-primary-link{margin-top:7px}.account-summary{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid rgba(139,224,195,.14);border-radius:12px;background:#8be0c30b}.account-avatar{width:38px;height:38px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;color:#1c2830;background:linear-gradient(145deg,#b7eee0,#7bcab9);font-weight:800}.account-summary>div{min-width:0;flex:1;display:grid;gap:4px}.account-summary strong{color:#eeedf5;font-size:11px}.account-summary small{overflow:hidden;color:#8e92a8;font-size:9px;text-overflow:ellipsis}.account-summary>svg{color:#8be0c3}.auth-loading{display:flex;align-items:center;gap:11px;color:#aaa5c9;font-size:12px}@media(max-width:480px){.auth-card{padding:27px 21px;border-radius:21px}.auth-brand{margin-bottom:23px}}.account-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#05060db8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.account-dialog{width:min(100%,440px);max-height:min(88dvh,760px);overflow-y:auto;padding:25px;border:1px solid rgba(255,255,255,.1);border-radius:22px;color:#f3f2fb;background:linear-gradient(160deg,#202235,#151724);box-shadow:0 25px 90px #00000073}.account-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:19px}.account-dialog-header h2{margin:4px 0 0;color:#f5f3ff;font-family:Manrope,sans-serif;font-size:21px;letter-spacing:-.5px}.account-close{width:35px;height:35px;display:grid;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:10px;color:#a7abc0;background:#ffffff0a;cursor:pointer}.account-link-form{margin-top:16px}.account-inline-notice{margin:10px 0 0;color:#9be4c6;font-size:10px;line-height:1.5}:root{color-scheme:dark;--fc-bg: #10111b;--fc-panel: #171927;--fc-panel-soft: #1d2031;--fc-line: rgba(224, 222, 255, .09);--fc-text: #f2f0fb;--fc-muted: #9296ad;--fc-dim: #686e86;--fc-lavender: #ad9fff;--fc-mint: #83d8cb}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{color:var(--fc-text);background:var(--fc-bg);font-family:Inter,Segoe UI,Roboto,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid rgba(173,159,255,.75);outline-offset:2px}.app-shell{display:grid;grid-template-columns:68px minmax(270px,318px) minmax(360px,1fr) 282px;width:100%;height:100dvh;min-height:620px;overflow:hidden;color:var(--fc-text);background:radial-gradient(ellipse at 54% -15%,rgba(107,91,190,.12),transparent 44%),var(--fc-bg)}.rail{z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding:18px 10px 15px;border-right:1px solid var(--fc-line);background:#0e0f19f5}.brand-mark{display:grid;width:42px;height:42px;place-items:center;overflow:hidden;border:1px solid rgba(173,159,255,.16);border-radius:15px;background:#202238;box-shadow:0 8px 25px #0003}.brand-logo{display:block;width:100%;height:100%;object-fit:contain}.rail-divider{width:30px;height:1px;margin:5px 0 7px;background:var(--fc-line)}.rail-button,.icon-button{display:inline-grid;flex:0 0 auto;width:40px;height:40px;place-items:center;border:1px solid transparent;border-radius:12px;color:#999db4;background:transparent;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease}.rail-button:hover,.icon-button:hover{color:#eeeaff;border-color:#ad9fff21;background:#ad9fff17}.rail-button--active{color:#c3b9ff;border-color:#ad9fff33;background:linear-gradient(145deg,#9784ff33,#5fc5be14);box-shadow:inset 0 0 0 1px #ad9fff0a,0 7px 22px #00000029}.rail-spacer{flex:1}.rail-profile{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(173,159,255,.24);border-radius:13px;color:#211d3c;background:linear-gradient(135deg,#c8bcff,#83d8cb);font-weight:800;cursor:pointer}.chat-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;padding:27px 17px 15px;overflow:hidden;border-right:1px solid var(--fc-line);background:linear-gradient(180deg,#181a29fa,#141622fa)}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.eyebrow,.section-label,.info-header,.info-section-title{color:#777d98;font-size:9px;font-weight:800;letter-spacing:1.45px}.sidebar-header h1{margin:5px 0 0;color:#f4f2ff;font-size:24px;font-weight:750;letter-spacing:-.8px}.title-dot{color:var(--fc-lavender)}.icon-button--soft{color:#c5bbff;border-color:#ad9fff21;background:#ad9fff17}.search-box{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 11px;margin-bottom:22px;border:1px solid rgba(255,255,255,.075);border-radius:11px;color:#81869e;background:#07091157}.search-box:focus-within{border-color:#ad9fff6b;box-shadow:0 0 0 3px #ad9fff0f}.search-box input{width:100%;min-width:0;border:0;outline:0;color:#eeecf8;background:transparent;font-size:11px}.search-box input::placeholder{color:#737991}.search-box kbd{flex:0 0 auto;padding:3px 5px;border:1px solid rgba(255,255,255,.08);border-radius:5px;color:#777d94;font-size:9px}.section-label{margin-bottom:9px}.filter-list{display:grid;grid-template-columns:1fr;gap:4px;margin-bottom:22px}.filter-item{display:flex;align-items:center;gap:9px;min-width:0;min-height:35px;padding:0 9px;border:1px solid transparent;border-radius:9px;color:#9da1b7;background:transparent;font-size:10px;text-align:left;cursor:pointer}.filter-item:hover{color:#e7e3ff;background:#ffffff09}.filter-item--active{color:#d7d0ff;border-color:#ad9fff1f;background:#ad9fff18}.filter-item>svg{flex:0 0 auto}.filter-count{min-width:19px;padding:2px 5px;margin-left:auto;border-radius:7px;color:#c7bdff;background:#ad9fff21;font-size:9px;text-align:center}.sidebar-notifications-button{position:relative}.notification-count-badge,.rail-notification-badge{position:absolute;top:2px;right:2px;display:grid;min-width:16px;height:16px;padding:0 4px;place-items:center;border:1px solid var(--fc-panel);border-radius:20px;color:#fff;background:#e66c82;font-size:8px;font-weight:800}.rail-button{position:relative}.rail-notification-badge{top:1px;right:1px}.chat-list-heading{display:flex;align-items:center;justify-content:space-between;min-height:30px;color:#777d98;font-size:9px;font-weight:800;letter-spacing:1.3px}.chat-list-heading button{display:grid;width:29px;height:29px;place-items:center;border:1px solid var(--fc-line);border-radius:8px;color:#9297af;background:#ffffff06;cursor:pointer}.chat-list{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#373950 transparent}.chat-item{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:65px;padding:9px 8px;border:1px solid transparent;border-radius:12px;color:inherit;background:transparent;text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease}.chat-item:hover{background:#ffffff09}.chat-item--active{border-color:#ad9fff21;background:linear-gradient(110deg,#917ef424,#63bfbb0b)}.avatar{position:relative;display:inline-grid;flex:0 0 auto;width:43px;height:43px;place-items:center;border:1px solid rgba(255,255,255,.11);border-radius:14px;color:#242137;font-size:12px;font-weight:800}.avatar--small{width:39px;height:39px;border-radius:13px;font-size:11px}.avatar--lavender{background:linear-gradient(145deg,#d2c8ff,#a79af1)}.avatar--blue{background:linear-gradient(145deg,#b9d8ff,#83a9e8)}.avatar--mint{background:linear-gradient(145deg,#b8f0df,#76cbb9)}.avatar--peach{background:linear-gradient(145deg,#ffd5c1,#e8a68f)}.avatar--pink{background:linear-gradient(145deg,#f6c6df,#d99bc6)}.avatar--gold{background:linear-gradient(145deg,#f6dfaa,#d5b66e)}.online-dot{position:absolute;right:-2px;bottom:-1px;width:10px;height:10px;border:2px solid #1b1d2c;border-radius:50%;background:#71d5ae}.chat-item-content{display:grid;flex:1;min-width:0;gap:5px}.chat-item-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.chat-item-top strong{overflow:hidden;color:#e7e5f2;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.chat-item-top time{flex:0 0 auto;color:#777d94;font-size:8px}.chat-preview{display:block;overflow:hidden;color:#8d92a8;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.unread-badge{display:grid;min-width:19px;height:19px;place-items:center;padding:0 5px;border-radius:7px;color:#211d3c;background:linear-gradient(135deg,#c4b8ff,#83d8cb);font-size:9px;font-weight:800}.empty-search{padding:25px 8px;color:#858aa1;font-size:11px;text-align:center}.sidebar-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding-top:9px;margin-top:8px;border-top:1px solid var(--fc-line)}.secure-indicator{display:flex;align-items:center;gap:7px;color:#9297ad;font-size:9px}.secure-indicator svg{color:#8ddbc4}.conversation{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 82% 0%,rgba(109,91,193,.12),transparent 35%),radial-gradient(ellipse at 4% 92%,rgba(70,164,159,.055),transparent 30%),#171927}.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:76px;padding:13px 22px;border-bottom:1px solid var(--fc-line);background:#161826ad}.conversation-person{display:flex;align-items:center;gap:12px;min-width:0}.conversation-back{display:none}.conversation-person>div{min-width:0}.conversation-title{overflow:hidden;color:#f1effb;font-size:14px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.presence{margin-top:4px;color:#858aa2;font-size:10px}.header-chevron{flex:0 0 auto;margin-left:2px;color:#777d94}.conversation-actions{display:flex;align-items:center;gap:4px}.conversation-actions .icon-button{width:36px;height:36px}.action-divider{width:1px;height:24px;margin:0 5px;background:var(--fc-line)}.encryption-note{display:flex;align-items:center;gap:8px;min-height:43px;padding:9px 22px;border-bottom:1px solid rgba(255,255,255,.035);color:#9298aa;font-size:9px;line-height:1.45}.encryption-note svg{flex:0 0 auto;color:#8ddbc4}.message-scroll{display:flex;flex:1;flex-direction:column;gap:19px;min-height:0;padding:23px clamp(18px,3vw,42px) 25px;overflow:auto;scrollbar-width:thin;scrollbar-color:#383a51 transparent}.date-divider{display:flex;align-items:center;gap:13px;color:#777d94;font-size:9px;font-weight:800;letter-spacing:1.5px}.date-divider:before,.date-divider:after{content:"";flex:1;height:1px;background:var(--fc-line)}.message-row{display:flex;align-items:flex-end;gap:10px;max-width:min(84%,690px)}.message-content{display:grid;min-width:0;gap:6px}.message-author{padding-left:3px;color:#b6aaff;font-size:10px;font-weight:750}.message-bubble{position:relative;min-width:95px;padding:13px 15px 25px;border:1px solid rgba(255,255,255,.07);border-radius:15px 15px 15px 5px;color:#e4e2ef;background:#242638;box-shadow:0 7px 20px #00000017}.message-bubble p{margin:0;font-size:11px;line-height:1.65;overflow-wrap:anywhere}.message-meta{position:absolute;right:12px;bottom:7px;display:flex;align-items:center;gap:4px;color:#858aa1;font-size:8px}.message-row--mine{align-self:flex-end;justify-content:flex-end}.message-row--mine .message-bubble{border-color:#ad9fff33;border-radius:15px 15px 5px;color:#f0edff;background:linear-gradient(145deg,#695bae57,#37415bc2)}.message-row--mine .message-meta svg{color:#b9aaff}.conversation-empty{display:grid;justify-items:center;gap:9px;max-width:280px;margin:auto;color:#8e93a9;text-align:center}.empty-icon{display:grid;width:56px;height:56px;place-items:center;margin-bottom:5px;border:1px solid rgba(173,159,255,.18);border-radius:18px;color:#b7aaff;background:#ad9fff14}.conversation-empty strong{color:#e5e2f2;font-size:13px}.conversation-empty span{font-size:10px;line-height:1.6}.notice-bar{display:flex;align-items:center;gap:9px;padding:9px 13px;margin:0 20px 10px;border:1px solid rgba(173,159,255,.14);border-radius:10px;color:#c7c1e6;background:#7e6dd317;font-size:9px;line-height:1.5}.notice-bar>svg{flex:0 0 auto;color:#b6aaff}.notice-bar span{flex:1}.notice-bar button{display:grid;width:25px;height:25px;flex:0 0 auto;place-items:center;border:0;border-radius:7px;color:#aaa4c8;background:transparent;cursor:pointer}.failed-message-bar{border-color:#eda6703d;background:#b578431a}.failed-message-bar button{display:block;width:auto;height:auto;padding:5px 8px;border:1px solid rgba(237,166,112,.3);border-radius:7px;color:#f0c59c;font-size:9px;font-weight:700;white-space:nowrap}.composer{display:flex;align-items:center;gap:9px;min-height:54px;padding:7px 9px;margin:0 20px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:#0a0c157a;box-shadow:0 8px 26px #00000021}.composer-tools{display:flex;align-items:center;gap:1px}.composer .icon-button{width:32px;height:34px}.composer input{flex:1;width:100%;min-width:0;height:38px;border:0;outline:0;color:#f0eef9;background:transparent;font-size:10px}.composer input::placeholder{color:#777d94}.emoji-button{color:#b1a6ef}.send-button{display:grid;width:37px;height:37px;flex:0 0 auto;place-items:center;border:0;border-radius:11px;color:#211d3c;background:linear-gradient(135deg,#c4b8ff,#83d8cb);cursor:pointer;transition:opacity .18s ease,transform .18s ease}.send-button:hover:not(:disabled){transform:translateY(-1px)}.send-button:disabled{opacity:.35;cursor:not-allowed}.composer-hint{min-height:29px;padding:7px 22px 9px;color:#6f748b;font-size:8px;text-align:center}.composer-hint span{padding:0 5px;color:#9a91c7}.info-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;padding:20px 17px;overflow:auto;border-left:1px solid var(--fc-line);background:#141622f0}.info-header{display:flex;align-items:center;justify-content:space-between;min-height:38px}.info-profile{display:grid;justify-items:center;padding:25px 8px 23px;border-bottom:1px solid var(--fc-line);text-align:center}.info-profile>.avatar{width:58px;height:58px;border-radius:19px;font-size:15px}.info-profile h2{margin:12px 0 4px;color:#eeeafa;font-size:14px}.info-profile>span{color:#858aa1;font-size:9px}.profile-actions{display:flex;gap:8px;margin-top:16px}.profile-actions button{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid rgba(173,159,255,.13);border-radius:9px;color:#c3b9ff;background:#ad9fff12;font-size:9px;cursor:pointer}.info-section{padding:19px 0;border-bottom:1px solid var(--fc-line)}.info-section-title{margin-bottom:12px}.info-row{display:flex;align-items:center;gap:9px;min-height:36px;color:#9297ad;font-size:9px}.info-row svg{color:#9298b2}.info-row span{flex:1}.info-row strong{color:#c9c6d9;font-size:9px;font-weight:600}.workspace-card{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(173,159,255,.13);border-radius:11px;background:linear-gradient(120deg,#9381f41a,#63bfbb0b)}.workspace-icon{display:grid;width:37px;height:37px;flex:0 0 auto;place-items:center;overflow:hidden;border-radius:11px;background:#25283c}.workspace-logo{width:100%;height:100%;object-fit:contain}.workspace-card>div:last-child{display:grid;gap:4px;min-width:0}.workspace-card strong{color:#e8e5f5;font-size:10px}.workspace-card span{color:#858aa1;font-size:8px;line-height:1.4}.info-bottom{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:20px;color:#8288a0;font-size:9px}.info-bottom svg{color:#8ddbc4}@media(max-width:1120px){.app-shell{grid-template-columns:64px minmax(260px,300px) minmax(0,1fr)}.info-sidebar{display:none}}@media(max-width:760px){html,body,#root{width:100%;height:100%;min-height:0;overflow:hidden}body{overscroll-behavior:none}.app-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:58px minmax(0,1fr);width:100%;height:100dvh;min-height:0;overflow:hidden}.rail{position:relative;top:auto;z-index:20;grid-row:1;flex-direction:row;justify-content:space-between;gap:7px;height:58px;min-height:58px;padding:7px 13px;border-right:0;border-bottom:1px solid var(--fc-line);background:#0f101bf7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand-mark{width:39px;height:39px;border-radius:13px}.rail-divider,.rail-spacer{display:none}.rail-button{width:36px;height:36px;border-radius:11px}.rail-profile{width:34px;height:34px;border-radius:11px}.app-shell:not(.app-shell--mobile-chat) .conversation{display:none}.app-shell--mobile-chat .chat-sidebar{display:none}.chat-sidebar{grid-row:2;display:flex;width:100%;height:100%;min-height:0;max-height:none;padding:17px 15px 10px;overflow:hidden;border-right:0;border-bottom:0}.sidebar-header{flex:0 0 auto;margin-bottom:13px}.sidebar-header h1{font-size:20px}.search-box{flex:0 0 auto;min-height:40px;margin-bottom:15px}.search-box kbd{display:none}.section-label{flex:0 0 auto;margin-bottom:8px}.filter-list{display:flex;flex:0 0 auto;gap:5px;margin-bottom:12px;overflow-x:auto;scrollbar-width:none}.filter-list::-webkit-scrollbar{display:none}.filter-item{flex:0 0 auto;min-height:34px;padding:0 9px;font-size:9px}.chat-list-heading{flex:0 0 auto;min-height:31px}.chat-list{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.chat-item{min-height:66px;padding:8px 7px}.avatar{width:40px;height:40px;border-radius:13px}.avatar--small{width:35px;height:35px}.sidebar-footer{flex:0 0 auto;min-height:43px;padding-top:7px;margin-top:7px}.conversation{grid-row:2;display:flex;width:100%;height:100%;min-height:0;overflow:hidden}.conversation-header{position:relative;top:auto;z-index:2;flex:0 0 auto;min-height:65px;padding:9px 11px}.conversation-person{flex:1 1 auto;gap:7px;min-width:0}.conversation-back{display:grid;flex:0 0 auto;width:31px;height:34px;place-items:center;border:1px solid var(--fc-line);border-radius:10px;color:#c5bbff;background:#ad9fff14;cursor:pointer}.conversation-actions{flex:0 0 auto;gap:0}.conversation-actions .icon-button{width:29px;height:33px}.conversation-actions .action-divider{margin:0 2px}.encryption-note{flex:0 0 auto;min-height:43px;padding:8px 13px}.message-scroll{flex:1 1 auto;min-height:0;padding:17px 13px 20px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.message-row{max-width:94%}.message-bubble{padding:11px 13px 24px}.message-bubble p{font-size:11px}.notice-bar{flex:0 0 auto;margin:0 10px 7px}.composer{flex:0 0 auto;min-height:53px;margin:0 10px}.composer-tools{gap:0}.composer-tools .icon-button{width:29px}.composer-hint{flex:0 0 auto;min-height:27px;padding:6px 12px max(8px,env(safe-area-inset-bottom))}.info-sidebar{display:none}}@media(max-width:390px){.rail{padding-right:9px;padding-left:9px}.conversation-title{font-size:12px}.presence{font-size:9px}.header-chevron{display:none}.conversation-actions .icon-button{width:27px}.conversation-actions button[aria-label="Голосовой звонок"],.conversation-actions button[aria-label=Видеозвонок],.conversation-actions .action-divider{display:none}.composer{gap:5px}.composer-tools .icon-button{width:26px}.emoji-button{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.app-shell{font-family:var(--fc-font-family, Inter, "Segoe UI", Roboto, system-ui, sans-serif)}.message-bubble p{font-size:var(--fc-message-size, 15px)}.composer textarea{flex:1;width:100%;min-width:0;min-height:38px;max-height:120px;padding:9px 3px;border:0;outline:0;resize:none;overflow-y:auto;color:#f0eef9;background:transparent;font:inherit;font-size:11px;line-height:1.5}.composer textarea::placeholder{color:#777d94}.sidebar-header-actions{display:flex;align-items:center;gap:8px}.search-clear{display:grid;width:25px;height:25px;flex:0 0 auto;place-items:center;border:0;border-radius:7px;color:var(--fc-muted);background:transparent;cursor:pointer}.mobile-bottom-nav{display:none}.settings-screen,.calls-screen{grid-column:2 / -1;min-width:0;min-height:0;padding:31px clamp(22px,4vw,48px) 40px;overflow:auto;background:radial-gradient(ellipse at 82% 0%,rgba(109,91,193,.1),transparent 35%),var(--fc-bg)}.section-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1080px;margin:0 auto 25px}.section-page-header h1{margin:6px 0 5px;color:var(--fc-text);font-size:clamp(25px,3vw,31px);font-weight:800;letter-spacing:-.9px}.section-page-header p{margin:0;color:var(--fc-muted);font-size:12px;line-height:1.6}.settings-header-icon{display:grid;width:52px;height:52px;flex:0 0 auto;place-items:center;border:1px solid rgba(173,159,255,.17);border-radius:16px;color:var(--fc-lavender);background:#ad9fff17}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:1080px;margin:0 auto}.settings-card{min-width:0;padding:19px;border:1px solid var(--fc-line);border-radius:16px;background:linear-gradient(145deg,var(--fc-panel-soft),var(--fc-panel));box-shadow:0 10px 28px #00000014}.settings-card--wide{grid-column:1 / -1}.settings-card-heading{display:flex;align-items:center;gap:11px;margin-bottom:17px}.settings-card-icon{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border:1px solid rgba(173,159,255,.15);border-radius:12px;color:var(--fc-lavender);background:#ad9fff17}.settings-card-heading h2{margin:0 0 4px;color:var(--fc-text);font-size:14px}.settings-card-heading p{margin:0;color:var(--fc-muted);font-size:10px}.theme-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.theme-option{position:relative;display:grid;min-width:0;gap:7px;padding:9px;border:1px solid var(--fc-line);border-radius:12px;color:var(--fc-text);background:#ffffff05;text-align:left;cursor:pointer}.theme-option.is-selected{border-color:var(--fc-lavender);box-shadow:0 0 0 2px #ad9fff1a}.theme-option strong{font-size:10px}.theme-option small{min-height:25px;color:var(--fc-muted);font-size:8px;line-height:1.4}.theme-swatch{display:flex;align-items:flex-end;gap:4px;height:54px;padding:7px;overflow:hidden;border-radius:8px;background:#10111b}.theme-swatch i{display:block;width:28%;height:68%;border-radius:4px;background:#292b40}.theme-swatch i:nth-child(2){height:85%;background:#ad9fff}.theme-swatch i:nth-child(3){height:48%;background:#83d8cb}.theme-swatch--light{background:#eef0f6}.theme-swatch--light i{background:#d7dbe6}.theme-swatch--light i:nth-child(2){background:#7164d1}.theme-swatch--light i:nth-child(3){background:#45a99c}.theme-swatch--lavender{background:#211b35}.theme-swatch--lavender i{background:#393052}.theme-swatch--lavender i:nth-child(2){background:#c1a8ff}.theme-swatch--lavender i:nth-child(3){background:#e0a9d8}.theme-swatch--ocean{background:#0c202d}.theme-swatch--ocean i{background:#18384b}.theme-swatch--ocean i:nth-child(2){background:#80c7ff}.theme-swatch--ocean i:nth-child(3){background:#6de0d0}.theme-swatch--graphite{background:#17191c}.theme-swatch--graphite i{background:#30343a}.theme-swatch--graphite i:nth-child(2){background:#b6c1ce}.theme-swatch--graphite i:nth-child(3){background:#83c7b5}.theme-check{position:absolute;top:7px;right:7px;display:grid;width:19px;height:19px;place-items:center;border-radius:50%;color:#201d34;background:var(--fc-mint)}.settings-field{display:grid;gap:8px;margin-bottom:14px;color:var(--fc-muted);font-size:10px}.settings-field select{width:100%;min-height:39px;padding:0 11px;border:1px solid var(--fc-line);border-radius:9px;outline:0;color:var(--fc-text);background:var(--fc-panel);font:inherit}.settings-field option{color:#20202a;background:#fff}.font-preview{display:grid;gap:5px;padding:12px;margin:0 0 16px;border:1px solid var(--fc-line);border-radius:10px;color:var(--fc-text);background:#ffffff06}.font-preview strong{font-size:.82em}.font-preview span{line-height:1.5}.settings-range-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;color:var(--fc-muted);font-size:10px}.settings-range-heading strong{color:var(--fc-lavender);font-size:11px}.settings-range{width:100%;accent-color:var(--fc-lavender);cursor:pointer}.range-labels{display:flex;justify-content:space-between;margin-top:3px;color:var(--fc-dim);font-size:8px}.setting-toggle-row{display:flex;align-items:center;gap:10px;min-height:59px;padding:9px 0;border-top:1px solid var(--fc-line)}.setting-row-icon{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:10px;color:var(--fc-muted);background:#ffffff09}.setting-toggle-copy{display:grid;flex:1;min-width:0;gap:4px}.setting-toggle-copy strong{color:var(--fc-text);font-size:10px;font-weight:700}.setting-toggle-copy small{color:var(--fc-muted);font-size:8px;line-height:1.4}.setting-switch{position:relative;width:39px;height:23px;flex:0 0 auto;padding:3px;border:0;border-radius:20px;background:#55596b;cursor:pointer;transition:background .18s ease}.setting-switch span{display:block;width:17px;height:17px;border-radius:50%;background:#fff;transition:transform .18s ease}.setting-switch.is-on{background:var(--fc-lavender)}.setting-switch.is-on span{transform:translate(16px)}.settings-reset-card{display:flex;align-items:center;justify-content:space-between;gap:15px}.settings-reset-card strong{color:var(--fc-text);font-size:11px}.settings-reset-card p{margin:5px 0 0;color:var(--fc-muted);font-size:9px;line-height:1.5}.secondary-action,.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:0 13px;border:1px solid var(--fc-line);border-radius:10px;color:var(--fc-text);background:#ffffff0a;font-size:10px;font-weight:700;cursor:pointer}.primary-action{border-color:transparent;color:#17152a;background:linear-gradient(120deg,#c1b6ff,#8c7cf2 65%,#77d6ce)}.calls-empty-card{display:grid;justify-items:center;max-width:540px;padding:35px 28px;margin:8vh auto 0;border:1px solid var(--fc-line);border-radius:19px;background:linear-gradient(145deg,var(--fc-panel-soft),var(--fc-panel));text-align:center}.calls-empty-icon{display:grid;width:62px;height:62px;place-items:center;border:1px solid rgba(173,159,255,.18);border-radius:19px;color:var(--fc-lavender);background:#ad9fff1a}.calls-empty-card h2{margin:16px 0 7px;color:var(--fc-text);font-size:18px}.calls-empty-card>p{max-width:410px;margin:0 0 18px;color:var(--fc-muted);font-size:11px;line-height:1.7}.calls-status-note{display:flex;align-items:flex-start;gap:8px;max-width:410px;padding:11px;margin-top:17px;border:1px solid var(--fc-line);border-radius:10px;color:var(--fc-muted);background:#ffffff06;font-size:9px;line-height:1.5;text-align:left}.calls-status-note svg{flex:0 0 auto;color:var(--fc-lavender)}.calls-history-list{display:grid;gap:9px;max-width:1080px;margin:0 auto}.calls-history-item{display:flex;align-items:center;gap:11px;width:100%;min-height:68px;padding:11px 14px;border:1px solid var(--fc-line);border-radius:14px;color:var(--fc-text);background:linear-gradient(145deg,var(--fc-panel-soft),var(--fc-panel));text-align:left;cursor:pointer;transition:border-color .16s ease,transform .16s ease}.calls-history-item:hover{border-color:#ad9fff52;transform:translateY(-1px)}.calls-history-item:focus-visible{outline:2px solid var(--fc-lavender);outline-offset:2px}.calls-history-avatar{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border:1px solid rgba(173,159,255,.18);border-radius:14px;color:#211d3c;background:linear-gradient(135deg,#c8bcff,#83d8cb);font-size:14px;font-weight:800}.calls-history-copy{display:grid;flex:1 1 auto;gap:4px;min-width:0}.calls-history-copy strong{overflow:hidden;color:var(--fc-text);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.calls-history-copy small{color:var(--fc-muted);font-size:9px}.calls-history-status{flex:0 0 auto;color:var(--fc-muted);font-size:9px;white-space:nowrap}.calls-history-status.is-missed{color:#e98798}.calls-history-item time{flex:0 0 auto;color:var(--fc-muted);font-size:9px;white-space:nowrap}.notification-card{cursor:default;flex-wrap:wrap}.notification-card:hover{transform:none}.notification-card .calls-history-copy{flex-basis:180px}.notification-action{min-height:34px;margin-left:auto;white-space:nowrap}.notification-accepted{display:inline-flex;align-items:center;gap:5px;margin-left:auto;color:#8ddbc4;font-size:9px;font-weight:700;white-space:nowrap}.contact-status-pill{flex:0 0 auto;padding:5px 7px;border:1px solid rgba(173,159,255,.17);border-radius:7px;color:#b8addf;background:#ad9fff14;font-size:8px;font-weight:700}.call-overlay{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:18px;background:#05060dc7;-webkit-backdrop-filter:blur(13px);backdrop-filter:blur(13px)}.call-dialog{width:min(100%,470px);max-height:min(92dvh,800px);overflow:auto;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:22px;color:#f3f2fb;background:linear-gradient(155deg,#25263b,#151724);box-shadow:0 26px 90px #00000080}.call-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9c9fb4;font-size:9px;font-weight:800;letter-spacing:1.4px}.call-stage{position:relative;display:grid;min-height:205px;aspect-ratio:16/9;place-items:center;overflow:hidden;margin:14px 0;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:radial-gradient(circle at 50% 35%,rgba(151,132,255,.22),transparent 45%),#10121f}.call-remote-video{display:block;width:100%;height:100%;max-height:400px;object-fit:cover;background:#080a12}.call-local-video{position:absolute;z-index:2;top:10px;right:10px;display:block;width:112px;height:84px;border:1px solid rgba(255,255,255,.2);border-radius:10px;object-fit:cover;background:#080a12;box-shadow:0 5px 18px #00000059}.call-local-video--preview{position:static;width:100%;height:100%;max-height:400px;border:0;border-radius:0;box-shadow:none}.call-stage audio{display:none}.call-avatar{display:grid;width:86px;height:86px;place-items:center;border:1px solid rgba(190,178,255,.28);border-radius:28px;color:#211d3c;background:linear-gradient(135deg,#c8bcff,#83d8cb);font-size:25px;font-weight:800;box-shadow:0 12px 40px #00000038}.call-stage-label{position:absolute;right:10px;bottom:9px;padding:5px 8px;border-radius:7px;color:#f2efff;background:#0000007a;font-size:8px}.call-dialog h2{margin:5px 0 4px;color:#f5f3ff;font-size:20px;text-align:center}.call-peer-name{margin:0 0 14px;color:#a7a9bd;font-size:11px;text-align:center}.call-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;color:#c6c1e3;font-size:10px;text-align:center}.call-state--success{color:#9be4c6}.call-state--error{color:#ffc0c7}.call-spinner{width:14px;height:14px;border:2px solid rgba(190,178,255,.25);border-top-color:#b9aaff;border-radius:50%;animation:call-spin .8s linear infinite}@keyframes call-spin{to{transform:rotate(360deg)}}.call-setup-note{display:flex;align-items:flex-start;gap:8px;padding:11px;margin:10px 0 15px;border:1px solid rgba(173,159,255,.14);border-radius:10px;color:#b7b2d2;background:#ad9fff12;font-size:9px;line-height:1.55}.call-setup-note svg{flex:0 0 auto;color:#b7aaff}.call-controls{display:flex;align-items:center;justify-content:center;gap:17px;padding-top:6px}.call-controls button{display:grid;justify-items:center;gap:6px;border:0;color:#c9c5df;background:transparent;cursor:pointer}.call-controls button:disabled{opacity:.4;cursor:not-allowed}.call-controls button>span{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:#ffffff12}.call-controls button small{font-size:8px}.call-controls button.is-muted>span{color:#ffc0c7;background:#ff788b24}.call-controls .call-end-button>span{color:#fff;border-color:transparent;background:#dc5366}.app-shell[data-theme=lavender]{--fc-bg: #171426;--fc-panel: #201b32;--fc-panel-soft: #28213d;--fc-line: rgba(224,210,255,.11);--fc-text: #f6f0ff;--fc-muted: #b1a4c9;--fc-dim: #827694;--fc-lavender: #c5aaff;--fc-mint: #e1a9d7;background:var(--fc-bg)}.app-shell[data-theme=ocean]{--fc-bg: #0c1a25;--fc-panel: #122635;--fc-panel-soft: #193346;--fc-line: rgba(180,220,245,.12);--fc-text: #eaf6ff;--fc-muted: #9ab4c7;--fc-dim: #6d8ba0;--fc-lavender: #85c9ff;--fc-mint: #72e0d0;background:var(--fc-bg)}.app-shell[data-theme=graphite]{--fc-bg: #151719;--fc-panel: #202326;--fc-panel-soft: #282c30;--fc-line: rgba(225,232,238,.1);--fc-text: #f1f3f4;--fc-muted: #a5adb4;--fc-dim: #78828a;--fc-lavender: #bdc7d2;--fc-mint: #82c7b5;background:var(--fc-bg)}.app-shell[data-theme=light]{color-scheme:light;--fc-bg: #f3f5fa;--fc-panel: #ffffff;--fc-panel-soft: #f8f9fc;--fc-line: rgba(35,42,66,.13);--fc-text: #202437;--fc-muted: #687087;--fc-dim: #8990a2;--fc-lavender: #7164d1;--fc-mint: #389f91;color:var(--fc-text);background:var(--fc-bg)}.app-shell[data-theme=light] .rail,.app-shell[data-theme=light] .chat-sidebar,.app-shell[data-theme=light] .info-sidebar{background:#fff}.app-shell[data-theme=light] .conversation{background:#f5f6fb}.app-shell[data-theme=light] .conversation-header{background:#ffffffeb}.app-shell[data-theme=light] .sidebar-header h1,.app-shell[data-theme=light] .conversation-title,.app-shell[data-theme=light] .chat-item-top strong,.app-shell[data-theme=light] .settings-card-heading h2,.app-shell[data-theme=light] .settings-card strong{color:var(--fc-text)}.app-shell[data-theme=light] .search-box,.app-shell[data-theme=light] .composer,.app-shell[data-theme=light] .font-preview{border-color:var(--fc-line);background:#f0f2f8}.app-shell[data-theme=light] .search-box input,.app-shell[data-theme=light] .composer input,.app-shell[data-theme=light] .composer textarea{color:#25283a}.app-shell[data-theme=light] .message-bubble{color:#282b3c;border-color:#232a421a;background:#fff}.app-shell[data-theme=light] .message-row--mine .message-bubble{color:#28243d;background:linear-gradient(145deg,#e9e4ff,#e2f5f1)}.app-shell[data-theme=light] .mobile-bottom-nav{background:#fffffff7}.app-shell[data-theme=light] .filter-item{color:#5f667a}.app-shell[data-theme=light] .filter-item--active{color:#5146aa;background:#7164d11a}.app-shell[data-theme=light] .chat-item--active{background:#7164d112}.app-shell[data-theme=light] .settings-screen,.app-shell[data-theme=light] .calls-screen{background:var(--fc-bg)}.app-shell[data-theme=light] .settings-card,.app-shell[data-theme=light] .calls-empty-card,.app-shell[data-theme=light] .calls-history-item{background:#fff;box-shadow:0 8px 24px #1e28460d}.app-shell[data-theme=light] .setting-row-icon{background:#232a420d}.app-shell[data-theme=light] .setting-toggle-copy strong{color:var(--fc-text)}.app-shell[data-theme=light] .secondary-action{color:var(--fc-text);background:#f6f7fb}.app-shell[data-theme=light] .sidebar-footer{border-color:var(--fc-line)}@media(max-width:760px){html,body,#root{width:100%;height:100%;min-height:0;overflow:hidden}body{overscroll-behavior:none}.app-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) calc(68px + env(safe-area-inset-bottom));width:100%;height:100dvh;min-height:0;overflow:hidden}.rail{display:none}.mobile-bottom-nav{display:flex;grid-column:1;grid-row:2;align-items:center;justify-content:space-around;gap:3px;min-width:0;height:calc(68px + env(safe-area-inset-bottom));padding:5px 7px max(7px,env(safe-area-inset-bottom));border-top:1px solid var(--fc-line);background:#11121cfa;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-bottom-nav button{display:grid;flex:1;justify-items:center;align-content:center;gap:4px;min-width:0;height:54px;border:0;border-radius:11px;color:var(--fc-muted);background:transparent;cursor:pointer}.mobile-bottom-nav button span{font-size:9px;font-weight:600;white-space:nowrap}.mobile-bottom-nav button.is-active{color:#2588ff}.chat-sidebar,.conversation,.settings-screen,.calls-screen{grid-column:1;grid-row:1}.chat-sidebar{display:flex;width:100%;height:100%;min-height:0;max-height:none;padding:17px 17px 8px;overflow:hidden;border:0;background:var(--fc-panel)}.app-shell--mobile-chat .chat-sidebar{display:none}.app-shell:not(.app-shell--mobile-chat) .conversation{display:none}.sidebar-header{flex:0 0 auto;margin-bottom:16px}.sidebar-header h1{margin-top:3px;font-size:28px;letter-spacing:-.7px}.sidebar-header .eyebrow{display:none}.sidebar-header-actions{gap:8px}.sidebar-header-actions .icon-button{width:45px;height:45px;border-radius:14px}.sidebar-header-actions .sidebar-add-button{width:50px;height:50px;border-color:transparent;color:#fff;background:#1683f8}.app-shell[data-search-open=false] .search-box{display:none}.app-shell[data-search-open=true] .search-box{display:flex}.search-box{flex:0 0 auto;min-height:43px;margin-bottom:14px;border-radius:12px}.search-box kbd{display:none}.section-label{flex:0 0 auto;margin:2px 0 8px;font-size:9px}.filter-list{display:flex;flex:0 0 auto;gap:7px;margin-bottom:12px;overflow-x:auto;scrollbar-width:none}.filter-list::-webkit-scrollbar{display:none}.filter-item{flex:0 0 auto;min-height:37px;padding:0 12px;border:1px solid var(--fc-line);border-radius:11px;font-size:10px}.filter-item--active{color:var(--fc-text);border-color:#ad9fff42;background:#ad9fff21}.chat-list-heading{flex:0 0 auto;min-height:28px}.chat-list{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.chat-item{min-height:75px;padding:10px 4px;border-bottom:1px solid var(--fc-line);border-radius:0}.chat-item--active{background:#ad9fff0e}.avatar{width:53px;height:53px;border-radius:50%;font-size:14px}.avatar--small{width:38px;height:38px;border-radius:13px;font-size:11px}.chat-item-content{gap:5px}.chat-item-top strong{font-size:15px}.chat-item-top time{font-size:10px}.chat-preview{font-size:12px}.unread-badge{min-width:21px;height:21px;border-radius:50%}.sidebar-footer{display:none}.conversation{display:flex;width:100%;height:100%;min-height:0;overflow:hidden;background:var(--fc-panel)}.conversation-header{position:relative;top:auto;z-index:2;flex:0 0 auto;min-height:64px;padding:8px 10px}.conversation-person{flex:1 1 auto;gap:7px;min-width:0}.conversation-back{display:grid;flex:0 0 auto;width:31px;height:34px;place-items:center;border:1px solid var(--fc-line);border-radius:10px;color:var(--fc-lavender);background:#ad9fff14;cursor:pointer}.conversation-actions{flex:0 0 auto;gap:0}.conversation-actions .icon-button{width:30px;height:33px}.conversation-actions .action-divider{margin:0 2px}.encryption-note{flex:0 0 auto;min-height:42px;padding:8px 12px;font-size:9px}.message-scroll{flex:1 1 auto;min-height:0;padding:16px 12px 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.message-row{max-width:94%}.message-bubble{padding:11px 13px 24px}.message-bubble p{font-size:var(--fc-message-size, 15px)}.notice-bar{flex:0 0 auto;margin:0 9px 7px}.composer{flex:0 0 auto;min-height:53px;margin:0 9px}.composer-tools{gap:0}.composer-tools .icon-button{width:28px}.composer textarea{flex:1;width:100%;min-width:0;min-height:36px;max-height:100px;padding:8px 3px;border:0;outline:0;resize:none;overflow-y:auto;color:#f0eef9;background:transparent;font:inherit;font-size:12px;line-height:1.5}.composer textarea::placeholder{color:#777d94}.composer-hint,.info-sidebar{display:none}.settings-screen,.calls-screen{width:100%;height:100%;min-height:0;padding:22px 15px 20px;overflow-x:hidden;overflow-y:auto}.section-page-header{margin-bottom:18px}.section-page-header h1{font-size:27px}.section-page-header p{font-size:10px}.settings-header-icon{width:43px;height:43px;border-radius:13px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:11px}.settings-card{padding:15px;border-radius:13px}.settings-card--wide{grid-column:auto}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-option{padding:8px}.theme-swatch{height:48px}.settings-reset-card{align-items:flex-start}.calls-empty-card{margin:5vh auto 0;padding:25px 18px}.call-overlay{padding:10px}.call-dialog{padding:13px;border-radius:18px}}@media(max-width:390px){.app-shell[data-compact=true] .chat-item{min-height:56px;padding-top:5px;padding-bottom:5px}.chat-sidebar{padding-right:13px;padding-left:13px}.sidebar-header h1{font-size:26px}.chat-item{min-height:70px}.avatar{width:48px;height:48px}.avatar--small{width:34px;height:34px}.conversation-title{font-size:12px}.presence{font-size:9px}.header-chevron{display:none}.conversation-actions .icon-button{width:27px}.conversation-actions button[aria-label="Информация о чате"]{display:none}.conversation-actions button[aria-label="Голосовой звонок"],.conversation-actions button[aria-label=Видеозвонок]{display:inline-grid}.conversation-actions .action-divider{display:none}}.app-shell[data-compact=true] .chat-item{min-height:56px;padding-top:5px;padding-bottom:5px}.contact-row{display:flex;align-items:center;gap:5px;min-width:0;border-bottom:1px solid var(--fc-line)}.contact-main{flex:1 1 auto;width:0;min-width:0;border-bottom:0}.contact-actions{display:flex;flex:0 0 auto;align-items:center;gap:2px;padding-right:3px}.contact-actions button{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border:1px solid var(--fc-line);border-radius:10px;color:var(--fc-muted);background:#ffffff09;cursor:pointer;transition:color .16s ease,border-color .16s ease,background .16s ease}.contact-actions button:hover:not(:disabled){color:var(--fc-text);border-color:var(--fc-lavender);background:#ad9fff1f}.contact-actions button:disabled{opacity:.28;cursor:not-allowed}.contact-row .contact-status-pill{margin-right:5px}.app-shell[data-theme=forest]{--fc-bg: #101d19;--fc-panel: #172923;--fc-panel-soft: #20372f;--fc-line: rgba(195,230,204,.12);--fc-text: #eff8ef;--fc-muted: #a7bba9;--fc-dim: #788f7e;--fc-lavender: #a8d7a7;--fc-mint: #e4d39a;background:var(--fc-bg)}.app-shell[data-theme=forest] .rail,.app-shell[data-theme=forest] .chat-sidebar,.app-shell[data-theme=forest] .info-sidebar{background:#14251f}.app-shell[data-theme=sunset]{--fc-bg: #211716;--fc-panel: #2c201f;--fc-panel-soft: #3a2927;--fc-line: rgba(255,211,190,.12);--fc-text: #fff1e9;--fc-muted: #c4a49a;--fc-dim: #94756e;--fc-lavender: #ffb28e;--fc-mint: #e9c27f;background:var(--fc-bg)}.app-shell[data-theme=sunset] .rail,.app-shell[data-theme=sunset] .chat-sidebar,.app-shell[data-theme=sunset] .info-sidebar{background:#2a1d1b}.app-shell[data-theme=rose]{--fc-bg: #211722;--fc-panel: #2b1d2e;--fc-panel-soft: #38243b;--fc-line: rgba(255,211,241,.12);--fc-text: #fff0fb;--fc-muted: #c3a6bf;--fc-dim: #927b91;--fc-lavender: #e5a9df;--fc-mint: #9edbd0;background:var(--fc-bg)}.app-shell[data-theme=rose] .rail,.app-shell[data-theme=rose] .chat-sidebar,.app-shell[data-theme=rose] .info-sidebar{background:#291b2c}.app-shell[data-appearance=glass] .chat-sidebar,.app-shell[data-appearance=glass] .conversation-header,.app-shell[data-appearance=glass] .settings-card,.app-shell[data-appearance=glass] .info-sidebar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 12px 34px #0000001f,inset 0 1px #ffffff09}.app-shell[data-appearance=minimal] .chat-sidebar,.app-shell[data-appearance=minimal] .conversation,.app-shell[data-appearance=minimal] .settings-screen,.app-shell[data-appearance=minimal] .calls-screen{background-image:none}.app-shell[data-appearance=minimal] .settings-card,.app-shell[data-appearance=minimal] .composer,.app-shell[data-appearance=minimal] .message-bubble{border-radius:7px;box-shadow:none}.app-shell[data-appearance=minimal] .chat-item--active{border-left:3px solid var(--fc-lavender);border-radius:4px;background:color-mix(in srgb,var(--fc-lavender) 8%,transparent)}.app-shell[data-appearance=paper] .chat-sidebar,.app-shell[data-appearance=paper] .conversation,.app-shell[data-appearance=paper] .settings-screen,.app-shell[data-appearance=paper] .calls-screen{background-image:repeating-linear-gradient(0deg,transparent 0,transparent 31px,rgba(210,190,150,.035) 32px),linear-gradient(135deg,color-mix(in srgb,var(--fc-panel) 92%,#d7bd8e),var(--fc-bg))}.app-shell[data-appearance=paper] .settings-card,.app-shell[data-appearance=paper] .composer,.app-shell[data-appearance=paper] .message-bubble{border-color:#bea4773d;border-radius:10px;box-shadow:0 5px 16px #23190a14}.app-shell[data-appearance=paper] .message-bubble{background:color-mix(in srgb,var(--fc-panel) 90%,#e8d8b8)}.app-shell[data-appearance=paper] .message-row--mine .message-bubble{background:color-mix(in srgb,var(--fc-panel-soft) 82%,#c5d9bb)}.app-shell[data-appearance=neon] .chat-sidebar,.app-shell[data-appearance=neon] .conversation-header,.app-shell[data-appearance=neon] .settings-card,.app-shell[data-appearance=neon] .composer{border-color:color-mix(in srgb,var(--fc-mint) 35%,var(--fc-line));box-shadow:0 0 22px color-mix(in srgb,var(--fc-lavender) 9%,transparent),inset 0 0 16px #ffffff05}.app-shell[data-appearance=neon] .message-row--mine .message-bubble{border-color:color-mix(in srgb,var(--fc-lavender) 48%,var(--fc-line));box-shadow:0 0 18px color-mix(in srgb,var(--fc-lavender) 15%,transparent)}.app-shell[data-appearance=neon] .icon-button--soft,.app-shell[data-appearance=neon] .filter-item--active{box-shadow:0 0 14px color-mix(in srgb,var(--fc-lavender) 18%,transparent)}.app-shell[data-reduce-motion=true] *,.app-shell[data-reduce-motion=true] *:before,.app-shell[data-reduce-motion=true] *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.appearance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.appearance-option{display:grid;min-width:0;gap:7px;padding:9px;border:1px solid var(--fc-line);border-radius:12px;color:var(--fc-text);background:#ffffff05;text-align:left;cursor:pointer}.appearance-option.is-selected{border-color:var(--fc-lavender);box-shadow:0 0 0 2px #ad9fff1a}.appearance-option strong{font-size:10px}.appearance-option small{min-height:25px;color:var(--fc-muted);font-size:8px;line-height:1.4}.appearance-preview{display:flex;align-items:flex-end;gap:4px;height:54px;padding:7px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#191b2a}.appearance-preview i{display:block;width:28%;height:65%;border-radius:5px;background:#77718d}.appearance-preview i:nth-child(2){height:86%;margin-left:auto;background:#a99bff}.appearance-preview i:nth-child(3){height:42%;background:#83d8cb}.appearance-preview--glass{background:linear-gradient(135deg,#25243e,#132e37)}.appearance-preview--glass i{border:1px solid rgba(255,255,255,.25);background:#ffffff24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.appearance-preview--minimal{border-radius:3px;background:#242631}.appearance-preview--minimal i{border-radius:2px}.appearance-preview--paper{background:repeating-linear-gradient(0deg,#f0e5cf 0 8px,#e6d9c0 9px)}.appearance-preview--paper i{background:#c6b28e}.appearance-preview--paper i:nth-child(2){background:#a2b69a}.appearance-preview--neon{background:#080d1a;box-shadow:inset 0 0 12px #51e8ff33}.appearance-preview--neon i{background:#1c4552;box-shadow:0 0 9px #51e8ff8c}.appearance-preview--neon i:nth-child(2){background:#5b3b80;box-shadow:0 0 10px #c66bffb3}.setting-status{margin:12px 0 0;color:var(--fc-muted);font-size:9px;line-height:1.5}.account-id-row{display:flex;align-items:center;gap:7px;min-width:0}.account-copy-id{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:1px solid rgba(169,155,255,.2);border-radius:8px;color:#bfb4ff;background:#a99bff14;cursor:pointer}.account-copy-id:hover{color:#f3f0ff;background:#a99bff29}@media(max-width:760px){.appearance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-actions{gap:1px}.contact-actions button{width:28px;height:29px;border-radius:8px}.contact-main{padding-left:2px;padding-right:2px}}.chat-item--unread .chat-item-top strong{color:var(--fc-text);font-weight:850}.chat-item--unread .chat-preview{color:var(--fc-text);font-weight:600}.theme-swatch--forest{background:#14251f}.theme-swatch--forest i{background:#294438}.theme-swatch--forest i:nth-child(2){background:#a8d7a7}.theme-swatch--forest i:nth-child(3){background:#e4d39a}.theme-swatch--sunset{background:#2a1d1b}.theme-swatch--sunset i{background:#49302a}.theme-swatch--sunset i:nth-child(2){background:#ffb28e}.theme-swatch--sunset i:nth-child(3){background:#e9c27f}.theme-swatch--rose{background:#291b2c}.theme-swatch--rose i{background:#49304b}.theme-swatch--rose i:nth-child(2){background:#e5a9df}.theme-swatch--rose i:nth-child(3){background:#9edbd0}
