/* State utilities.
 *
 * Loaded LAST in base.html, and that is load-bearing. A utility that says "this
 * element is hidden" has to outrank whatever a component says about its own
 * display, and every class here is specificity 0,1,0 — the same as the component
 * rules it must beat. Source order is the only thing that separates them.
 *
 * The bug this exists to prevent: .is-hidden was first written into
 * design-system.css, which loads before patitur-auth.css, where
 * .patitur-loading sets display: inline-block. The auth loading spinners would
 * have rendered permanently visible.
 *
 * Keep this file to genuine state, not appearance. Anything that paints belongs
 * in a component sheet or the design system.
 */

/* Initial hidden state for an element a script later reveals.
 *
 * Only safe where the script assigns an explicit display value: a script that
 * resets style.display to "" falls back to this rule and the element stays
 * hidden. alert-modal-status-edit.js does exactly that, which is why the alert
 * modal keeps its inline styles rather than adopting this class. */
.is-hidden {
    display: none;
}
