/* nav-progress.css — a slow navigation's bar and busy mark (docs/specs/nav-progress, increment-louder).
   Tokens only; shown only while <html> carries .fui-navigating, which nav-progress.js sets after its
   delay. Its own small sheet so a vendoring consumer can carry it byte-identical. */
.fui-nav-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 10000;
  background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), .6);
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none; opacity: 0;
}
.fui-navigating .fui-nav-progress { opacity: 1; animation: fui-nav-progress 8s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes fui-nav-progress { from { transform: scaleX(0); } to { transform: scaleX(.92); } }
.fui-navigating, .fui-navigating * { cursor: progress; }
.fui-nav-pending { position: relative; opacity: .6; outline: 1px dashed rgba(var(--accent-rgb), .6); outline-offset: 2px; }
/* The spinner beside the control that started the navigation (increment-louder NL-U2). */
.fui-nav-pending::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  box-sizing: border-box; border: 2px solid rgba(var(--accent-rgb), .9); border-top-color: transparent;
  border-radius: 50%; animation: fui-nav-spin .8s linear infinite; pointer-events: none;
}
@keyframes fui-nav-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .fui-navigating .fui-nav-progress { animation: none; transform: scaleX(1); opacity: .7; }
  .fui-nav-pending::after { animation: none; }
}
