[x-cloak] { display: none !important; }

:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }

@keyframes mt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.mt-skeleton { animation: mt-pulse 1.4s ease-in-out infinite; }

/* Runtime classes Tailwind cannot see (Architecture §8.6.9). */
.sortable-ghost { opacity: .5; outline: 2px dashed #2563EB; outline-offset: -2px; }
body.sorting .mt-board { scroll-snap-type: none; }

/* Changed cards flash once: accent-tint -> surface (UX §6, Architecture §8.6.12 A15). */
@keyframes mt-flash { from { background-color: #E8F0FE; } to { background-color: #FFFFFF; } }
.mt-flash { animation: mt-flash 1.5s ease-out 1; }

/* Detail panel slide-in from the right, from 640 px (Architecture §8.6.11). */
@keyframes mt-slide-in { from { transform: translateX(100%); } to { transform: none; } }
@media (min-width: 640px) { .mt-slide { animation: mt-slide-in 150ms ease-out 1; } }

/* The native delete dialog's backdrop: `text` at 40 %, like the other backdrops. */
dialog::backdrop { background: rgb(24 24 27 / 0.4); }

@media (prefers-reduced-motion: reduce) {
  .mt-skeleton { animation: none; }
  /* li.: out-ranks a card's bg-surface so the static tint also shows on Kanban cards */
  li.mt-flash { animation: none; background-color: #E8F0FE; }
  .mt-slide { animation: none; transition: none; }
}
