@media screen and (max-width: 768px){html,body{overflow-x:hidden}.app-container{height:100vh;height:100dvh}.main-content{height:100vh;height:100dvh;display:flex;flex-direction:column}.chat-container{flex:1;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.messages{padding:60px 12px 280px!important}.input-container{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:100;background:var(--bg-primary);border-top:1px solid var(--border);padding:8px 12px 12px!important;overflow:visible!important}.main-content.welcome-mode .input-container{position:fixed!important;bottom:0!important;left:0!important;right:0!important;max-width:none!important;margin:0!important}.input-toolbar{flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.input-toolbar::-webkit-scrollbar{display:none}.input-actions{flex-wrap:nowrap;overflow:visible}.mode-btn,.quality-btn,.paper-type-btn,.presentation-type-btn{white-space:nowrap;flex-shrink:0}.mode-text,.quality-text{white-space:nowrap}.sidebar{position:fixed!important;left:-280px!important;z-index:1000}.sidebar.open{left:0!important}.chat-footer{display:none!important}.temp-chat-btn span{display:none}}@supports (-webkit-touch-callout: none){@media screen and (max-width: 768px){.input-container{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}.messages{padding-bottom:calc(200px + env(safe-area-inset-bottom,0px))!important}}}@media screen and (max-width: 768px){.input-box{overflow:visible!important}.input-toolbar{overflow-y:visible!important}}@media screen and (max-width: 768px){.profile-overlay{z-index:9998!important}.profile-dialog{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;width:calc(100% - 24px)!important;max-width:none!important;max-height:85vh!important;margin:0!important;border-radius:16px!important;z-index:9999!important}.profile-header{padding:16px!important}.profile-avatar{width:44px!important;height:44px!important}.profile-user{gap:12px!important}.profile-name{font-size:15px!important}.profile-email{font-size:12px!important}.profile-tab{padding:12px 8px!important;font-size:12px!important;gap:6px!important}.profile-content{padding:16px!important;max-height:350px!important}.plan-card{padding:16px!important}.profile-btn{padding:12px!important;font-size:13px!important}.connection-card{padding:12px!important}.connection-icon{width:38px!important;height:38px!important}.connection-btn{padding:8px 12px!important;font-size:12px!important}}@media screen and (max-width: 768px){.agent-container.agent-complete{background:transparent!important;border:none!important;padding:0!important}.agent-result-header{padding:12px 14px!important;gap:12px!important;border-radius:10px!important;margin-bottom:10px!important}.agent-result-title{font-size:14px!important}.agent-result-meta{font-size:12px!important}.agent-steps-summary{margin:0 0 10px!important;border-radius:10px!important}.agent-steps-summary-header{padding:8px 12px!important;font-size:10px!important}.agent-steps-final{max-height:220px!important;padding:8px!important}.agent-step{margin-bottom:6px!important;border-radius:8px!important}.agent-step-main{padding:10px 12px!important;gap:10px!important}.agent-step-thinking{font-size:12px!important}.agent-step-detail{font-size:11px!important}.agent-step-number{width:20px!important;height:20px!important;font-size:10px!important}.agent-step-screenshot,.agent-step-screenshot-container{padding:0 12px 10px!important}.agent-output{margin:10px 0 0!important;background:transparent!important;border:none!important}.agent-output-header{display:none!important}.agent-output-content{padding:0!important;font-size:13px!important;max-height:none!important;overflow:visible!important}}@media screen and (max-width: 480px){.profile-dialog{width:calc(100% - 16px)!important;max-height:90vh!important}.profile-content{max-height:320px!important}.agent-result-header{padding:10px 12px!important}.agent-result-title{font-size:13px!important}.agent-steps-final{max-height:180px!important}.agent-output-content{font-size:12px!important;max-height:none!important;overflow:visible!important}}
