/* The guided intro's "thinking" state: three quiet dots and a thought with a light sweeping across it. */ .plan-guide-dots { display: flex; gap: 6px; } .plan-guide-dots > span { width: 6px; height: 6px; border-radius: 9999px; background: var(--color-muted-foreground); opacity: 0.25; animation: plan-guide-dot 1.2s ease-in-out infinite; } .plan-guide-dots > span:nth-child(2) { animation-delay: 0.15s; } .plan-guide-dots > span:nth-child(3) { animation-delay: 0.3s; } .plan-guide-shimmer { color: transparent; background: linear-gradient( 90deg, var(--color-muted-foreground) 0%, var(--color-muted-foreground) 40%, var(--color-foreground) 50%, var(--color-muted-foreground) 60%, var(--color-muted-foreground) 100% ) 0 0 / 250% 100%; background-clip: text; -webkit-background-clip: text; /* Two sweeps per shimmer window; the delay comes from the component. At rest the highlight sits outside the text, so the wait before it reads as still. */ animation: plan-guide-shimmer 2.5s linear infinite; } @keyframes plan-guide-dot { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } } @keyframes plan-guide-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } } @media (prefers-reduced-motion: reduce) { .plan-guide-dots > span, .plan-guide-shimmer { animation: none; } .plan-guide-shimmer { color: var(--color-muted-foreground); background: none; } } /* A thought or a word coming into focus. */ .plan-guide-reveal { animation: plan-guide-reveal 0.5s ease-out both; } @keyframes plan-guide-reveal { from { opacity: 0; filter: blur(6px); transform: translateY(4px); } to { opacity: 1; filter: blur(0); transform: none; } } /* The last beat: the case's nine cards appearing and filling in. */ .plan-guide-tiles { display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; } .plan-guide-tiles > span { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--color-border); animation: plan-guide-tile 1.2s ease-out both; } @keyframes plan-guide-tile { 0% { opacity: 0; transform: scale(0.5); background: transparent; } 35% { opacity: 1; transform: scale(1); background: transparent; } 100% { opacity: 1; transform: scale(1); border-color: var(--color-foreground); background: var(--color-foreground); } } /* A case being built: the tiles of the cards already filled stay solid, the others breathe until the agent fills them. */ .plan-guide-tiles > span[data-tile="filled"] { animation: none; border-color: var(--color-foreground); background: var(--color-foreground); } .plan-guide-tiles > span[data-tile="waiting"] { animation: plan-guide-tile-waiting 1.6s ease-in-out infinite; } @keyframes plan-guide-tile-waiting { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } } @media (prefers-reduced-motion: reduce) { .plan-guide-reveal, .plan-guide-tiles > span, .plan-guide-tiles > span[data-tile] { animation: none; } }