/*
 * 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.
 */

/* Keep keyboard navigation visible across folder rows, forms and review panes. */
:where(a, button, summary, select, input, textarea):focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 3px;
}

.workspace-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: #fff;
  color: #2d1018;
  transform: translateY(-200%);
}

.workspace-skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-ping, .animate-pulse { animation: none !important; }
}
