/* Orbits presentation selected by Workshop. Other Orbits consumers receive
   this sheet too; none of these rules match without its body class. */
:root:where(:has(> body.workshop-page)) {
	--fade-chrome: 1000ms;
	--fade-overlay: 1000ms;
	--fade-hover: 125ms;
	--ease-fade: ease-out;
}

:where(body.workshop-page) #kit-progress { transition: opacity var(--fade-chrome) var(--ease-fade); }          /* B: 480ms ease-out */
/* B has no transition here. Timing alone animates nothing — Task 6's answerLineFade
	flag supplies the opacity flip this rule eases. The two ship together. */
:where(body.workshop-page) #kit-answerline { transition: opacity var(--fade-chrome) var(--ease-fade); }
:where(body.workshop-page) .qcount { transition: opacity var(--fade-chrome); }                                  /* B: 400ms */
:where(body.workshop-page) .hint { transition: opacity var(--fade-chrome); }                                    /* B: 400ms */
:where(body.workshop-page) .footer-link { transition: color var(--fade-hover); }                                /* B: 120ms */
:where(body.workshop-page) .pausebtn { transition: color var(--fade-hover), border-color var(--fade-hover), background var(--fade-hover); }
:where(body.workshop-page) .skipbtn { transition: color var(--fade-hover), border-color var(--fade-hover), opacity var(--fade-chrome); }   /* B: opacity 200ms */

/* The gather way out used to borrow .skipbtn for the top right corner. It sits
	underneath the question now, wearing the engine's own under-the-question button
	look and fading in on the same clock the remove and choose Done use, so it needs
	no rule here at all (Mike, 2026-08-19). */

:where(body.workshop-page) .kit-btn { transition: filter var(--fade-hover), border-color var(--fade-hover), color var(--fade-hover); }

/* B's pause overlay is a hard display:none/flex cut; A's fades. The engine JS is
	identical in both (it only toggles .open), so the fade is purely this CSS. */
:where(body.workshop-page) .pause-overlay {
	display: flex;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--fade-overlay) var(--ease-fade), visibility 0s linear var(--fade-overlay);
}
:where(body.workshop-page) .pause-overlay.open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity var(--fade-overlay) var(--ease-fade);
}
:where(body.workshop-page) .pause-cta { transition: background var(--fade-hover), border-color var(--fade-hover), transform var(--fade-hover); }
:where(body.workshop-page) .pause-open { transition: color var(--fade-hover); }
:where(body.workshop-page) .pause-resume { transition: color var(--fade-hover), border-color var(--fade-hover); }
:where(body.workshop-page) .pause-google { transition: color var(--fade-hover), border-color var(--fade-hover), background var(--fade-hover); }
:where(body.workshop-page) .email-cap input[type="email"] { transition: border-color var(--fade-hover); }
:where(body.workshop-page) .ending { transition: opacity var(--fade-overlay) var(--ease-fade); }                /* B: 700ms */
:where(body.workshop-page) .ending-btn { transition: filter var(--fade-hover), transform var(--fade-hover); }


/* Keep the page's panel placement, including its important overrides.
   These rules were before frame.css. Remove the side condition's selector
   weight so .chip-v2 .tweaks-panel still wins its important inset reset. */
:where(body.workshop-page) .tweaks-panel { top: 124px !important; }
:where(body.workshop-page) .tweaks-panel:where(.side-left) { left: auto !important; right: 18px !important; }
