/* Staging-only short-viewport recovery: keep content scrollable instead of
   compressing the composer beneath overflow:hidden. Real iOS keyboard pending. */
html[data-m01-short-viewport] .page-content:has(.ai-workspace){padding-bottom:calc(90px + env(safe-area-inset-bottom));}
html[data-m01-short-viewport] .ai-workspace{height:auto;min-height:0;}
html[data-m01-short-viewport] .ai-workspace .ai-chat-layout{flex:none;min-height:340px;}
html[data-m01-short-viewport] .ai-workspace .ai-chat-main{min-height:340px;overflow:visible;}
html[data-m01-short-viewport] .ai-transcript{max-height:180px;flex:1;min-height:80px;}
html[data-m01-short-viewport] .ai-workspace .ai-composer{max-height:none;overflow:visible;}
html[data-m01-short-viewport] #ai-prompt{scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom));}
