/*!
 * turbo.css - presentation for Turbo Drive in the Twenty-One client area.
 *
 * Turbo injects its own <style id="turbo-progress-bar-stylesheet"> as the first
 * child of <head>, so these rules win on source order without needing
 * !important. Loaded from includes/head.tpl.
 */

/* Turbo shows this only once a visit outruns config.drive.progressBarDelay, so
   cached pages never flash it. --primary is Bootstrap 4's brand colour, which
   the WHMCS theme customiser rewrites. */
.turbo-progress-bar {
    height: 3px;
    background-color: var(--primary, #336699);
}

/* Deliberately nothing for html[data-turbo-preview].
   Revisiting a page paints Turbo's cached snapshot first and swaps in the fresh
   response when it arrives - about 250ms later against this install. Styling
   that interval at all makes it visible: dimming the body to 0.75 over the
   theme's #f1f1f1 background read as a grey flash on every revisit, and only on
   revisits, which is the worst kind of inconsistency. The snapshot is a pixel
   copy of the page it replaces, so leaving it alone makes the swap invisible,
   which is the point of caching it. */

/* Turbo's progress bar is fixed to the viewport at z-index 2147483647. WHMCS
   modals sit at 1050 and the theme's full-page overlay at 9999, so nothing
   needs adjusting - this comment is here so the next person does not go
   looking. */
