/* HENDAR UALL-AH — authoritative scroll ownership. */
html[data-auth-surface="app"][data-hendar-scroll-mode="document"],
html[data-auth-surface="app"][data-hendar-scroll-mode="document"] body,
body.hendar-authenticated[data-hendar-scroll-mode="document"]{width:100%!important;height:auto!important;min-height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
body.hendar-authenticated[data-hendar-scroll-mode="document"] .app-shell:not(.hidden),
html[data-auth-surface="app"][data-hendar-scroll-mode="document"] .app-shell:not(.hidden),
body.hendar-authenticated[data-hendar-scroll-mode="document"] .main-content,
html[data-auth-surface="app"][data-hendar-scroll-mode="document"] .main-content{width:100%!important;height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;contain:none!important;touch-action:pan-y!important}
body.hendar-authenticated[data-hendar-scroll-mode="document"] .main-content>.view.active:not([hidden]),
html[data-auth-surface="app"][data-hendar-scroll-mode="document"] .main-content>.view.active:not([hidden]){position:relative!important;inset:auto!important;height:auto!important;min-height:calc(100dvh - 72px)!important;max-height:none!important;overflow:visible!important;touch-action:pan-y!important}
html[data-auth-surface="app"][data-hendar-scroll-mode="modal"],html[data-auth-surface="app"][data-hendar-scroll-mode="modal"] body,body.hendar-authenticated[data-hendar-scroll-mode="modal"]{height:100%!important;max-height:100%!important;overflow:hidden!important;touch-action:pan-y pinch-zoom!important}
body[data-hendar-scroll-mode="modal"] #modalBackdrop:not(.hidden){overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
html[data-hendar-scroll-mode="chat"],html[data-hendar-scroll-mode="chat"] body,body.hendar-authenticated[data-hendar-scroll-mode="chat"],body.hendar-authenticated[data-hendar-scroll-mode="chat"] .app-shell:not(.hidden),body.hendar-authenticated[data-hendar-scroll-mode="chat"] .main-content{height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important}
body[data-hendar-scroll-mode="chat"] #projectWorkspaceView.project-chat-active .project-chat-messages,body[data-hendar-scroll-mode="chat"] #projectWorkspaceView.project-chat-active .project-chat-roster-rows{min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
@media print{html[data-hendar-scroll-mode],html[data-hendar-scroll-mode] body,body[data-hendar-scroll-mode],body[data-hendar-scroll-mode] .app-shell,body[data-hendar-scroll-mode] .main-content{height:auto!important;max-height:none!important;overflow:visible!important}}
