.grafcet-player{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;background:#fff;color:#172c44;padding:.5rem;box-sizing:border-box}.grafcet-player>header{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;flex:0 0 auto;padding:.25rem}.grafcet-player>header strong{font-size:1.1rem}.grafcet-player-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;flex:1;min-height:0;gap:.6rem}.grafcet-player-canvas{min-height:0;overflow:auto;overscroll-behavior:contain;cursor:grab;text-align:center;border:1px solid #e2e8f0;border-radius:8px}.grafcet-player-canvas svg{display:inline-block;max-width:none}.grafcet-player-signals{overflow:auto;min-height:0;padding:.4rem;border-left:1px solid #cbd5e1}.grafcet-player-signals h3{font-size:1rem;margin:.5rem 0}.grafcet-player button{background:#fff;color:#172c44;border:1px solid #94a3b8;border-radius:6px;padding:.4rem .65rem;cursor:pointer;min-height:38px}.grafcet-player button[aria-pressed=true]{background:#dcfce7;border-color:#15803d;color:#14532d}.grafcet-player-signals>button{display:block;width:100%;margin:.3rem 0;text-align:left}.grafcet-player-signals p{font-size:.9rem;overflow-wrap:anywhere;margin:.3rem 0}.grafcet-player-controls{display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap;padding:.35rem;flex:0 0 auto}.grafcet-player>p{font-size:.9rem;margin:0;min-height:1.2em;text-align:center}.grafcet-player-signals details{font-size:.85rem}@media(max-width:650px){.grafcet-player-layout{grid-template-columns:minmax(0,1fr) 135px}.grafcet-player>header strong{font-size:.9rem}.grafcet-player>header span{font-size:.85rem}.grafcet-player-signals{padding:.2rem}.grafcet-player button{font-size:.8rem;padding:.3rem}.grafcet-player-signals p{font-size:.75rem}}

.grafcet-player-controls select{max-width:9rem;background:white;color:#172c44;border:1px solid #94a3b8;border-radius:6px;min-height:38px;font-size:.85rem}.grafcet-player-controls [data-grafcet-run-state]{font-size:.78rem;align-self:center;white-space:nowrap}
