@media (max-width:767px){html{-moz-text-size-adjust:100%;text-size-adjust:100%;width:100%;max-width:100%;overflow-x:clip!important}body,body:not(.app-modal-open){width:100%;max-width:100%;overflow-x:clip!important}[class~=fixed][class~=left-1\/2][class~=-translate-x-1\/2]{box-sizing:border-box;left:max(12px, env(safe-area-inset-left))!important;right:max(12px, env(safe-area-inset-right))!important;top:max(12px, env(safe-area-inset-top))!important;gap:10px!important;width:auto!important;min-width:0!important;max-width:none!important;padding:12px 14px!important;transform:none!important}[class~=fixed][class~=left-1\/2][class~=-translate-x-1\/2]>:is(span,p,div){overflow-wrap:anywhere;min-width:0}.app-toast-stack{left:max(12px, env(safe-area-inset-left))!important;right:max(12px, env(safe-area-inset-right))!important;top:max(12px, env(safe-area-inset-top))!important;width:auto!important}.app-toast-item{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:none!important}.app-shell-main{width:100vw;max-width:100vw;font-family:system-ui,-apple-system,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:15px;line-height:1.7;padding-bottom:calc(6.5rem + env(safe-area-inset-bottom))!important;overflow-x:clip!important}.app-shell-main .h-screen{height:100dvh!important}.app-shell-main .min-h-screen{min-height:100dvh!important}:is(.app-shell-main,.app-runtime-modal,.mobile-menu-sheet,[role=dialog]) :is(.text-xs,.text-\[8px\],.text-\[9px\],.text-\[10px\],.text-\[11px\],.text-\[12px\],.text-\[13px\]){letter-spacing:normal;font-size:14px!important;line-height:1.6!important}:is(.app-shell-main,.app-runtime-modal) :is(p,li,label,td){overflow-wrap:anywhere}:is(.app-shell-main,.app-runtime-modal) :is(p,li).font-black{font-weight:600}:is(.app-shell-main,.app-runtime-modal) :is(.text-slate-400,.text-gray-400){color:#64748b!important}:is(.app-shell-main,.app-runtime-modal) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){max-width:100%;min-height:44px;font-size:16px!important;line-height:1.5!important}:is(.app-shell-main,.app-runtime-modal) :is(button,a[role=button],summary){white-space:normal;min-height:44px}:is(.app-shell-main,.app-runtime-modal) :is(input[type=checkbox],input[type=radio]){flex-shrink:0;width:22px;height:22px;min-height:22px}:is(.app-shell-main,.app-runtime-modal) label:has(input[type=checkbox],input[type=radio]){min-height:44px}.app-shell-main>:is(.p-6,.p-8){padding:16px}.app-shell-main :is(h1,h2,h3){overflow-wrap:anywhere;line-height:1.4}.app-shell-main table :is(th,td){padding:12px;font-size:14px}.app-shell-main>.task-workspace{height:auto;overflow:visible}.task-workspace .workbench-nav{flex-shrink:0;position:relative;top:auto}.workbench-nav nav>a{justify-content:flex-start;padding:10px}.workbench-nav nav>a:last-child{grid-column:1/-1}.task-summary-grid>button{gap:8px;min-width:0;padding:12px}.task-summary-grid>button>.w-12{display:none}.task-summary-grid>button>div{min-width:0}.task-summary-grid>button>div>p:last-child{display:none}.task-summary-grid>button:last-child{grid-column:1/-1}.task-workspace article{padding:16px}.task-workspace article h3{font-size:17px;line-height:1.55}.mobile-tab-bar a,.mobile-tab-bar button{gap:4px;min-height:52px}.mobile-tab-bar span{font-size:12px!important;line-height:1.4!important}.mobile-tab-bar .text-slate-400{color:#64748b}.app-shell-main :is(.grid,.flex)>:is(div,section,article,form){min-width:0}.app-shell-main>div:not(.fixed){max-width:100%}.app-shell-main .workbench-nav{position:relative;top:auto}.app-shell-main :is(header,form){min-width:0}.app-shell-main h1{font-size:24px}.app-shell-main :is(header,section,article,form).p-8,.app-shell-main :is(header,section,article,form).p-6{padding:16px}.app-shell-main .overflow-x-auto{overscroll-behavior-x:contain;max-width:100%}.app-shell-main .overflow-x-auto>table{min-width:640px}.app-shell-main .overflow-x-auto{scrollbar-width:thin}.app-shell-main :is(.min-w-\[240px\],.w-\[360px\]){width:100%!important;min-width:0!important}.app-shell-main .overflow-x-auto>button.whitespace-nowrap{white-space:nowrap;flex-shrink:0}.app-shell-main :is(th,td) :is(button,a){white-space:nowrap}.app-shell-main form .grid-cols-2{grid-template-columns:minmax(0,1fr)}.app-shell-main :is(header,form) .flex.justify-between{flex-wrap:wrap;gap:12px}.app-shell-main :is(header,footer)>:is(button,a):only-child{max-width:100%}.app-shell-main :is(.grid-cols-3,.grid-cols-4,.grid-cols-5){grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell-main :is(textarea,input,select){min-width:0}.app-shell-main textarea{line-height:1.75!important}.app-shell-main .grid-cols-\[1fr_120px\]{grid-template-columns:minmax(0,1fr)}.app-shell-main :is(h1,h2,h3).truncate{white-space:normal}.mobile-menu-sheet{padding:16px}.mobile-menu-sheet :is(button,a){min-height:44px}.mobile-menu-sheet .text-slate-400{color:#64748b}.mobile-menu-sheet button[aria-label]{min-width:44px}.visual-workspace-header{align-items:stretch;gap:16px;padding:16px}.app-shell-main .visual-workspace-header h1{font-size:19px}.visual-workspace-header>div:first-child{align-items:flex-start}.visual-workspace-header>div:first-child>span{display:none}.visual-workspace-header p{-webkit-line-clamp:unset;display:block}.visual-workspace-surface,.visual-prompt-panel{padding:12px}.visual-prompt-panel>.flex,.toy-mode-tabs{flex-direction:column;align-items:stretch;gap:8px}.toy-mode-tabs>div{flex-direction:column}.toy-mode-tabs button{justify-content:center}.visual-workspace-header>div{max-width:100%}.visual-model-selector{width:100%;min-width:0}.visual-model-selector>button{text-align:left;width:100%}.visual-model-selector>button>span{white-space:normal;overflow-wrap:anywhere;max-width:none}.visual-model-options{width:100%;max-height:50dvh;overflow-y:auto}.visual-mode-switch{grid-template-columns:minmax(0,1fr);width:100%;display:grid}.visual-tool-tabs{flex-direction:column;align-items:stretch;gap:8px}.visual-tool-tabs>div{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.visual-tool-tabs>div>button{flex-direction:column;gap:4px;padding:8px 4px}.visual-tool-tabs>button{justify-content:center}.client-transfer-actions{flex-direction:column;align-items:stretch}.client-transfer-actions>:is(label,button){flex:none;min-height:44px}.client-transfer-actions svg{flex-shrink:0}.chat-workspace{min-height:0;padding:12px}.chat-history{max-height:220px}.chat-history>div:last-child{display:none}.chat-conversation{height:auto;min-height:460px;padding:12px}.chat-conversation>div:first-child{max-height:60dvh}.chat-conversation .max-w-\[80\%\]{overflow-wrap:anywhere;max-width:95%}.chat-conversation .flex.select-none{flex-wrap:wrap}:is(div[class~=fixed][class~=inset-0]:has([role=dialog]),div[class~=fixed][class~=inset-0]:has(>section),div[class~=fixed][class~=inset-0]:has(>form),div[class~=fixed][class~=inset-0]:has(>div[class*=max-w-])){align-items:flex-end!important;width:100vw!important;height:100dvh!important;padding:0!important;overflow:hidden!important}div[class~=fixed][class~=inset-0]>:is(section,form,div[class*=max-w-]){overscroll-behavior:contain;width:100%!important;max-width:100%!important;max-height:calc(100dvh - max(12px, env(safe-area-inset-top)))!important;border-bottom-right-radius:0!important;border-bottom-left-radius:0!important;min-height:0!important;overflow:hidden auto!important}div[class~=fixed][class~=inset-0] :is([class*=max-h-][class*=vh],[class*=h-][class*=vh]){max-height:calc(100dvh - max(12px, env(safe-area-inset-top)))!important}div[class~=fixed][class~=inset-0]>:is(section,form,div[class*=max-w-]).p-7,div[class~=fixed][class~=inset-0]>:is(section,form,div[class*=max-w-]).p-6{padding:16px!important}div[class~=fixed][class~=inset-0] :is(header,footer){min-width:0;padding-left:16px!important;padding-right:16px!important}div[class~=fixed][class~=inset-0] footer{flex-wrap:wrap;padding-bottom:max(16px, env(safe-area-inset-bottom))!important}div[class~=fixed][class~=inset-0] footer>:is(button,a){flex:auto;min-width:min(140px,100%)}div[class~=fixed][class~=inset-0] :is(header,footer)>*{min-width:0}div[class~=fixed][class~=inset-0] button[aria-label*=关闭]{flex:none;min-width:44px}}@media (max-width:380px){.mobile-menu-sheet .grid-cols-2,.app-shell-main .mobile-stat-grid{grid-template-columns:minmax(0,1fr)}div[class~=fixed][class~=inset-0] :is(.grid-cols-2,.grid-cols-3){grid-template-columns:minmax(0,1fr)!important}}[data-personal-task-id],[data-task-id],.task-detail-panel{overflow-wrap:anywhere;min-width:0}@media (max-width:639px){[data-personal-task-id] button,[data-task-id] button,.task-detail-panel button{min-height:44px}.task-detail-panel input,.task-detail-panel textarea,.task-detail-panel select{max-width:100%;font-size:16px}.task-detail-panel header{padding-top:max(12px, env(safe-area-inset-top))}.task-detail-panel header button{flex-shrink:0}}
