.auth{grid-template-columns:1.1fr 1fr;min-height:100dvh;display:grid}.auth-story{color:#fff;background:#101d35;flex-direction:column;padding:48px 10%;display:flex;position:relative;overflow:hidden}.auth-story:after{content:"";pointer-events:none;border:1px solid #ffffff10;border-radius:50%;width:600px;height:600px;position:absolute;bottom:-260px;right:-260px;box-shadow:0 0 0 90px #ffffff03,0 0 0 180px #ffffff02}.auth-story .brand{z-index:1;position:relative}.auth-copy{z-index:1;margin:auto 0;padding:75px 0;position:relative}.auth-copy .eyebrow{color:#95bcae;margin-bottom:30px}.auth-copy h1{letter-spacing:-3.5px;max-width:510px;margin-bottom:28px;font-size:clamp(45px,4.7vw,74px);font-weight:680;line-height:1.08}.auth-copy h1 em{color:#9de9cd;font-style:normal}.auth-copy>p{color:#aab8ca;max-width:370px;font-size:16px;line-height:1.8}.features{flex-wrap:wrap;gap:10px;margin-top:40px;display:flex}.features span{color:#c5d2e1;border:1px solid #ffffff18;border-radius:12px;padding:10px 13px;font-size:12px}.auth-foot{color:#8092a9;justify-content:space-between;font-size:11px;display:flex}.auth-main{justify-content:center;align-items:center;padding:40px;display:flex}.auth-form{width:360px;max-width:100%}.auth-form .pill{margin-bottom:30px}.auth-form h2{letter-spacing:-1px;margin-bottom:10px;font-size:32px}.auth-form>p{margin-bottom:32px;font-size:14px;line-height:1.7}.auth-switch{text-align:center;color:#718097;margin-top:22px;font-size:13px}.auth-switch button{color:#315c77;background:0 0;padding:5px;font-weight:650}.auth-sub{color:#8995a7;border-top:1px solid #e3e8ef;margin-top:38px;padding-top:20px;font-size:11px;line-height:1.7}.workspace{grid-template-columns:82px 310px 1fr;height:100dvh;display:grid;overflow:hidden}.rail{color:#b3c1d3;background:#101d35;flex-direction:column;align-items:center;gap:14px;padding:27px 12px 18px;display:flex}.rail .logo{width:43px;height:43px;margin-bottom:36px}.rail .icon-btn{color:#a1b2ca;border-radius:15px;width:48px;height:48px}.rail .spacer{flex:1}.rail .avatar{color:#cde9e2;background:#344a62;border-radius:13px;width:38px;height:38px;font-size:14px}.conversations{background:#fff;border-right:1px solid #e5eaf1;flex-direction:column;min-width:0;display:flex}.conversation-heading{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.conversation-heading h2{letter-spacing:-.8px;margin:0;font-size:24px}.search{color:#8794a7;background:#f4f6f9;border-radius:11px;align-items:center;gap:9px;padding:11px 12px;display:flex}.search input{background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:12px}.search svg{stroke:currentColor;fill:none;width:17px;height:17px}.conv-label{letter-spacing:1.7px;color:#99a3b1;padding:0 25px 15px;font-size:10px;font-weight:700}.conversation-list{flex:1;padding:0 12px;overflow:auto}.room-row{text-align:left;color:#192b43;background:#fff;border-radius:13px;align-items:center;gap:12px;width:100%;margin-bottom:5px;padding:15px 12px;display:flex}.room-row .room-info{flex:1;min-width:0}.room-row strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:650;display:block;overflow:hidden}.room-row .snippet{color:#8190a4;white-space:nowrap;text-overflow:ellipsis;margin-top:7px;font-size:12px;display:block;overflow:hidden}.room-row time{color:#a0aab7;font-size:10px}.sidebar-foot{color:#8c99ab;border-top:1px solid #edf0f5;align-items:center;gap:9px;padding:20px 24px;font-size:11px;line-height:1.7;display:flex}.chat{background:#f5f7fa;flex-direction:column;min-width:0;display:flex;position:relative}.chat-head{background:#fff;border-bottom:1px solid #e6ebf1;align-items:center;gap:13px;height:95px;padding:22px 32px;display:flex}.chat-head .back{display:none}.chat-head .chat-title{flex:1;min-width:0}.chat-title strong{font-size:16px}.chat-title small{color:#8195a6;margin-top:5px;font-size:11px;display:block}.chat-title small svg{vertical-align:middle;stroke:currentColor;fill:none;width:11px;height:11px;margin-right:4px}.head-actions{gap:6px;display:flex}.messages{flex-direction:column;flex:1;gap:12px;padding:25px 7%;display:flex;overflow:auto}.day-divider{text-align:center;letter-spacing:.6px;color:#9aa7b7;padding:7px 0 22px;font-size:10px}.message{flex-direction:column;align-self:flex-start;align-items:flex-start;gap:6px;max-width:78%;display:flex}.message.own{align-self:flex-end;align-items:flex-end}.message .sender{color:#8493a6;padding:0 3px;font-size:10px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #e7ecf2;border-radius:16px 16px 16px 4px;padding:12px 16px;font-size:14px;line-height:1.6}.own .bubble{background:#dff1e9;border-color:#d7e9e1;border-radius:16px 16px 4px}.message .failed{color:#b34848}.call-notice{color:#416c69;background:#edf6f5;border:1px solid #d9e6e8;border-radius:14px;align-self:center;align-items:center;gap:14px;padding:12px 16px;font-size:12px;display:flex}.composer{background:#fff;border:1px solid #e2e8f0;border-radius:17px;align-items:flex-end;gap:8px;margin:8px 32px 18px;padding:9px;display:flex;box-shadow:0 5px 14px #16283e03}.composer textarea{resize:none;background:0 0;border:0;outline:none;flex:1;min-height:42px;max-height:130px;padding:11px 10px;font-size:14px;line-height:1.5}.composer .send{color:#bdeed9;background:#182c44;border-radius:12px;place-items:center;width:43px;height:43px;display:grid}.chat-note{text-align:center;color:#a1acba;margin:0 20px 17px;font-size:10px}.connection{align-items:center;gap:8px;font-size:11px;display:flex}.connection.offline .dot{background:#e0aa67}.call-overlay{z-index:70;color:#fff;background:#101b2d;flex-direction:column;padding:26px 34px;display:flex;position:fixed;inset:0}.call-top{align-items:center;gap:20px;margin-bottom:24px;display:flex}.call-top .info{flex:1}.call-top h2{letter-spacing:-.5px;margin:0 0 8px;font-size:21px}.call-top p{color:#97a7bd;margin:0;font-size:12px}.call-top .pill{color:#9de4bf;background:#233d39}.video-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:16px;width:100%;max-width:1250px;min-height:0;margin:0 auto;display:grid}.video-tile{background:#21334b;border:1px solid #ffffff0a;border-radius:20px;place-items:center;min-height:150px;display:grid;position:relative;overflow:hidden}.video-tile video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.video-tile .avatar{color:#d4eae3;background:#36516c;border-radius:28px;width:80px;height:80px;font-size:26px}.video-tile .tile-label{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:2;background:#07132499;border-radius:9px;padding:7px 10px;font-size:12px;position:absolute;bottom:15px;left:17px}.video-tile .tile-state{color:#fff;background:#09132988;border-radius:10px;padding:7px 9px;font-size:11px;position:absolute;top:16px;right:16px}.video-grid[data-count="1"]{grid-template-columns:1fr;max-width:900px}.video-grid[data-count="3"] .video-tile:first-child{grid-row:span 2}.call-controls{justify-content:center;align-items:center;gap:12px;padding:25px 0 10px;display:flex}.call-controls button{color:#e4edf5;background:#2a3a51;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.call-controls .hangup{background:#d95660;min-width:75px}.call-controls .small-text{font-size:12px}.call-warning{color:#f5c58d;text-align:center;margin:8px 0;font-size:12px}.pending-view{justify-content:center;align-items:center;min-height:100dvh;padding:30px;display:flex}.pending-card{text-align:center;background:#fff;border:1px solid #e5eaf1;border-radius:23px;max-width:450px;padding:40px}.pending-card h1{margin:25px 0 15px;font-size:26px}.pending-card .avatar{margin:auto}.pending-card p{color:#7a8ba1;font-size:14px;line-height:1.8}@media (min-width:1500px){.workspace{grid-template-columns:88px 345px 1fr}.messages{padding-inline:12%}}@media (max-width:1050px){.workspace{grid-template-columns:68px 270px 1fr}.rail{padding-inline:8px}.chat-head{padding:20px}.head-actions{gap:0}.auth-story{padding:35px 9%}.auth-copy h1{font-size:53px}.auth-main{padding:30px}.composer{margin-inline:20px}.messages{padding-inline:22px}}@media (max-width:720px){.auth{display:block}.auth-story{padding:24px 28px}.auth-story .brand{font-size:24px}.auth-story .brand img{width:36px;height:36px}.auth-copy{padding:35px 0 12px}.auth-copy .eyebrow,.auth-copy>p,.features,.auth-foot{display:none}.auth-copy h1{letter-spacing:-1.8px;max-width:390px;margin-bottom:15px;font-size:38px}.auth-main{padding:32px 26px}.auth-form{width:100%;max-width:400px}.auth-form .pill{margin-bottom:22px}.auth-form h2{font-size:26px}.auth-sub{margin-top:25px}.workspace{grid-template-columns:60px 1fr}.rail{padding-top:22px}.rail .icon-btn{width:42px;height:44px}.rail .logo{width:38px;height:38px;margin-bottom:30px}.chat{display:none}.workspace.has-room{grid-template-columns:1fr}.workspace.has-room .rail,.workspace.has-room .conversations{display:none}.workspace.has-room .chat{display:flex}.chat-head{gap:8px;height:80px;padding:14px 12px}.chat-head .back{display:inline-flex}.chat-head .avatar{border-radius:12px;width:36px;height:36px}.chat-title strong{font-size:14px}.chat-title small{font-size:9px}.chat-head .icon-btn{width:35px;height:38px}.composer{margin:7px 12px 9px}.chat-note{margin-bottom:max(12px,env(safe-area-inset-bottom));font-size:9px}.messages{padding:20px 16px}.message{max-width:88%}.call-overlay{padding:18px 12px max(18px,env(safe-area-inset-bottom))}.call-top{gap:8px;margin-bottom:16px}.call-top h2{font-size:17px}.call-top .pill{padding:7px 9px;font-size:10px}.video-grid{gap:9px}.video-tile{border-radius:15px;min-height:130px}.video-tile .avatar{border-radius:20px;width:60px;height:60px;font-size:22px}.video-tile .tile-label{padding:6px 8px;font-size:10px;bottom:9px;left:9px}.video-tile .tile-state{padding:5px;font-size:9px;top:9px;right:9px}.call-controls{gap:9px}.call-controls button{border-radius:14px;padding:14px}.call-controls .small-text{display:none}.modal{padding:22px}.modal-backdrop{padding:14px}.video-grid[data-count="3"] .video-tile:first-child{grid-area:auto/span 2}}:root{color:#19263b;font-synthesis:none;--ink:#101d35;--green:#8de0be;--muted:#718097;--line:#e5eaf1;background:#f4f6fa;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,input,textarea{outline-offset:4px}button{border:0}a{color:inherit}h1,h2,h3,p{margin-top:0}button svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:21px;height:21px}.brand{letter-spacing:-1.2px;align-items:center;gap:12px;font-size:28px;font-weight:760;display:flex}.brand img{width:44px;height:44px}.muted{color:var(--muted)}.eyebrow{letter-spacing:2px;text-transform:uppercase;font-size:11px;font-weight:750}.pill{color:#2d7158;background:#e9f7f0;border-radius:100px;align-items:center;gap:8px;padding:8px 12px;font-size:12px;display:inline-flex}.dot{background:#62cb9d;border-radius:50%;width:7px;height:7px}.primary,.secondary,.danger{border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:13px 18px;font-weight:650;transition:all .16s;display:inline-flex}.primary{background:var(--ink);color:#fff}.secondary{color:#24364f;background:#eef2f7}.danger{color:#ba4846;background:#fff0ef}.full{width:100%}.icon-btn{color:#50617a;background:0 0;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.icon-btn:hover{background:#edf1f6}.avatar{color:#355375;background:#dce7f5;border-radius:15px;flex:none;place-items:center;width:44px;height:44px;font-weight:750;display:grid}.avatar.large{border-radius:24px;width:72px;height:72px;font-size:26px}.field{margin-bottom:18px;font-size:13px;font-weight:600;display:block}.field input,.field textarea{width:100%;color:var(--ink);background:#fafbfd;border:1px solid #dae1eb;border-radius:12px;margin-top:9px;padding:14px 15px;display:block}.field input:focus,.field textarea:focus{background:#fff;border-color:#4e7c98}.error{color:#a13e3e;background:#fff0ee;border-radius:10px;margin-bottom:16px;padding:12px 14px;font-size:13px}.hidden{display:none!important}.loading{border:2px solid #cbd5e1;border-top-color:#315572;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}#toast{color:#fff;z-index:200;background:#16253c;border-radius:14px;max-width:90vw;padding:14px 22px;font-size:14px;display:none;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #00102d25}#toast.visible{display:block}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;background:#07132688;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:23px;width:470px;max-width:100%;max-height:90dvh;padding:30px;overflow:auto;box-shadow:0 24px 80px #0002}.modal-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal-head h2{margin:0;font-size:22px}.modal .actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.person-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 0;font-size:14px;display:flex}.person-row .info{flex:1;min-width:0}.person-row small{color:var(--muted);word-break:break-all;margin-top:5px;font-size:11px;display:block}.person-row input{accent-color:#204c61;width:18px;height:18px}.person-row .primary,.person-row .secondary,.person-row .danger{padding:9px 11px;font-size:12px}.section-label{letter-spacing:1.8px;color:var(--muted);text-transform:uppercase;margin:24px 0 8px;font-size:11px}.code-box{border:1px solid var(--line);word-break:break-all;background:#f6f8fb;border-radius:12px;padding:15px;font-size:13px;line-height:1.65}.empty{text-align:center;max-width:470px;margin:auto;padding:40px}.empty .empty-symbol{color:#688ba2;background:#eef4f7;border:1px solid #dde6ef;border-radius:28px;place-items:center;width:80px;height:80px;margin:0 auto 24px;display:grid}.empty-symbol svg{fill:none;stroke:currentColor;stroke-width:1.4px;width:35px;height:35px}.empty h2{letter-spacing:-.8px;margin-bottom:12px;font-size:27px}.empty p{color:var(--muted);font-size:14px;line-height:1.8}.field select{width:100%;color:var(--ink);background:#fafbfd;border:1px solid #dae1eb;border-radius:12px;margin-top:9px;padding:13px;display:block}.conversation-kind{background:#f3f6f9;border-radius:12px;flex-wrap:wrap;gap:14px;margin-bottom:20px;padding:14px;display:flex}.conversation-kind label{cursor:pointer;align-items:center;gap:7px;font-size:14px;font-weight:600;display:flex}.conversation-kind input{accent-color:#285b50}.incoming-layer{z-index:150}.incoming-call{text-align:center}.incoming-call>.avatar{margin:0 auto 18px}.incoming-call h3{overflow-wrap:anywhere;font-size:24px}.incoming-actions{justify-content:center;gap:14px;margin-top:25px;display:flex}.call-progress{background:#ffffff12;border-radius:3px;height:3px;margin-bottom:10px;overflow:hidden}.call-progress span{background:#9de9cd;height:100%;transition:width .3s;display:block}.call-people-status{color:#aab9c9;min-height:22px;max-height:65px;padding-bottom:10px;font-size:12px;line-height:1.5;overflow:auto}#call-clock{font-variant-numeric:tabular-nums;color:#b9e9d5;min-width:58px;font-size:20px}.call-top .pill svg{stroke:currentColor;fill:none;width:14px;height:14px}.call-overlay .call-controls button{min-width:44px}#flip-camera{font-size:25px;line-height:1}@media (max-width:720px){html,body{overscroll-behavior-y:none}button,a,input,textarea{-webkit-tap-highlight-color:transparent}input,textarea{font-size:16px!important}.workspace{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:1fr}.conversations{border-right:0;grid-row:1;min-height:0}.conversation-head{padding:22px 20px 14px}.conversation-heading{margin-bottom:16px}.conversation-heading h2{font-size:27px}.conversation-list{padding-inline:8px}.room-row{min-height:80px;padding:16px 12px}.room-row strong{font-size:16px}.room-row .snippet{font-size:13px}.rail{padding:6px 8px max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;flex-direction:row;grid-row:2;justify-content:space-around;gap:0}.rail .logo,.rail .spacer,.rail>.avatar{display:none}.rail .icon-btn{color:#65788e;border-radius:12px;flex-direction:column;gap:4px;width:auto;min-width:62px;height:54px}.rail .icon-btn:after{content:attr(data-label);font-size:10px;font-weight:600}.rail .icon-btn.active{color:#265d4a;background:#eaf5ef}.sidebar-foot{padding:9px 22px}.workspace.has-room{grid-template-rows:minmax(0,1fr)}.chat{min-height:0}.chat-head{flex-shrink:0;gap:3px;height:auto;min-height:76px;padding:10px 8px}.chat-head>.avatar{display:none}.chat-head .icon-btn{flex-shrink:0;width:44px;height:48px}.chat-title strong{white-space:nowrap;text-overflow:ellipsis;font-size:16px;display:block;overflow:hidden}.chat-title small{font-size:10px;line-height:1.4}.head-actions{gap:0}.messages{gap:14px;min-height:0;padding:16px 12px}.bubble{padding:10px 14px;font-size:16px}.composer{margin:6px 8px max(8px,env(safe-area-inset-bottom));flex-shrink:0;gap:4px;padding:5px}.composer textarea{min-width:0;padding:10px 8px}.composer .send{flex-shrink:0;width:48px;height:48px}.chat-note{display:none}.auth-story{padding:24px}.auth-copy{display:none}.auth-main{padding:28px 24px}.auth-sub{margin-top:22px}.auth-form>.pill{margin-bottom:20px}.primary,.secondary,.danger,.icon-btn{min-height:44px}.modal-backdrop{align-items:center;padding:12px}.modal{border-radius:22px;max-height:calc(100dvh - 24px);padding:20px}.modal-head{gap:8px}.modal-head h2{font-size:21px}.modal-head>.icon-btn{flex-shrink:0}.person-row .info{overflow-wrap:anywhere}.person-row{flex-wrap:wrap;gap:8px}.pending-view{padding:18px}.pending-card{min-width:0;padding:25px}.call-overlay{padding:14px 10px max(12px,env(safe-area-inset-bottom));height:100dvh}.call-top{flex-wrap:wrap;flex-shrink:0;margin-bottom:12px}.call-top .info{min-width:0}.call-top h2{text-overflow:ellipsis;white-space:nowrap;max-width:70vw;overflow:hidden}.call-top .pill{font-size:10px}.call-top .pill svg{fill:none;stroke:currentColor;width:12px;height:12px}.video-tile{min-height:0}.video-tile .tile-label{text-overflow:ellipsis;white-space:nowrap;max-width:85%;overflow:hidden}.video-tile .tile-state{font-size:8px}.call-controls{flex-wrap:wrap;flex-shrink:0;gap:8px;padding:14px 0 0}.call-controls button{width:52px;height:52px;padding:14px}.call-controls .hangup{min-width:60px}#toast{bottom:max(20px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px)}}@media (max-width:720px) and (orientation:landscape){.call-overlay{padding:8px 12px}.call-top{margin-bottom:6px}.call-top h2{margin-bottom:3px;font-size:15px}.call-controls{padding-top:7px}.call-controls button{width:48px;height:44px}.video-grid[data-count="3"],.video-grid[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.video-grid[data-count="3"] .video-tile:first-child{grid-column:auto}}.call-notice>svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px}.video-grid .video-tile:has(video)>.avatar{visibility:hidden}.video-grid[data-layout] .video-tile:first-child{grid-area:auto}.video-grid[data-layout=focus]{padding-bottom:0;position:relative}.video-grid[data-layout=focus][data-count="2"]{grid-template-columns:1fr}.video-grid[data-layout=focus][data-count="3"],.video-grid[data-layout=focus][data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.video-grid[data-layout=focus][data-count="4"] .video-tile:last-child{grid-column:span 2}.video-grid[data-layout=focus]:not([data-count="1"]) .video-tile[data-local=true]{z-index:4;border:2px solid #c4eade70;border-radius:14px;width:clamp(100px,22%,220px);height:clamp(90px,26%,160px);min-height:0;position:absolute;bottom:12px;right:12px;box-shadow:0 4px 24px #0008}.video-grid[data-layout=focus]:not([data-count="1"]) .video-tile[data-local=true] .tile-state{display:none}.video-grid[data-layout=focus] .video-tile[data-local=true] .tile-label{padding:4px 6px;font-size:10px;bottom:5px;left:5px}#call-layout{font-size:24px}@media (max-width:720px){.call-top .pill{display:none}.call-top{margin-bottom:8px}.call-controls{gap:6px}.call-controls button{width:44px;height:46px;padding:11px}.call-controls .hangup{min-width:46px}.video-grid[data-layout=focus]:not([data-count="1"]) .video-tile[data-local=true]{width:28%;height:24%;min-height:78px;max-height:140px;bottom:8px;right:8px}.video-grid[data-layout=focus][data-count="3"]{grid-template-columns:1fr}.video-grid[data-layout=grid][data-count="3"],.video-grid[data-layout=grid][data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-height:500px) and (orientation:landscape){.call-people-status,.call-top .pill{display:none}.call-controls{padding-top:6px}.call-top{margin-bottom:4px}.video-grid[data-layout=focus][data-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}html,body,#app{height:100%;min-height:0}.workspace{grid-template-rows:minmax(0,1fr);height:100dvh;min-height:0}.workspace>.chat,.workspace>.conversations,.workspace>.rail{min-height:0;overflow:hidden}.chat{height:100%;min-height:0}.messages{overflow-anchor:none;flex:1 1 0;min-height:0;overflow:auto}.messages>*,.chat-head,.composer,.chat-note,.message-search,.typing-status{flex-shrink:0}.composer,.composer textarea{min-width:0}.message-search{background:#fff;gap:8px;padding:8px 20px;display:flex}.message-search input{border:1px solid #dae1eb;border-radius:8px;flex:1;min-width:0;padding:9px}.typing-status{color:#597b76;min-height:18px;padding:0 30px;font-size:11px}.conversation-actions{align-items:center;gap:2px;display:flex}.conversation-heading,.selection-heading{min-height:44px}.conversation-heading h2{white-space:nowrap}.conversation-heading .icon-btn{flex-shrink:0;width:36px}.selection-heading{color:#254f46;align-items:center;gap:4px;margin-bottom:24px;display:flex}.selection-heading strong{white-space:nowrap;flex:1;min-width:0;font-size:16px}.selection-heading .icon-btn{flex-shrink:0;width:38px}.selection-heading .delete-selection{color:#b44c55}.selection-heading .delete-selection:disabled{color:#a8b2c0;cursor:default}.room-row{touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.room-row.selected-delete{background:#e4f2eb;outline:none;box-shadow:inset 0 0 0 1px #c9e2d5}.room-checkbox{background:#fff;border:1.5px solid #becbc6;border-radius:50%;flex-shrink:0;place-items:center;width:21px;height:21px;display:grid}.room-checkbox svg{opacity:0;stroke-width:2.5px;width:14px;height:14px}.room-checkbox.checked{color:#fff;background:#386b59;border-color:#386b59}.room-checkbox.checked svg{opacity:1}.chat-context-menu{z-index:120;background:#fff;border:1px solid #e5eaf0;border-radius:16px;width:218px;max-width:calc(100vw - 16px);padding:6px;position:fixed;box-shadow:0 12px 40px #182d4620}.chat-context-menu button{text-align:left;color:#24364a;background:0 0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:44px;padding:12px;font-size:14px;display:flex}.chat-context-menu button:hover,.chat-context-menu button:focus-visible{background:#eef5f2;outline:none}.chat-context-menu .menu-danger{color:#ad4650}.chat-context-menu svg{width:19px;height:19px}.chat-title .typing-status{text-overflow:ellipsis;white-space:nowrap;color:#6c8580;min-height:16px;margin-top:5px;padding:0;display:block;overflow:hidden}.composer{margin-bottom:20px}@media (max-width:720px){.selection-heading{margin-bottom:16px}.selection-heading .icon-btn,.conversation-heading .icon-btn{width:42px}.room-row:has(.room-checkbox) .avatar{border-radius:13px;width:38px;height:38px}}.file-card{text-align:left;color:#244554;overflow-wrap:anywhere;white-space:normal;background:#eaf2f3;border-radius:12px;align-items:center;gap:10px;max-width:100%;padding:12px;display:flex}.file-card small{margin-top:5px;font-size:11px;display:block}.media-preview{object-fit:contain;border-radius:12px;width:100%;max-height:60dvh}.media-audio{width:100%;margin:10px 0 20px}.pending-message .bubble{opacity:.75}.pending-message button{color:#916155;background:0 0;padding:4px;font-size:11px}.avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.profile-photo{object-fit:cover;border-radius:24px;width:76px;height:76px;margin:0 auto 15px;display:block}.call-notice{padding:8px 12px;font-size:11px}.call-notice .secondary{padding:7px 10px;font-size:11px}.call-top,.call-controls{flex-shrink:0}.startup{text-align:center;color:#718097;place-content:center;gap:16px;min-height:100dvh;display:grid}@media (max-width:720px){.workspace{grid-template-rows:minmax(0,1fr) auto}.workspace.has-room{grid-template-rows:minmax(0,1fr)}.chat{grid-row:1;min-height:0}.chat-head{height:72px;padding:10px 8px}.head-actions{gap:1px}.chat-head>.avatar{display:none}.head-actions .icon-btn{width:32px}.composer{gap:2px;margin:4px 8px 10px;padding:5px}.composer .icon-btn{width:35px;min-width:35px;height:44px}.composer textarea{padding:10px 5px}.typing-status{padding:0 15px}.message-search{padding:6px 10px}}.incoming-layer{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0e192deb}.incoming-layer .modal{color:#fff;text-align:center;background:linear-gradient(155deg,#203b50,#101d35);border:1px solid #ffffff14;width:420px;padding:30px;box-shadow:0 28px 100px #0005}.incoming-layer .modal-head{justify-content:center;margin:0 0 28px}.incoming-layer .modal-head h2{color:#b7cdc9;font-size:15px;font-weight:500}.incoming-layer .close-modal{display:none}.incoming-layer .incoming-call h3{overflow-wrap:anywhere;margin:24px 0 10px;font-size:30px;line-height:1.2}.incoming-avatar{place-items:center;width:150px;height:150px;margin:12px auto 0;display:grid;position:relative}.incoming-avatar:before,.incoming-avatar:after{content:"";border:1px solid #99dfc759;border-radius:50%;animation:2.6s ease-out infinite incoming-ring;position:absolute;inset:10px}.incoming-avatar:after{animation-delay:1.3s}.incoming-avatar .avatar.large{color:#d4f9e8;z-index:1;background:#335b62;border-radius:50%;width:106px;height:106px;margin:0;font-size:34px}.incoming-actions{justify-content:space-around;gap:40px;margin:44px 0 10px;display:flex}.incoming-actions>div{flex-direction:column;align-items:center;gap:12px;display:flex}.incoming-actions span{color:#d0dedf;font-size:12px}.incoming-actions button{color:#fff;border-radius:50%;place-items:center;width:70px;height:70px;display:grid;box-shadow:0 8px 24px #0003}.incoming-actions svg{width:29px;height:29px}.incoming-actions .call-answer{background:#43ae88}.incoming-actions .call-decline{background:#d8586a}.call-decline svg{transform:rotate(135deg)}@keyframes incoming-ring{0%{opacity:.8;transform:scale(.75)}to{opacity:0;transform:scale(1.35)}}@media (prefers-reduced-motion:reduce){.incoming-avatar:before,.incoming-avatar:after{opacity:.4;animation:none}.incoming-avatar:after{transform:scale(1.16)}}@media (max-width:720px){.incoming-layer{padding:0}.incoming-layer .modal{width:100%;height:100dvh;max-height:100dvh;padding:max(30px,env(safe-area-inset-top)) 28px max(28px,env(safe-area-inset-bottom));border:0;border-radius:0;flex-direction:column;display:flex}.incoming-layer .incoming-call{flex-direction:column;flex:1;justify-content:center;min-height:0;display:flex}.incoming-layer .incoming-actions{margin-top:auto;padding-top:25px}.incoming-avatar{margin-top:auto}.incoming-layer .modal-head{margin-bottom:12px}}.call-overlay.call-minimized{pointer-events:none;visibility:hidden;width:0;height:0;padding:0;inset:auto;overflow:hidden}.call-mini{z-index:65;color:#d8f8e9;background:#193c42;align-items:center;gap:8px;height:52px;padding:4px 12px;animation:.18s ease-out call-appear;display:flex;position:fixed;inset:0 0 auto;box-shadow:0 2px 10px #152c3920}.call-mini button{color:inherit;background:0 0;border-radius:12px;justify-content:center;align-items:center;gap:10px;min-width:44px;min-height:44px;display:flex}.call-mini #restore-call{text-align:left;flex:1;justify-content:flex-start;min-width:0}#mini-call-label{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}#mini-call-clock{font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}#mini-hangup{background:#c84960}#mini-mic.off{color:#ffcfaa;background:#ffffff12}.call-pulse{animation:2s ease-in-out infinite call-pulse;display:flex}.has-mini-call #app{padding-top:52px}.has-mini-call .workspace{height:calc(100dvh - 52px)}.live-call-banner{color:#254f48;background:#e1f1ea;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px;font-size:12px;display:flex}.live-call-banner>span{align-items:center;gap:8px;display:flex}.live-call-banner button{white-space:nowrap;min-height:40px}.call-top #minimize-call{color:#d8e9e7;flex-shrink:0;font-size:28px}.call-controls{flex-wrap:wrap}.call-overlay .call-controls button{min-height:44px}@keyframes call-appear{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@keyframes call-pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.call-mini,.call-pulse{animation:none}.call-progress span{transition:none}}@media (max-width:720px){.call-overlay .call-controls{gap:7px;padding:12px 0 0}.call-overlay .call-controls button{min-width:44px;padding:11px}.call-top .pill{display:none}}:root{--surface:#fff;--surface-soft:#f3f6f5;--chat-bg:#edf3f0;--ink:#172f2b;--muted:#697e78;--line:#dfe8e3;--accent:#24846b;--accent-soft:#e0f1e8;--bubble-own:#d8f3e4;color:var(--ink);background:var(--surface-soft);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #43a98b}.primary{background:#21785f;box-shadow:0 3px 8px #21785f12}.primary:hover{background:#17664f;transform:none}.secondary{background:var(--surface-soft);color:var(--ink)}.secondary:hover{background:var(--accent-soft)}.icon-btn{min-width:44px;min-height:44px;color:var(--muted)}.icon-btn:hover{background:var(--accent-soft);color:var(--accent)}.avatar{color:#3b6b59;background:#e0eee8;border-radius:50%;font-weight:650}.avatar img{border-radius:inherit}.rail{background:#193a32}.rail .icon-btn.active{color:#bdedd9;background:#2d5449}.rail .logo{margin-bottom:24px}.rail .avatar{border-radius:50%}.conversations{background:var(--surface);border-color:var(--line)}.conversation-head{padding:26px 20px 16px}.conversation-heading{margin-bottom:20px}.conversation-heading h2{color:var(--ink)}.search{background:var(--surface-soft);border:1px solid #0000;border-radius:14px;padding:12px}.search:focus-within{border-color:var(--accent)}.search input{color:var(--ink);font-size:14px}.chat-filters{gap:8px;padding:0 20px 14px;display:flex}.chat-filters button{background:var(--surface-soft);color:var(--muted);border-radius:20px;min-height:36px;padding:9px 13px;font-size:12px;font-weight:650}.chat-filters button.active{background:var(--accent-soft);color:var(--accent)}.room-row{color:var(--ink);background:0 0;border-radius:16px;gap:12px;min-height:80px;padding:15px 12px}.room-row:hover{background:var(--surface-soft)}.room-row.selected{background:var(--accent-soft)}.room-row strong{font-size:15px}.room-row .snippet{color:var(--muted);margin-top:6px;font-size:13px}.room-row:nth-child(3n+2) .avatar{color:#60628b;background:#e6eafb}.room-row:nth-child(3n+3) .avatar{color:#967341;background:#f3e6d6}.room-meta{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:8px;display:flex}.room-meta time{color:var(--muted);font-size:11px}.unread-badge{background:var(--accent);color:#fff;border-radius:14px;place-items:center;min-width:23px;height:23px;padding:0 6px;font-size:11px;font-weight:700;display:grid}.pin-badge svg{width:15px;height:15px;stroke:var(--muted);fill:none}.sidebar-foot{border-color:var(--line);color:var(--muted)}.sidebar-foot.offline .dot{background:#dc9d48}.list-empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:14px;padding:45px 20px;display:flex}.list-empty>svg{stroke:currentColor;fill:none;opacity:.5;width:34px;height:34px}.list-empty strong{color:var(--ink);font-size:15px}.list-empty p{font-size:13px;line-height:1.7}.chat{background:var(--chat-bg);background-image:radial-gradient(#94b0a521 .8px,#0000 .8px);background-size:18px 18px;min-height:0}.chat-head{background:var(--surface);border-color:var(--line);height:84px;padding:18px 24px}.chat-title strong{color:var(--ink);font-size:17px}.chat-title small{color:var(--muted);font-size:12px}.chat .empty-symbol{background:var(--surface);border-color:var(--line);color:var(--accent)}.chat .empty h2{font-weight:650}.chat .empty p{color:var(--muted)}.messages{scrollbar-width:thin;scrollbar-color:#abc3b6 transparent;overflow-anchor:none;gap:12px;padding:24px max(20px,6%)}.history-protection{color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:6px;margin-bottom:8px;font-size:11px;display:flex}.history-protection svg{stroke:currentColor;fill:none;flex:none;width:13px;height:13px}.day-divider{width:auto;color:var(--muted);letter-spacing:0;background:#d8e4dc99;border-radius:15px;align-self:center;margin:8px 0 4px;padding:6px 12px;font-size:11px}.message{gap:4px;min-width:0;max-width:80%}.message .sender{color:var(--muted);font-size:11px}.bubble{background:var(--surface);color:var(--ink);overflow-wrap:anywhere;border:0;border-radius:18px 18px 18px 5px;min-width:42px;font-size:15px;line-height:1.55;box-shadow:0 1px 2px #17372a09}.message.own .bubble{background:var(--bubble-own);border:0;border-radius:18px 18px 5px}.message time{color:var(--muted);font-size:10px}.message-body{align-items:center;gap:4px;max-width:100%;display:flex}.message.own .message-body{flex-direction:row-reverse}.message-menu{opacity:.3;background:0 0;flex-shrink:0;min-width:32px;height:32px;min-height:32px;width:32px!important}.message:hover .message-menu,.message:focus-within .message-menu{opacity:1}.message-menu svg{width:18px;height:18px}.message-menu-preview{color:var(--muted);overflow-wrap:anywhere;background:var(--surface-soft);border-radius:14px;padding:14px;font-size:14px;line-height:1.6}.reply-quote{text-align:left;border-left:3px solid var(--accent);width:100%;color:var(--ink);white-space:normal;background:#24846b0b;border-radius:4px 10px 10px 4px;flex-direction:column;align-items:flex-start;min-width:0;margin-bottom:8px;padding:7px 10px;display:flex}.reply-quote strong{color:var(--accent);font-size:12px}.reply-quote span{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;font-size:12px;display:-webkit-box;overflow:hidden}.deleted-message .bubble{color:var(--muted);font-style:italic}.message-highlight .bubble{animation:1.8s ease-out message-highlight}@keyframes message-highlight{0%,40%{box-shadow:0 0 0 4px #43aa8d66}to{box-shadow:none}}.composer{border:1px solid var(--line);background:var(--surface);margin:8px 20px max(16px,env(safe-area-inset-bottom));border-radius:22px;align-items:flex-end;padding:5px 7px;box-shadow:0 3px 12px #17372a05}.composer textarea{color:var(--ink);resize:none;box-sizing:border-box;background:0 0;min-height:44px;max-height:144px;font-size:15px;line-height:1.5}.composer .send{background:var(--accent);border-radius:50%;flex-shrink:0;width:44px;height:44px}.composer .icon-btn{flex-shrink:0}.compose-context{background:var(--surface);border-left:3px solid var(--accent);border-radius:14px;align-items:center;gap:10px;margin:8px 20px 0;padding:10px 12px;display:flex}.compose-context>div{flex:1;min-width:0}.compose-context strong,.compose-context span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.compose-context strong{color:var(--accent);margin-bottom:4px;font-size:12px}.compose-context span{color:var(--muted);font-size:13px}.compose-context button{flex-shrink:0}.jump-latest{z-index:3;background:var(--surface);color:var(--accent);border:1px solid var(--line);border-radius:50%;width:46px;height:46px;font-size:24px;position:absolute;bottom:100px;right:24px;box-shadow:0 3px 12px #15312612}.pending-actions{gap:14px;display:flex}.pending-actions button{color:var(--accent);background:0 0;padding:7px;font-size:12px}.file-card{color:var(--ink);max-width:100%;min-height:44px}.file-card small{color:var(--muted)}.message-search{background:var(--surface);border-color:var(--line)}.message-search input{color:var(--ink);background:var(--surface-soft)}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0d29225e}.modal{background:var(--surface);color:var(--ink);border-radius:26px;width:520px;padding:24px;box-shadow:0 24px 90px #0e2c2630}.modal-head{margin-bottom:20px}.modal-head h2{letter-spacing:-.5px;font-size:22px;font-weight:650}.modal-head .icon-btn{background:var(--surface-soft);border-radius:50%}.field{color:var(--ink);font-size:14px;font-weight:600}.field input,.field textarea,.field select{background:var(--surface-soft);color:var(--ink);border-color:var(--line);border-radius:13px;padding:13px 14px}.field input:focus,.field select:focus{background:var(--surface);border-color:var(--accent)}.helper{color:var(--muted);font-size:13px;line-height:1.7}.person-row{border-color:var(--line);color:var(--ink)}.person-row small,.section-label{color:var(--muted)}.code-box{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}.settings-profile{flex-wrap:wrap;align-items:center;gap:14px;padding:4px 0 22px;display:flex}.settings-profile>div:nth-child(2){flex:1;min-width:0}.settings-profile h3{overflow-wrap:anywhere;margin:0 0 4px;font-size:20px}.settings-profile p{color:var(--muted);margin:0;font-size:13px}.settings-profile .pill{font-size:10px}.settings-group{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;margin-bottom:16px;overflow:hidden}.settings-row{text-align:left;width:100%;min-height:66px;color:var(--ink);background:0 0;align-items:center;gap:14px;padding:14px 16px;display:flex}.settings-row+.settings-row{border-top:1px solid var(--line)}.settings-row:hover{background:var(--accent-soft)}.settings-row>svg{width:23px;height:23px;stroke:var(--accent);fill:none;stroke-width:1.8px;flex-shrink:0}.settings-row>span{flex:1;min-width:0;line-height:1.4}.settings-row strong{font-size:15px;font-weight:650;display:block}.settings-row small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.settings-chevron{color:var(--muted);font-size:24px;font-weight:400}.settings-row.destructive,.settings-row.destructive svg{color:#c14d54;stroke:#c14d54}.settings-row.destructive{border-radius:15px}.settings-foot{text-align:center;color:var(--muted);margin-bottom:0;padding-top:12px;font-size:11px;line-height:1.8}.settings-section-title{color:var(--muted);margin:24px 0 12px;font-size:13px;font-weight:650}.appearance-themes{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.theme-option{border:1px solid var(--line);cursor:pointer;border-radius:16px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;font-size:11px;display:flex}.theme-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.theme-option input{accent-color:var(--accent);margin:0}.theme-preview{background:#e9f2ec;border:1px solid #bfd2c6;border-radius:9px;width:100%;height:66px;display:block;position:relative}.theme-preview:before,.theme-preview:after{content:"";background:#fff;border-radius:7px;width:55%;height:13px;position:absolute;top:12px;left:8px}.theme-preview:after{background:#c5ead7;top:36px;left:auto;right:8px}.theme-preview.dark{background:#182b27;border-color:#3d5750}.theme-preview.dark:before{background:#32463f}.theme-preview.dark:after{background:#25684d}.theme-preview.system{background:linear-gradient(90deg,#e9f2ec 50%,#182b27 50%)}.message-sample{background:var(--chat-bg);border-radius:18px;margin:20px 0;padding:20px}.message-sample>span,.message-sample>small{color:var(--muted);margin:7px 0;font-size:12px;display:block}.settings-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent)}.settings-notification-hero{text-align:center;padding:12px 20px 18px}.settings-notification-hero>svg{width:46px;height:46px;stroke:var(--accent);fill:none;background:var(--accent-soft);border-radius:15px;padding:10px}.settings-notification-hero h3{margin:16px 0 8px;font-size:21px}.settings-notification-hero p{color:var(--muted);font-size:14px;line-height:1.6}.notification-status{background:var(--surface-soft);color:var(--muted);text-align:center;border-radius:12px;margin-bottom:14px;padding:13px;font-size:13px}.notification-status.enabled{color:var(--accent);background:var(--accent-soft)}#enable-notifications{margin-bottom:20px}.auth-main{background:var(--surface)}.auth-form{width:380px}.auth-form .muted,.auth-sub{color:var(--muted)}.auth-story{background:#193a32}.auth-form h2{color:var(--ink)}.auth-switch button{color:var(--accent)}.pending-card{background:var(--surface);border-color:var(--line);color:var(--ink)}.pending-card p{color:var(--muted)}.chat-context-menu{background:var(--surface);color:var(--ink);border-color:var(--line)}.chat-context-menu button{color:var(--ink)}.chat-context-menu button:hover{background:var(--accent-soft)}.error{color:#c45157;background:#a43b4212}.call-overlay{isolation:isolate;background:radial-gradient(at 50% 35%,#254d41,#122a23 75%);padding:26px max(20px,50vw - 500px)}.call-top{z-index:3;flex-shrink:0;gap:14px;margin-bottom:14px;position:relative}.call-top .icon-btn{color:#dbf0e7;background:#ffffff10;border-radius:50%;flex-shrink:0}.call-top .info{flex:1;min-width:0}.call-top h2{margin-bottom:6px;font-size:20px}.call-top p{color:#b3d0c3;font-size:13px}.call-top #call-clock{color:#c2e6d5;font-size:18px}.call-progress{opacity:.55;flex-shrink:0;height:2px;margin:0}.call-hero{z-index:-1;text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:20% 15% 26%}.call-avatar{color:#e6f8ef;background:linear-gradient(135deg,#446e5c,#6b9381);border-radius:50%;place-items:center;width:132px;height:132px;margin-bottom:30px;font-size:40px;font-weight:600;display:grid;box-shadow:0 0 0 18px #ffffff03,0 0 0 40px #ffffff02}.call-hero h3{overflow-wrap:anywhere;margin-bottom:16px;font-size:28px;font-weight:550}.call-secure{color:#95bcaa;align-items:center;gap:6px;font-size:12px;display:flex}.call-secure svg{stroke:currentColor;fill:none;width:13px;height:13px}.call-people-status{color:#a0c6b3;text-align:center;flex-shrink:0;margin-top:12px;font-size:12px}.video-grid{flex:1;min-height:0;margin:8px 0;position:relative}.call-audio-mode .video-grid{visibility:hidden}.video-grid[data-count="2"][data-layout=focus]{display:block}.video-grid[data-count="2"][data-layout=focus] .video-tile[data-local=false]{border-radius:22px;width:100%;height:100%;position:absolute;inset:0}.video-grid[data-count="2"][data-layout=focus] .video-tile[data-local=true],.video-grid[data-count="1"] .video-tile[data-local=true]{z-index:2;border:2px solid #ffffff40;border-radius:16px;width:clamp(110px,18vw,200px);height:clamp(140px,22vh,230px);min-height:0;position:absolute;bottom:14px;right:14px;box-shadow:0 4px 18px #0004}.video-grid .video-tile .tile-state{display:none}.video-grid .video-tile{background:#ffffff06}.video-grid .video-tile video{object-fit:contain;background:#10221c}.video-tile[data-local=true] .tile-label{padding:5px 9px;font-size:11px}.audio-route-label{color:#a0c6b3;text-align:center;flex-shrink:0;min-height:18px;margin:12px 0 4px;font-size:12px}.call-controls{flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:flex-start;gap:18px;padding:14px 0 0;display:flex}.call-overlay .call-controls button{color:#e5f5ed;background:#ffffff12;border-radius:20px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:7px;width:70px;min-width:0;height:70px;padding:12px 8px;display:flex}.call-controls button>svg{width:24px;height:24px}.call-controls button>span{white-space:normal;font-size:10px;line-height:1.2}.call-controls button.off{color:#284a3a;background:#e9f5ef}.call-controls button.route-speaker{color:#214b36;background:#c1ebd6}.call-overlay .call-controls .hangup{color:#fff;background:#d54e5c}.call-controls .hangup svg{transform:rotate(135deg)}.call-controls #enable-sound{color:#174c34;background:#b6e7cf;flex-direction:row;width:auto;height:44px;padding:10px 16px;position:absolute;bottom:125px}.live-call-banner{background:var(--accent-soft);color:var(--accent);border:1px solid #b9dfcb;border-radius:16px;gap:12px;margin:10px 16px 0;padding:13px 16px;box-shadow:0 2px 6px #24654608}.live-call-banner>span{font-size:13px;font-weight:600;line-height:1.5}.live-call-banner button{background:var(--accent);color:#fff;white-space:normal;min-height:44px;padding:10px 14px;font-size:12px}.live-call-banner svg{stroke:currentColor;fill:none;vertical-align:middle;width:18px;height:18px;margin-right:5px}.call-mini svg{stroke:currentColor;fill:none;width:20px;height:20px}:root[data-theme=dark]{--surface:#1c2d28;--surface-soft:#15251f;--chat-bg:#12251e;--ink:#e3f1e9;--muted:#96b0a1;--line:#30453a;--accent:#7bd4ac;--accent-soft:#264b39;--bubble-own:#27543f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.primary:root{color:#fff}:root[data-theme=dark] .primary,:root[data-theme=dark] .composer .send{color:#fff;background:#308861}:root[data-theme=dark] .avatar{color:#c3e8d2;background:#355344}:root[data-theme=dark] .room-row:nth-child(3n+2) .avatar{color:#d1ceef;background:#424566}:root[data-theme=dark] .room-row:nth-child(3n+3) .avatar{color:#e9d5b9;background:#5b4b36}:root[data-theme=dark] .rail{background:#10241b}:root[data-theme=dark] .danger{color:#f7a1aa;background:#512e30}:root[data-theme=dark] .day-divider{background:#30483a99}:root[data-theme=dark] .message-search input,:root[data-theme=dark] .profile-photo{border-color:var(--line)}:root[data-text-size=large] .bubble,:root[data-text-size=large] .composer textarea{font-size:19px}:root[data-text-size=large] .room-row strong,:root[data-text-size=large] .settings-row strong{font-size:18px}:root[data-text-size=large] .snippet,:root[data-text-size=large] .settings-row small,:root[data-text-size=large] .helper{font-size:15px}:root[data-text-size=large] .message time{font-size:12px}@media (min-width:1100px){.workspace{grid-template-columns:76px 350px 1fr}}@media (max-width:720px){.conversation-head{padding:22px 20px 16px}.conversation-heading h2{font-size:28px}.conversation-list{padding:0 8px}.chat-filters{padding-bottom:12px}.room-row{padding:15px 12px}.room-row .avatar{width:50px;height:50px}.rail{background:var(--surface);padding-bottom:max(8px,env(safe-area-inset-bottom))}.rail .icon-btn{color:var(--muted)}.rail .icon-btn.active{background:var(--accent-soft);color:var(--accent)}.chat-head{height:auto;min-height:72px;padding:10px 8px}.head-actions #room-people,.head-actions #search-messages{display:none}.chat-head .icon-btn{width:44px;height:44px}.chat-title strong{font-size:16px}.chat-title small{font-size:11px}.messages{padding:16px 12px}.message{max-width:94%}.message .bubble{font-size:16px}.message-menu{opacity:.55}.history-protection{font-size:10px}.composer{margin:8px 8px max(8px,env(safe-area-inset-bottom));border-radius:24px}.composer textarea{padding:10px 6px;font-size:16px}.composer .send{width:44px;height:44px}.compose-context{margin:8px 10px 0}.jump-latest{bottom:90px;right:16px}.modal-backdrop{align-items:center;padding:12px}.modal{border-radius:24px;max-height:calc(100dvh - 24px);padding:20px}.settings-row{min-height:68px;padding:13px 14px}.settings-profile .pill{display:none}.settings-profile .avatar{width:64px;height:64px;font-size:24px}.call-overlay{padding:14px 12px max(16px,env(safe-area-inset-bottom));height:100dvh}.call-top{flex-wrap:nowrap;gap:10px}.call-top h2{max-width:45vw;font-size:17px}.call-top p{margin:0;font-size:11px;line-height:1.4}.call-top #call-clock{min-width:44px;font-size:15px}.call-top .icon-btn{width:40px;min-width:40px;height:40px;min-height:40px}.call-controls{justify-content:space-between;gap:8px}.call-overlay .call-controls button{border-radius:19px;width:calc(20vw - 11.2px);max-width:70px;height:68px;padding:10px 4px}.call-controls button>span{font-size:9px}.call-controls button>svg{width:23px;height:23px}.call-hero{inset:19% 8% 30%}.call-avatar{width:112px;height:112px;font-size:36px}.call-hero h3{font-size:27px}.call-people-status{max-height:42px;font-size:11px}.video-grid[data-count="2"][data-layout=focus] .video-tile[data-local=true],.video-grid[data-count="1"] .video-tile[data-local=true]{width:100px;height:145px;bottom:8px;right:8px}.live-call-banner{flex-wrap:wrap;margin:8px 10px 0;padding:12px}.live-call-banner button{margin-left:auto}.auth-story{padding:22px 24px}.auth-story .brand{font-size:26px}.auth-main{padding:30px 24px}.auth-form .auth-sub{font-size:12px}}@media (max-height:480px) and (orientation:landscape){.call-overlay{padding:8px 14px}.call-top{margin-bottom:4px}.call-hero{inset:20% 20% 28%}.call-avatar{width:65px;height:65px;box-shadow:none;margin-bottom:10px;font-size:22px}.call-hero h3{margin-bottom:8px;font-size:20px}.call-controls{justify-content:center;gap:15px;padding-top:5px}.call-overlay .call-controls button{border-radius:15px;gap:3px;width:65px;height:49px;padding:5px}.call-controls button>svg{width:18px;height:18px}.audio-route-label{margin:0}.call-people-status{min-height:15px;margin:2px 0;padding:0}.video-grid{margin:4px 0}.video-grid[data-count="1"] .video-tile[data-local=true]{height:95px;bottom:2px}.call-controls #enable-sound{bottom:60px}}.avatar.large{border-radius:50%}.modal{scrollbar-width:thin;scrollbar-color:#9cb5a8 transparent}.modal::-webkit-scrollbar{width:5px}.messages::-webkit-scrollbar{width:5px}.modal::-webkit-scrollbar-thumb{background:#9cb5a8;border-radius:5px}.messages::-webkit-scrollbar-thumb{background:#9cb5a8;border-radius:5px}.modal::-webkit-scrollbar-button{width:0;height:0;display:none}.messages::-webkit-scrollbar-button{width:0;height:0;display:none}.appearance-themes+.settings-section-title{margin-top:22px}.theme-option input{min-width:14px;min-height:14px}:root[data-text-size=large] .call-controls button>span{font-size:11px}.live-call-banner small{margin-top:3px;font-size:11px;font-weight:400;display:inline-block}.settings-row:has(#large-text){border-radius:15px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.call-hero{z-index:0}.video-grid{z-index:1}.video-grid.hero-background .video-tile[data-local=false]:not(.has-video){box-shadow:none;background:0 0;border-color:#0000}.video-grid.hero-background .video-tile[data-local=false]:not(.has-video)>.avatar{display:none}.video-grid .video-tile>.avatar{color:#e5f5ed;background:#426959;border-radius:50%}.incoming-layer .modal{color:#e5f5ed;background:radial-gradient(at 50% 35%,#254d41,#122a23 75%)}.incoming-layer .helper{color:#a0c6b3}.incoming-layer .close-modal{color:#dbf0e7}.call-controls #flip-camera{font-size:inherit}.history-summary{border:1px solid var(--line);color:var(--ink);background:var(--surface-soft);border-radius:16px;margin:12px 0;padding:16px}.history-summary strong{margin-bottom:8px;display:block}.history-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.history-actions button{min-height:44px}.history-hint{border:1px solid var(--line);background:var(--accent-soft);color:var(--accent);text-align:left;border-radius:14px;margin:0 12px 10px;padding:12px;font-size:12px;line-height:1.5}.history-hint strong{display:block}.history-hint.hidden{display:none}@media (max-width:720px) and (min-height:481px){.call-hero{inset:15% 8% 42%}.call-hero h3{max-width:100%;font-size:25px}.call-secure{font-size:11px}}.chat-title .chat-subtitle{max-width:100%;min-height:32px;color:var(--muted);text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;padding:5px 0;font-size:12px;display:block;overflow:hidden}.chat-title .chat-subtitle:hover{text-decoration:underline}.call-locked #app,.call-locked .modal-backdrop,.call-locked .call-mini{display:none!important}.call-locked #call-overlay{visibility:visible;display:flex}.call-locked #call-overlay.call-minimized{display:flex!important}.call-controls .camera-stop{color:#143b2e;background:#d5eee3}.panel-loading{min-height:160px;color:var(--muted);justify-content:center;align-items:center;gap:12px;font-size:15px;display:flex}.loading-dot{border:2px solid;border-right-color:#0000;border-radius:50%;width:20px;height:20px;animation:.9s linear infinite spin}button,a,input,textarea,select{touch-action:manipulation}.modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}@media (prefers-reduced-motion:reduce){.loading-dot{animation:none}*{scroll-behavior:auto!important}}.reactions{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.message.own .reactions{justify-content:flex-end}.reaction{border:1px solid var(--line,#e1e7ef);background:var(--surface,#fff);min-height:30px;color:var(--ink,#101d35);cursor:pointer;border-radius:15px;align-items:center;gap:4px;padding:2px 10px;font-size:15px;display:inline-flex}.reaction span{color:var(--muted,#5b6b80);font-size:12px}.reaction.mine{background:var(--accent-soft,#e3f4ec);border-color:var(--accent,#2c7a5e)}.reaction-picker{justify-content:space-between;gap:6px;margin:0 0 14px;display:flex}.reaction-picker button{background:var(--surface-soft,#f1f4f8);cursor:pointer;border:0;border-radius:14px;flex:1;padding:10px 0;font-size:26px;line-height:1}.reaction-picker button:active{transform:scale(.92)}.media-thumb{background:var(--surface-soft,#e7edf2);cursor:zoom-in;border:0;border-radius:12px;width:min(280px,64vw);min-height:120px;max-height:360px;padding:0;display:block;overflow:hidden}.media-thumb[style]{min-height:0}.media-thumb img{object-fit:cover;opacity:0;width:100%;height:100%;max-height:360px;transition:opacity .2s;display:block}.media-thumb.ready img{opacity:1}.media-thumb.failed{place-items:center;display:grid}.media-thumb.failed:after{content:"Фото недоступно · нажмите, чтобы повторить";color:var(--muted,#718097);text-align:center;padding:12px;font-size:12px}.voice{align-items:center;gap:10px;min-width:min(260px,62vw);display:flex}.voice-play{background:var(--accent,#2c7a5e);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;display:grid}.voice-play span{border:7px solid #0000;border-left:12px solid #fff;border-right-width:0;width:0;height:0;margin-inline-start:3px}.voice.playing .voice-play span{border:0;border-inline:4px solid #fff;width:12px;height:14px;margin:0}.voice.loading .voice-play{opacity:.6}.voice-track{cursor:pointer;flex:1;align-items:center;height:24px;display:flex;position:relative}.voice-track:before{content:"";background:var(--line,#c9d6df);border-radius:2px;height:4px;position:absolute;inset-inline:0}.voice-progress{background:var(--accent,#2c7a5e);border-radius:2px;width:0;height:4px;position:relative}.voice-time{color:var(--muted,#5b6b80);font-variant-numeric:tabular-nums;min-width:36px;font-size:12px}.voice-speed{background:var(--surface-soft,#00000010);color:var(--ink,#101d35);cursor:pointer;border:0;border-radius:10px;flex:none;padding:4px 8px;font-size:12px}@media (prefers-reduced-motion:reduce){.media-thumb img{transition:none}}html[data-call-theme=navy] .call-overlay{background:radial-gradient(at 50% 30%,#1f3a57,#0e1829 75%)}html[data-call-theme=navy] .incoming-layer .modal{color:#e4eefb;background:radial-gradient(at 50% 30%,#1f3a57,#0e1829 75%)}html[data-call-theme=navy] .call-top .icon-btn{color:#d8e6f6;background:#ffffff12}html[data-call-theme=navy] .call-top p,html[data-call-theme=navy] .call-secure,html[data-call-theme=navy] .call-people-status,html[data-call-theme=navy] .audio-route-label,html[data-call-theme=navy] .incoming-layer .helper{color:#a9bdd6}html[data-call-theme=navy] .call-top #call-clock{color:#cfe0f5}html[data-call-theme=navy] .call-avatar{color:#eef5ff;background:linear-gradient(135deg,#34567c,#5d7fa6)}html[data-call-theme=navy] .video-tile video{background:#0b1424}html[data-call-theme=navy] .video-tile>.avatar{color:#eef5ff;background:#3a5a80}html[data-call-theme=navy] .call-overlay .call-controls button{color:#e4eefb}html[data-call-theme=navy] .call-controls button.off{color:#1d3352;background:#e6eefb}html[data-call-theme=navy] .call-controls button.route-speaker,html[data-call-theme=navy] .call-controls #enable-sound{color:#173353;background:#bcd6f5}html[data-call-theme=navy] .incoming-layer .close-modal{color:#d8e6f6}.call-theme-options{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px;display:grid}.call-theme-option{cursor:pointer;flex-direction:column;align-items:center;gap:8px;display:flex}.call-theme-option input{opacity:0;pointer-events:none;position:absolute}.call-theme-swatch{color:#fff;border:2px solid #0000;border-radius:14px;place-items:center;width:100%;height:64px;font-size:20px;display:grid}.call-theme-swatch.green{background:radial-gradient(at 50% 35%,#254d41,#122a23 75%)}.call-theme-swatch.navy{background:radial-gradient(at 50% 30%,#1f3a57,#0e1829 75%)}.call-theme-option input:checked+.call-theme-swatch{border-color:var(--accent,#2c7a5e);box-shadow:0 0 0 3px var(--accent-soft,#e3f4ec)}.call-theme-option input:focus-visible+.call-theme-swatch{outline:2px solid var(--accent,#2c7a5e);outline-offset:2px}.end-call-options{flex-direction:column;gap:4px;display:flex}.end-call-options .helper{text-align:center;margin:0 0 12px}.end-call-options .danger{color:#fff;background:#d9433f}.end-call-options .danger svg{transform:rotate(135deg)}@media (max-width:640px){.end-call-sheet{align-items:flex-end;padding:0}.end-call-sheet .modal{width:100%;padding-bottom:max(24px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0}}
