#rooomNavigationProgress {
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  z-index:1900;display:grid;place-items:center;width:44px;height:44px;
  border-radius:50%;background:var(--panel,rgba(255,255,255,.9));
  color:var(--text,#586778);box-shadow:0 1px 8px rgba(0,0,0,.1);pointer-events:none;
}
#rooomNavigationProgress[hidden],
html.rooomNavigationUnavailable #rooomNavigationProgress {display:none!important;}
/* SSR archive content is readable from the first paint, before deferred JS.
   Departure remains a distinct, visible operation on the same component. */
html[data-rooom-public-archive]:has(#chatBox .publicMessageText:not(:empty), #chatBox .bubbleImageWrap, #archiveReadOnlyBanner) #rooomNavigationProgress:not([data-navigation-kind="leave"]) {display:none!important;}
#rooomNavigationProgress::before, .rooomWorkProgress::before {
  content:"";width:22px;height:22px;box-sizing:border-box;border:2px solid currentColor;
  border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;
  opacity:.65;animation:rooomNavigationSpin .8s linear infinite;
}
#rooomNavigationProgress > span {
  position:absolute;width:1px;height:1px;padding:0;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;
}
@keyframes rooomNavigationSpin {to{transform:rotate(360deg);}}
.rooomWorkProgress {display:flex;align-items:center;justify-content:center;gap:8px;font:12px/1.4 system-ui,sans-serif;pointer-events:none;padding:6px;color:var(--text,#586778);}
.rooomWorkProgress::before {flex:none;}
.composer > .rooomWorkProgress {flex:0 0 100%;box-sizing:border-box;justify-content:flex-start;order:-1;padding:0 2px;}
.bubbleImageWrap {position:relative;}
.bubbleImageWrap > .rooomWorkProgress {position:absolute;inset:0;background:var(--panel,#fff);min-height:60px;}
@media(prefers-reduced-motion:reduce){
  /* User-approved exception: this small work indicator keeps rotating even when
     OS animations are off. Other animation preferences remain untouched. */
  #rooomNavigationProgress{width:auto;max-width:calc(100vw - 32px);height:auto;padding:10px 12px;grid-auto-flow:column;gap:8px;border-radius:22px;}
  #rooomNavigationProgress > span{position:static;width:auto;height:auto;clip-path:none;font:12px/1.4 system-ui,sans-serif;}
}
