/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Hide Alpine-managed UI until Alpine is ready. */
[x-cloak]:not([x-cloak="lg"]) {
  display: none !important;
}

/* Mobile-first cloak for the sidebar: keep it hidden before Alpine applies
   the off-canvas transform, but let desktop render immediately. */
@media (max-width: 1023px) {
  [x-cloak="lg"] {
    display: none !important;
  }
}
