/* Phones use a single, balanced pane with reachable chat and team controls. */
.invitation-sender{padding:14px 16px;border:1px solid #c5afd9;border-radius:12px;background:#f2eafb;color:#35244e;overflow-wrap:anywhere;margin:14px 0}.invitation-sender p{margin:6px 0}.invitation-sender small{line-height:1.55;display:block}
body.invitation-entry #app{visibility:hidden}body.invitation-entry dialog[open]{visibility:visible}.web-mobile-back{display:none}
@media(max-width:760px){
 html:not(.android-preview){font-size:15px;overflow-x:hidden}html:not(.android-preview) body{min-width:0;overflow-x:hidden}
 html:not(.android-preview) .language-bar{height:48px;padding:6px 12px;gap:8px}html:not(.android-preview) .build-label{font-size:12px}html:not(.android-preview) .brand-version{display:none}html:not(.android-preview) .language-bar select{width:100px;min-height:36px}
 html:not(.android-preview) #auth.gate{box-sizing:border-box;width:calc(100% - 24px);max-width:500px;margin:16px auto 24px;padding:24px 20px;border-radius:20px}html:not(.android-preview) #auth .logo{max-width:210px}html:not(.android-preview) #auth input,html:not(.android-preview) #auth select{min-width:0;font-size:16px;width:100%;min-height:46px}html:not(.android-preview) #auth input[type=radio],html:not(.android-preview) #auth input[type=checkbox]{width:20px;min-height:20px;flex:none}
 html:not(.android-preview) .auth-role-options{display:flex;flex-wrap:wrap;gap:10px;padding:10px}html:not(.android-preview) .auth-role-options label{flex:1;min-width:125px}html:not(.android-preview) .auth-account-actions{margin-top:20px}html:not(.android-preview) #auth button{min-height:44px}
 html:not(.android-preview) #app:not([hidden]){height:calc(var(--web-mobile-height,100dvh) - 48px);display:block;min-width:0;overflow:hidden}html:not(.android-preview) #app>aside{width:100%;max-width:none;height:100%;min-width:0;box-sizing:border-box;overflow-y:auto;padding:16px;display:flex;flex-direction:column;border-radius:0}html:not(.android-preview) #app>aside>.logo,html:not(.android-preview) #app>aside>.eyebrow{display:none}html:not(.android-preview) #app>aside footer{margin-top:12px;flex-shrink:0}html:not(.android-preview) .workspace-rail{flex-shrink:0;flex-wrap:wrap;gap:8px}html:not(.android-preview) .workspace-rail button{min-height:42px;flex:1;padding:8px 10px}html:not(.android-preview) #rooms{min-height:90px;flex:1;overflow-y:auto}html:not(.android-preview) #rooms .room{min-height:70px}html:not(.android-preview) #search{font-size:16px;min-height:46px;flex-shrink:0}html:not(.android-preview) .team-quick-actions{display:flex;gap:8px;flex-wrap:wrap}html:not(.android-preview) .team-quick-actions button{min-height:44px;flex:1;white-space:normal}
 html:not(.android-preview) #app>main{display:none;height:100%;overflow:hidden;min-width:0}html:not(.android-preview) body.web-conversation #app>aside{display:none}html:not(.android-preview) body.web-conversation #app>main{display:flex}html:not(.android-preview) body.web-conversation .web-mobile-back:not([hidden]){display:inline-flex;flex-shrink:0;padding:9px;font-size:12px;min-height:40px}html:not(.android-preview) #app>main>header{padding:10px;gap:8px;flex-wrap:wrap;align-items:center}html:not(.android-preview) #app>main>header>div:first-of-type{flex:1;min-width:100px;overflow-wrap:anywhere}html:not(.android-preview) #room-name{font-size:18px;margin:0}html:not(.android-preview) .call-buttons{gap:6px;justify-content:flex-end}html:not(.android-preview) .call-buttons button{padding:9px;min-height:40px}html:not(.android-preview) #clear-chat{display:none}html:not(.android-preview) #messages{padding:14px 12px;min-height:0;overscroll-behavior:contain}html:not(.android-preview) .bubble{max-width:88%;overflow-wrap:anywhere}html:not(.android-preview) #compose{margin:8px;padding:7px;gap:5px;flex-shrink:0}html:not(.android-preview) #message{min-width:0;font-size:16px}html:not(.android-preview) #compose button{min-height:42px;padding:8px}html:not(.android-preview) #send-status{padding:3px 10px;font-size:12px}html:not(.android-preview) #network{font-size:10px;padding:3px 10px}
 html:not(.android-preview) dialog{box-sizing:border-box;max-width:calc(100vw - 20px);width:calc(100vw - 20px);max-height:calc(var(--web-mobile-height,100dvh) - 24px);overflow-y:auto;padding:18px;border-radius:18px}html:not(.android-preview) dialog input,html:not(.android-preview) dialog textarea,html:not(.android-preview) dialog select{font-size:16px;min-width:0;max-width:100%}html:not(.android-preview) dialog button{min-height:44px}html:not(.android-preview) .chat-filters{max-width:100%;overflow-x:auto;flex-wrap:nowrap;flex-shrink:0}html:not(.android-preview) .chat-filters button{flex-shrink:0}html:not(.android-preview) #toast{max-width:calc(100vw - 24px);left:12px;right:12px;bottom:18px;box-sizing:border-box;white-space:normal;transform:none}html:not(.android-preview) .emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}html:not(.android-preview) .attachment-camera{max-width:100%;max-height:50dvh}
}
