.bst-lab,.bst-small-examples{--bst-ink:var(--global-text-color,#263244);--bst-bg:var(--global-bg-color,#fff);color:var(--bst-ink)}.bst-lab{margin:2rem 0;padding:24px;border:1px solid #818cf855;border-radius:20px;background:linear-gradient(135deg,#8b5cf60c,#14b8a60c)}.bst-lab-heading>span{display:block;color:var(--global-theme-color,#75d);font:700 .72rem monospace;letter-spacing:.16em}.bst-lab-heading strong{display:block;font-size:1.7rem;margin:.4rem 0;line-height:1.2}.bst-lab-heading p,.bst-progress{font-size:.85rem;opacity:.85}.bst-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:20px 0 12px}.bst-controls[hidden]{display:none}.bst-controls button,.bst-controls select{background:var(--bst-bg);color:var(--bst-ink);border:1px solid #8886;padding:8px 12px;border-radius:8px;min-height:42px;font:inherit;font-size:.85rem}.bst-controls button:first-child{background:#6550c9;color:white;border-color:#6550c9}.bst-controls button:disabled{opacity:.45}.bst-controls label{margin:0 0 0 auto;font-size:.85rem}.bst-controls :focus-visible{outline:3px solid #e5a521;outline-offset:3px}.bst-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bst-card{border:1px solid #8884;border-radius:12px;padding:12px;background:var(--bst-bg);min-width:0}.bst-card:first-child{border-style:dashed}.bst-card h3{font-size:.75rem;margin:0 0 10px;opacity:.8}.bst-sequence{display:flex;gap:4px}.bst-sequence span{flex:1;text-align:center;border-radius:5px;padding:4px 0;font:600 .9rem monospace;border:1px solid #8884}.bst-sequence .consumed{background:#14b8a61c}.bst-sequence .current{outline:2px solid #d99b16;background:#eab30825}.bst-card svg{display:block;width:100%;overflow:visible}.bst-edge{stroke:#94a3b8;stroke-width:2.5}.bst-ghost{opacity:.18}.bst-node circle{stroke:var(--bst-bg);stroke-width:3}.bst-node text{fill:white;font:700 17px sans-serif;text-anchor:middle;dominant-baseline:central}.bst-node{transition:opacity .3s}.bst-traveler{transition:transform .5s ease}.bst-traveler circle{fill:none;stroke:#d99b16;stroke-width:3;stroke-dasharray:4 3}.bst-card p{font-size:.78rem;line-height:1.45;min-height:3em;margin:0}.bst-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.73rem;margin-top:18px;opacity:.85}.bst-small-examples{display:flex;gap:20px;margin:24px 0}.bst-small-examples figure{flex:1;margin:0;border:1px solid #8884;border-radius:12px;padding:16px;text-align:center}.bst-small-examples svg{width:100%;max-height:210px}.bst-small-examples path{stroke:#94a3b8;stroke-width:3;fill:none}.bst-small-examples circle{fill:#6550c9}.bst-small-examples text{fill:white;font:bold 18px sans-serif;text-anchor:middle;dominant-baseline:central}.bst-small-examples figcaption{font-size:.85rem}.bst-chain{max-width:350px;margin-left:auto;margin-right:auto}@media(max-width:900px){.bst-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.bst-lab{padding:12px}.bst-cards{grid-template-columns:1fr}.bst-controls label{margin-left:0}.bst-small-examples{gap:8px}.bst-small-examples figure{padding:8px}}@media(prefers-reduced-motion:reduce){.bst-node,.bst-traveler{transition:none}}.bst-story-svg{display:block;width:100%;height:auto;overflow:visible}.bst-moving-token text{fill:#fff;font:700 20px sans-serif}.bst-moving-token{transition:opacity .4s}.bst-svg-label{fill:var(--bst-ink);font:14px sans-serif;text-anchor:middle}.bst-level-line{stroke:#8885;stroke-width:1;stroke-dasharray:4 6}.bst-token-current rect{stroke:#e5a521;stroke-width:5}.bst-story-status,.bst-slot-status,.bst-factor-status{font-size:.95rem;line-height:1.6;min-height:3.2em;margin:12px 0 0}.bst-slot-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 0}.bst-slot-buttons button{min-height:48px;border-radius:8px;color:white;border:2px solid transparent;font-weight:600;cursor:pointer}.bst-slot-left{background:#0c867c}.bst-slot-right{background:#287ac2}.bst-slot-buttons button:focus-visible{outline:3px solid #e5a521;outline-offset:3px}.bst-left-text{color:#0c867c}.bst-right-text{color:#287ac2}.bst-factor-readout{padding:12px;border:1px solid #8884;border-radius:8px;font-family:monospace;font-size:.9rem}@media(max-width:480px){.bst-slot-buttons{gap:4px}.bst-slot-buttons button{font-size:.75rem;padding:4px}.bst-story-status,.bst-slot-status,.bst-factor-status{min-height:5em}}@media(prefers-reduced-motion:reduce){.bst-moving-token{transition:none}}