/* Client-side route swaps are instant; prefetch + HTML cache handle perceived speed. */

/*
 * While auth chrome is being applied after a home<->app shell swap, keep the primary
 * header invisible so users do not see the static-HTML default (logged-out) nav flash.
 */
[data-buro-shell-root][data-buro-chrome-pending] header {
    opacity: 0;
    pointer-events: none;
}

/* Reduce layout shift when permission-gated items appear (approx. one toolbar row). */
[data-buro-shell-root] header {
    min-height: 3.25rem;
}
