.pulse-grammar-clock{margin:22px 0;border:1px solid #654d85;background:linear-gradient(145deg,#091925,#140d25);color:#e8eef5;font-family:Inter,system-ui,sans-serif}.pulse-grammar-clock>header{display:flex;justify-content:space-between;gap:24px;padding:22px;border-bottom:1px solid #554171}.pulse-grammar-clock h5{font:700 clamp(1.25rem,2vw,1.8rem)/1.1 Georgia,serif;margin:.35rem 0}.pulse-grammar-clock p{color:#afc3cf;max-width:860px}.pulse-grammar-clock small,.pulse-grammar-clock output,.pulse-grammar-clock b,.pulse-grammar-clock button{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.pulse-grammar-clock header small{color:#ee78d1;letter-spacing:.1em}.pulse-grammar-clock>header output{color:#f7d65b;white-space:nowrap}.pgc-controls{display:flex;flex-wrap:wrap;gap:10px;padding:16px 22px;border-bottom:1px solid #263f51}.pgc-controls button{padding:10px 13px;border:1px solid #3b6479;background:#0b2230;color:#e7f4fa;border-radius:8px;cursor:pointer}.pgc-controls button.primary{background:#35cce5;color:#06131b;border-color:#35cce5}.pgc-controls button.pink{border-color:#f653ad;color:#ff83ce}.pgc-controls button:disabled{opacity:.38;cursor:not-allowed}.pgc-stage{display:grid;grid-template-columns:minmax(0,1fr) 285px}.pgc-stage svg{display:block;width:100%;min-height:520px;background:#071822}.pgc-stage aside{display:grid;grid-template-rows:repeat(4,1fr);border-left:1px solid #2c4b5e}.pgc-stage aside>div{padding:18px;border-bottom:1px solid #253b50}.pgc-stage aside small{display:block;color:#829eae;letter-spacing:.08em}.pgc-stage aside b{display:block;margin-top:8px;color:#f4f7fa}.pgc-boundary{padding:16px 22px;border-top:1px solid #57406e;color:#c5b8cf;background:#100d1b}.pgc-boundary code{color:#f7d65b}.pgc-boundary a{color:#55dff2}.pgc-grid path{stroke:#17394b;stroke-width:1}.pgc-algo-line{stroke:#f7be3e;stroke-width:3;filter:drop-shadow(0 0 6px #f7be3e)}.pgc-axis-label,.pgc-count{fill:#f7d65b;font:12px ui-monospace,monospace;letter-spacing:.06em}.pgc-purple-rail{stroke:#9a6cff;stroke-width:5;fill:none}.pgc-purple-coil{stroke:#b56fff;stroke-width:2.5;fill:none;stroke-dasharray:9 7;opacity:.92}.pgc-tooth{stroke:#f653ad;stroke-width:5;fill:none}.pgc-v-rail{stroke:#f653ad;stroke-width:2;fill:none;opacity:.45}.pgc-transition{fill:#f653ad;stroke:#ffd25a;stroke-width:4;filter:drop-shadow(0 0 7px #f653ad)}.pgc-transition.active{fill:#fff;stroke:#f653ad;stroke-width:7}.pgc-transition-core{fill:#ffcf3d}.pgc-transition-label{fill:#ff7acb;font:700 12px ui-monospace,monospace}.pgc-still circle{fill:#0a1723;stroke:#f653ad;stroke-width:2;opacity:.82}.pgc-still text{fill:#f5f2fa;font:10px ui-monospace,monospace}.pgc-still.active circle{stroke:#fff;stroke-width:4}.pgc-gate-node circle{fill:#10192c;stroke:#9a6cff;stroke-width:2}.pgc-gate-node text{fill:#c4b7db;font:10px ui-monospace,monospace}.pgc-gate-node.active circle{fill:#f653ad;stroke:#fff;filter:drop-shadow(0 0 5px #f653ad)}.pgc-word circle{fill:var(--pgc-node);stroke:#fff;stroke-width:1}.pgc-word text{fill:#c4d4dc;font:11px ui-monospace,monospace}.pgc-word.active circle{filter:drop-shadow(0 0 7px var(--pgc-node));stroke-width:4}.pgc-word.active text{fill:#fff;font-weight:700}.pgc-joint-arm{stroke:#35d9ec;stroke-width:1.5;fill:none;opacity:.45}.pgc-domain circle{fill:#0b202b;stroke:#35d9ec;stroke-width:2}.pgc-domain text{fill:#35d9ec;font:10px ui-monospace,monospace}.pgc-domain rect:nth-of-type(1){fill:#647786}.pgc-domain rect:nth-of-type(2){fill:#22d3ee}.pgc-domain rect:nth-of-type(3){fill:#f653ad}.pgc-domain rect:nth-of-type(4){fill:#f5bf42}.pgc-domain.hold{opacity:.3}@media(max-width:900px){.pgc-stage{grid-template-columns:1fr}.pgc-stage aside{grid-template-columns:repeat(2,1fr);grid-template-rows:auto;border-left:0;border-top:1px solid #2c4b5e}.pgc-stage svg{min-width:760px}.pgc-stage{overflow-x:auto}.pulse-grammar-clock>header{display:block}.pulse-grammar-clock>header output{display:block;margin-top:12px}}
