.phone-effort-title{display:none}@media (max-width:650px),(max-width:950px) and (max-height:500px) and (pointer:coarse){body:has(.app-shell){overflow:hidden}.app-shell{max-height:var(--phone-height,100dvh);min-height:0;height:var(--phone-height,100dvh)!important}.app-shell .app-main{overscroll-behavior-y:contain;scrollbar-gutter:auto;min-height:0;max-height:100%}.app-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){font-size:16px}.app-shell .app-page{padding:24px 16px max(28px,env(safe-area-inset-bottom))}.app-shell .app-page-head{gap:16px;margin-bottom:24px}.app-shell .app-page-head h1{font-size:30px}.app-shell .app-page-head p{font-size:14px;line-height:1.6}.app-shell .app-page .btn{min-height:44px}.app-shell .workspace-mobile-header{height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0}.app-shell .workspace-mobile-header button{flex:0 0 44px;width:44px;height:44px}.app-shell .workspace-mobile-header a{align-items:center;min-height:44px;display:inline-flex}.app-shell .app-sidebar.is-mobile-open{height:var(--phone-height,100dvh);max-height:var(--phone-height,100dvh);padding-bottom:max(12px,env(safe-area-inset-bottom))}.app-shell .sidebar-mobile-close,.app-shell .app-sidebar .app-nav-link{min-height:44px}.app-shell .sidebar-chat-delete{width:40px;min-height:40px}.app-shell .studio{height:100%;min-height:0}.app-shell .studio .studio-header{min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0;flex-shrink:0;gap:8px}.app-shell .studio .studio-nav-trigger,.app-shell .studio .studio-new-chat,.app-shell .studio .studio-header-actions>:is(button,label){min-width:44px;min-height:44px}.app-shell .studio .studio-main{scrollbar-gutter:auto;flex:auto;min-height:0;margin:0}.app-shell .studio.is-empty .studio-main{padding:16px}.app-shell .studio .studio-main.is-empty .studio-stream{width:100%;padding:0}.app-shell .studio.is-empty .studio-welcome{padding:20px 0}.app-shell .studio .studio-welcome h1{font-size:34px;line-height:1.12}.app-shell .studio .studio-welcome p{font-size:14px;line-height:1.65}.app-shell .studio .studio-start-panel,.app-shell .studio .composer-note{display:none}.app-shell .studio .studio-composer-zone,.app-shell .studio.is-empty .studio-composer-zone{padding:8px 10px max(10px,env(safe-area-inset-bottom));flex:none;margin:0;position:relative}.app-shell .studio .studio-composer{border-radius:13px}.app-shell .studio .studio-composer textarea,.app-shell .studio.has-messages .studio-composer textarea{min-height:72px;max-height:min(180px,28dvh);padding:14px 12px 8px;font-size:16px}.app-shell .studio .composer-footer{grid-template-columns:38px minmax(0,1fr) 100px 44px;gap:4px;padding:0 7px 7px}.app-shell .studio .attach-control,.app-shell .studio .composer-send{width:38px;height:44px;min-height:44px}.app-shell .studio .composer-send{width:44px}.app-shell .studio .model-trigger,.app-shell .studio .effort-trigger{height:44px;min-height:44px;font-size:12px}.app-shell .studio .composer-mode-switch.mode-icon-bar{gap:4px;padding:4px 0 0}.app-shell .studio .composer-mode-switch .mode-icon{flex:1;justify-content:center;min-height:40px;padding-inline:6px;font-size:12px}.app-shell .studio .studio-picker{max-height:calc(var(--phone-height,100dvh) - 24px);top:12px}.app-shell .studio .picker-search>input,.app-shell .studio .picker-provider-select{min-height:44px;font-size:16px}.app-shell .studio .picker-tiles .picker-tile{min-height:46px}.app-shell .studio .effort-panel:not(.research-effort-panel){height:146px;bottom:calc(120px + var(--phone-keyboard-offset,0px));position:fixed}.app-shell .studio .phone-effort-title{color:var(--text-dim);font:400 11px/20px var(--font-sans);text-align:center;display:block}.app-shell .studio .message-stream{padding:18px 0 24px}.app-shell .studio .message-user .message-content{max-width:94%}.app-shell .studio .md{overflow-wrap:anywhere;font-size:15px;line-height:1.7}.app-shell .studio .md pre{max-width:100%;font-size:12px;overflow-x:auto}.app-shell .studio .msg-act,.app-shell .studio .message-more summary{min-height:40px}.app-shell .app-page:has(.usage-overview) .page-balance{display:none}.app-shell .app-page .usage-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.app-shell .app-page .stat-card{min-height:102px;padding:14px!important}.app-shell .app-page .stat-card-label{font-size:12px;line-height:1.4}.app-shell .app-page .stat-card-value{font-size:26px}.app-shell .usage-grid{min-width:0}.app-shell .api-page,.app-shell .api-key-panel,.app-shell .api-key-head,.app-shell .api-key-list,.app-shell .api-key-create{min-width:0;max-width:100%}.app-shell .api-page .api-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-shell .api-key-create{flex-direction:column;align-items:stretch}.app-shell .api-key-panel{padding:18px}.app-shell .api-page pre,.app-shell .api-page .doc-code{max-width:100%;overflow-x:auto}.app-shell .api-page pre code{white-space:pre}.app-shell .api-secret,.app-shell .api-key-row{flex-wrap:wrap;min-width:0}.app-shell .api-page .doc-table-wrap,.app-shell .usage-table-scroll{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.app-shell .history-toolbar input{min-width:0}.app-shell .history-toolbar>span{white-space:nowrap;flex:none;font-size:12px}.app-shell .history-row{gap:6px;min-width:0}.app-shell .history-row>a{flex:1;min-width:0;padding:14px 0}.app-shell .history-row time{white-space:nowrap;flex-shrink:0;font-size:12px}.app-shell .history-row .sidebar-icon-btn{flex:0 0 44px;width:44px;height:44px}.app-shell .settings-links{flex-wrap:nowrap;padding-bottom:6px;overflow-x:auto}.app-shell .settings-links a{white-space:nowrap;align-items:center;min-height:44px;display:inline-flex}.billing-checkout{max-height:calc(var(--phone-height,100dvh) - 24px);padding:20px}.billing-checkout .checkout-method{min-height:72px}}@media (max-width:650px) and (max-height:550px),(max-width:950px) and (max-height:500px) and (pointer:coarse){.app-shell .studio.is-empty .studio-welcome{display:none}.app-shell .studio .studio-composer textarea{min-height:52px;max-height:90px}}@media (max-width:650px),(max-width:950px) and (max-height:500px) and (pointer:coarse){[data-phone-keyboard=true] .app-shell .studio.is-empty .studio-welcome{display:none}}
