.cg-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:center}.cg-version{display:flex;gap:.6rem;align-items:center;margin:0 0 1.25rem;font-weight:650}.cg-version span{padding:.14rem .5rem;border:1px solid currentColor;border-radius:999px;font-size:.75rem}.cg-lead{max-width:44ch;margin:1.4rem 0;line-height:1.6;font-size:clamp(1.05rem,2vw,1.25rem);color:hsl(var(--text-muted))}.cg-actions{display:flex;flex-wrap:wrap;gap:1rem 1.4rem;align-items:center}.cg-lab{--lab-bg: #141912;--lab-panel: #1d241a;--lab-code: #0e120d;--lab-line: #343c2f;--lab-text: #f1f4e8;--lab-muted: #b4bda6;--lab-accent: #d4f58a;--lab-ease: cubic-bezier(.22, 1, .36, 1);display:grid;gap:.9rem;min-width:0;padding:clamp(1rem,3vw,1.5rem);border:1px solid var(--lab-line);border-radius:1.35rem;background:var(--lab-bg);color:var(--lab-text);box-shadow:0 1.5rem 3.5rem #0b120626;color-scheme:dark}.cg-lab__head,.cg-lab__file,.cg-lab__footer,.cg-receipt__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem}.cg-lab__head h2{margin:0;font-size:1.2rem;letter-spacing:-.02em}.cg-lab__head span,.cg-lab__footer p{color:var(--lab-muted);font-size:.82rem}.cg-lab__file{margin-bottom:-.9rem;padding:.6rem .85rem;border-radius:.7rem .7rem 0 0;background:var(--lab-panel);color:var(--lab-muted);font:.78rem/1.4 var(--font-numeric, ui-monospace, monospace)}.cg-lab__badge{padding:.1rem .5rem;border:1px solid var(--lab-line);border-radius:999px;transition:color .3s var(--lab-ease),border-color .3s var(--lab-ease)}.cg-lab[data-state=done] .cg-lab__badge{color:var(--lab-accent);border-color:var(--lab-accent)}.cg-lab__code{min-block-size:10.5rem;padding:1rem .85rem;border-radius:0 0 .7rem .7rem;background:var(--lab-code)}.cg-lab__code:focus-visible{outline:2px solid var(--lab-accent);outline-offset:3px}.cg-lab__code pre{margin:0;color:#d8efa5;white-space:pre-wrap;overflow-wrap:anywhere;font:.84rem/1.65 var(--font-numeric, ui-monospace, monospace);animation:cg-swap .42s var(--lab-ease) both}.cg-lab__stages{display:grid;gap:.1rem;margin:0;padding:0;list-style:none}.cg-lab__stages li{display:grid;grid-template-columns:1.25rem minmax(0,1fr) auto;align-items:center;gap:.7rem;min-height:2.1rem;font-size:.88rem;color:var(--lab-muted);transition:color .3s var(--lab-ease)}.cg-lab__stages li:not([data-state=waiting]){color:var(--lab-text)}.cg-lab__state{font:.74rem/1 var(--font-numeric, ui-monospace, monospace);color:var(--lab-muted)}.cg-lab__stages li[data-state=done] .cg-lab__state{color:var(--lab-accent)}.cg-lab__tick{position:relative;width:1rem;height:1rem;border:1px solid var(--lab-line);border-radius:50%;transition:background-color .3s var(--lab-ease),border-color .3s var(--lab-ease)}.cg-lab__stages li[data-state=active] .cg-lab__tick{border-color:var(--lab-accent);border-right-color:transparent;animation:cg-spin .8s linear infinite}.cg-lab__stages li[data-state=done] .cg-lab__tick{border-color:var(--lab-accent);background:var(--lab-accent)}.cg-lab__stages li[data-state=done] .cg-lab__tick:after{content:"";position:absolute;left:.3rem;top:.14rem;width:.26rem;height:.5rem;border:solid #182009;border-width:0 2px 2px 0;transform:rotate(45deg);animation:cg-tick .26s var(--lab-ease) both}.cg-lab__meter{height:4px;border-radius:4px;background:var(--lab-line);overflow:hidden}.cg-lab__meter span{display:block;height:100%;border-radius:inherit;background:var(--lab-accent);transform-origin:left;transition:transform .7s var(--lab-ease)}.cg-lab__footer p{margin:0;flex:1 1 16rem}.cg-run{min-height:44px;padding:.5rem 1rem;border:0;border-radius:999px;color:#182009;background:var(--lab-accent);font:inherit;font-weight:650;cursor:pointer;transition:background-color .2s var(--lab-ease),transform .2s var(--lab-ease)}.cg-run:hover:not(:disabled){background:#e6ffb0}.cg-run:active:not(:disabled){transform:scale(.98)}.cg-run:disabled{cursor:progress;background:#9fb36a}.cg-run:focus-visible{outline:2px solid var(--lab-accent);outline-offset:4px}.cg-receipt{padding:.85rem;border:1px dashed var(--lab-line);border-radius:.8rem;font:.76rem/1.5 var(--font-numeric, ui-monospace, monospace);transition:border-color .4s var(--lab-ease),background-color .4s var(--lab-ease)}.cg-receipt[data-ready]{border-style:solid;border-color:#56663f;background:#1a2116}.cg-receipt__head{margin-bottom:.55rem;color:var(--lab-text)}.cg-receipt__head span:last-child{color:var(--lab-muted)}.cg-receipt[data-ready] .cg-receipt__head span:last-child{color:var(--lab-accent)}.cg-receipt dl{display:grid;gap:.25rem;margin:0}.cg-receipt dl>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 1rem}.cg-receipt dt{color:var(--lab-muted)}.cg-receipt dd{margin:0;color:var(--lab-text);overflow-wrap:anywhere}.cg-receipt[data-ready] dd{animation:cg-swap .42s var(--lab-ease) both}.cg-receipt[data-ready] dl>div:nth-child(2) dd{animation-delay:60ms}.cg-receipt[data-ready] dl>div:nth-child(3) dd{animation-delay:.12s}.cg-receipt[data-ready] dl>div:nth-child(4) dd{animation-delay:.18s}.cg-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--grid-gap, 2rem);margin:var(--space-4, 2.5rem) 0 0;padding:0;list-style:none}.cg-facts li{padding-top:1.25rem;border-top:1px solid hsl(var(--border))}.cg-facts__index{font:500 .72rem/1 var(--font-numeric, ui-monospace, monospace);color:hsl(var(--accent));letter-spacing:.08em}.cg-facts h3{margin:.9rem 0 .5rem;font-size:1.2rem;letter-spacing:-.02em}.cg-facts p{margin:0;color:hsl(var(--text-muted));line-height:1.6}.cg-setup{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:3rem 4rem;align-items:start}.cg-setup__head{display:block}@media(min-width:1024px){.cg-setup__head{position:sticky;top:132px}}.cg-steps{position:relative;display:grid;gap:2.25rem;margin:0;padding:0 0 0 3.5rem;list-style:none}.cg-steps:before{content:"";position:absolute;left:1.05rem;top:1.2rem;bottom:1.2rem;width:2px;border-radius:2px;background:hsl(var(--border))}.cg-steps li{position:relative;min-width:0}.cg-steps__node{position:absolute;left:-3.5rem;top:-.2rem;display:grid;place-items:center;width:2.2rem;height:2.2rem;border:1px solid hsl(var(--accent));border-radius:50%;background:hsl(var(--surface));color:hsl(var(--text));font:500 .8rem/1 var(--font-numeric, ui-monospace, monospace)}.cg-steps h3{margin:0 0 .5rem;font-size:1.25rem;letter-spacing:-.02em}.cg-steps p{margin:0 0 1rem;max-width:60ch;color:hsl(var(--text-muted));line-height:1.6}.cg-terminal{margin:0 0 1rem;border:1px solid #343c2f;border-radius:.9rem;background:#0e120d;color:#f1f4e8;overflow:hidden;color-scheme:dark}.cg-terminal__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.35rem .5rem .35rem .9rem;background:#1d241a;color:#b4bda6;font-size:.78rem}.cg-terminal__head button{min-height:36px;padding:.3rem .8rem;border:1px solid #4a5541;border-radius:999px;background:transparent;color:#f1f4e8;font:inherit;cursor:pointer}.cg-terminal__head button:hover{border-color:#d4f58a}.cg-terminal__head button:focus-visible{outline:2px solid #d4f58a;outline-offset:2px}.cg-terminal pre{margin:0;padding:.9rem;overflow-x:auto;font:.8rem/1.75 var(--font-numeric, ui-monospace, monospace);color:#d8efa5}.cg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.cg-notes{max-width:52rem;margin-top:2rem;border-top:1px solid hsl(var(--border))}.cg-notes details{border-bottom:1px solid hsl(var(--border))}.cg-notes summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.5rem;padding-block:.75rem;cursor:pointer;font-weight:600;list-style:none}.cg-notes summary::-webkit-details-marker{display:none}.cg-notes summary:after{content:"+";flex:none;font:400 1.4rem/1 var(--font-numeric, ui-monospace, monospace);color:hsl(var(--accent));transition:transform .3s cubic-bezier(.22,1,.36,1)}.cg-notes details[open] summary:after{transform:rotate(45deg)}.cg-notes summary:focus-visible{outline:2px solid hsl(var(--accent));outline-offset:4px}.cg-notes p{margin:0 0 1.25rem;max-width:66ch;color:hsl(var(--text-muted));line-height:1.65}@keyframes cg-swap{0%{transform:translateY(6px)}to{transform:none}}@keyframes cg-spin{to{transform:rotate(360deg)}}@keyframes cg-tick{0%{transform:rotate(45deg) scale(.3)}to{transform:rotate(45deg) scale(1)}}@media(max-width:899px){.cg-hero-grid,.cg-setup,.cg-facts{grid-template-columns:minmax(0,1fr)}.cg-setup{gap:2rem}}@media(max-width:599px){.cg-steps{padding-left:3rem}.cg-steps__node{left:-3rem;width:2rem;height:2rem}.cg-steps:before{left:.95rem}}@media(prefers-reduced-motion:reduce){.cg-lab *,.cg-lab *:before,.cg-lab *:after,.cg-notes summary:after{animation:none!important;transition:none!important}}
