/* The outer app stays anchored; content owns vertical scrolling. */
html.iris-page-viewport,body.iris-page-viewport{height:100%;overflow:hidden!important;overscroll-behavior-y:none!important}
body.iris-page-viewport{height:100dvh;min-height:0!important}
body.iris-page-viewport .shell:has(#app:not([hidden])){
  display:flex!important;flex-direction:column!important;height:100%!important;
  min-height:0!important;box-sizing:border-box;padding-bottom:0!important;overflow:hidden!important;
}
body.iris-page-viewport .shell>.top{flex:0 0 auto}
body.iris-page-viewport .shell>#app,
body.iris-page-viewport #pane{
  flex:1 1 0!important;min-height:0!important;height:auto!important;
}
body.iris-page-viewport .shell>#app{display:flex!important;flex-direction:column!important;overflow:hidden!important}
body.iris-page-viewport #pane{
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch;scroll-behavior:auto;
}
body.iris-page-viewport #pane:not(:has(>.inbox-v2)){padding-bottom:var(--iris-bottom-nav-space,100px)!important}
body.iris-page-viewport #pane:has(>.inbox-v2){overflow:hidden!important}
.iris-pull-content{transform:translate3d(0,var(--iris-page-pull,0px),0);will-change:transform}
.iris-pull-content.iris-pull-settling{transition:transform .26s cubic-bezier(.22,.8,.25,1)}
/* A small, theme-matched spinner beneath the fixed header, without a button. */
#iris-pull-refresh{
  position:fixed;left:50%;z-index:2147482000;display:grid;place-items:center;
  width:22px;height:22px;border:0;border-radius:0;background:transparent;
  color:var(--iris-muted,#777);box-shadow:none;pointer-events:none;opacity:0;
  transform:translateX(-50%);transition:opacity .15s ease;
}
#iris-pull-refresh.ready{background:transparent;border:0;color:var(--iris-muted,#777)}
#iris-pull-refresh svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-dasharray:38 13;transform:rotate(calc(var(--pull,0px) * 2))}
#iris-pull-refresh[data-state="dragging"],#iris-pull-refresh[data-state="refreshing"]{opacity:1;transition:none}
#iris-pull-refresh[data-state="settling"]{opacity:0}
#iris-pull-refresh.refreshing{transform:translateX(-50%)}
#iris-pull-refresh[data-state="refreshing"] svg{animation:iris-content-refresh-spin .8s linear infinite}
@keyframes iris-content-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.iris-pull-content.iris-pull-settling,#iris-pull-refresh{transition:none}#iris-pull-refresh[data-state="refreshing"] svg{animation-duration:1.4s}}
