:root{color-scheme:dark;--page: #0c1220;--panel: #151e2f;--panel-raised: #1b2940;--editor: #0a101b;--line: #30415a;--line-strong: #60718c;--text: #f5f7fb;--muted: #bcc7d8;--subtle: #9faec3;--accent: #c8f36a;--accent-hover: #d6ff86;--accent-soft: rgb(200 243 106 / 18%);--focus: #8de2ff;--focus-soft: rgb(141 226 255 / 18%);--warning: #ffd166;--danger: #ffad9e;--ink: #0c1220;--editor-text: #e8edf5;--editor-active-line: rgb(141 226 255 / 8%);--editor-selection: #264c68;--editor-selection-text: #f8fbff;--editor-syntax-comment: #8295aa;--editor-syntax-keyword: #d6a7ff;--editor-syntax-operator: #8de2ff;--editor-syntax-string: #b8f28a;--editor-syntax-number: #ffd166;--editor-syntax-boolean: #ffb4a2;--editor-syntax-null: #ffb4a2;--editor-syntax-regexp: #f2b5d4;--editor-syntax-function: #8de2ff;--editor-syntax-definition: #d7f98a;--editor-syntax-property: #a6e3ff;--editor-syntax-type: #e9c46a;--editor-syntax-punctuation: #aebbd0;--editor-syntax-bracket: #c6d5e8;--editor-syntax-invalid: #ff8f8f;--space-1: .35rem;--space-2: .55rem;--space-3: .75rem;--space-4: 1rem;font-family:ui-sans-serif,system-ui,sans-serif;font-size:16px}*{box-sizing:border-box;scrollbar-color:var(--line-strong) var(--editor);scrollbar-width:thin}html{height:100%;min-width:320px;background:var(--page)}body{height:100%;min-width:320px;margin:0;overflow:hidden;color:var(--text);background:var(--page)}button,select{font:inherit}button,select{min-height:2.5rem;appearance:none;color:inherit;border:1px solid var(--line-strong);border-radius:.55rem;background:var(--panel-raised);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:border-color .14s ease,background-color .14s ease,transform .14s ease}button{padding:.6rem .85rem}button:hover,select:hover{border-color:var(--subtle);background:#22324b}button:active{transform:translateY(1px)}button:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:disabled{color:var(--subtle);border-color:var(--line);background:var(--panel);cursor:not-allowed;opacity:1}button.primary{color:var(--ink);border-color:var(--accent);background:var(--accent);font-weight:700}button.primary:hover{border-color:var(--accent-hover);background:var(--accent-hover)}kbd{display:inline-block;margin-left:.35rem;padding:.15rem .3rem;color:#1d2c08;border:1px solid rgb(12 18 32 / 30%);border-radius:.3rem;background:#0c12201a;font-size:.72rem;white-space:normal;font-weight:700;line-height:1;opacity:1}.playground-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:var(--space-4);width:100%;height:100dvh;min-height:0;min-width:0;padding:max(var(--space-3),env(safe-area-inset-top)) max(var(--space-4),env(safe-area-inset-right)) max(var(--space-4),env(safe-area-inset-bottom)) max(var(--space-4),env(safe-area-inset-left))}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap;min-width:0;padding-inline:var(--space-1)}.title-group{min-width:0}.page-header h1{margin:0;color:var(--text);font-size:clamp(1.25rem,1.05rem + .8vw,1.7rem);font-weight:700;letter-spacing:-.03em;line-height:1.1;text-wrap:balance;overflow-wrap:anywhere}.page-header p{margin-top:.35rem;color:var(--muted);font-size:.86rem}.header-actions{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;min-width:0}.repo-link{display:inline-flex;flex:0 0 auto;align-items:center;gap:.4rem;min-height:2rem;padding:.45rem .65rem;color:var(--subtle);border:1px solid var(--line-strong);border-radius:99px;background:var(--panel);font-size:.75rem;font-weight:650;text-decoration:none;white-space:nowrap;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.repo-link:hover{color:var(--text);border-color:var(--subtle);background:#22324b}.repo-link:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.repo-icon{width:1rem;height:1rem;flex:0 0 auto;fill:currentColor}h1,h2,p{margin:0}.status{display:inline-flex;flex:0 0 auto;align-items:center;min-height:1.8rem;padding:.4rem .7rem;color:var(--muted);border:1px solid var(--line-strong);border-radius:99px;background:var(--panel);font-size:.78rem;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}.status[data-state=running]{color:var(--ink);border-color:var(--warning);background:var(--warning)}.status[data-state=complete]{color:var(--ink);border-color:var(--accent);background:var(--accent)}.status[data-state=failed]{color:var(--ink);border-color:var(--danger);background:var(--danger)}.status[data-state=terminated]{color:var(--ink);border-color:var(--focus);background:var(--focus)}.workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.85fr);gap:var(--space-4);min-height:0}.results-column{display:grid;grid-template-rows:minmax(0,1.15fr) minmax(7.5rem,.72fr) minmax(0,.9fr);gap:var(--space-4);min-height:0}.panel{display:flex;flex-direction:column;min-width:0;min-height:0;padding:var(--space-4);overflow:hidden;border:1px solid var(--line);border-radius:.85rem;background:var(--panel)}.editor-panel{min-height:0}.panel-heading{display:flex;flex:0 0 auto;align-items:center;min-height:1.6rem;margin-bottom:var(--space-2);color:var(--text);font-size:.73rem;font-weight:750;letter-spacing:.1em;line-height:1.1;text-transform:uppercase;text-wrap:balance}#editor,.output{flex:1 1 auto;width:100%;min-height:0;border:1px solid var(--line-strong);border-radius:.45rem;background:var(--editor)}#editor{overflow:hidden;color:var(--editor-text);font-family:SFMono-Regular,Cascadia Code,JetBrains Mono,Roboto Mono,Liberation Mono,monospace;font-size:1rem;line-height:1.65;letter-spacing:.01em}.editor-status{display:flex;flex:0 0 auto;align-items:center;gap:.55rem;min-height:1.8rem;padding:.45rem .25rem 0;color:var(--muted);font-family:SFMono-Regular,Cascadia Code,JetBrains Mono,Roboto Mono,Liberation Mono,monospace;font-size:.74rem;line-height:1}.editor-status span{white-space:nowrap}.editor-status-separator{color:var(--line-strong)}.output{color:var(--text);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.9rem;line-height:1.55}#editor .cm-editor{height:100%;color:var(--editor-text);border:0;background:var(--editor);font-family:inherit}#editor .cm-scroller{overflow:auto;font-family:inherit;font-size:1rem;font-variant-ligatures:none;line-height:1.65}#editor .cm-content{min-height:100%;padding:1.05rem 1.25rem;caret-color:var(--accent);font-weight:500;letter-spacing:.01em;tab-size:2}#editor .cm-cursor{border-left:2px solid var(--accent);margin-left:-1px}#editor .cm-dropCursor{border-left:2px solid var(--focus)}#editor .cm-gutters{color:var(--editor-syntax-comment);border:0;border-right:1px solid var(--line);background:var(--editor);font-family:inherit;font-size:.8rem;letter-spacing:0;line-height:1.65;padding-inline:.4rem .15rem}#editor .cm-lineNumbers .cm-gutterElement{min-width:2.25rem;padding:0 .4rem 0 .15rem;text-align:right}#editor .cm-activeLine,#editor .cm-activeLineGutter{background:var(--editor-active-line)}#editor:focus-within{border-color:var(--focus);box-shadow:0 0 0 2px var(--focus)}#editor .cm-editor.cm-focused,#editor .cm-content:focus{outline:none}#editor .cm-selectionBackground,#editor .cm-content ::selection{color:var(--editor-selection-text);background:var(--editor-selection)}.output{margin:0;padding:var(--space-3);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.diagnostics{color:var(--danger)}.toolbar{display:flex;align-items:center;gap:var(--space-2);min-height:3.25rem;padding-top:var(--space-3);border-top:1px solid var(--line);min-width:0}.toolbar .status{margin-right:var(--space-1)}.toolbar button,.toolbar .status{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}.example-picker{display:flex;flex:0 1 auto;align-items:center;gap:var(--space-2);min-width:0;margin-left:auto;color:var(--muted);font-size:.82rem}.example-picker>span{flex:0 0 auto}select{padding:.55rem 2rem .55rem .7rem;color:var(--text);background-color:var(--panel-raised);background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - .9rem) 50%,calc(100% - .6rem) 50%;background-repeat:no-repeat;background-size:.3rem .3rem,.3rem .3rem}@media(max-width:900px){body{height:100%;min-height:0;overflow:hidden}.playground-shell{height:100dvh;min-height:0;overflow:hidden}.workspace{grid-template-columns:1fr;min-height:0;overflow-y:auto;overscroll-behavior:contain}.editor-panel{min-height:min(56dvh,34rem)}.results-column{grid-template-rows:minmax(14rem,1fr) repeat(2,minmax(10rem,auto));min-height:0}}@media(max-width:560px){.playground-shell{gap:var(--space-2);padding:max(var(--space-2),env(safe-area-inset-top)) max(var(--space-3),env(safe-area-inset-right)) max(var(--space-3),env(safe-area-inset-bottom)) max(var(--space-3),env(safe-area-inset-left))}.page-header{align-items:flex-start;gap:var(--space-2);padding-inline:var(--space-1)}.page-header p{font-size:.8rem}.header-actions{flex:1 1 100%}.workspace,.results-column{gap:var(--space-2)}.panel{padding:var(--space-3)}#editor .cm-content{min-height:20rem;padding:var(--space-3)}.toolbar{flex-wrap:wrap}.example-picker{flex:1 1 100%;margin-left:0}.example-picker select{flex:1;min-width:0}}@media(max-width:560px)and (max-height:700px){body{height:auto;min-height:100dvh;overflow-y:auto}.playground-shell{grid-template-rows:auto auto auto;height:auto;min-height:100dvh;overflow:visible}.workspace{min-height:auto;overflow:visible}.example-picker{flex-direction:column;align-items:stretch;gap:var(--space-1)}.example-picker select{width:100%}}@media(prefers-contrast:more){:root{--line: #4e6380;--line-strong: #8295b2;--muted: #d7e0ee;--subtle: #b9c8dc}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}button:active{transform:none}}
