.pc{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.pc-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.pc-btn{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600;line-height:1;transition:background .15s,border-color .15s,transform .1s}.pc-btn:hover:not(:disabled){background:var(--surface2);border-color:var(--border)}.pc-btn:active:not(:disabled){transform:translateY(1px)}.pc-btn:disabled{opacity:.45;cursor:not-allowed}.pc-btn-play{background:linear-gradient(180deg, var(--primary-d), var(--primary-d));border-color:var(--primary);color:var(--surface3)}.pc-btn-play:hover:not(:disabled){background:linear-gradient(180deg, var(--primary-d), var(--primary-d));border-color:var(--primary-l)}.pc-speed-outer{align-items:center;display:flex}.pc-speed-wrap{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:8px;padding:6px 10px;display:inline-flex}.pc-speed-label{color:var(--text-muted);font-size:12px;font-weight:600}.pc-speed-input{accent-color:var(--primary)}.pc-speed-indicator{color:var(--text-muted);text-align:right;min-width:60px;font-size:12px}.pc-autoscroll-group{align-items:center;display:flex}.pc-autoscroll-label{border:1px solid var(--border);background:var(--surface);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;align-items:center;gap:6px;padding:6px 10px;transition:border-color .15s,background .15s;display:inline-flex}.pc-autoscroll-label:hover{border-color:var(--border);background:var(--surface)}.pc-autoscroll-input{appearance:none;border:1px solid var(--text-dim);background:var(--surface);cursor:pointer;width:16px;height:16px;accent-color:var(--primary);border-radius:4px;transition:border-color .15s,background .15s}.pc-autoscroll-input:checked{background:var(--primary);border-color:var(--primary)}.pc-autoscroll-input:hover{border-color:var(--text-muted)}.pc-autoscroll-text{color:var(--text-muted);font-size:12px;font-weight:600}.pc-pattern-group{align-items:center;display:flex}.pc-pattern-label{border:1px solid var(--border);background:var(--surface2);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;align-items:center;gap:6px;padding:6px 10px;transition:border-color .15s,background .15s;display:inline-flex}.pc-pattern-label:hover{border-color:var(--primary);background:var(--overlay-weak)}.pc-pattern-input{appearance:none;border:1px solid var(--text-dim);background:var(--surface);cursor:pointer;width:16px;height:16px;accent-color:var(--primary);border-radius:4px;transition:border-color .15s,background .15s}.pc-pattern-input:checked{background:var(--primary);border-color:var(--primary)}.pc-pattern-input:hover{border-color:var(--text-muted)}.pc-pattern-text{color:var(--text);font-size:12px;font-weight:600}.playground-visualization-canvas{width:100%;min-height:100%;color:var(--text);grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));align-content:start;gap:12px;padding:12px;display:grid}.playground-visualization-canvas.is-empty{place-items:center;display:grid}.playground-canvas-empty{max-width:380px;color:var(--text-muted);text-align:center;place-items:center;gap:7px;padding:34px;display:grid}.playground-canvas-empty strong{color:var(--text);font-size:.98rem}.playground-canvas-empty p{font-size:.82rem}.playground-canvas-empty-icon{width:72px;height:47px;margin-bottom:8px;display:block;position:relative}.playground-canvas-empty-icon i{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface2);width:31px;height:31px;position:absolute}.playground-canvas-empty-icon i:first-child{top:14px;left:0}.playground-canvas-empty-icon i:nth-child(2){border-color:var(--primary);top:0;left:21px}.playground-canvas-empty-icon i:nth-child(3){top:14px;right:0}.playground-visual-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface2);min-width:0;box-shadow:0 8px 24px var(--overlay-weak);overflow:hidden}.playground-visual-card.is-grid,.playground-visual-card.is-node-link,.playground-visual-card.is-sequence{grid-column:1/-1}.playground-visual-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding:8px 11px;display:flex}.playground-visual-title{align-items:center;gap:8px;min-width:0;display:flex}.playground-visual-title h3{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:700;overflow:hidden}.playground-visual-status{background:var(--primary);width:8px;height:8px;box-shadow:0 0 0 4px var(--primary-glow);border-radius:50%;flex:none}.playground-visual-badges{flex:none;gap:5px;display:flex}.playground-visual-badges span{border:1px solid var(--border);background:var(--surface3);color:var(--text-muted);text-transform:uppercase;border-radius:999px;padding:2px 7px;font:600 .62rem/1.45 Fira Code,Cascadia Code,Consolas,monospace}.playground-visual-body{min-width:0;min-height:132px;padding:12px}.playground-renderer-empty{border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:126px;color:var(--text-muted);text-align:center;align-content:center;place-items:center;gap:5px;display:grid}.playground-renderer-empty>span:not([class]){color:var(--text);font-size:.82rem;font-weight:700}.playground-renderer-empty small{font-size:.7rem}.playground-empty-symbol,.playground-empty-braces{color:var(--primary);font:700 1.45rem/1 Fira Code,Cascadia Code,Consolas,monospace}.playground-empty-grid-icon{grid-template-columns:repeat(2,16px);gap:3px;display:grid}.playground-empty-grid-icon i{border:1px solid var(--primary);background:var(--primary-glow);border-radius:3px;width:16px;height:16px}.playground-empty-node-link{border-top:1px solid var(--border);width:55px;height:34px;display:block;position:relative;transform:translateY(7px)rotate(-10deg)}.playground-empty-node-link i{border:2px solid var(--primary);background:var(--surface);border-radius:50%;width:14px;height:14px;position:absolute}.playground-empty-node-link i:first-child{top:-8px;left:-3px}.playground-empty-node-link i:nth-child(2){top:8px;left:21px}.playground-empty-node-link i:nth-child(3){top:-8px;right:-3px}.playground-sequence{width:100%;padding:5px 2px 2px;overflow:auto}.playground-sequence-track{align-items:flex-start;gap:7px;width:max-content;min-width:100%;display:flex}.playground-sequence-item-shell{grid-template-rows:minmax(23px,auto) 52px auto;gap:4px;min-width:67px;display:grid}.playground-pointer-slot{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:3px;min-height:23px;display:flex}.playground-pointer{border:1px solid var(--playground-pointer-color,var(--primary));background:color-mix(in srgb, var(--playground-pointer-color,var(--primary)) 14%, var(--surface));max-width:68px;color:var(--playground-pointer-color,var(--primary-d));text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;padding:2px 5px;font:700 .58rem/1.25 Fira Code,Cascadia Code,Consolas,monospace;display:inline-flex;position:relative;overflow:hidden}.playground-pointer:after{border-top:4px solid var(--playground-pointer-color,var(--primary));content:"";border-left:3px solid #0000;border-right:3px solid #0000;width:0;height:0;position:absolute;top:100%;left:calc(50% - 3px)}.playground-sequence-cell{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:67px;height:52px;color:var(--text);place-items:center;padding:6px;font:700 .82rem/1.2 Fira Code,Cascadia Code,Consolas,monospace;display:grid;overflow:hidden}.playground-sequence-cell span{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.playground-sequence-index{min-height:18px;color:var(--text-dim);justify-content:center;align-items:center;gap:4px;font:500 .59rem/1.2 Fira Code,Cascadia Code,Consolas,monospace;display:flex}.playground-sequence-index b{color:var(--primary);text-transform:uppercase;font-size:.55rem}.playground-sequence-string .playground-sequence-cell{border-radius:4px;min-width:49px;font-size:1rem}.playground-sequence-stack .playground-sequence-track{flex-direction:column;align-items:center;gap:3px;width:100%}.playground-sequence-stack .playground-sequence-item-shell{grid-template-rows:48px;grid-template-columns:minmax(70px,1fr) minmax(110px,180px) minmax(55px,1fr);align-items:center;width:min(100%,330px)}.playground-sequence-stack .playground-pointer-slot{justify-content:flex-end}.playground-sequence-stack .playground-sequence-cell{height:48px}.playground-sequence-stack .playground-sequence-index{justify-content:flex-start}.playground-chart-viewport{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:100%;max-width:100%;overflow:auto hidden}.playground-chart-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.playground-sequence-fallback{gap:8px;display:grid}.playground-sequence-fallback>small{color:var(--warning);text-align:center;font-size:.7rem}.playground-bars{--playground-zero:100%;grid-template-columns:66px minmax(0,1fr);min-height:285px;padding:12px 16px 8px 8px;display:grid;position:relative}.playground-chart-axis-y{height:222px;color:var(--text-dim);text-align:right;margin-top:30px;font:600 .6rem/1 Fira Code,Cascadia Code,Consolas,monospace;position:relative}.playground-chart-axis-y:after{background:var(--border);content:"";width:1px;position:absolute;top:0;bottom:0;right:-9px}.playground-chart-axis-y span{position:absolute;right:2px;transform:translateY(-50%)}.playground-chart-axis-y span:first-child{top:0}.playground-chart-axis-y span:last-child{top:100%}.playground-bars-track{align-items:stretch;gap:8px;min-width:100%;display:flex}.playground-bar-column{flex:1 0 48px;grid-template-rows:30px 222px 19px;gap:3px;min-width:48px;display:grid}.playground-bar-column .playground-pointer-slot{min-height:30px;overflow:visible}.playground-bar-plot{border-bottom:1px solid var(--border);background-image:linear-gradient(to bottom, var(--overlay-weak) 1px, transparent 1px);background-size:100% 25%;min-width:32px;position:relative}.playground-bar-plot:after{z-index:1;top:var(--playground-zero);background:var(--text-dim);content:"";height:1px;position:absolute;left:-4px;right:-4px}.playground-bar-fill{z-index:2;top:var(--playground-bar-top);width:72%;height:max(2px, var(--playground-bar-height));border:1px solid var(--primary);background:color-mix(in srgb, var(--primary) 70%, var(--surface));min-height:2px;box-shadow:0 4px 12px var(--primary-glow);border-radius:5px 5px 2px 2px;transition:top .18s,height .18s,background .14s;position:absolute;left:14%}.playground-bar-fill.is-negative-value{border-radius:2px 2px 5px 5px}.playground-bar-fill.is-clipped{border-top-style:dashed;border-bottom-style:dashed}.playground-bar-value{background:color-mix(in srgb, var(--surface) 88%, transparent);max-width:58px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;border-radius:3px;padding:1px 3px;font:650 .58rem/1.25 Fira Code,Cascadia Code,Consolas,monospace;position:absolute;top:0;left:50%;overflow:hidden;transform:translate(-50%,calc(-100% - 3px))}.playground-bar-fill.is-negative-value .playground-bar-value{top:auto;bottom:0;transform:translate(-50%,calc(100% + 3px))}.playground-chart-index{color:var(--text-dim);place-items:center;font:600 .6rem/1 Fira Code,Cascadia Code,Consolas,monospace;display:grid}.playground-line-chart{background:var(--surface);width:100%;height:270px;display:block}.playground-line-grid line{stroke:var(--border);stroke-width:1px;vector-effect:non-scaling-stroke}.playground-line-grid .playground-line-zero{stroke:var(--text-dim);stroke-width:1.25px}.playground-line-axis-labels text,.playground-line-index,.playground-line-value,.playground-line-pointer text{font-family:Fira Code,Cascadia Code,Consolas,monospace}.playground-line-axis-labels text{fill:var(--text-dim);text-anchor:end;font-size:9px}.playground-line-segment{stroke:var(--primary);stroke-width:2.25px;stroke-linecap:round;vector-effect:non-scaling-stroke}.playground-line-point{fill:var(--surface);stroke:var(--primary);stroke-width:2.5px;vector-effect:non-scaling-stroke;transition:r .14s,fill .14s,stroke .14s}.playground-line-point:focus-visible{fill:var(--primary-glow);stroke-width:4px;outline:none}.playground-line-value{fill:var(--text);text-anchor:middle;font-size:9px;font-weight:700}.playground-line-index{fill:var(--text-dim);text-anchor:middle;font-size:9px;font-weight:600}.playground-line-pointer line{stroke:var(--primary);stroke-dasharray:2 2;stroke-width:1px;vector-effect:non-scaling-stroke}.playground-line-pointer rect{fill:var(--primary-glow);stroke:var(--primary);stroke-width:1px;vector-effect:non-scaling-stroke}.playground-line-pointer text{fill:var(--text);text-anchor:middle;font-size:8px;font-weight:750}.playground-pointer.is-visited,.playground-pointer.is-success{border-color:var(--success);background:var(--success-glow);color:var(--success)}.playground-line-pointer.is-visited rect,.playground-line-pointer.is-success rect{fill:var(--success-glow);stroke:var(--success)}.playground-line-pointer.is-visited line,.playground-line-pointer.is-success line{stroke:var(--success)}.playground-pointer.is-related,.playground-pointer.is-compared{border-color:var(--warning);background:var(--warning-glow);color:var(--warning)}.playground-line-pointer.is-related rect,.playground-line-pointer.is-compared rect{fill:var(--warning-glow);stroke:var(--warning)}.playground-line-pointer.is-related line,.playground-line-pointer.is-compared line{stroke:var(--warning)}.playground-pointer.is-error{border-color:var(--error);background:var(--error-glow);color:var(--error)}.playground-line-pointer.is-error rect{fill:var(--error-glow);stroke:var(--error)}.playground-line-pointer.is-error line{stroke:var(--error)}.playground-bar-fill.is-active,.playground-bar-fill.is-current{border-color:var(--primary-l);background:var(--primary);box-shadow:0 0 0 2px var(--primary-glow), 0 5px 14px var(--primary-glow)}.playground-bar-fill.is-visited,.playground-bar-fill.is-success,.playground-bar-fill.is-sorted{border-color:var(--success);background:color-mix(in srgb, var(--success) 72%, var(--surface));box-shadow:0 4px 12px var(--success-glow)}.playground-bar-fill.is-related,.playground-bar-fill.is-compared{border-color:var(--warning);background:color-mix(in srgb, var(--warning) 72%, var(--surface));box-shadow:0 4px 12px var(--warning-glow)}.playground-bar-fill.is-error,.playground-bar-fill.is-removed{border-color:var(--error);background:color-mix(in srgb, var(--error) 72%, var(--surface));box-shadow:0 4px 12px var(--error-glow)}.playground-bar-fill.is-disabled{opacity:.42}.playground-line-point.is-active,.playground-line-point.is-current{r:7px;fill:var(--primary-glow);stroke:var(--primary);stroke-width:4px}.playground-line-segment.is-active,.playground-line-segment.is-current{stroke:var(--primary-l);stroke-width:4px}.playground-line-point.is-visited,.playground-line-point.is-success,.playground-line-point.is-sorted{fill:var(--success-glow);stroke:var(--success)}.playground-line-segment.is-visited,.playground-line-segment.is-success,.playground-line-segment.is-sorted{stroke:var(--success);stroke-width:3px}.playground-line-point.is-related,.playground-line-point.is-compared{fill:var(--warning-glow);stroke:var(--warning)}.playground-line-segment.is-related,.playground-line-segment.is-compared{stroke:var(--warning);stroke-width:3px}.playground-line-point.is-error,.playground-line-point.is-removed{fill:var(--error-glow);stroke:var(--error)}.playground-line-segment.is-error,.playground-line-segment.is-removed{stroke:var(--error);stroke-dasharray:6 4}.playground-line-point.is-disabled,.playground-line-segment.is-disabled{opacity:.42}.playground-grid-viewport{max-width:100%;overflow:auto}.playground-grid{gap:3px;width:max-content;min-width:100%;display:grid}.playground-grid-row{display:contents}.playground-grid-corner,.playground-grid-axis-label{min-height:25px;color:var(--text-dim);place-items:center;font:600 .62rem/1 Fira Code,Cascadia Code,Consolas,monospace;display:grid}.playground-grid-cell{border:1px solid var(--border);background:var(--surface);min-width:46px;min-height:43px;color:var(--text);border-radius:5px;place-items:center;padding:5px;font:650 .72rem/1.15 Fira Code,Cascadia Code,Consolas,monospace;display:grid;overflow:hidden}.playground-render-note{color:var(--warning);padding-top:8px;font-size:.7rem;display:block}.playground-node-link-viewport{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:100%;overflow:auto}.playground-node-link{background-image:radial-gradient(var(--border) .7px, transparent .7px);background-size:18px 18px;width:100%;max-height:480px;display:block}.playground-edge-path{fill:none;stroke:var(--text-dim);stroke-width:2px;vector-effect:non-scaling-stroke}.playground-arrowhead{fill:var(--text-dim)}.playground-edge-label rect{fill:var(--surface2);stroke:var(--border);stroke-width:1px}.playground-edge-label text{fill:var(--text-muted);font:650 10px/1 Fira Code,Cascadia Code,Consolas,monospace}.playground-node circle{fill:var(--surface2);stroke:var(--primary);stroke-width:2px;vector-effect:non-scaling-stroke}.playground-node text{pointer-events:none}.playground-node-label{fill:var(--text);font:700 12px/1 Fira Code,Cascadia Code,Consolas,monospace}.playground-node-value{fill:var(--text-muted);font:600 9px/1 Fira Code,Cascadia Code,Consolas,monospace}.playground-associative{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;display:grid}.playground-associative-entry{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:7px;min-width:0;min-height:42px;padding:7px 9px;font:650 .7rem/1.2 Fira Code,Cascadia Code,Consolas,monospace;display:flex}.playground-associative-key,.playground-associative-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.playground-associative-key{color:var(--primary)}.playground-associative-value{color:var(--text)}.playground-associative-arrow{color:var(--text-dim)}.playground-associative-set .playground-associative-entry{justify-content:center}.playground-scalar{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);align-content:center;place-items:center;gap:8px;min-height:126px;display:grid}.playground-scalar-value{border:1px solid var(--primary);border-radius:var(--radius-sm);background:var(--primary-glow);max-width:100%;color:var(--text);text-overflow:ellipsis;white-space:nowrap;padding:9px 14px;font:750 1rem/1.25 Fira Code,Cascadia Code,Consolas,monospace;overflow:hidden}.playground-scalar small{color:var(--text-muted);text-transform:uppercase;font:600 .65rem/1 Fira Code,Cascadia Code,Consolas,monospace}.playground-scalar.is-uninitialized .playground-scalar-value{border-style:dashed;border-color:var(--border);background:var(--surface2);color:var(--text-dim)}.playground-sequence-cell.is-active,.playground-sequence-cell.is-current,.playground-grid-cell.is-active,.playground-grid-cell.is-current,.playground-associative-entry.is-active,.playground-associative-entry.is-current,.playground-scalar.is-active,.playground-scalar.is-current{border-color:var(--primary);background:var(--primary-glow);box-shadow:0 0 0 2px var(--primary-glow)}.playground-grid-cell.is-related,.playground-sequence-cell.is-compared,.playground-associative-entry.is-related{border-color:var(--warning);background:var(--warning-glow)}.playground-sequence-cell.is-visited,.playground-sequence-cell.is-success,.playground-sequence-cell.is-sorted,.playground-grid-cell.is-visited,.playground-grid-cell.is-success,.playground-grid-cell.is-sorted,.playground-associative-entry.is-visited,.playground-associative-entry.is-success{border-color:var(--success);background:var(--success-glow)}.playground-sequence-cell.is-error,.playground-sequence-cell.is-removed,.playground-grid-cell.is-error,.playground-grid-cell.is-removed,.playground-associative-entry.is-error,.playground-associative-entry.is-removed{border-color:var(--error);background:var(--error-glow)}.playground-sequence-cell.is-disabled,.playground-grid-cell.is-disabled,.playground-associative-entry.is-disabled,.playground-node.is-disabled,.playground-edge.is-disabled{opacity:.42}.playground-node.is-active circle,.playground-node.is-current circle{fill:var(--primary-glow);stroke:var(--primary);stroke-width:4px}.playground-node.is-visited circle,.playground-node.is-success circle,.playground-node.is-sorted circle{fill:var(--success-glow);stroke:var(--success)}.playground-node.is-related circle,.playground-node.is-compared circle{fill:var(--warning-glow);stroke:var(--warning)}.playground-node.is-error circle,.playground-node.is-removed circle{fill:var(--error-glow);stroke:var(--error)}.playground-edge.is-active .playground-edge-path,.playground-edge.is-current .playground-edge-path{stroke:var(--primary);stroke-width:3px}.playground-edge.is-visited .playground-edge-path,.playground-edge.is-success .playground-edge-path{stroke:var(--success);stroke-width:3px}.playground-edge.is-related .playground-edge-path,.playground-edge.is-compared .playground-edge-path{stroke:var(--warning);stroke-width:3px}.playground-edge.is-error .playground-edge-path,.playground-edge.is-removed .playground-edge-path{stroke:var(--error);stroke-dasharray:6 4}@media (width<=620px){.playground-visualization-canvas{padding:8px}.playground-visual-header{align-items:flex-start}.playground-visual-badges span:first-child:not(:last-child){display:none}.playground-visual-body{padding:9px}}@media (prefers-reduced-motion:reduce){.playground-bar-fill,.playground-line-point{transition:none}}.runtime-playground{--playground-gap:12px;width:100%;min-width:0;min-height:100vh;color:var(--text);background:radial-gradient(circle at 80% 0%, var(--primary-glow), transparent 28rem), var(--bg);flex-direction:column;flex:1 1 0;margin:0 auto;display:flex;overflow:hidden}.runtime-playground--normal{max-width:1120px}.runtime-playground--wide{max-width:1480px}.runtime-playground--full{max-width:none}.runtime-playground__header{z-index:100;border-bottom:1px solid var(--border);background:color-mix(in srgb, var(--surface) 94%, transparent);flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:62px;padding:9px clamp(12px,2vw,24px);display:flex;position:relative}.runtime-playground__header-main,.runtime-playground__header-actions,.runtime-playground__editor-actions,.runtime-playground__utilities{align-items:center;gap:8px;display:flex}.runtime-playground__header-main{min-width:0}.runtime-playground__back,.runtime-playground__button,.runtime-playground__layout button,.runtime-playground__mode-switch button{border:1px solid var(--border);background:var(--ui-control-bg,var(--surface3));color:var(--text);font:inherit;white-space:nowrap;border-radius:9px;font-size:.78rem;font-weight:650;line-height:1;transition:border-color .14s,background .14s,transform .1s}.runtime-playground__back{align-items:center;gap:7px;min-height:34px;padding:0 11px;display:inline-flex}.runtime-playground__back:hover,.runtime-playground__button:hover,.runtime-playground__layout button:hover,.runtime-playground__mode-switch button:hover{border-color:var(--primary);background:var(--ui-control-hover-bg,var(--primary-glow))}.runtime-playground__back:active,.runtime-playground__button:active,.runtime-playground__layout button:active,.runtime-playground__mode-switch button:active{transform:translateY(1px)}.runtime-playground__back:focus-visible,.runtime-playground__button:focus-visible,.runtime-playground__layout button:focus-visible,.runtime-playground__mode-switch button:focus-visible,.runtime-playground__scrubber input:focus-visible,.runtime-playground__playback .pc-btn:focus-visible,.runtime-playground__playback .pc-speed-input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.runtime-playground__title-group{min-width:0}.runtime-playground__eyebrow{color:var(--primary);letter-spacing:.1em;text-transform:uppercase;font-size:.64rem;font-weight:800;line-height:1.1;display:block}.runtime-playground__title-group h1{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:clamp(.96rem,2vw,1.2rem);line-height:1.2;overflow:hidden}.runtime-playground__layout{border:1px solid var(--border);background:var(--surface2);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.runtime-playground__layout button{min-height:27px;color:var(--text-muted);text-transform:capitalize;background:0 0;border-color:#0000;padding:0 8px}.runtime-playground__layout button.is-active{border-color:var(--primary);background:var(--primary);color:#fff}.runtime-playground__mode-switch{border:1px solid var(--border);background:var(--surface);border-radius:9px;gap:2px;padding:3px;display:inline-flex}.runtime-playground__mode-switch button{min-height:25px;color:var(--text-muted);background:0 0;border-color:#0000;padding:0 7px;font-size:.67rem}.runtime-playground__mode-switch button.is-active{border-color:color-mix(in srgb, var(--primary) 55%, var(--border));background:var(--primary-glow);color:var(--primary)}.runtime-playground__utilities{flex:none}.runtime-playground__webmcp-status{border:1px solid var(--border);background:var(--surface2);min-height:34px;color:var(--text-muted);white-space:nowrap;border-radius:10px;grid-template-columns:auto auto;align-items:center;column-gap:6px;padding:4px 9px;display:grid}.runtime-playground__webmcp-status>span{background:var(--text-dim);border-radius:50%;grid-row:1/span 2;width:8px;height:8px}.runtime-playground__webmcp-status strong{color:var(--text);font-size:.68rem;line-height:1}.runtime-playground__webmcp-status small{font-size:.58rem;line-height:1.1}.runtime-playground__webmcp-status.is-ready{border-color:color-mix(in srgb, var(--success) 42%, var(--border));background:color-mix(in srgb, var(--success) 8%, var(--surface))}.runtime-playground__webmcp-status.is-ready>span{background:var(--success);box-shadow:0 0 0 3px var(--success-glow)}.runtime-playground__webmcp-status.is-registering>span,.runtime-playground__webmcp-status.is-checking>span{background:var(--primary);box-shadow:0 0 0 3px var(--primary-glow);animation:1s ease-in-out infinite alternate runtime-playground-pulse}.runtime-playground__webmcp-status.is-error>span{background:var(--error);box-shadow:0 0 0 3px var(--error-glow)}.runtime-playground__workspace{gap:var(--playground-gap);min-height:0;padding:var(--playground-gap);flex:1 1 0;grid-template-rows:minmax(390px,.95fr) minmax(320px,.75fr);grid-template-columns:minmax(360px,.95fr) minmax(420px,1.25fr);display:grid;overflow:auto}.runtime-playground__panel{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:0;box-shadow:0 10px 28px color-mix(in srgb, var(--text) 7%, transparent);border-radius:14px;overflow:hidden}.runtime-playground__editor-panel,.runtime-playground__preview-panel,.runtime-playground__configuration-panel{flex-direction:column;display:flex}.runtime-playground__editor-panel{grid-row:1/span 2}.runtime-playground__preview-panel,.runtime-playground__configuration-panel,.runtime-playground__timeline-panel{min-height:0}.runtime-playground__configuration-panel{min-height:620px}.runtime-playground__panel-header{border-bottom:1px solid var(--border);background:var(--surface2);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 13px;display:flex}.runtime-playground__panel-header h2{margin:0;font-size:.89rem;line-height:1.25}.runtime-playground__panel-header p{color:var(--text-muted);margin:2px 0 0;font-size:.7rem;line-height:1.25}.runtime-playground__panel-header code{color:var(--primary);font-weight:700}.runtime-playground__button{min-height:31px;padding:0 10px}.runtime-playground__button--primary{border-color:var(--primary);background:var(--primary);color:#fff}.runtime-playground__button--danger{border-color:var(--error);background:color-mix(in srgb, var(--error) 13%, var(--surface));color:var(--error)}.runtime-playground__button:disabled{cursor:not-allowed;opacity:.48;transform:none}.runtime-playground__editor-body,.runtime-code-editor{background:var(--code-bg);flex:1 1 0;min-height:0;overflow:hidden}.runtime-playground__editor-body{display:flex}.runtime-code-editor{width:100%;height:100%}.runtime-code-editor__loading{height:100%;color:var(--code-dim);place-items:center;padding:18px;font-family:monospace;font-size:.8rem;display:grid}.runtime-code-editor__active-line{background:color-mix(in srgb, var(--primary) 13%, transparent);box-shadow:inset 3px 0 0 var(--primary)}.runtime-code-editor__active-line-gutter{border-left:3px solid var(--primary)}.runtime-playground__ai-provider{border-bottom:1px solid var(--border);background:var(--surface);flex:none;max-height:min(360px,42vh);padding:9px 10px;overflow:auto}.runtime-playground__ai-provider-heading{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding:0;display:flex}.runtime-playground__ai-provider-heading:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:4px}.runtime-playground__ai-provider-heading>span{flex-direction:column;gap:2px;min-width:0;display:flex}.runtime-playground__ai-provider-heading strong{color:var(--text);font-size:.72rem}.runtime-playground__ai-provider-heading small,.runtime-playground__ai-provider>p{color:var(--text-muted);font-size:.61rem;line-height:1.4}.runtime-playground__ai-provider-heading>code{border:1px solid color-mix(in srgb, var(--primary) 38%, var(--border));background:var(--primary-glow);color:var(--primary);border-radius:999px;flex:none;padding:3px 7px;font-size:.62rem}.runtime-playground__ai-provider-toggle{border:1px solid var(--border);min-height:26px;color:var(--text);background:var(--surface2);border-radius:999px;flex-direction:row;flex:none;align-items:center;gap:5px;padding:3px 7px;font-size:.61rem;font-weight:800;display:inline-flex}.runtime-playground__ai-provider-chevron{color:var(--text-muted);flex:none;font-size:1rem;line-height:1;transition:transform .18s}.runtime-playground__ai-provider-heading[aria-expanded=false]{margin-bottom:0}.runtime-playground__ai-provider-heading[aria-expanded=false] .runtime-playground__ai-provider-chevron{transform:rotate(-90deg)}.runtime-playground__ai-provider-content{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .18s,opacity .14s;display:grid;overflow:hidden}.runtime-playground__ai-provider-content.is-expanded{opacity:1;grid-template-rows:1fr}.runtime-playground__ai-provider-content-inner{min-height:0}.runtime-playground__ai-provider-fields{grid-template-columns:repeat(2,minmax(120px,1fr));gap:7px;display:grid}.runtime-playground__ai-provider-fields label{min-width:0;color:var(--text-muted);align-items:center;gap:7px;font-size:.64rem;font-weight:700;display:flex}.runtime-playground__ai-provider-fields select,.runtime-playground__ai-provider-fields input{border:1px solid var(--border);background:var(--code-bg);width:100%;min-width:0;min-height:29px;color:var(--code-text);border-radius:7px;padding:4px 7px;font:.66rem/1.2 monospace}.runtime-playground__ai-provider-fields select:focus-visible,.runtime-playground__ai-provider-fields input:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.runtime-playground__ai-provider>p{margin:7px 0 0}.runtime-playground__ai-provider>p code{color:var(--primary)}.runtime-playground__ollama-guide{border:1px solid color-mix(in srgb, var(--primary) 24%, var(--border));background:color-mix(in srgb, var(--primary-glow) 60%, transparent);color:var(--text-muted);border-radius:9px;margin-top:8px;font-size:.62rem;line-height:1.45}.runtime-playground__ollama-guide summary{color:var(--text);cursor:pointer;align-items:center;gap:6px;padding:7px 9px;font-weight:800;list-style:none;display:flex}.runtime-playground__ollama-guide summary::-webkit-details-marker{display:none}.runtime-playground__ollama-guide summary span{color:var(--primary);font-size:.75rem}.runtime-playground__ollama-guide>div{padding:0 9px 9px}.runtime-playground__ollama-guide p{margin:0 0 7px}.runtime-playground__ollama-guide ol{gap:6px;margin:0;padding-left:18px;display:grid}.runtime-playground__ollama-guide li{padding-left:2px}.runtime-playground__ollama-guide code{border:1px solid var(--border);background:var(--code-bg);color:var(--code-text);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;margin-top:3px;padding:5px 6px;font:.61rem/1.35 monospace;display:block}.runtime-playground__ollama-ready{color:var(--success)}.runtime-playground__ollama-unavailable{color:var(--error)}.runtime-playground__configuration-panel .runtime-playground__trace-config{border-top:0;flex:auto;max-height:none}.runtime-playground__configuration-empty{min-height:0;color:var(--text-muted);text-align:center;flex:auto;place-items:center;padding:18px;font-size:.72rem;display:grid}.runtime-playground__trace-config{border-top:1px solid var(--border);background:var(--surface2);flex-direction:column;flex:none;max-height:280px;display:flex;overflow:hidden}.runtime-playground__trace-tabs{flex:none;gap:5px;padding:6px 9px 0;display:flex}.runtime-playground__trace-tabs button{min-height:27px;color:var(--text-muted);font:inherit;background:0 0;border:1px solid #0000;border-radius:8px 8px 0 0;padding:0 9px;font-size:.7rem;font-weight:750}.runtime-playground__trace-tabs button:hover,.runtime-playground__trace-tabs button.is-active{border-color:var(--border);background:var(--surface);color:var(--primary)}.runtime-playground__trace-tabs button:focus-visible,.runtime-playground__trace-pane>input:focus-visible,.runtime-playground__trace-pane textarea:focus-visible,.runtime-playground__binding input:focus-visible,.runtime-playground__binding select:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.runtime-playground__trace-tabs span{color:var(--text-dim);margin-left:4px;font-family:monospace;font-size:.62rem}.runtime-playground__trace-pane{min-height:0;padding:8px 10px 10px;overflow:auto}.runtime-playground__trace-pane>label{color:var(--text);justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;font-size:.72rem;font-weight:750;display:flex}.runtime-playground__trace-fields{grid-template-columns:minmax(150px,.72fr) minmax(0,1.6fr);align-items:center;gap:8px 12px;display:grid}.runtime-playground__trace-fields>label{flex-direction:column;align-items:flex-start;gap:2px;margin:0}.runtime-playground__trace-pane label small,.runtime-playground__binding small{color:var(--text-muted);font-size:.62rem;font-weight:550}.runtime-playground__trace-pane>input,.runtime-playground__trace-pane textarea{border:1px solid var(--border);background:var(--code-bg);width:100%;color:var(--code-text);border-radius:8px;padding:8px 9px;font:.7rem/1.45 monospace}.runtime-playground__trace-pane>input{min-height:34px}.runtime-playground__trace-pane textarea{resize:vertical;min-height:78px}.runtime-playground__trace-pane>input:disabled,.runtime-playground__trace-pane textarea:disabled{cursor:wait;opacity:.58}.runtime-playground__trace-error,.runtime-playground__trace-empty{color:var(--error);margin:6px 0 0;font-size:.68rem}.runtime-playground__trace-fields>.runtime-playground__trace-error{grid-column:2;margin-top:-3px}.runtime-playground__input-ai{border:1px solid color-mix(in srgb, var(--primary) 32%, var(--border));background:color-mix(in srgb, var(--primary) 6%, var(--surface));border-radius:8px;gap:6px;padding:9px;display:grid}.runtime-playground__input-ai label{gap:2px;display:grid}.runtime-playground__input-ai label small{color:var(--text-muted)}.runtime-playground__input-ai textarea{resize:vertical;min-height:58px}.runtime-playground__input-ai-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.runtime-playground__trace-empty{color:var(--text-muted);text-align:center}.runtime-playground__bindings{flex-direction:column;gap:6px;display:flex}.runtime-playground__trace-ai{border:1px solid color-mix(in srgb, var(--primary) 30%, var(--border));background:color-mix(in srgb, var(--primary) 7%, var(--surface));border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:2px;padding:7px 8px;display:flex}.runtime-playground__trace-ai>span{flex-direction:column;gap:2px;min-width:0;display:flex}.runtime-playground__trace-ai strong{color:var(--text);font-size:.7rem}.runtime-playground__trace-ai small{color:var(--text-muted);font-size:.61rem}.runtime-playground__trace-ai button{border:1px solid color-mix(in srgb, var(--primary) 48%, var(--border));background:var(--primary);min-height:29px;color:var(--primary-contrast,white);font:inherit;border-radius:7px;flex:none;padding:0 10px;font-size:.66rem;font-weight:750}.runtime-playground__trace-ai button:disabled{cursor:not-allowed;opacity:.5}.runtime-playground__trace-ai-feedback{color:var(--text-muted);margin:0 2px 2px;font-size:.64rem}.runtime-playground__trace-ai-reason{color:var(--warning,var(--text-muted));margin:0 2px 2px;font-size:.64rem;line-height:1.35}.runtime-playground__trace-ai-feedback--success{color:var(--success)}.runtime-playground__trace-ai-feedback--error{color:var(--error)}.runtime-playground__binding{grid-template-columns:minmax(125px,.7fr) minmax(0,2fr);align-items:center;gap:7px;display:grid}.runtime-playground__binding-toggle{align-items:center;gap:7px;min-width:0;display:flex}.runtime-playground__binding-toggle>span{align-items:baseline;gap:6px;min-width:0;display:flex}.runtime-playground__binding code{color:var(--text);text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.runtime-playground__binding-controls{flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0;display:flex}.runtime-playground__binding select{border:1px solid var(--border);background:var(--surface);min-width:98px;max-width:170px;min-height:27px;color:var(--text);font:inherit;border-radius:7px;flex:98px;font-size:.66rem}.runtime-playground__binding select:disabled{opacity:.48}.runtime-playground__editor-foot{border-top:1px solid var(--border);background:var(--code-surface);min-height:29px;color:var(--code-dim);justify-content:space-between;align-items:center;gap:10px;padding:5px 10px;font-family:monospace;font-size:.65rem;display:flex}.runtime-playground__editor-foot kbd{border:1px solid var(--border);background:var(--code-line);color:var(--code-text);box-shadow:0 1px 0 var(--border);font:inherit;border-radius:4px;padding:1px 4px}.runtime-playground__status{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;font-size:.67rem;font-weight:750;display:inline-flex}.runtime-playground__status>span{background:var(--text-dim);border-radius:50%;width:7px;height:7px}.runtime-playground__status--ready>span{background:var(--success);box-shadow:0 0 0 3px var(--success-glow)}.runtime-playground__status--running>span,.runtime-playground__status--waiting>span{background:var(--primary);box-shadow:0 0 0 3px var(--primary-glow);animation:1s ease-in-out infinite alternate runtime-playground-pulse}.runtime-playground__status--error>span{background:var(--error);box-shadow:0 0 0 3px var(--error-glow)}.runtime-playground__status--warning>span{background:var(--warning);box-shadow:0 0 0 3px var(--warning-glow)}.runtime-playground__canvas{background:linear-gradient(var(--overlay-weak) 1px, transparent 1px), linear-gradient(90deg, var(--overlay-weak) 1px, transparent 1px), var(--surface);background-size:24px 24px;flex:1 1 0;min-height:0;padding:12px;overflow:auto}.runtime-playground__canvas>*{min-height:100%}.runtime-playground__timeline-panel{grid-template-columns:minmax(470px,1.45fr) minmax(240px,.75fr);height:100%;min-height:0;display:grid}.runtime-playground__playback{border-right:1px solid var(--border);min-width:0;padding:4px 10px 9px}.runtime-playground__playback .pc{padding:5px 0!important}.runtime-playground__playback .pc-btn{min-height:31px}.runtime-playground__scrubber{min-width:0;color:var(--text-muted);grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:10px;font-size:.71rem;font-weight:650;display:grid}.runtime-playground__scrubber input{width:100%;accent-color:var(--primary)}.runtime-playground__scrubber input:disabled{opacity:.42}.runtime-playground__scrubber output{min-width:48px;color:var(--text);text-align:right;font-family:monospace}.runtime-playground__diagnostics{background:var(--surface2);align-items:stretch;gap:7px;min-width:0;min-height:0;padding:11px;display:grid;overflow:auto}.runtime-playground__error,.runtime-playground__warning,.runtime-playground__timeline-message,.runtime-playground__webmcp-activity{border-radius:10px;flex-direction:column;justify-content:center;gap:5px;width:100%;min-width:0;padding:10px 12px;font-size:.74rem;line-height:1.4;display:flex}.runtime-playground__warning{border:1px solid color-mix(in srgb, #d99a20 55%, var(--border));background:color-mix(in srgb, #d99a20 10%, var(--surface));color:color-mix(in srgb, #d99a20 75%, var(--text))}.runtime-playground__warning span{color:var(--text-muted)}.runtime-playground__error{border:1px solid color-mix(in srgb, var(--error) 45%, var(--border));background:color-mix(in srgb, var(--error) 9%, var(--surface));color:var(--error)}.runtime-playground__ai-fix-review{border:1px solid color-mix(in srgb, var(--primary) 45%, var(--border));background:var(--surface);border-radius:8px;gap:7px;padding:9px;font-size:.7rem;display:grid}.runtime-playground__ai-fix-review p,.runtime-playground__ai-fix-review ul{margin:0}.runtime-playground__ai-diff{background:var(--code-bg);border-radius:6px;max-height:210px;display:grid;overflow:auto}.runtime-playground__ai-diff code{white-space:pre-wrap;padding:2px 7px}.runtime-playground__ai-diff code.is-add{background:color-mix(in srgb, var(--success) 18%, transparent);color:var(--success)}.runtime-playground__ai-diff code.is-delete{background:color-mix(in srgb, var(--error) 16%, transparent);color:var(--error)}.runtime-playground__ai-diff code b{width:16px;display:inline-block}.runtime-playground__ai-fix-actions{justify-content:flex-end;gap:7px;display:flex}.runtime-playground__error span{color:var(--text);white-space:pre-wrap;font-family:monospace;overflow:auto}.runtime-playground__timeline-message{border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.runtime-playground__webmcp-activity{border:1px solid color-mix(in srgb, var(--primary) 38%, var(--border));background:color-mix(in srgb, var(--primary) 7%, var(--surface));color:var(--text-muted)}.runtime-playground__webmcp-activity.is-error{border-color:color-mix(in srgb, var(--error) 45%, var(--border))}.runtime-playground__operation{background:var(--primary-glow);width:fit-content;max-width:100%;color:var(--primary);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:2px 7px;font-family:monospace;font-size:.65rem;font-weight:750;overflow:hidden}@keyframes runtime-playground-pulse{to{opacity:.45;transform:scale(.75)}}@media (width<=980px){.runtime-playground__header{padding-top:58px}.runtime-playground__workspace{grid-template-rows:auto;grid-template-columns:minmax(0,1fr);overflow:visible}.runtime-playground__editor-panel{grid-row:auto;min-height:560px}.runtime-playground__preview-panel{min-height:420px}.runtime-playground__timeline-panel{grid-template-columns:1fr}.runtime-playground__playback{border-right:0;border-bottom:1px solid var(--border)}}@media (width<=700px){.runtime-playground__header{flex-direction:column;align-items:flex-start}.runtime-playground__header-actions{justify-content:space-between;width:100%}.runtime-playground__webmcp-status small{display:none}.runtime-playground__title-group h1,.runtime-playground__eyebrow{white-space:normal}.runtime-playground__workspace{--playground-gap:8px}.runtime-playground__panel-header{align-items:flex-start}.runtime-playground__editor-actions{flex-direction:column}.runtime-playground__editor-foot span:nth-child(2){display:none}.runtime-playground__trace-config{max-height:320px}.runtime-playground__configuration-panel .runtime-playground__trace-config{max-height:none}.runtime-playground__ai-provider-fields,.runtime-playground__trace-fields,.runtime-playground__binding{grid-template-columns:1fr}.runtime-playground__trace-fields>.runtime-playground__trace-error{grid-column:1}.runtime-playground__binding-controls{justify-content:flex-start}.runtime-playground__playback .pc,.runtime-playground__playback .pc-buttons{width:100%}.runtime-playground__playback .pc-buttons{grid-template-columns:repeat(4,1fr);display:grid}.runtime-playground__playback .pc-btn{padding-inline:6px}}@media (prefers-reduced-motion:reduce){.runtime-playground__status>span,.runtime-playground__webmcp-status>span{animation:none}.runtime-playground__back,.runtime-playground__button,.runtime-playground__layout button{transition:none}}.app-shell{background:var(--page-bg);min-height:100vh;color:var(--text)}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-bg:#08111f;--bg:var(--page-bg);--surface:#0f172a;--surface-2:#111c32;--surface-3:#18243a;--surface2:var(--surface-2);--surface3:var(--surface-3);--border:#2f3b52;--text:#e5edf8;--muted:#9fb0c5;--text-muted:var(--muted);--text-dim:#64748b;--accent:#38bdf8;--accent-2:#22c55e;--primary:var(--accent);--primary-glow:#38bdf82e;--success:var(--accent-2);--success-glow:#22c55e29;--danger:#ef4444;--error:var(--danger);--error-glow:#ef444429;--warning:#f59e0b}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-bg:#f6f8fb;--bg:var(--page-bg);--surface:#fff;--surface-2:#eef3f8;--surface-3:#e1e9f2;--surface2:var(--surface-2);--surface3:var(--surface-3);--border:#c8d4e3;--text:#0f172a;--muted:#58667a;--text-muted:var(--muted);--text-dim:#94a3b8;--accent:#0284c7;--accent-2:#16a34a;--primary:var(--accent);--primary-glow:#0284c724;--success:var(--accent-2);--success-glow:#16a34a24;--danger:#dc2626;--error:var(--danger);--error-glow:#dc262624;--warning:#d97706}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--page-bg);min-width:320px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}
