/* Existing surface, border and accent tokens retain both palettes. */
.compiler-art{min-width:0;margin:1rem 0}.compiler-track{display:flex;gap:3px;max-width:100%;height:5px;margin-bottom:1rem}.compiler-track i{flex:1;min-width:0;background:var(--border);border-radius:4px}.compiler-track .reached{background:var(--accent,var(--green));transition:background .25s ease}
.compiler-pipeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;list-style:none;padding:0;margin:0}.compiler-pipeline li,.compiler-graph article,.compiler-values>div{display:flex;flex-direction:column;gap:.45rem;padding:.85rem;border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow-wrap:anywhere;min-width:0}.compiler-pipeline li span{font-weight:800;opacity:.6}.compiler-pipeline .current,.compiler-graph .current,.compiler-values .current{border-color:var(--accent,var(--green));box-shadow:inset 0 -3px 0 var(--accent,var(--green));animation:compiler-arrive .32s ease both}.compiler-pipeline .done{opacity:.75}.compiler-graph,.compiler-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.compiler-graph article span,.compiler-values small{font-size:.85rem;line-height:1.5}.compiler-state-badge,.compiler-rule{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.8rem;border:1px solid var(--border);border-radius:14px;overflow-wrap:anywhere}.compiler-state-badge span{font-weight:800}.compiler-state-badge small{flex-basis:100%}.compiler-workshop .compiler-feedback{min-height:1.5em}.compiler-workshop .compiler-answer{width:100%;min-width:0}.compiler-workshop .compiler-lab-stage{min-width:0;overflow-x:auto}.compiler-workshop form{display:grid;gap:.65rem}.compiler-workshop input{min-width:0;max-width:100%;box-sizing:border-box}.compiler-workshop details{margin:1rem 0}.compiler-art+.visual-table-wrap td{white-space:normal;overflow-wrap:anywhere;max-width:24rem}
@keyframes compiler-arrive{from{transform:translateY(5px);opacity:.55}to{transform:translateY(0);opacity:1}}
@media(max-width:430px){.compiler-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.compiler-graph{grid-template-columns:1fr}.compiler-values{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.compiler-art *{animation:none!important;transition:none!important}}
[data-motion="reduced"] .compiler-art *{animation:none!important;transition:none!important}
