/*
 * app.css — small custom styles on top of Tailwind (loaded from CDN).
 * Most styling is Tailwind utility classes in the views; keep this file lean.
 */

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smooth base for form controls not covered by utilities. */
:root {
    color-scheme: light dark;
}

/* Hide Alpine x-cloak elements until Alpine initialises. */
[x-cloak] {
    display: none !important;
}

/* Utility: visually-hidden but screen-reader accessible. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
