.sieve[data-astro-cid-6rxhke3b]{gap:1.25rem;display:grid}.sieve-controls[data-astro-cid-6rxhke3b]{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.primes-toggle[data-astro-cid-6rxhke3b]{color:var(--heading);cursor:pointer;align-items:center;gap:.6rem;font-weight:500;display:inline-flex}.primes-toggle[data-astro-cid-6rxhke3b] input[data-astro-cid-6rxhke3b]{width:1.25rem;height:1.25rem;accent-color:var(--brand-blue)}.legend[data-astro-cid-6rxhke3b]{font-size:var(--text-sm);flex-wrap:wrap;gap:.5rem;padding:0;display:flex}.legend[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]{border-radius:var(--radius-pill);corner-shape:round;padding:.2rem .7rem;font-weight:500}.numbers[data-astro-cid-6rxhke3b]{counter-reset:number;grid-template-columns:repeat(auto-fill,minmax(2.75rem,1fr));gap:.4rem;margin:0;padding:0;display:grid}.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]{aspect-ratio:1;border-radius:var(--radius-sm);background:var(--surface-alt);color:var(--heading);font-family:var(--font-mono);font-size:var(--text-sm);counter-increment:number;place-items:center;font-weight:600;display:grid}.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:before{content:counter(number)}.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:first-child{visibility:hidden}.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(2n):not(:nth-child(2)),.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(3n):not(:nth-child(3)),.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(5n):not(:nth-child(5)),.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(7n):not(:nth-child(7)){font-weight:400}.legend[data-astro-cid-6rxhke3b] .legend-2[data-astro-cid-6rxhke3b],.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(2n):not(:nth-child(2)){background:var(--brand-amber);color:#000}.legend[data-astro-cid-6rxhke3b] .legend-3[data-astro-cid-6rxhke3b],.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(3n):not(:nth-child(3)){background:var(--brand-rose);color:#000}.legend[data-astro-cid-6rxhke3b] .legend-5[data-astro-cid-6rxhke3b],.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(5n):not(:nth-child(5)){background:var(--brand-blue);color:#fff}.legend[data-astro-cid-6rxhke3b] .legend-7[data-astro-cid-6rxhke3b],.numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(7n):not(:nth-child(7)){background:var(--brand-green);color:#000}.sieve[data-astro-cid-6rxhke3b]:has(#primes-only:checked) .numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(2n):not(:nth-child(2)),.sieve[data-astro-cid-6rxhke3b]:has(#primes-only:checked) .numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(3n):not(:nth-child(3)),.sieve[data-astro-cid-6rxhke3b]:has(#primes-only:checked) .numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(5n):not(:nth-child(5)),.sieve[data-astro-cid-6rxhke3b]:has(#primes-only:checked) .numbers[data-astro-cid-6rxhke3b] li[data-astro-cid-6rxhke3b]:nth-child(7n):not(:nth-child(7)){visibility:hidden}
