@tailwind base; @tailwind components; @tailwind utilities; @layer base { html, body, #root { height: 100%; } body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--x-surface-2); color: var(--x-ink); /* shared screens are touched, not clicked: no text selection or callouts by accident */ -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; } input, textarea { -webkit-user-select: text; user-select: text; } } /* Signage transitions (plan step 5.5a): the new slide comes in over the old one going out. */ .sg-in, .sg-out { animation-fill-mode: both; animation-timing-function: ease-in-out; } .sg-out { z-index: 0; } .sg-in { z-index: 1; } .sg-in-fade { animation-name: sg-fade-in; } .sg-out-fade { animation-name: sg-fade-out; } .sg-in-slide { animation-name: sg-slide-in; } .sg-out-slide { animation-name: sg-slide-out; } .sg-in-zoom { animation-name: sg-zoom-in; } .sg-out-zoom { animation-name: sg-fade-out; } .sg-in-none, .sg-out-none { animation: none; } .sg-out-none { display: none; } @keyframes sg-fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes sg-fade-out { from { opacity: 1; } to { opacity: 0; } } @keyframes sg-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } } @keyframes sg-slide-out { from { transform: translateX(0); } to { transform: translateX(-100%); } } @keyframes sg-zoom-in { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } } @media (prefers-reduced-motion: reduce) { .sg-in, .sg-out { animation: none; } .sg-out { display: none; } }