/* Isolate social navigation from Nova's unrelated Cut thread control on mobile. */
html[data-nova-mobile-viewport] body.nova-mobile-native-active.nova-social-open .chat-main>#novaThreadCut{display:none!important;visibility:hidden!important;pointer-events:none!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer{z-index:10030!important;isolation:isolate}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer>.nova-social-close{top:max(8px,env(safe-area-inset-top,0px))!important;right:max(10px,env(safe-area-inset-right,0px))!important;max-width:calc(100% - 120px)!important;min-height:44px!important;z-index:10!important;white-space:normal!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaMobileChatBack{top:max(8px,env(safe-area-inset-top,0px))!important;left:max(10px,env(safe-area-inset-left,0px))!important;z-index:10!important;max-width:100px!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer>.nova-social-shell{height:100%!important;min-height:0!important;box-sizing:border-box!important;padding:calc(64px + env(safe-area-inset-top,0px)) 8px 8px!important;overflow:hidden!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-social-list{height:100%!important;min-height:0!important;box-sizing:border-box!important;overflow:auto!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer.nova-mobile-thread-open .nova-social-thread{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;box-sizing:border-box!important;overflow:hidden!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-thread-messages{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-thread-head{flex:0 0 auto!important;min-width:0!important;overflow-x:auto!important;max-height:100px!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-thread-utility{flex:0 0 auto!important;max-height:45%!important;overflow:auto!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-panel-toggle,html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-panel-restore{display:none!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer #novaSocialComposer{flex:0 0 auto!important;position:relative!important;inset:auto!important;box-sizing:border-box!important;width:100%!important;min-width:0!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer #novaSocialInput{min-width:0!important;font-size:16px!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-utility-search{flex-wrap:wrap!important}
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-utility-search input{min-width:0!important;flex:1 1 120px!important}
/* Legacy small-screen social CSS hid the entire list before a chat could be chosen. */
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer:not(.nova-mobile-thread-open) .nova-social-list{display:flex!important;flex-direction:column!important}
/* The sticky AI header belongs to Home, not the social view above it. */
html[data-nova-mobile-viewport] body.nova-mobile-native-active.nova-social-open .chat-main>.chat-header{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

html[data-nova-mobile-viewport] body.nova-mobile-native-active.nova-social-open .chat-main>.chat-header *{visibility:hidden!important;pointer-events:none!important}
/* Hidden overflow can still scroll when a control is focused. Only inner lists/messages scroll. */
html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer,html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer>.nova-social-shell,html[data-nova-mobile-viewport] body.nova-mobile-native-active #novaSocialLayer .nova-social-thread{overflow:clip!important;min-width:0!important;max-width:100%!important}
