/* First-party Call workspace; styles are isolated from other portal sections. */
.call-standalone,.call-workspace{--call-bg:#080d15;--call-panel:#111b2b;--call-panel2:#14243a;--call-line:#283d58;--call-text:#edf4ff;--call-muted:#96acc9;--call-blue:#4d9bfb;--call-green:#62d9ad;color:var(--call-text);font:14px/1.45 Inter,'Segoe UI',Arial,sans-serif}
.call-standalone *, .call-workspace *{box-sizing:border-box}
.call-standalone [hidden],.call-workspace [hidden]{display:none!important}
.call-standalone{margin:0;background:var(--call-bg);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden}
.call-standalone button,.call-workspace button,.call-standalone input,.call-workspace input,.call-workspace textarea{font:inherit}
.call-standalone a,.call-workspace a{text-decoration:none}
.call-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 24px;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right));padding-top:max(10px,env(safe-area-inset-top));background:linear-gradient(100deg,#0c1524,#111a2a);border-bottom:1px solid var(--call-line);flex:0 0 auto}
.call-top-brand,.call-workspace-brand{display:flex;align-items:center;gap:10px;min-width:0;color:var(--call-text)}
.call-top-brand img,.call-workspace-brand img{object-fit:cover;border-radius:11px;border:1px solid #436b98;flex-shrink:0}
/* Call wordmark deliberately shares the Mr.Shkaf red-blue palette, while
   the separate CONTACT CENTER descriptor distinguishes this app at a glance. */
.call-brand-wordmark{font-weight:800;color:#1385ff;letter-spacing:-.035em;line-height:1.05}
.call-brand-wordmark i{font-style:normal;color:#ff1725}
.call-brand-role{font-weight:750;color:#f2f7ff;text-transform:uppercase;letter-spacing:.12em}
.call-brand-tagline{color:var(--call-muted);font-weight:400;letter-spacing:.02em}
.call-top-brand b{font-size:21px;white-space:nowrap}.call-top-brand .call-brand-role,.call-workspace-brand .call-brand-role{font-size:10px}
.call-top-brand small,.call-workspace-brand small{display:block;color:var(--call-muted);font-size:10px;letter-spacing:.035em}
.call-top-actions{display:flex;gap:10px;align-items:center}.call-top-link,.call-mini-link{color:#90bbf8;font-size:12px;white-space:nowrap}
.call-top-link:hover,.call-mini-link:hover{color:#fff}
.call-standalone-main{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
.call-standalone #callWorkspace{height:100%;min-height:0;flex:1}
.call-login-wrap{flex:1;min-height:0;overflow:auto;display:grid;place-items:center;padding:30px 16px;background:radial-gradient(ellipse at 26% 22%,#152c50 0%,transparent 52%),radial-gradient(ellipse at 80% 65%,#38172a 0%,transparent 50%),#080d15}
.call-login-card{width:min(440px,100%);border:1px solid #2c4565;background:linear-gradient(150deg,#142239,#0d1726);border-radius:24px;padding:30px;box-shadow:0 18px 55px #0007;text-align:left}
.call-login-card>img{border-radius:19px;border:1px solid #507aa5;margin-bottom:14px}
.call-login-card h1{font-size:32px;margin:4px 0 12px;letter-spacing:-.04em;line-height:1.06}.call-login-card p{font-size:13px;color:var(--call-muted);margin:0 0 18px}
.call-kicker{color:#91b5e7;text-transform:uppercase;font-size:10px;letter-spacing:.15em;font-weight:700;display:inline-block}
.call-login-card form{display:grid;gap:15px;margin:22px 0 10px}
.call-login-card label{display:grid;gap:6px;font-size:12px;color:#afc1d8}
.call-login-card input,.call-search input,.call-composer textarea,.call-dial-card input{min-width:0;color:var(--call-text);background:#0a1321;border:1px solid #304967;border-radius:10px;padding:11px 12px;outline:none;width:100%}
.call-login-card input:focus,.call-search:focus-within,.call-composer textarea:focus,.call-dial-card input:focus{border-color:#589ff4;box-shadow:0 0 0 2px #589ff422}
.call-primary-button,.call-secondary-button,.call-danger-button,.call-icon-button,.call-send-button{border:1px solid #325d9b;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:var(--call-text);font:650 13px/1.25 Inter,'Segoe UI',Arial,sans-serif;padding:11px 15px;border-radius:10px;min-height:42px;white-space:normal;text-align:center;background:linear-gradient(135deg,#2869cb,#1953a9);text-decoration:none}
.call-secondary-button,.call-icon-button{background:#16263d;border-color:#304b70;color:#c8defb}.call-danger-button{background:#8d3246;border-color:#b75267;color:#fff}
.call-primary-button:hover,.call-secondary-button:hover,.call-danger-button:hover,.call-icon-button:hover,.call-send-button:hover{filter:brightness(1.18)}
.call-primary-button:disabled,.call-secondary-button:disabled,.call-icon-button:disabled,.call-send-button:disabled{opacity:.5;cursor:not-allowed}
.call-primary-button:focus-visible,.call-secondary-button:focus-visible,.call-icon-button:focus-visible,.call-send-button:focus-visible,.call-thread:focus-visible,.call-tabs button:focus-visible{outline:2px solid #85b8ff;outline-offset:2px}
.call-primary-button svg,.call-secondary-button svg,.call-icon-button svg,.call-send-button svg,.call-mini-link svg,.call-tabs svg,.call-avatar svg,.call-search svg,.call-empty-orb svg,.call-camera-placeholder svg,.call-incoming-orb svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.call-icon-button{padding:0;min-width:40px;width:40px;height:40px;min-height:40px;font-size:24px}.call-icon-button svg{width:21px;height:21px}
.call-workspace{height:clamp(500px,calc(100dvh - 130px),950px);min-height:0;width:100%;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #294363;border-radius:18px;background:#0b1421;box-shadow:0 15px 45px #0003}
.call-standalone .call-workspace{height:100%;border-radius:0;border:0;box-shadow:none}
.call-workspace-bar{min-height:61px;display:flex;align-items:center;gap:14px;justify-content:space-between;background:#101c2d;border-bottom:1px solid var(--call-line);padding:10px 15px}
.call-workspace-brand strong{font-size:16px;letter-spacing:-.02em;white-space:nowrap}
.call-tabs{display:flex;align-items:center;gap:5px;padding:4px;border-radius:12px;border:1px solid #2b4363;background:#0b1423}
.call-tabs button{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:8px;background:transparent;color:#8faacb;font-size:13px;font-weight:650;padding:9px 17px;cursor:pointer;white-space:nowrap}
.call-tabs button.active{color:#edf5ff;background:#21416c;box-shadow:inset 0 0 0 1px #3a6293}.call-tabs svg{width:17px;height:17px}
.call-tabs b{font-size:10px;border-radius:12px;background:#4276c9;min-width:16px;min-height:16px;padding:1px 4px;text-align:center}
.call-me-summary{display:flex;align-items:center;gap:7px;color:#b3c9e6;min-width:0;font-size:12px}
.call-me-summary>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.call-live-dot{width:7px;height:7px;border-radius:50%;background:var(--call-green);box-shadow:0 0 10px #62d9ad94;flex-shrink:0}
.call-mini-link{display:inline-flex;gap:5px;align-items:center}.call-mini-link svg{width:14px;height:14px}
.call-wrap{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);min-height:0;overflow:hidden}
.call-sidebar{display:flex;flex-direction:column;min-height:0;min-width:0;background:#0f1927;border-right:1px solid var(--call-line);padding:14px 10px 0}
.call-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:3px 9px 13px}
.call-sidebar-heading h2{font-size:21px;letter-spacing:-.03em;margin:0 0 3px;color:#f5f8ff;font-weight:740}
.call-sidebar-heading p{color:var(--call-muted);font-size:11px;margin:0}
.call-count{display:grid;place-items:center;background:#1c304b;color:#aec8ee;border:1px solid #314b70;border-radius:10px;padding:4px 9px;font-size:11px}
.call-search{display:flex;align-items:center;gap:8px;background:#0a1320;border:1px solid #2b425e;border-radius:9px;padding:0 10px;margin:0 5px 12px;color:#809cbc}
.call-search svg{width:17px;height:17px}
.call-search input{border:0;background:transparent;padding:10px 0;font-size:13px;box-shadow:none!important}
.call-thread-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 4px 8px;scrollbar-width:thin;scrollbar-color:#304966 transparent}
.call-thread-label{font-size:10px;color:#829bba;letter-spacing:.13em;font-weight:650;padding:15px 9px 6px}
.call-thread{width:100%;display:flex;align-items:center;gap:11px;padding:11px 9px;margin:2px 0;color:#e0ecff;text-align:left;background:transparent;border:1px solid transparent;border-radius:11px;cursor:pointer;min-width:0}
.call-thread:hover{background:#172a41}.call-thread.active{border-color:#376da6;background:linear-gradient(100deg,#1c3458,#183350);box-shadow:inset 2px 0 0 #59a5ff}
.call-thread-group{margin-bottom:6px;border-color:#294a55;background:linear-gradient(100deg,#16362f,#152539)}
.call-avatar{--avatar-hue:213;width:43px;height:43px;display:grid;place-items:center;border-radius:50%;flex:0 0 auto;background:hsl(var(--avatar-hue) 36% 24%);border:1px solid hsl(var(--avatar-hue) 36% 43%);color:#e4eeff;font-size:15px;font-weight:760;letter-spacing:.015em}
.call-group-avatar{background:linear-gradient(145deg,#285e4c,#1d7770);border-color:#61cbb1;color:#e2fff6;box-shadow:0 0 12px #43c69b25}
.call-group-avatar svg{width:24px;height:24px}.call-thread-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.call-thread-info strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:720}
.call-thread-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#93a9c5}
.call-thread-aside{display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:#8ba7c9;flex:0 0 auto;font-size:10px}
.call-thread-aside b{border-radius:20px;background:#3578d5;color:#fff;padding:2px 6px;min-width:19px;font-size:10px;text-align:center}
.call-list-foot{padding:10px 6px;border-top:1px solid #26394f;color:#7188a6;font-size:10px;text-align:center}
.call-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:radial-gradient(ellipse at 65% 15%,#1429425c,transparent 51%),#0b1523}
.call-conversation-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px}
.call-empty-orb{display:grid;place-items:center;width:80px;height:80px;border-radius:25px;background:linear-gradient(140deg,#1b3960,#142438);border:1px solid #3d608c;color:#8bbdff;box-shadow:0 0 30px #3678cd26}
.call-empty-orb svg{width:35px;height:35px}
.call-conversation-empty h3{font-size:22px;margin:20px 0 6px}.call-conversation-empty p{font-size:13px;color:var(--call-muted);margin:0;max-width:350px}
.call-dialog-view{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;min-height:0;height:100%}
.call-chat-header{display:flex;align-items:center;gap:11px;padding:12px 18px;background:#112034;border-bottom:1px solid #283c57}
.call-header-avatar{width:41px;height:41px}.call-chat-person{flex:1;min-width:0}.call-chat-person h3{font-size:16px;margin:0;color:#f3f7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-chat-person p{font-size:11px;color:#94adc9;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-back{display:none}
.call-messages{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 18px 18px;scrollbar-width:thin;scrollbar-color:#304966 transparent;background:radial-gradient(circle at 20% 10%,#2f60961a 1px,transparent 1px);background-size:30px 30px}
.call-message-list{display:flex;flex-direction:column;gap:9px}
.call-message{display:flex;gap:8px;align-items:flex-end;max-width:95%;width:fit-content}
.call-message.own{align-self:flex-end}
.call-message-avatar{width:29px;height:29px;font-size:10px}
.call-bubble{border-radius:15px 15px 15px 4px;border:1px solid #2c4565;background:#182b43;max-width:min(100%,660px);min-width:78px;display:flex;flex-direction:column;padding:9px 12px 7px;box-shadow:0 3px 9px #0002;overflow:hidden}
.call-message.own .call-bubble{background:linear-gradient(130deg,#245184,#214268);border-color:#497aab;border-radius:15px 15px 4px 15px}
.call-message-author{font-size:11px;color:#8fe1c9;font-weight:700;white-space:normal;margin-bottom:4px}
.call-message-text{font-size:14px;color:#f0f6ff;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.5}
.call-message-time{font-size:10px;color:#9ab4d5;align-self:flex-end;margin-top:4px;white-space:nowrap}
.call-video-bubble{padding:9px;gap:4px;background:#112137}.call-video-circle{width:clamp(148px,23vw,225px);height:auto;aspect-ratio:1;display:block;object-fit:cover;border-radius:50%;border:2px solid #5a94cd;background:#0a1020;box-shadow:0 0 15px #4d9bfb22}
.call-empty{color:#8ca1be;font-size:13px;text-align:center;line-height:1.5;padding:18px 10px;margin:0;overflow-wrap:anywhere}
.call-load-older{display:block;border:1px solid #385475;background:#12233a;color:#9ec5f7;border-radius:20px;padding:6px 14px;font-size:11px;cursor:pointer;margin:0 auto 12px}
.call-composer{display:flex;gap:9px;align-items:flex-end;padding:9px 14px;background:#102033;border-top:1px solid #2a405e}
.call-composer textarea{flex:1;resize:none;min-height:43px;max-height:100px;line-height:1.4;padding:11px 13px;font-size:14px}
.call-record-button{height:43px;min-width:43px;width:43px;border-color:#426d9e;color:#90c5ff}
.call-send-button{width:44px;height:43px;min-width:44px;padding:0}.call-send-button svg{width:21px;height:21px}
.call-composer-hint{font-size:10px;color:#8098b8;background:#102033;text-align:center;padding:0 10px 8px}
.call-notice{font-size:12px;color:#a6c9f8;min-height:0;overflow-wrap:anywhere;padding:0 14px}
.call-notice:not(:empty){padding:8px 14px;background:#132543}
.call-phone-pane{grid-column:1/-1;min-height:0;overflow:auto;background:radial-gradient(ellipse at 30% 10%,#172b45,#0a1421 65%);padding:20px;overscroll-behavior:contain}
.call-phone-layout{max-width:940px;margin:auto;display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:16px;align-items:start}
.call-dial-card,.call-corporate-card{background:linear-gradient(145deg,#14263d,#101c2d);border:1px solid #2d486b;border-radius:18px;padding:22px;min-width:0}
.call-dial-card h2,.call-corporate-card h2{font-size:22px;margin:6px 0;letter-spacing:-.03em}.call-dial-card p,.call-corporate-card p{color:#a5b9d2;font-size:13px;margin:8px 0 14px}
.call-dial-card input{font-size:21px;letter-spacing:.035em;text-align:center;padding:13px 8px}
.call-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}
.call-keypad button{height:48px;border:1px solid #34516e;border-radius:12px;background:#1c344e;color:#e4efff;font-size:21px;cursor:pointer}
.call-keypad button:hover{background:#294e72}
.call-native-dial,.call-corporate-dial{width:100%;border-color:#45977d;background:linear-gradient(135deg,#26866b,#216a55);color:#effff8}
.call-phone-hint{display:block;text-align:center;color:#89a3bd;font-size:11px;margin-top:8px}
.call-corporate-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.call-phone-state{border:1px solid #4a5363;border-radius:20px;padding:6px 10px;font-size:11px;color:#b4bdcc;white-space:nowrap}
.call-phone-state.live{border-color:#458768;color:#94e4b4;background:#16372d}
.call-corporate-card [data-sip-controls]{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.call-active-call{display:grid;gap:8px;justify-items:center;text-align:center;padding:20px;margin:16px 0;background:#0c1a2b;border:1px solid #386a94;border-radius:16px}
.call-incoming-orb{width:70px;height:70px;border:1px solid #67cba1;border-radius:50%;background:#215e4c;color:#a1f8d1;display:grid;place-items:center;box-shadow:0 0 0 8px #318d6d25,0 0 25px #62d9ad22}
.call-incoming-orb svg{width:32px;height:32px}
.call-active-call>strong{font-size:21px;overflow-wrap:anywhere;max-width:100%}.call-active-call>span,.call-active-call>small{color:#a3c3e4;font-size:12px}
.call-call-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:6px}
.call-push-panel{border:1px solid #2d4868;border-radius:12px;margin-top:16px;padding:13px;background:#101c2e}.call-push-panel p{font-size:12px}.call-push-panel small{color:#87b3e5;display:block;margin-top:8px;font-size:11px}
.call-recorder{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 26px);margin:auto;color:#e9f3ff;background:linear-gradient(145deg,#172b45,#101c2b);border:1px solid #41628a;border-radius:22px;padding:20px;box-shadow:0 30px 80px #0009;overflow:auto}
.call-recorder::backdrop{background:#030810d9;backdrop-filter:blur(5px)}
.call-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:13px}.call-record-head h3{font-size:22px;letter-spacing:-.025em;margin:6px 0}.call-record-head p{color:#a5bcd8;font-size:12px;margin:0}
.call-camera-circle{position:relative;width:min(245px,75vw);aspect-ratio:1;margin:18px auto 10px;border-radius:50%;overflow:hidden;border:3px solid #529bcc;background:#0b1728;box-shadow:0 0 0 6px #4d9bfb14,0 0 35px #4d9bfb26}
.call-camera-circle video{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.call-camera-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(150deg,#1e3553,#102033);color:#8bbdf7}
.call-camera-placeholder svg{width:58px;height:58px}
.call-rec-time{text-align:center;color:#b7dafa;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.call-rec-status{min-height:36px;text-align:center;color:#a9c6e6;font-size:12px;margin:7px 0 12px}
.call-record-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.call-file-button{position:relative;overflow:hidden;cursor:pointer}.call-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.call-install-view{flex:1;min-height:0;overflow:auto;max-width:1100px;width:100%;margin:0 auto;padding:24px 20px 40px}
.call-install-hero{display:flex;align-items:center;gap:26px;padding:30px;border:1px solid #335b81;border-radius:22px;background:linear-gradient(120deg,#291626,#142a43 64%,#111f39)}
.call-install-hero>img{width:124px;height:124px;object-fit:cover;border-radius:26%;border:1px solid #659bcd;box-shadow:0 0 30px #42adcc22}
.call-install-hero h1{font-size:38px;letter-spacing:-.035em;margin:6px 0;line-height:1.12}.call-install-hero p{font-size:14px;color:#aec6df;margin:0 0 15px;max-width:650px}
.call-install-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.call-install-platforms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.call-install-platforms article,.call-install-footer{padding:20px;border:1px solid #2d4868;border-radius:14px;background:linear-gradient(145deg,#16263e,#111c2c)}
.call-install-platform-label{color:#93b5df;font-size:10px;font-weight:650;letter-spacing:.12em}.call-install-platforms h3{font-size:20px;margin:6px 0}.call-install-platforms p,.call-install-footer p{color:#a5bad7;font-size:13px;margin:7px 0 0}
@media(max-width:1050px){.call-mini-link{display:none}.call-wrap{grid-template-columns:minmax(215px,270px) minmax(0,1fr)}.call-tabs button{padding:9px 12px}.call-workspace-bar{gap:10px}}
@media(max-width:760px){
 .call-topbar{padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));gap:7px}
 .call-top-brand img{width:35px;height:35px;border-radius:9px}.call-top-brand b{font-size:16px}.call-top-brand small{font-size:9px}
 .call-top-actions{gap:5px}.call-top-actions .call-top-link{display:none}.call-top-actions .call-secondary-button{font-size:11px;min-height:34px;padding:6px 9px}
 .call-workspace{height:calc(100dvh - 120px);border-radius:12px}.call-standalone .call-workspace{height:100%}
 .call-workspace-bar{padding:8px 10px;min-height:52px;justify-content:space-between}
 .call-workspace-brand{display:none}.call-tabs{padding:3px;border-radius:10px}.call-tabs button{font-size:12px;padding:8px 10px}.call-tabs svg{width:16px;height:16px}
 .call-me-summary{font-size:10px;max-width:40%}
 .call-wrap{grid-template-columns:minmax(0,1fr)}.call-sidebar{padding:10px 7px 0;border-right:0}
 .call-sidebar-heading{padding:5px 8px 10px}.call-sidebar-heading h2{font-size:20px}
 .call-thread{padding:10px 9px}.call-avatar{width:44px;height:44px}.call-thread-info strong{font-size:14px}
 .call-workspace[data-mobile-view="list"][data-call-screen="chats"] .call-conversation{display:none}
 .call-workspace[data-mobile-view="chat"][data-call-screen="chats"] .call-sidebar{display:none}
 .call-back{display:inline-flex;width:34px;height:34px;min-width:34px;min-height:34px;border:0;background:transparent}
 .call-chat-header{padding:9px 8px;gap:7px}.call-header-avatar{width:36px;height:36px}.call-chat-person h3{font-size:15px}.call-chat-person p{font-size:10px}
 .call-chat-header>.call-icon-button:last-child{width:33px;height:33px;min-width:33px;min-height:33px;font-size:20px}
 .call-messages{padding:12px 10px}.call-message{max-width:97%}.call-bubble{max-width:100%;padding:8px 10px 6px}.call-message-text{font-size:14px}.call-message-avatar{width:27px;height:27px;font-size:9px}.call-video-circle{width:clamp(140px,51vw,198px)}.call-video-bubble{padding:7px}
 .call-composer{padding:8px;gap:6px}.call-composer textarea{font-size:16px;min-height:42px;padding:9px 10px;border-radius:11px}.call-record-button,.call-send-button{width:41px;height:41px;min-width:41px;min-height:41px}
 .call-composer-hint{font-size:9px;padding-bottom:6px}.call-phone-pane{padding:10px}.call-phone-layout{grid-template-columns:1fr;gap:10px}
 .call-dial-card,.call-corporate-card{padding:16px;border-radius:13px}.call-keypad button{height:44px}.call-dial-card input{font-size:20px}
 .call-login-card{padding:24px;border-radius:20px}.call-install-view{padding:12px 12px 24px}.call-install-hero{padding:20px;flex-direction:column;align-items:flex-start;gap:13px}.call-install-hero>img{width:88px;height:88px}.call-install-hero h1{font-size:29px}.call-install-platforms{grid-template-columns:1fr;gap:10px}.call-install-platforms article,.call-install-footer{padding:15px}
}
@media(max-width:355px){.call-tabs button{padding:7px}.call-tabs button svg{display:none}.call-me-summary{max-width:33%}.call-top-actions [data-call-install-link]{font-size:10px}.call-chat-person p{max-width:160px}}

/* Keep the newest short conversation near the composer. Video notes use a
   circular player, with a single clear play control instead of clipped chrome. */
.call-standalone .call-workspace-brand{display:none}
.call-standalone .call-workspace-bar{justify-content:space-between}
.call-messages{display:flex;flex-direction:column}
.call-message-list{margin-top:auto;flex-shrink:0}
.call-message-list:empty{margin-top:0}
.call-video-wrap{position:relative;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 35% 25%,#1c3458,#0c1628 72%);width:fit-content}
.call-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:52px;width:52px;height:52px;border:1px solid #83b6ff80;background:#1c4576d8;box-shadow:0 4px 16px #0007;border-radius:50%;cursor:pointer;color:#ecf6ff}
.call-video-play svg{width:25px;height:25px;fill:currentColor;stroke:none}

/* Profile photos, two independent groups, and bounded chat layout. */
.call-avatar{overflow:hidden;position:relative;isolation:isolate}
.call-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.call-avatar.has-photo{background:#13243b;border-color:#4c76a1}
.call-tech-avatar{background:linear-gradient(140deg,#293e68,#344f7c);border-color:#83a7df;color:#dceaff;box-shadow:0 0 14px #6997ed20}
.call-self-avatar{width:26px;height:26px;font-size:10px;flex-shrink:0}
.call-me-summary [data-call-me-photo]{flex:0 0 auto}
.call-workspace,.call-workspace-bar,.call-wrap,.call-conversation,.call-dialog-view,.call-messages,.call-message-list,.call-composer,.call-standalone-main,.call-standalone #callWorkspace{min-width:0;max-width:100%}
.call-standalone{width:100%;max-width:100%;overflow-x:hidden}
.call-topbar,.call-top-actions{min-width:0}
.call-top-brand{flex:1;overflow:hidden}
.call-top-brand>span{min-width:0;overflow:hidden}
.call-top-brand b,.call-top-brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.call-top-actions{flex:0 0 auto}
.call-dialog-view{width:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto auto;overflow:hidden}
.call-chat-header{min-width:0;max-width:100%;gap:9px}
.call-header-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.call-header-call{color:#98edc8;border-color:#377d73;background:linear-gradient(140deg,#23584f,#173a3b)}
.call-refresh{flex:0 0 auto}
.call-message{min-width:0;max-width:96%}
.call-bubble{min-width:0}
.call-messages{overflow-y:auto;overflow-x:hidden}
.call-message-list{min-width:0;max-width:100%}
.call-composer{display:grid;width:100%;grid-template-columns:43px 43px minmax(0,1fr) 44px;gap:8px;overflow:hidden;align-items:end;padding:9px 14px}
.call-composer textarea{display:block;inline-size:100%;width:100%;min-width:0;max-width:100%;flex:none;box-sizing:border-box;margin:0;overflow-y:auto;overflow-x:hidden;overflow-wrap:anywhere}
.call-attach-button{height:43px;min-height:43px;width:43px;min-width:43px;color:#b2d5fd}
.call-composer .call-record-button,.call-composer .call-send-button,.call-composer .call-attach-button{flex:none;margin:0}
.call-attach-panel{padding:9px 14px;background:#12243a;border-top:1px solid #37536e;min-width:0;max-width:100%}
.call-attach-list{display:grid;gap:7px;max-height:130px;overflow:auto}
.call-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;min-width:0;padding:5px 8px;background:#0c1b2c;border:1px solid #2c4563;border-radius:8px}
.call-upload-row strong{font-size:12px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-upload-row small{font-size:10px;color:#a8c4e6;white-space:nowrap}
.call-upload-row progress{grid-column:1/-1;width:100%;height:5px;accent-color:#69d8a9}
.call-attach-panel p{font-size:11px;color:#adc8e8;overflow-wrap:anywhere;margin:6px 0}
.call-attach-actions{display:flex;gap:7px;flex-wrap:wrap}
.call-attach-actions button{min-height:30px;font-size:11px;padding:6px 10px}
.call-file-card{display:flex;align-items:center;gap:10px;color:#f0f6ff;min-width:0;max-width:100%;width:min(360px,100%);padding:3px 0}
.call-file-icon{display:grid;place-items:center;width:42px;height:44px;flex:0 0 auto;background:#32618a;border:1px solid #568bb3;border-radius:10px;color:#dcefff}
.call-file-icon svg,.call-peer-history-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.call-file-info{display:flex;flex-direction:column;min-width:0;gap:4px;overflow:hidden}
.call-file-info strong{font-weight:680;font-size:13px;overflow-wrap:anywhere;white-space:normal}
.call-file-info small{font-size:11px;color:#b0d6f7}
.call-file-card:hover .call-file-info small{text-decoration:underline}

/* Contact directory and call history. Keep the legacy number dialler nested. */
.call-peer-home{max-width:1160px;margin:0 auto;min-width:0}
.call-peer-home-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:4px 3px}
.call-peer-home-head h2{margin:5px 0;font-size:27px;line-height:1.1;letter-spacing:-.035em}
.call-peer-home-head p{font-size:13px;color:#9eb8d6;margin:7px 0 10px;max-width:640px}
.call-peer-home-head button{white-space:nowrap;flex-shrink:0}
.call-peer-home-status{margin:0;color:#9bcbe9;font-size:12px;overflow-wrap:anywhere}
.call-peer-home-status:not(:empty){padding:8px 10px;border:1px solid #31577b;border-radius:9px;background:#112940;margin-bottom:8px}
.call-peer-search{max-width:490px;margin:7px 0 15px}
.call-peer-contacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.call-peer-contact{display:flex;align-items:center;gap:11px;background:linear-gradient(140deg,#192d47,#132239);border:1px solid #34516f;border-radius:13px;padding:11px;min-width:0}
.call-peer-contact-info{display:grid;gap:3px;flex:1;min-width:0}
.call-peer-contact-info strong,.call-peer-contact-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-peer-contact-info strong{font-size:14px}.call-peer-contact-info small{font-size:11px;color:#98abc7}
.call-peer-contact-button{background:#1e493f;color:#b4efce;border-color:#437e71;flex-shrink:0}
.call-peer-contact-button[data-peer-contact-mode="video"]{background:#1c3557;color:#b0d8ff;border-color:#436c98}
.call-peer-history{margin-top:18px;border:1px solid #304b6b;background:#132137;border-radius:14px;padding:14px}
.call-peer-history h3{font-size:16px;margin:0 0 8px}
.call-peer-history-row{display:flex;align-items:center;gap:11px;padding:9px 0;border-top:1px solid #29405c;font-size:12px;min-width:0}
.call-peer-history-row>div{flex:1;min-width:0;display:grid;gap:1px}
.call-peer-history-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-peer-history-row small,.call-peer-history-row time{color:#96adca;font-size:11px}
.call-peer-history-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#203a55;color:#a4cbf2;flex:0 0 auto}
.call-external-phone{max-width:1160px;margin:15px auto 0;background:#111d2d;border:1px solid #304461;border-radius:12px}
.call-external-phone summary{color:#a6beda;cursor:pointer;padding:13px 15px;font-size:13px;font-weight:650}
.call-external-phone[open]>div{padding:4px 10px 15px}

/* Always accessible incoming / outgoing call overlay, with local video preview. */
.call-peer-dialog{width:min(620px,calc(100vw - 22px));max-width:calc(100vw - 22px);max-height:calc(100dvh - 22px);margin:auto;padding:17px;border:1px solid #45678f;border-radius:23px;overflow:auto;background:radial-gradient(ellipse at 50% 15%,#284261,#111c2c 70%);color:#ecf6ff;box-shadow:0 26px 75px #000b}
.call-peer-dialog::backdrop{background:#030810d9;backdrop-filter:blur(7px)}
.call-peer-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:22px}
.call-peer-timer{font-size:13px;color:#9fe3c3;font-weight:750;font-variant-numeric:tabular-nums}
.call-peer-stage{width:100%;position:relative;display:grid;place-items:center;min-height:255px;aspect-ratio:4/3;border:1px solid #365475;border-radius:17px;background:radial-gradient(ellipse at 50% 30%,#254769,#101c2f 74%);overflow:hidden;margin:10px 0}
.call-peer-stage>[data-peer-remote]{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#07111e}
.call-peer-identity{text-align:center;display:grid;justify-items:center;gap:8px;min-width:0;width:100%;padding:12px}
.call-peer-portrait{width:104px;height:104px;font-size:34px;border:2px solid #86bae6;box-shadow:0 0 0 8px #639dec24,0 0 35px #6996dd40}
.call-peer-dialog[data-phase="ringing"] .call-peer-portrait{box-shadow:0 0 0 8px #79e1b127,0 0 35px #79e1b142;border-color:#93ebc4;animation:call-ring 1.8s infinite}
@keyframes call-ring{50%{box-shadow:0 0 0 12px #79e1b10f,0 0 40px #79e1b14d}}
.call-peer-identity h2{font-size:25px;margin:9px 0 0;overflow-wrap:anywhere;letter-spacing:-.025em}
.call-peer-identity p{margin:0;font-size:13px;color:#a3c0df;overflow-wrap:anywhere}
.call-peer-local{position:absolute;right:10px;bottom:10px;width:28%;min-width:86px;max-width:145px;aspect-ratio:3/4;object-fit:cover;border:1px solid #87b7dc;border-radius:12px;background:#0c1d2e;box-shadow:0 4px 13px #0007;transform:scaleX(-1)}
.call-peer-local.camera-off{opacity:.65}
.call-peer-phase{text-align:center;color:#b4d7eb;font-size:14px;padding:8px 4px;min-height:40px;overflow-wrap:anywhere}
.call-peer-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.call-peer-controls button{min-height:44px}
.call-peer-accept{background:linear-gradient(130deg,#23876a,#17644f);border-color:#60c9a1}
.call-peer-end svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linejoin:round}
.call-peer-controls .off{color:#e7b5bd;border-color:#985467;background:#582d40}
.call-peer-dialog[data-mode="audio"] .call-peer-stage{aspect-ratio:5/3;min-height:235px}
.call-peer-dialog[data-phase="done"] .call-peer-stage{min-height:190px;aspect-ratio:5/3}
@media(max-width:760px){
 .call-standalone-main{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
 .call-workspace-bar{min-width:0}
 .call-me-summary{max-width:42%}
 .call-self-avatar{width:24px;height:24px}
 .call-chat-header{gap:5px;padding:7px 7px;min-width:0}
 .call-chat-header .call-header-avatar{width:34px;height:34px}
 .call-chat-header .call-header-actions{gap:5px}
 .call-chat-header .call-header-call{width:34px;height:36px;min-width:34px;min-height:36px}
 .call-chat-header .call-refresh-direct{display:none}
 .call-chat-person h3{font-size:14px}
 .call-composer{width:100%;max-width:100%;padding:7px 7px;gap:5px;grid-template-columns:36px 36px minmax(0,1fr) 40px}
 .call-composer .call-attach-button,.call-composer .call-record-button{width:36px;min-width:36px;height:40px;min-height:40px}
 .call-composer .call-send-button{width:40px;min-width:40px;height:40px;min-height:40px}
 .call-composer textarea{min-height:40px;max-height:92px;font-size:16px;padding:8px 8px;width:100%;min-width:0}
 .call-attach-panel{padding:7px 8px}
 .call-attach-list{max-height:100px}
 .call-attach-panel p{font-size:10px}
 .call-attach-actions button{font-size:10px;padding:6px 8px}
 .call-peer-home-head{gap:8px}
 .call-peer-home-head h2{font-size:22px}
 .call-peer-home-head p{font-size:11px}
 .call-peer-home-head button{padding:8px;min-height:35px;font-size:11px;white-space:normal;max-width:110px}
 .call-peer-contacts{grid-template-columns:minmax(0,1fr);gap:7px}
 .call-peer-contact{gap:8px;padding:10px 8px}
 .call-peer-contact .call-avatar{width:40px;height:40px}
 .call-peer-contact-button{width:37px;min-width:37px;height:37px;min-height:37px}
 .call-peer-dialog{padding:12px;border-radius:20px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 .call-peer-stage{min-height:245px;aspect-ratio:3/4}
 .call-peer-controls{gap:6px}.call-peer-controls button{padding:9px 10px;font-size:12px}
 .call-peer-identity h2{font-size:23px}
}
@media(max-width:345px){
 .call-composer{padding:6px 5px;gap:4px;grid-template-columns:34px 34px minmax(0,1fr) 38px}
 .call-composer .call-attach-button,.call-composer .call-record-button{width:34px;min-width:34px}
 .call-composer .call-send-button{width:38px;min-width:38px}
 .call-header-avatar{display:none}
 .call-me-summary{max-width:38%}
}
@media(prefers-reduced-motion:reduce){.call-peer-dialog[data-phase="ringing"] .call-peer-portrait{animation:none}}

/* Contact Center identity, presence and short message interactions. */
.call-avatar.online::after{content:"";position:absolute;right:1px;bottom:1px;width:11px;height:11px;background:#56e29d;border:2px solid #12233a;border-radius:50%;box-shadow:0 0 7px #56e2979c;z-index:2}
.call-self-avatar.online::after{width:8px;height:8px;border-width:1.5px}
.call-online-label{color:#83e3b7!important;font-weight:670}
.call-missed-badge,.call-tabs .call-missed-badge{background:#9d3147!important;color:#fff!important;border:1px solid #e15a69;padding:2px 5px;border-radius:20px;font-size:10px}
.call-peer-history-row.missed .call-peer-history-icon{background:#652c3e;color:#ffb0b9}
.call-peer-history-row.missed small{color:#ff929e;font-weight:650}
.call-alert-banner{display:grid;gap:6px;flex:0 0 auto;margin:0 4px 9px;padding:8px;background:#14283c;border:1px solid #36537b;border-radius:10px;font-size:11px;color:#c9dbf6;min-width:0}
.call-alert-banner[data-alert-state="ready"]{background:#132f2b;border-color:#38685d;color:#b1ead1}
.call-alert-banner[data-alert-state="warning"]{background:#302731;border-color:#79505a;color:#ffcbd5}
.call-alert-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere;line-height:1.32}
.call-alert-copy strong{font-size:11px;font-weight:650;letter-spacing:.005em}
.call-alert-copy small{font-size:10px;color:#b4c7de;line-height:1.32}
.call-alert-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:5px;min-width:0}
.call-alert-banner button{flex:1 1 auto;background:#213e62;border:1px solid #4b6e9f;border-radius:7px;padding:6px;line-height:1.2;min-height:31px;color:#edf5ff;cursor:pointer;font-size:10px;white-space:normal}
.call-alert-banner[data-alert-state="ready"] button{background:#225448;border-color:#438b76}
.call-alert-banner button:disabled{opacity:.55;cursor:not-allowed}
.call-alert-banner button:focus-visible{outline:2px solid #91bcff;outline-offset:1px}
.call-peer-alert-settings{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 9px;padding:10px 12px;background:#14283c;border:1px solid #36537b;border-radius:10px;color:#c9dbf6;font-size:12px}
.call-peer-alert-settings>div{min-width:0;flex:1 1 185px;display:grid;gap:4px}
.call-peer-alert-settings small{color:#9db5d2;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.call-peer-alert-settings button{flex:0 0 auto;min-height:34px;padding:7px 11px;font-size:11px}
.call-avatar.has-photo img{object-fit:cover}
.call-composer{grid-template-columns:43px 43px 43px minmax(0,1fr) 44px}
.call-voice-button{height:43px;width:43px;min-width:43px;min-height:43px;color:#97e3c0;background:#184037;border-color:#3b7767}
.call-voice-player{display:flex;align-items:center;gap:10px;width:min(250px,100%);max-width:100%;min-width:0}
.call-voice-play{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;color:#f1f8ff;background:#386da2;border:1px solid #71a6d7;flex:none;cursor:pointer}
.call-voice-play svg{width:20px;height:20px;fill:currentColor}
.call-voice-track{display:grid;gap:3px;flex:1;min-width:0}
.call-voice-track input{width:100%;min-width:0;height:18px;accent-color:#9bdbcb;margin:0;cursor:pointer}
.call-voice-track small{font-size:10px;color:#b4cfed;font-variant-numeric:tabular-nums}
.call-voice-recorder{max-width:380px}
.call-voice-orb{width:116px;height:116px;border:2px solid #71c9ab;background:radial-gradient(#245549,#142d30);border-radius:50%;display:grid;place-items:center;margin:22px auto 15px;color:#c7ffe8;box-shadow:0 0 0 7px #61be991b}
.call-voice-orb svg{width:50px;height:50px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.call-voice-recorder[data-voice-stage="recording"] .call-voice-orb{border-color:#ef7181;color:#ffdde2;background:radial-gradient(#713447,#3a2336);animation:call-ring 1.4s infinite}
.call-voice-recorder audio{width:100%;margin-bottom:10px}
.call-message.call-message-circle .call-bubble{padding:0;background:transparent;border:0;box-shadow:none;overflow:visible;align-items:flex-start}
.call-message.call-message-circle.own .call-bubble{align-items:flex-end}
.call-message-circle .call-message-author{padding:3px 7px;border-radius:20px;background:#163047aa}
.call-message-circle .call-video-wrap{padding:0;border-radius:50%;overflow:hidden}
.call-message-circle .call-video-circle{border-radius:50%;border:2px solid #497ead;display:block;aspect-ratio:1;object-fit:cover}
.call-message-circle .call-message-time{margin-top:5px;border-radius:20px;background:#172c42c9;padding:3px 7px}
.call-reaction-bar{display:flex;align-items:center;justify-content:flex-start;gap:4px;flex-wrap:wrap;padding-top:3px;max-width:100%;min-height:21px}
.call-message.own .call-reaction-bar{justify-content:flex-end}
.call-reaction-chip,.call-reaction-add{border:1px solid #42688c;background:#203d5b;color:#e7efff;border-radius:18px;height:26px;min-width:30px;padding:3px 7px;display:inline-flex;align-items:center;justify-content:center;gap:3px;font-size:12px;cursor:pointer;font-weight:650}
.call-reaction-chip.mine{border-color:#65bba6;background:#26584f;color:#c5ffe6}
.call-reaction-add{background:transparent;border-color:transparent;color:#96b0cc;min-width:25px;width:25px;height:25px;padding:3px}
.call-reaction-add svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.call-reaction-add:hover{background:#264561;border-color:#486b90}
.call-reaction-dialog{width:min(410px,calc(100vw - 22px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;padding:17px;margin:auto;background:linear-gradient(145deg,#1b304b,#101e31);border:1px solid #446587;border-radius:18px;color:#eaf3ff;box-shadow:0 20px 65px #0009}
.call-reaction-dialog::backdrop{background:#030811b9;backdrop-filter:blur(4px)}
.call-reaction-dialog header{display:flex;justify-content:space-between;align-items:center;gap:9px}
.call-reaction-dialog h3{font-size:21px;margin:3px 0 8px}
.call-reaction-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:8px 0 14px}
.call-reaction-picker button{height:47px;background:#203a55;border:1px solid #3f6083;border-radius:12px;font-size:25px;cursor:pointer}
.call-reaction-picker button.selected{background:#27584f;border-color:#7ad3ae;box-shadow:0 0 10px #5ab39a35}
.call-reaction-people{max-height:280px;overflow:auto;display:grid;gap:9px}
.call-reaction-person-group{padding:9px;background:#12243a;border:1px solid #304c68;border-radius:10px}
.call-reaction-person-group>strong{font-size:13px;color:#bad8f3}
.call-reaction-person{display:flex;align-items:center;gap:8px;margin-top:7px;font-size:12px}
.call-reaction-person .call-avatar{width:27px;height:27px;font-size:9px}
.call-reaction-dialog [data-reaction-status]{display:block;color:#eeb7bd;margin-top:7px;font-size:11px}
.call-peer-stage>[data-peer-relay-remote]{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#07111e}
@media(max-width:760px){
 .call-composer{grid-template-columns:34px 34px 34px minmax(0,1fr) 38px;gap:5px;padding:7px 6px}
 .call-composer .call-attach-button,.call-composer .call-record-button,.call-composer .call-voice-button{width:34px;min-width:34px;height:39px;min-height:39px}
 .call-composer .call-send-button{width:38px;min-width:38px;height:39px;min-height:39px}
 .call-composer textarea{min-height:39px;max-width:100%;padding:8px 7px}
 .call-alert-banner{font-size:10px}
 .call-reaction-chip{height:25px;padding:3px 6px;font-size:11px}
 .call-reaction-add{width:24px;height:24px}
 .call-voice-player{width:min(218px,100%)}
 .call-voice-play{width:35px;height:35px}
}
@media(max-width:345px){
 .call-composer{grid-template-columns:32px 32px 32px minmax(0,1fr) 36px;gap:4px;padding:6px 5px}
 .call-composer .call-attach-button,.call-composer .call-record-button,.call-composer .call-voice-button{width:32px;min-width:32px}
 .call-composer .call-send-button{width:36px;min-width:36px}
 .call-tabs button{padding:7px 8px}
}

/* Company meetings, readable work-time notices and original brand reactions. */
.call-workspace:has(.call-meeting-invite-banner:not([hidden])){grid-template-rows:auto auto minmax(0,1fr)}
.call-tabs .call-meetings-badge{background:#bf3b62;color:#fff;border:1px solid #f37394}
.call-feature-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.call-feature-shortcuts:has(button[hidden]+button[hidden]){display:none}
.call-feature-shortcuts button,.call-meeting-create{min-height:42px}
.call-feature-shortcuts [data-call-meeting-shortcut],.call-meeting-create{border:1px solid #7666e8;background:linear-gradient(112deg,#bc2e52,#6340ae 45%,#245bd0);box-shadow:0 6px 20px #5737c73d;font-weight:720}
.call-feature-shortcuts [data-call-meeting-shortcut]:hover,.call-meeting-create:hover{filter:brightness(1.13)}
.call-meeting-home{width:min(100%,1080px);margin:0 auto;display:grid;gap:13px}
.call-meeting-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:clamp(16px,3vw,30px);border:1px solid #3a4f76;border-radius:19px;background:radial-gradient(ellipse at 95% 6%,#2052a96b,transparent 58%),linear-gradient(135deg,#261b37,#142a45 70%)}
.call-meeting-hero:before{content:"";position:absolute;z-index:-1;inset:-2px;background:radial-gradient(ellipse at 0 0,#d8366333,transparent 45%);pointer-events:none}
.call-meeting-hero h2{font-size:clamp(25px,3vw,34px);margin:6px 0 5px;letter-spacing:-.035em}
.call-meeting-hero p{max-width:560px;color:#b6cbe6;font-size:13px;margin:0 0 18px;line-height:1.5}
.call-meeting-orb{width:clamp(72px,14vw,132px);aspect-ratio:1;border-radius:33%;display:grid;place-items:center;color:#edf5ff;background:linear-gradient(140deg,#ee4962,#503dc3 54%,#268dff);box-shadow:0 12px 35px #04081777,inset 0 0 0 1px #f7efff61,inset 0 0 22px #ffffff15;transform:rotate(5deg)}
.call-meeting-orb svg{height:55%;width:55%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.call-meeting-status,.call-meeting-form [data-meeting-form-status],.call-work-dialog [data-work-settings-status]{color:#ffcca6;font-size:12px;line-height:1.4;margin:0}
.call-meeting-status:empty,.call-meeting-form [data-meeting-form-status]:empty{display:none}
.call-meeting-list{padding:15px;background:#111e30;border:1px solid #304967;border-radius:16px}
.call-meeting-list h3{font-size:15px;margin:0 0 12px}
.call-meeting-card{display:flex;gap:12px;align-items:center;padding:13px 11px;border-radius:12px;border:1px solid #304c6c;background:#16283e;margin:7px 0;min-width:0}
.call-meeting-card.invited{border-color:#a16581;background:linear-gradient(120deg,#34243c,#192b45)}
.call-meeting-card-info{min-width:0;flex:1;display:grid;gap:4px;overflow-wrap:anywhere}
.call-meeting-card-info strong{font-size:14px}.call-meeting-card-info small{font-size:11px;color:#9eb6d3}
.call-meeting-card-state{font-size:11px;color:#78dcbe}
.call-meeting-card.invited .call-meeting-card-state{color:#ffc5a9}
.call-meeting-card-actions{display:flex;gap:6px;flex-shrink:0;flex-wrap:wrap}
.call-meeting-card-actions button{font-size:12px;min-height:35px}
.call-meeting-invite-icon{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;color:#f1ecff;background:linear-gradient(140deg,#c23b57,#4d47b9,#286bd8);border:1px solid #8d75b5;border-radius:12px}
.call-meeting-invite-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.call-meeting-invite-banner{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 15px;background:linear-gradient(100deg,#42243a,#1c3d65);border-bottom:1px solid #665079;color:#fff}
.call-meeting-invite-banner>div{display:grid;gap:2px;min-width:0;flex:1}
.call-meeting-invite-banner strong,.call-meeting-invite-banner small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.call-meeting-invite-banner strong{font-size:13px}.call-meeting-invite-banner small{font-size:11px;color:#c9d6ef}
.call-meeting-invite-banner .call-primary-button{min-height:32px;font-size:12px;padding:7px 11px}
.call-meeting-form,.call-work-dialog,.call-meeting-room{box-sizing:border-box;margin:auto;padding:clamp(13px,2vw,23px);background:linear-gradient(145deg,#182c46,#0e1a2c 75%);border:1px solid #45668b;color:#eef4ff;max-width:calc(100vw - 18px);max-height:calc(100dvh - 18px);border-radius:20px;overflow:auto;box-shadow:0 22px 75px #000c}
.call-meeting-form,.call-work-dialog{width:min(510px,calc(100vw - 18px))}
.call-meeting-form::backdrop,.call-work-dialog::backdrop,.call-meeting-room::backdrop{background:#030811d5;backdrop-filter:blur(6px)}
.call-feature-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin:0 0 15px}
.call-feature-head>div{min-width:0}
.call-feature-head h3{font-size:clamp(19px,3vw,25px);letter-spacing:-.025em;margin:5px 0 0;line-height:1.2;overflow-wrap:anywhere}
.call-feature-head p{font-size:12px;color:#a6c2df;margin:5px 0 0}
.call-meeting-form form,.call-work-dialog form{display:grid;gap:11px;min-width:0}
.call-meeting-form form>label,.call-work-dialog form>label,.call-work-times label{display:grid;gap:5px;font-size:12px;color:#bfd0e7;font-weight:650}
.call-meeting-form [data-meeting-title],.call-work-dialog select,.call-work-times input{min-width:0;width:100%;background:#0b1728;border:1px solid #3a5679;color:#edf5ff;padding:10px 11px;border-radius:9px;font:inherit}
.call-meeting-form [data-meeting-title]:focus,.call-work-dialog select:focus,.call-work-times input:focus{outline:2px solid #78adff;outline-offset:1px}
.call-meeting-form .call-search{margin:0}
.call-meeting-select-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#b2cceb}
.call-meeting-all{display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-weight:700}
.call-meeting-select-head b{color:#82b9ff}
.call-meeting-select-list{max-height:min(310px,35dvh);overflow:auto;border:1px solid #2e4966;border-radius:12px;overscroll-behavior:contain;background:#101e31}
.call-meeting-select-row{display:flex;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;border-bottom:1px solid #263b55;min-width:0}
.call-meeting-select-row:last-child{border-bottom:0}
.call-meeting-select-row:has(input:checked){background:#24446c}
.call-meeting-select-row input,.call-meeting-all input,.call-work-days input{accent-color:#4b93f7;flex-shrink:0;width:17px;height:17px}
.call-meeting-select-row .call-avatar,.call-meeting-roster-row .call-avatar{width:33px;height:33px;font-size:11px}
.call-meeting-member-info{display:grid;gap:3px;min-width:0;flex:1;text-align:left;overflow-wrap:anywhere}
.call-meeting-member-info strong{font-size:12px;color:#edf4ff}
.call-meeting-member-info small{font-size:10px;color:#9fb6d5}
.call-work-away,.call-meeting-member-info .call-work-away{color:#efc37e!important}
.call-meeting-select-warning{font-size:11px;color:#ffd09c;line-height:1.4;margin:0}
.call-meeting-select-warning:empty{display:none}
.call-feature-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:5px}
.call-feature-actions button{min-height:39px}
.call-meeting-room{width:min(1060px,calc(100vw - 18px))}
.call-meeting-room .call-feature-head{align-items:center}
.call-meeting-live{border:1px solid #3b8a79;color:#a9f6da;background:#174936;white-space:nowrap;padding:6px 10px;border-radius:30px;font-weight:700;font-size:12px}
.call-meeting-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,265px);gap:12px;min-height:0}
.call-meeting-visual{position:relative;min-width:0;background:#081321;border:1px solid #304e71;border-radius:15px;overflow:hidden}
.call-meeting-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px;min-height:clamp(210px,42vh,430px);align-content:center}
.call-meeting-videos[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.call-meeting-no-video{grid-column:1/-1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;color:#9ab9df;text-align:center;padding:20px}
.call-meeting-no-video svg{width:54px;height:54px;fill:none;stroke:#78aaf0;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.call-meeting-no-video strong{color:#d6e7ff;font-size:16px}.call-meeting-no-video span{font-size:12px}
.call-meeting-video-tile{position:relative;min-width:0;overflow:hidden;aspect-ratio:4/3;margin:0;border:2px solid transparent;border-radius:11px;background:#101e31}
.call-meeting-video-tile img{display:block;width:100%;height:100%;object-fit:contain}
.call-meeting-video-tile.speaking{border-color:#74e0a5;box-shadow:0 0 12px #3fdb9c70}
.call-meeting-video-tile figcaption,.call-meeting-local small{position:absolute;bottom:5px;left:5px;max-width:calc(100% - 10px);padding:4px 7px;color:white;background:#08121ddd;border-radius:6px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.call-meeting-local{position:absolute;right:10px;bottom:10px;width:clamp(70px,15%,130px);aspect-ratio:4/3;border:1px solid #87a9db;background:#0c1d30;box-shadow:0 3px 15px #0009;border-radius:10px;overflow:hidden}
.call-meeting-local video{display:block;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.call-meeting-roster{border-radius:14px;background:#111f33;border:1px solid #304b68;padding:12px;min-width:0}
.call-meeting-roster h4{font-size:14px;margin:0 0 5px}
.call-meeting-roster p{font-size:10px;color:#99b1d0;margin:0 0 9px}
.call-meeting-roster [data-meeting-roster]{max-height:min(390px,47dvh);overflow:auto;display:grid;gap:4px}
.call-meeting-roster-row{display:flex;align-items:center;gap:7px;min-width:0;padding:6px;width:100%;text-align:left;border:1px solid #293f59;color:#d8e7fc;background:#15273e;border-radius:9px;cursor:pointer}
.call-meeting-roster-row:disabled{cursor:default;opacity:.65}
.call-meeting-roster-row.speaking{border-color:#62db9a;background:#164b39}
.call-meeting-roster-row.pinned{border-color:#82b8ff}
.call-meeting-roster-pin{font-size:17px;flex-shrink:0;color:#79a8d9}.call-meeting-roster-row:disabled .call-meeting-roster-pin{visibility:hidden}
.call-meeting-room-controls{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin-top:13px}
.call-meeting-room-controls button{min-height:41px;font-size:12px}
.call-meeting-room-controls .off{background:#26374e;color:#dcbdce;border-color:#7d4a67}
.call-work-dialog .call-feature-copy{font-size:12px;color:#a6bdd9;line-height:1.5;margin:-5px 0 14px}
.call-work-dialog form small{color:#95abc8;font-size:11px}
.call-work-note{display:flex;align-items:flex-start;gap:12px;border:1px solid #8d693c;background:#4c39283c;border-radius:13px;padding:14px;margin:12px 0;color:#f3e6d5}
.call-work-note strong{display:block;font-size:16px;color:#fff0d6}
.call-work-clock{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#9b642b4a;color:#ffc771;font-size:27px;border:1px solid #a67b44;flex-shrink:0}
.call-work-note p{font-size:13px;margin:5px 0;color:#efcf9e}.call-work-note small{display:block;color:#c9b59f;font-size:11px;overflow-wrap:anywhere}
.call-work-warning>p{font-size:12px;color:#bdd0e4}.call-warning-kicker{color:#f1bc70!important}
.call-work-times{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.call-field-label{display:block;color:#b9cbe4;font-size:12px;font-weight:650;margin:0 0 6px}
.call-work-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.call-work-days label{display:flex;flex-direction:column;align-items:center;gap:5px; padding:7px 2px;background:#111f32;border:1px solid #304c69;border-radius:9px;font-size:11px;color:#b5c9e4;cursor:pointer}
.call-work-days label:has(input:checked){background:#254d7f;border-color:#5c98e6;color:#fff}
.call-work-days input{margin:0}
.call-system-note{display:block;max-width:100%;font-size:10px;line-height:1.3;color:#f5d6a7;background:#473b2c9c;border:1px solid #8f744370;border-radius:7px;padding:5px 7px;margin:5px 0 1px;overflow-wrap:anywhere;text-align:left}
.call-message-meta{display:flex;gap:4px;align-items:center;align-self:flex-end;margin-top:3px;max-width:100%}
.call-message-meta .call-message-time,.call-message-circle .call-message-meta .call-message-time{margin:0;background:transparent;padding:0}
.call-read-receipt{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:5px;background:transparent;color:#9bb1d2;font-size:11px;padding:2px 3px;cursor:pointer;line-height:1}
.call-read-receipt.read{color:#86f1cd}.call-read-receipt:hover{background:#3a5c8777}.call-read-checks{font-size:13px;letter-spacing:-.22em;padding-right:2px;font-weight:800}
.call-read-person{display:flex;align-items:center;gap:10px;border:1px solid #304c69;border-radius:9px;background:#12243b;padding:8px;font-size:13px}
.call-read-person .call-avatar{width:32px;height:32px;font-size:11px}
.call-reaction-dialog{width:min(460px,calc(100vw - 18px))}
.call-reaction-picker{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.call-reaction-picker button{height:auto;aspect-ratio:1;min-width:0;padding:5px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 0% 10%,#4d0a2348,transparent 72%),radial-gradient(ellipse at 100% 90%,#002fa14b,transparent 72%),#0a1021;border-color:#374e74;transition:background .15s,border-color .15s}
.call-reaction-picker button:hover{border-color:#418dff;background:radial-gradient(ellipse at 0% 10%,#93243680,transparent 70%),radial-gradient(ellipse at 100% 90%,#004ee985,transparent 70%),#101b30}
.call-reaction-picker button.selected{background:radial-gradient(ellipse at 0% 10%,#ac243b8c,transparent 72%),radial-gradient(ellipse at 100% 90%,#0050ff99,transparent 72%),#131e36;border-color:#159cff;box-shadow:inset 1px 0 0 #ff1526d4,0 0 12px #008cff48}
.call-brand-reaction{display:block;width:100%;height:100%;overflow:visible;flex-shrink:0;filter:drop-shadow(0 2px 2px #0006)}
.call-reaction-picker .call-brand-reaction{width:min(100%,47px);height:auto;aspect-ratio:1;filter:drop-shadow(-.6px 0 1.25px #ff080e70) drop-shadow(.6px 0 1.25px #006aff8c)}
.call-reaction-chip .call-brand-reaction{width:19px;height:19px}
.call-reaction-chip :is(.call-reaction-sparks,.call-reaction-fog-outer,.call-reaction-rim-halo),.call-reaction-person-group :is(.call-reaction-sparks,.call-reaction-fog-outer,.call-reaction-rim-halo){display:none}
.call-reaction-chip.mine{border-color:#2795ff;background:linear-gradient(115deg,#452032,#243855 70%);box-shadow:inset 1px 0 0 #ff152691;color:#eef5ff}
.call-reaction-person-group>strong{display:flex;align-items:center;gap:6px}
.call-reaction-person-group>strong .call-brand-reaction{width:24px;height:24px}
@media(max-width:760px){
 .call-workspace-bar{gap:5px;padding:6px 7px}.call-tabs{gap:2px;min-width:0}.call-tabs button{padding:8px 7px;gap:4px;font-size:11px}.call-tabs svg{width:15px;height:15px}.call-me-summary{max-width:26%;font-size:10px}
 .call-feature-shortcuts{gap:5px;margin-bottom:9px}.call-feature-shortcuts button{font-size:11px;min-height:36px;padding:7px 10px}
 .call-meeting-hero{gap:10px;padding:14px;border-radius:14px}.call-meeting-hero h2{font-size:24px}.call-meeting-hero p{font-size:12px;margin-bottom:12px}.call-meeting-hero .call-primary-button{font-size:12px;min-height:34px;padding:9px 11px}
 .call-meeting-orb{width:61px}.call-meeting-list{padding:11px}.call-meeting-card{flex-wrap:wrap;gap:8px;padding:9px}
 .call-meeting-card-actions{width:100%;padding-left:0;justify-content:flex-end}.call-meeting-invite-banner{padding:6px 9px;gap:6px}.call-meeting-invite-banner .call-meeting-invite-icon{width:32px;height:32px}.call-meeting-invite-banner .call-meeting-invite-icon svg{width:20px;height:20px}
 .call-meeting-form,.call-work-dialog,.call-meeting-room{padding:13px;border-radius:16px}
 .call-meeting-stage{grid-template-columns:minmax(0,1fr);gap:7px}.call-meeting-videos{min-height:160px;max-height:35dvh;align-content:center}.call-meeting-video-tile{min-height:0;max-height:16dvh}.call-meeting-videos[data-count="1"] .call-meeting-video-tile{max-height:31dvh;aspect-ratio:16/9}
 .call-meeting-roster{padding:8px}.call-meeting-roster [data-meeting-roster]{max-height:24dvh;grid-template-columns:repeat(2,minmax(0,1fr))}.call-meeting-roster-row{gap:4px;padding:5px}.call-meeting-roster-row .call-avatar{width:26px;height:26px;font-size:9px}.call-meeting-member-info strong{font-size:11px}.call-meeting-member-info small{font-size:9px}.call-meeting-roster-pin{font-size:13px}
 .call-meeting-room-controls{gap:5px;margin-top:8px}.call-meeting-room-controls button{padding:8px 9px;min-height:34px;font-size:11px}.call-meeting-live{font-size:10px;padding:5px 7px}
 .call-reaction-picker{gap:4px}.call-reaction-picker button{padding:4px}.call-system-note{font-size:10px;max-width:100%}
}
@media(max-width:355px){.call-tabs button svg{display:none}.call-tabs button{padding:7px 6px}.call-me-summary{max-width:27%}.call-me-summary .call-avatar{width:22px;height:22px;font-size:8px}.call-meeting-orb{width:44px}.call-reaction-picker{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* The chat is a viewport-sized app, not a document. Reserve fixed rows for
   controls, and never let content/attachments grow an implicit grid track. */
.call-standalone{box-sizing:border-box;min-height:0;height:var(--call-viewport-height,100vh)}
@supports(height:100dvh){.call-standalone{height:var(--call-viewport-height,100dvh)}}
.call-standalone-main{flex:1 1 0%;min-height:0;overflow:hidden}
.call-standalone #callWorkspace{display:flex;flex:1 1 0%;height:auto;min-height:0;overflow:hidden}
.call-standalone #callWorkspace>.call-workspace{flex:1 1 0%;height:auto;min-height:0}
.call-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}
.call-workspace>.call-workspace-bar{grid-row:1}
.call-workspace>.call-meeting-invite-banner{grid-row:2}
.call-workspace>.call-wrap{grid-row:3;grid-template-rows:minmax(0,1fr)}
.call-conversation{overflow:hidden}
.call-dialog-view{flex:1 1 0%;height:auto;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto auto}
.call-dialog-view>.call-chat-header{grid-row:1}
.call-dialog-view>.call-messages{grid-row:2;min-height:0;min-width:0}
.call-dialog-view>[data-call-message-status]{grid-row:3;max-height:56px;overflow-y:auto}
.call-dialog-view>.call-attach-panel{grid-row:4;max-height:160px;overflow-y:auto;overscroll-behavior:contain}
.call-dialog-view>.call-composer{grid-row:5;min-width:0}
.call-dialog-view>.call-composer-hint{grid-row:6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.call-composer{grid-template-columns:43px 43px 43px minmax(0,1fr) 44px}
.call-composer>.call-attach-button{grid-column:1}
.call-composer>.call-record-button{grid-column:2}
.call-composer>.call-voice-button{grid-column:3}
.call-composer>textarea{grid-column:4;min-width:0;max-width:100%}
.call-composer>.call-send-button{grid-column:5}
.call-message-avatar{flex-shrink:0}
.call-message .call-bubble{flex:0 1 auto;min-width:0}
.call-message-meta{min-width:0}
.call-video-wrap,.call-video-circle{max-width:100%}
.call-top-actions{max-width:100%}
.call-top-actions>*{flex-shrink:0}
.call-update-button{min-width:36px;min-height:36px;white-space:nowrap}
.call-update-button svg{width:18px;height:18px;flex-shrink:0}
.call-update-notice{position:fixed;z-index:100;top:max(env(safe-area-inset-top),8px);right:max(env(safe-area-inset-right),8px);left:auto;max-width:min(420px,calc(100vw - 16px));width:max-content;padding:10px 13px;background:#142a44f5;border:1px solid #4775a8;border-radius:12px;box-shadow:0 6px 28px #0007;color:#e0edff;font-size:12px;overflow-wrap:anywhere;pointer-events:none}
.call-update-notice:empty{display:none}
@media(max-width:760px){
  /* Safari and Chrome often shrink only visualViewport when opening the
     keyboard. Pin the app to that visible rectangle while preserving zoom. */
  html.call-viewport-root{height:100%;min-height:0;overflow:hidden;overscroll-behavior:none}
  .call-standalone.call-managed-viewport{position:absolute;top:var(--call-viewport-top,0px);left:var(--call-viewport-left,0px);right:auto;bottom:auto;height:var(--call-viewport-height);width:var(--call-viewport-width,100%);max-width:100%;overflow:hidden}
  .call-topbar{min-width:0}
  .call-top-brand{flex:1 1 0%;min-width:0}
  .call-top-actions{flex:0 1 auto;gap:4px;min-width:0}
  .call-top-actions .call-secondary-button{line-height:1.2;min-height:36px;padding:6px 8px}
  .call-topbar .call-update-button{min-width:36px;padding:6px 8px}
  .call-topbar .call-update-button svg{width:18px;height:18px}
  .call-workspace>.call-wrap{grid-template-columns:minmax(0,1fr)}
  .call-composer{grid-template-columns:34px 34px 34px minmax(0,1fr) 38px}
  .call-composer>textarea{max-height:clamp(40px,calc(var(--call-viewport-height,100dvh) * 0.24),92px)}
  .call-dialog-view>.call-attach-panel{max-height:clamp(70px,calc(var(--call-viewport-height,100dvh) * 0.30),150px)}
  .call-dialog-view>[data-call-message-status]{max-height:clamp(27px,calc(var(--call-viewport-height,100dvh) * 0.14),48px)}
  .call-update-notice{top:calc(var(--call-viewport-top,0px) + max(env(safe-area-inset-top),8px));right:max(env(safe-area-inset-right),8px);font-size:11px}
  .call-standalone.call-keyboard-open .call-topbar,
  .call-standalone.call-keyboard-open .call-workspace[data-call-screen="chats"][data-mobile-view="chat"]>.call-workspace-bar,
  .call-standalone.call-keyboard-open .call-meeting-invite-banner,
  .call-standalone.call-keyboard-open .call-composer-hint{display:none}
  .call-standalone.call-keyboard-open .call-standalone-main{padding-bottom:0}
  .call-standalone.call-keyboard-open .call-chat-header{padding-top:6px;padding-bottom:6px}
  .call-standalone.call-keyboard-open .call-composer{padding-bottom:6px}
}
@media(max-width:480px){
 .call-topbar .call-update-button span{display:none}
 .call-topbar .call-update-button{width:36px;min-width:36px;padding:0}
 .call-top-brand{gap:6px}
 .call-top-brand b{font-size:14px}
 .call-top-actions [data-call-install-link]{font-size:10px;padding-left:6px;padding-right:6px}
}
@media(max-width:355px){
 .call-composer{grid-template-columns:32px 32px 32px minmax(0,1fr) 36px}
 .call-topbar .call-top-brand img{width:31px;height:31px}
 .call-topbar{gap:4px;padding-left:max(7px,env(safe-area-inset-left));padding-right:max(7px,env(safe-area-inset-right))}
 .call-topbar .call-top-actions{gap:3px}
 .call-top-brand small{font-size:8px}
}
.call-install-share{color:#8ec5ff;font-weight:650;overflow-wrap:anywhere;word-break:break-word}
.call-install-share:hover,.call-install-share:focus-visible{color:#d5ebff}
.call-install-note{color:#a5bad7;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
@media(min-width:761px) and (max-width:1000px) and (pointer:coarse){
  /* Landscape phones may exceed the narrow chat breakpoint. Keep their
     two-column design but still follow the visible keyboard rectangle. */
  html.call-viewport-root{height:100%;min-height:0;overflow:hidden;overscroll-behavior:none}
  .call-standalone.call-managed-viewport{position:absolute;top:var(--call-viewport-top,0px);left:var(--call-viewport-left,0px);right:auto;bottom:auto;height:var(--call-viewport-height);width:var(--call-viewport-width,100%);max-width:100%;overflow:hidden}
  .call-standalone.call-keyboard-open .call-topbar,
  .call-standalone.call-keyboard-open .call-workspace[data-call-screen="chats"]>.call-workspace-bar,
  .call-standalone.call-keyboard-open .call-meeting-invite-banner,
  .call-standalone.call-keyboard-open .call-composer-hint{display:none}
  .call-standalone.call-keyboard-open .call-standalone-main{padding-bottom:0}
  .call-standalone.call-keyboard-open .call-chat-header{padding-top:6px;padding-bottom:6px}
  .call-standalone.call-keyboard-open .call-composer>textarea{max-height:clamp(43px,calc(var(--call-viewport-height,100dvh) * 0.24),92px)}
  .call-standalone.call-keyboard-open .call-dialog-view>.call-attach-panel{max-height:clamp(70px,calc(var(--call-viewport-height,100dvh) * 0.30),150px)}
  .call-standalone.call-keyboard-open .call-dialog-view>[data-call-message-status]{max-height:clamp(27px,calc(var(--call-viewport-height,100dvh) * 0.14),48px)}
}

/* Two-line lockup keeps the distinct application descriptor readable even
   beside the update, shortcut and sign-out controls on 320px phones. */
.call-brand-heading .call-brand-wordmark{display:block}
.call-brand-heading .call-brand-role{display:block;font-size:.45em;line-height:1.35;margin-top:.45em}
.call-workspace-brand strong.call-brand-wordmark{display:block}
@media(max-width:760px){
  .call-top-brand .call-brand-tagline,.call-workspace-brand .call-brand-tagline{display:none}
  .call-top-brand .call-brand-role{font-size:9px;letter-spacing:.1em}
}
@media(max-width:355px){
  .call-top-brand .call-brand-role{font-size:8.5px;letter-spacing:.055em}
}

/* Owner-only message deletion. A small, explicit action on each message,
   followed by a separate confirmation; no long-press or swiping required. */
.call-delete-message{display:inline-grid;place-items:center;flex:none;width:27px;height:27px;padding:4px;border:1px solid transparent;border-radius:7px;background:transparent;color:#9fb4d1;cursor:pointer;line-height:1}
.call-delete-message svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.call-delete-message:hover,.call-delete-message:focus-visible{background:#702c3c62;color:#ffb4bd;border-color:#e5737e75;outline-offset:2px}
.call-delete-dialog{width:min(390px,calc(100vw - 20px))}
.call-delete-dialog .call-delete-copy{margin:10px 0 15px;color:#c7d8ee;font-size:14px;line-height:1.55}
.call-delete-status{display:block;color:#efbbc0;font-size:12px;line-height:1.35;margin:0 0 10px}
.call-delete-status:empty{display:none}
.call-delete-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.call-delete-actions button{flex:1 1 auto;min-height:42px;padding:10px 12px}
.call-delete-actions button:disabled{opacity:.65;cursor:wait}
@media(pointer:coarse){.call-delete-message{width:32px;height:30px}}

/* A focused Android browser installation panel with one native prompt action. */
.call-install-hero[data-call-android-install] .call-install-actions{margin:12px 0 14px}
.call-install-hero[data-call-android-install] #callAndroidInstall{width:min(100%,360px);min-height:52px;padding:13px 20px;font-size:15px;font-weight:750}
.call-install-hero[data-call-android-install] .call-install-note{font-size:12px;line-height:1.5;margin:0 0 8px;max-width:60ch}
.call-install-hero[data-call-android-install] #callAndroidInstallStatus:empty{display:none}
@media(max-width:760px){.call-install-hero[data-call-android-install]>div{width:100%;min-width:0}.call-install-hero[data-call-android-install] #callAndroidInstall{width:100%}}
