@media (width<=767px){:root{--mobile-viewport-height:100dvh;--mobile-viewport-top:0px}.app-frame :is(.ai-fab,.jarvis-companion,.th-fab,.th-pop){display:none}input:not([type=checkbox]):not([type=radio]):not([type=range]):not(.drawer-title-input):not(.auth-code),textarea,select,[contenteditable=true]{scroll-margin-block:20px;font-size:16px!important}.input:not(textarea),select.input{min-height:44px}.page-head{flex-wrap:wrap;align-items:flex-start}.page-head>*{min-width:0;max-width:100%}.page-head .btn,.task-filter .btn,.ib-filter-btn,.ib-filter-clear,.tab{min-height:44px}.page-head>:is(h1,h2,div):first-child{overflow-wrap:anywhere}.m-topbar .ws-switch{min-width:0}.m-topbar-avatar{flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.m-sheet-head button{width:44px;height:44px}.m-nav-item span{font-size:11px}.auth-art{display:none}.auth-split{grid-template-columns:minmax(0,1fr);min-height:100dvh}.auth-pane{padding:calc(32px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));align-items:start}.pane-brand{margin-bottom:24px;display:flex}.auth-pane .input{height:48px}.auth-pane .peek{width:44px;height:44px}.auth-pane .auth-linkbtn{align-items:center;min-height:44px;display:inline-flex}.auth-pane .field-head{flex-wrap:wrap;gap:4px 12px}.auth-alt{flex-wrap:wrap;gap:4px 10px}.auth-sub{overflow-wrap:anywhere}.mobile-dialog{width:calc(100% - 24px);max-height:calc(var(--mobile-viewport-height,100dvh) - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;border-radius:var(--r-lg);padding:20px;overflow-y:auto}.mobile-dialog-close{place-items:center;width:44px;height:44px;display:grid}html[data-mobile-keyboard=open] .m-nav,html[data-mobile-keyboard=open] .ai-fab{display:none}html[data-mobile-keyboard=open] .app-main{padding-bottom:0}html[data-mobile-keyboard=open] .app-frame{height:var(--mobile-viewport-height);min-height:var(--mobile-viewport-height)}html[data-mobile-keyboard=open] .app-shell:has([data-flush-page]){height:var(--mobile-viewport-height);min-height:0}html[data-mobile-keyboard=open] :is(.drawer-overlay,.calldrawer-overlay,.pj-drawer-overlay,.pt-overlay){top:var(--mobile-viewport-top,0px);height:var(--mobile-viewport-height);bottom:auto}html[data-mobile-keyboard=open] :is(.drawer,.calldrawer,.pj-drawer,.pt-panel){height:100%;max-height:100%}html[data-mobile-keyboard=open] :is(.conversations-detail[data-selected],.conversation-contact-pane){top:var(--mobile-viewport-top,0px);height:var(--mobile-viewport-height);bottom:auto}html[data-mobile-keyboard=open] .mobile-dialog{top:calc(var(--mobile-viewport-top,0px) + var(--mobile-viewport-height) / 2)}html[data-mobile-keyboard=open] .ai-pop{top:calc(var(--mobile-viewport-top,0px) + 8px);height:calc(var(--mobile-viewport-height) - 16px);max-height:calc(var(--mobile-viewport-height) - 16px);bottom:auto}html[data-mobile-keyboard=open] .convo-composer{overscroll-behavior:contain;flex-shrink:0;min-height:0;max-height:70%;overflow-y:auto}html[data-mobile-keyboard=open] .convo-composer:has(textarea:focus) :is(.convo-ai-row,.convo-assistant-options){display:none}html[data-mobile-keyboard=open] .convo-composer:has(textarea:focus) textarea{height:80px;min-height:64px;max-height:120px}html[data-mobile-keyboard=open] .convo-composer-actions .btn{min-height:44px}html[data-mobile-keyboard=open] .auth-pane{padding-top:16px}}
