.stop-conditions-card-preview{min-width:0;color:var(--term-tone-ink);font-variant-numeric:tabular-nums;gap:8px;display:grid}.stop-conditions-card-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.stop-conditions-card-title{color:var(--term-tone-ink);font-size:13.5px;font-weight:700;line-height:1.4}.stop-conditions-card-badge{background:var(--term-tone-soft);color:var(--term-tone-accent);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:12px;font-weight:650}.stop-conditions-card-row{background:var(--term-tone-stage);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;padding:8px 11px;display:flex;box-shadow:inset 0 1px #ffffff8c}html[data-lg-theme=dark] .stop-conditions-card-row{box-shadow:inset 0 1px #ffffff14}.stop-conditions-card-row.is-guard{background:var(--term-tone-soft)}.stop-conditions-card-phase{color:var(--term-tone-accent);white-space:nowrap;font-size:12px;font-weight:700}.stop-conditions-card-meta{color:var(--term-tone-muted);font-family:var(--font-mono);white-space:nowrap;font-size:12px;font-weight:600}.stop-conditions-card-tags{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.stop-conditions-card-tags em{background:var(--term-tone-stage);color:var(--term-tone-ink);white-space:nowrap;border-radius:6px;padding:2px 7px;font-size:12px;font-style:normal;font-weight:650}.term-interactive-demo.stop-conditions-demo{background:var(--term-tone-bg);-webkit-backdrop-filter:blur(14px)saturate(175%);min-width:0;box-shadow:var(--lg-rim), var(--lg-elevation-sm);color:var(--term-tone-ink);font-variant-numeric:tabular-nums;border:0;border-radius:22px;gap:16px;padding:clamp(16px,3vw,24px);display:grid}.stop-conditions-demo h3,.stop-conditions-demo p{margin:0}.stop-conditions-controls{flex-wrap:wrap;align-items:flex-start;gap:12px 18px;display:flex}.stop-conditions-control-group{align-content:start;gap:8px;width:100%;min-width:0;display:grid}.stop-conditions-control-label{color:var(--term-tone-muted);font-size:12.5px;font-weight:700;line-height:1.4}.stop-conditions-seg-bar{background:var(--term-tone-soft);border-radius:18px;flex-wrap:wrap;justify-self:start;align-items:center;gap:4px;max-width:100%;padding:4px;display:inline-flex}.term-interactive-demo.stop-conditions-demo button{background:var(--term-tone-stage);min-height:40px;box-shadow:var(--lg-rim), 0 2px 6px #0f172a0f;color:var(--term-tone-ink);opacity:1;cursor:pointer;transition:background-color .16s ease, color .16s ease, transform .15s var(--lg-spring), box-shadow .16s ease;border:0;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:650}.term-interactive-demo.stop-conditions-demo button:hover:not(:disabled){background:var(--term-tone-soft);color:var(--term-tone-ink)}.term-interactive-demo.stop-conditions-demo button:active:not(:disabled){transform:scale(.95)}.term-interactive-demo.stop-conditions-demo button:focus-visible{outline:2px solid var(--term-tone-accent);outline-offset:2px}.term-interactive-demo.stop-conditions-demo button:disabled{background:var(--term-tone-soft);color:var(--term-tone-muted);box-shadow:none;opacity:.55;cursor:not-allowed}.term-interactive-demo.stop-conditions-demo button.stop-conditions-seg-btn{min-height:36px;box-shadow:none;color:var(--term-tone-muted);white-space:nowrap;background:0 0;padding:6px 13px;font-size:13px;font-weight:700}.term-interactive-demo.stop-conditions-demo button.stop-conditions-seg-btn:hover:not(:disabled):not([aria-pressed=true]){background:var(--term-tone-stage);color:var(--term-tone-ink)}.term-interactive-demo.stop-conditions-demo button.stop-conditions-seg-btn[aria-pressed=true]{background:var(--term-tone-accent);color:var(--term-tone-accent-ink);box-shadow:inset 0 1px #ffffff47,0 3px 10px #0f172a29}.stop-conditions-workbench{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px;display:grid}.stop-conditions-pane{background:var(--term-tone-stage);border:0;border-radius:18px;flex-direction:column;gap:12px;min-width:0;padding:18px;display:flex;box-shadow:inset 0 1px 2px #0f172a0a,0 1px #ffffffa6}html[data-lg-theme=dark] .stop-conditions-pane{box-shadow:inset 0 1px #ffffff14,inset 0 1px 3px #00000059}.stop-conditions-pane-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.stop-conditions-pane-head h3{color:var(--term-tone-ink);letter-spacing:-.01em;font-size:14px;font-weight:750}.stop-conditions-metric-pill{background:var(--term-tone-soft);color:var(--term-tone-accent);font-family:var(--font-mono);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:650}.stop-conditions-pane-sub{color:var(--term-tone-muted);font-size:13px;line-height:1.5}.stop-conditions-pane-sub strong{color:var(--term-tone-ink)}.stop-conditions-fuse-list{gap:10px;display:grid}.stop-conditions-fuse{background:var(--term-tone-bg);border-radius:12px;gap:8px;padding:11px 12px;transition:background-color .18s;display:grid}.stop-conditions-fuse[data-state=fail]{background:var(--fail-wash)}.stop-conditions-fuse[data-state=ok]{background:var(--pass-wash)}.stop-conditions-fuse-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px;display:flex}.stop-conditions-fuse-head span{color:var(--term-tone-muted);font-size:12px;font-weight:700}.stop-conditions-fuse-head strong{color:var(--term-tone-ink);font-size:13.5px;font-weight:750}.stop-conditions-fuse-head small{color:var(--term-tone-muted);font-size:11.5px;font-weight:600}.stop-conditions-fuse[data-state=fail] .stop-conditions-fuse-head strong{color:var(--fail-ink)}.stop-conditions-fuse[data-state=ok] .stop-conditions-fuse-head strong{color:var(--pass-ink)}.stop-conditions-meter{background:var(--term-tone-soft);border-radius:999px;height:10px;position:relative;overflow:visible}.stop-conditions-fill{background:var(--term-tone-accent);border-radius:999px;height:100%;transition:width .24s,background-color .18s}.stop-conditions-fuse[data-state=fail] .stop-conditions-fill{background:var(--fail-ink)}.stop-conditions-fuse[data-state=ok] .stop-conditions-fill{background:var(--pass-ink)}.stop-conditions-redline{background:var(--fail-ink);border-radius:2px;width:2px;position:absolute;top:-3px;bottom:-3px}.stop-conditions-fuse-note{color:var(--term-tone-muted);font-size:12.5px;line-height:1.45}.stop-conditions-fuse[data-state=fail] .stop-conditions-fuse-note{color:var(--fail-ink)}.stop-conditions-fuse[data-state=ok] .stop-conditions-fuse-note{color:var(--pass-ink)}.stop-conditions-console{background:var(--term-tone-bg);border-radius:14px;gap:10px;padding:13px 14px;transition:background-color .2s;display:grid}.stop-conditions-console[data-result=ok]{background:var(--pass-wash)}.stop-conditions-console[data-result=fail]{background:var(--fail-wash)}.stop-conditions-event{color:var(--term-tone-ink);font-size:13px;line-height:1.55}.stop-conditions-code-box{background:var(--term-tone-stage);border-radius:10px;gap:5px;padding:10px 12px;display:grid}.stop-conditions-code-label{color:var(--term-tone-muted);font-size:11.5px;font-weight:700}.stop-conditions-code-box pre{color:var(--term-tone-ink);font-family:var(--font-mono);white-space:pre-wrap;word-break:break-word;margin:0;font-size:12px;line-height:1.5}.stop-conditions-console[data-result=fail] .stop-conditions-code-box pre{color:var(--fail-ink)}.stop-conditions-console[data-result=ok] .stop-conditions-code-box pre{color:var(--pass-ink)}.stop-conditions-recovery-bar{background:var(--warn-wash);color:var(--warn-ink);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:650;display:flex}.term-interactive-demo.stop-conditions-demo button.stop-conditions-btn-recover{background:var(--term-tone-accent);min-height:36px;color:var(--term-tone-accent-ink);padding:6px 14px;font-size:12.5px;font-weight:700;box-shadow:inset 0 1px #ffffff40,0 3px 10px #0f172a24}.term-interactive-demo.stop-conditions-demo button.stop-conditions-btn-recover:hover:not(:disabled){filter:brightness(1.06);background:var(--term-tone-accent);color:var(--term-tone-accent-ink)}.stop-conditions-verdict{background:var(--term-tone-soft);color:var(--term-tone-muted);border-radius:10px;align-items:center;gap:8px;margin-top:auto;padding:8px 12px;font-size:12.5px;font-weight:650;display:inline-flex}.stop-conditions-verdict-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:7px;height:7px}.stop-conditions-verdict[data-tone=active]{background:var(--term-tone-soft);color:var(--term-tone-accent)}.stop-conditions-verdict[data-tone=warn]{background:var(--warn-wash);color:var(--warn-ink)}.stop-conditions-verdict[data-tone=ok]{background:var(--pass-wash);color:var(--pass-ink)}.stop-conditions-verdict[data-tone=fail]{background:var(--fail-wash);color:var(--fail-ink)}.stop-conditions-actions{flex-wrap:wrap;gap:8px;display:flex}.term-interactive-demo.stop-conditions-demo button.stop-conditions-btn-primary{background:var(--term-tone-accent);color:var(--term-tone-accent-ink);box-shadow:inset 0 1px #ffffff47,0 3px 10px #0f172a29}.term-interactive-demo.stop-conditions-demo button.stop-conditions-btn-primary:hover:not(:disabled){filter:brightness(1.06);background:var(--term-tone-accent);color:var(--term-tone-accent-ink)}.stop-conditions-status{background:var(--term-tone-stage);color:var(--term-tone-muted);border-radius:12px;padding:11px 14px;font-size:13px;line-height:1.55}.stop-conditions-examples .term-mini-code{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:780px){.stop-conditions-workbench{grid-template-columns:minmax(0,1fr)}.stop-conditions-seg-bar{border-radius:16px;flex-wrap:wrap;width:100%;display:flex}.term-interactive-demo.stop-conditions-demo button.stop-conditions-seg-btn,.stop-conditions-actions button{white-space:normal;flex:auto}}@media (prefers-reduced-motion:reduce){.term-interactive-demo.stop-conditions-demo *{transition:none!important;animation:none!important}}
