.grafcet-feedback{font-size:.82rem;margin:.6rem 0;min-width:0}.grafcet-feedback-legend{display:flex;flex-wrap:wrap;gap:.35rem;margin:.3rem 0}.grafcet-feedback-legend span{border-radius:5px;padding:.15rem .35rem;background:#f1f5f9;border-left:3px solid #94a3b8}.grafcet-feedback .is-ready{border-color:#15803d}.grafcet-feedback .is-fired{border-color:#b45309}.grafcet-feedback-card{border:1px solid #cbd5e1;border-left:3px solid #94a3b8;border-radius:6px;margin:.45rem 0;padding:.45rem;text-align:left;background:white;color:#172c44}.grafcet-feedback-card.is-conflict,.grafcet-feedback-card.is-reset{border-left-color:#b91c1c}.grafcet-feedback-card p{margin:.25rem 0;font-size:inherit}.grafcet-feedback-card code{display:block;font-size:.82rem;color:#334155;white-space:pre-wrap;overflow-wrap:anywhere}.grafcet-feedback-signals{display:flex;gap:.25rem;flex-wrap:wrap;margin-top:.3rem}.grafcet-feedback-signals span{display:inline-block;font-size:.75rem;background:#f1f5f9;padding:.15rem .3rem;border-radius:4px;overflow-wrap:anywhere}.grafcet-feedback summary{cursor:pointer;font-weight:600}.grafcet-feedback-card strong{font-size:.82rem}
.grafcet-feedback h4{font-size:.82rem;margin:.45rem 0}

.grafcet-timeline {min-width:0;max-width:100%;margin:.5rem 0;}
.grafcet-timeline summary {cursor:pointer;font-weight:600;}
.grafcet-timeline>div {max-width:100%;overflow:auto;max-height:45vh;}
.grafcet-timeline table {width:max-content;border-collapse:separate;border-spacing:0;color:#172554;background:white;font: .85rem system-ui;}
.grafcet-timeline caption {text-align:left;padding:.3rem;color:#334155;}
.grafcet-timeline th,.grafcet-timeline td {padding:.15rem .4rem;text-align:center;}
.grafcet-timeline th:first-child {position:sticky;left:0;text-align:left;background:#f1f5f9;z-index:1;max-width:10em;overflow-wrap:anywhere;}
.grafcet-timeline td {border-block:2px solid transparent;}
.grafcet-timeline .high {border-top-color:#147067;color:#09564e;}
.grafcet-timeline .low {border-bottom-color:#475569;}
.grafcet-timeline .high+.low,.grafcet-timeline .low+.high {box-shadow:inset 2px 0 #475569;}
.grafcet-timeline .current,.grafcet-timeline [aria-current] {background:#fef3c7;color:#713f12;}

.grafcet-timeline-picker {margin:.3rem 0 .5rem;font-size:.85rem;}
.grafcet-timeline-picker button {margin:.25rem .4rem .25rem 0;}
.grafcet-timeline-choices {display:flex;flex-wrap:wrap;gap:.2rem .7rem;max-height:25vh;overflow:auto;}
.grafcet-timeline-choices label {display:flex;align-items:center;gap:.25rem;max-width:100%;overflow-wrap:anywhere;}
.grafcet-timeline-choices input {flex:none;}

.grafcet-timeline [data-grafcet-timeline-transition] {display:block;margin:.14rem auto;padding:.12rem .32rem;border:1px solid #b45309;border-radius:.3rem;background:#fff7ed;color:#7c2d12;font:inherit;font-weight:650;cursor:pointer;}
.grafcet-timeline [data-grafcet-timeline-transition][aria-pressed=true] {background:#92400e;color:#fff;}
.grafcet-timeline-transition-detail:not(:empty) {margin-top:.4rem;padding:.4rem .55rem;border:1px solid #d6ad77;border-radius:.3rem;background:#fff7ed;color:#713f12;font-size:.85rem;overflow-wrap:anywhere;}
.grafcet-timeline-transition-detail p {margin:.15rem 0;}
.grafcet-timeline-transition-detail code {white-space:pre-wrap;}

.grafcet-cycle-inspector {box-sizing:border-box;width:min(48rem,96vw);max-height:90dvh;overflow:auto;padding:1rem;background:white;color:#172554;border:1px solid #94a3b8;border-radius:.6rem;}
.grafcet-cycle-inspector::backdrop {background:#17255488;}
.grafcet-cycle-inspector h3 {display:inline-block;margin:0 1rem .5rem 0;}
.grafcet-cycle-diagram svg {display:block;width:100%;height:auto;max-height:55dvh;}
.grafcet-timeline th button {font:inherit;color:inherit;background:transparent;border:0;text-decoration:underline;cursor:pointer;padding:.25rem;}

.grafcet-breakpoint rect:first-of-type {stroke:#9f1239!important;stroke-width:4;stroke-dasharray:7 3;}
[data-breakpoint-step] {cursor:pointer;}
