.CodeEditor_wrapper__vc_zv{flex:1 1;min-height:0;overflow:auto;font-size:14px}.CodeEditor_wrapper__vc_zv .cm-editor{height:100%}.CodeEditor_wrapper__vc_zv .cm-scroller{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.ErrorPanel_overlay__mwCLy{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:stretch;padding:16px;background:rgba(255,255,255,.92);overflow:auto}.ErrorPanel_box__Jgpif{width:100%;border:1px solid var(--playground-danger);border-radius:8px;background:var(--playground-error-bg);padding:14px 16px}.ErrorPanel_title__myj_g{margin:0 0 8px;font-weight:700;color:var(--playground-danger);font-size:13px;letter-spacing:.05em;text-transform:uppercase}.ErrorPanel_message__c4UWX{margin:0;white-space:pre-wrap;word-break:break-word;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:13px;color:var(--playground-error-text)}.ErrorPanel_line__jNhLn{margin:8px 0 0;font-size:12px;color:var(--playground-text-secondary)}.Preview_wrapper__jgc8N{position:relative;flex:1 1;min-height:0;background:var(--playground-preview-bg)}.Preview_iframe__tMJW7{width:100%;height:100%;border:none;display:block;background:#ffffff}.Toolbar_toolbar__vUgck{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--playground-border);border-bottom:1px solid var(--playground-border);background:var(--playground-panel-bg);flex-wrap:wrap}.Toolbar_button__885oU,.Toolbar_dangerButton__Qza3h,.Toolbar_primaryButton__sXybw,.Toolbar_toggleButton__Ne1hs{font-size:13px;padding:7px 14px;border-radius:6px;border:1px solid var(--playground-border);cursor:pointer}.Toolbar_button__885oU{background:var(--playground-bg);color:var(--playground-text)}.Toolbar_button__885oU:hover{background:var(--playground-hover-bg)}.Toolbar_primaryButton__sXybw{background:var(--playground-accent);border-color:var(--playground-accent);color:#ffffff;font-weight:600}.Toolbar_primaryButton__sXybw:hover{opacity:.9}.Toolbar_toggleButton__Ne1hs{background:var(--playground-bg);color:var(--playground-text-secondary)}.Toolbar_toggleOn__sNA0P{background:var(--playground-accent-soft);border-color:var(--playground-accent);color:var(--playground-accent);font-weight:600}.Toolbar_dangerButton__Qza3h{background:var(--playground-bg);color:var(--playground-danger);border-color:var(--playground-danger);margin-left:auto}.Toolbar_dangerButton__Qza3h:hover{background:var(--playground-error-bg)}.ConsolePanel_wrapper__vLJvF{display:flex;flex-direction:column;height:100%;background:var(--playground-console-bg)}.ConsolePanel_header__cymq3{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;border-bottom:1px solid var(--playground-border)}.ConsolePanel_headerTitle__9CUz_{font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--playground-text-secondary);text-transform:uppercase}.ConsolePanel_clearButton__HHnL5{font-size:12px;padding:4px 10px;border-radius:6px;border:1px solid var(--playground-border);background:var(--playground-bg);color:var(--playground-text);cursor:pointer}.ConsolePanel_clearButton__HHnL5:hover{background:var(--playground-hover-bg)}.ConsolePanel_body__6Sdyy{flex:1 1;overflow-y:auto;padding:4px 0}.ConsolePanel_empty__BLGE0{padding:12px;font-size:12px;color:var(--playground-text-secondary)}.ConsolePanel_line__n8IXH{display:flex;gap:10px;padding:4px 12px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12.5px;white-space:pre-wrap;word-break:break-word;border-bottom:1px solid var(--playground-console-line-border)}.ConsolePanel_levelTag__mqpWL{flex-shrink:0;width:42px;font-weight:700;color:var(--playground-text-secondary)}.ConsolePanel_content__qhYqd{color:var(--playground-text)}.ConsolePanel_level_warn__TmqzI .ConsolePanel_content__qhYqd,.ConsolePanel_level_warn__TmqzI .ConsolePanel_levelTag__mqpWL{color:var(--playground-warn-text)}.ConsolePanel_level_error__c2m3l .ConsolePanel_content__qhYqd,.ConsolePanel_level_error__c2m3l .ConsolePanel_levelTag__mqpWL{color:var(--playground-error-text)}.AppDialog_overlay__EKt9m{position:fixed;inset:0;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:16px;z-index:2000}.AppDialog_box__VJAqL{width:100%;max-width:420px;background:var(--playground-panel-bg,#f7f7f8);color:var(--playground-text,#1a1a1a);border:1px solid var(--playground-border,#e2e4e8);border-radius:12px;padding:20px;box-shadow:0 12px 32px rgba(0,0,0,.25)}.AppDialog_message__cn2P6{margin:0 0 16px;white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.6}.AppDialog_input__kHpuG{width:100%;box-sizing:border-box;padding:8px 10px;margin:0 0 16px;border:1px solid var(--playground-border,#e2e4e8);border-radius:8px;background:var(--playground-bg,#ffffff);color:inherit;font-size:14px;font-family:inherit}.AppDialog_buttons___nMOV{display:flex;justify-content:flex-end;gap:8px}.AppDialog_cancelButton__EKKMt{padding:8px 16px;border:1px solid var(--playground-border,#e2e4e8);border-radius:8px;background:transparent;color:inherit;font-size:14px;cursor:pointer}.AppDialog_cancelButton__EKKMt:hover{background:var(--playground-hover-bg,#eef0f2)}.AppDialog_okButton__sHkxH{padding:8px 16px;border:none;border-radius:8px;background:var(--playground-accent,#2563eb);color:#ffffff;font-size:14px;cursor:pointer}.SavedCodeBar_bar__JT_hc{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--playground-border);background:var(--playground-panel-bg);flex-wrap:wrap}.SavedCodeBar_dropdownGroup__Xn_7w{position:relative}.SavedCodeBar_actionButton__jBlaM,.SavedCodeBar_dropdownButton__Emhpa{font-size:13px;padding:6px 10px;border:1px solid var(--playground-border);border-radius:6px;background:var(--playground-bg);color:var(--playground-text);cursor:pointer}.SavedCodeBar_actionButton__jBlaM:hover,.SavedCodeBar_dropdownButton__Emhpa:hover{background:var(--playground-hover-bg)}.SavedCodeBar_dropdownPanel__vaBbr{position:absolute;top:calc(100% + 4px);left:0;z-index:20;min-width:320px;max-height:360px;overflow-y:auto;background:var(--playground-bg);border:1px solid var(--playground-border);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:6px}.SavedCodeBar_panelHeader__Oyeck{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 8px}.SavedCodeBar_panelHeaderTitle__AlKvL{font-size:12px;font-weight:700;color:var(--playground-text-secondary)}.SavedCodeBar_clearAllButton__eiCkg{font-size:12px;padding:4px 8px;border-radius:6px;border:1px solid var(--playground-danger);background:var(--playground-bg);color:var(--playground-danger);cursor:pointer}.SavedCodeBar_clearAllButton__eiCkg:hover{background:var(--playground-error-bg)}.SavedCodeBar_confirmBanner__iTH5F{display:flex;flex-direction:column;gap:8px;padding:10px;margin:4px 2px 8px;border:1px solid var(--playground-danger);border-radius:6px;background:var(--playground-error-bg);font-size:13px;color:var(--playground-error-text)}.SavedCodeBar_confirmButtons__ds95A{display:flex;gap:8px}.SavedCodeBar_confirmNo__B8H3G,.SavedCodeBar_confirmYes__CQWuF{font-size:12px;padding:5px 10px;border-radius:6px;cursor:pointer}.SavedCodeBar_confirmYes__CQWuF{border:1px solid var(--playground-danger);background:var(--playground-danger);color:#ffffff;font-weight:600}.SavedCodeBar_confirmYes__CQWuF:hover{opacity:.9}.SavedCodeBar_confirmNo__B8H3G{border:1px solid var(--playground-border);background:var(--playground-bg);color:var(--playground-text)}.SavedCodeBar_confirmNo__B8H3G:hover{background:var(--playground-hover-bg)}.SavedCodeBar_empty__dJE5t{padding:12px;font-size:13px;color:var(--playground-text-secondary)}.SavedCodeBar_list__8UESh{list-style:none;margin:0;padding:0}.SavedCodeBar_listItem__m307N{display:flex;align-items:center;gap:4px}.SavedCodeBar_listItemButton__PHLEy{flex:1 1;text-align:left;background:none;border:none;padding:8px;border-radius:6px;cursor:pointer;font-size:13px;color:var(--playground-text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.SavedCodeBar_listItemButton__PHLEy:hover{background:var(--playground-hover-bg)}.SavedCodeBar_listItemDate__q1CTk{color:var(--playground-text-secondary)}.SavedCodeBar_listItemTitle__XS75k{font-weight:500}.SavedCodeBar_deleteButton__gGCGm{flex-shrink:0;width:26px;height:26px;border:none;background:none;color:var(--playground-text-secondary);cursor:pointer;border-radius:6px;font-size:14px;line-height:1}.SavedCodeBar_deleteButton__gGCGm:hover{background:var(--playground-error-bg);color:var(--playground-error-text)}.SavedCodeBar_referenceButton__ObHDR{flex-shrink:0;width:26px;height:26px;border:none;background:none;cursor:pointer;border-radius:6px;font-size:13px;line-height:1}.SavedCodeBar_referenceButton__ObHDR:hover{background:var(--playground-hover-bg)}.SavedCodeBar_hiddenFileInput__DkRU0{display:none}.SavedCodeBar_folderGroup__5ZIcL{display:flex;align-items:center;gap:4px}.SavedCodeBar_folderLabel___5UID{font-size:12px;color:var(--playground-text-secondary);max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.SavedCodeBar_folderLinkButton__3kAez{font-size:12px;padding:3px 6px;border:none;background:none;color:var(--playground-accent);cursor:pointer;border-radius:4px}.SavedCodeBar_folderLinkButton__3kAez:hover{background:var(--playground-hover-bg);text-decoration:underline}.ReferenceLibraryBar_bar__r0wn_{display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--playground-border);background:var(--playground-panel-bg)}.ReferenceLibraryBar_dropdownGroup__OYvW0{position:relative;flex-shrink:0}.ReferenceLibraryBar_dropdownButton__omgMW{font-size:13px;padding:6px 10px;border:1px solid var(--playground-border);border-radius:6px;background:var(--playground-bg);color:var(--playground-text);cursor:pointer}.ReferenceLibraryBar_dropdownButton__omgMW:hover{background:var(--playground-hover-bg)}.ReferenceLibraryBar_selectedTitle__Cwu1h{font-size:13px;font-weight:600;color:#8b5a2b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ReferenceLibraryBar_dropdownPanel__JTn1n{position:absolute;top:calc(100% + 4px);left:0;z-index:20;min-width:400px;max-width:92vw;max-height:420px;overflow-y:auto;background:var(--playground-bg);border:1px solid var(--playground-border);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:6px}.ReferenceLibraryBar_panelHeader__5ilEs{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:4px 6px 8px;border-bottom:1px solid var(--playground-border);margin-bottom:4px}.ReferenceLibraryBar_progressText__Wp_Li{font-size:12px;color:var(--playground-text-secondary);margin-right:auto}.ReferenceLibraryBar_headerButton__SRYi9{font-size:11px;padding:4px 8px;border:1px solid var(--playground-border);border-radius:999px;background:var(--playground-bg);color:var(--playground-text);cursor:pointer}.ReferenceLibraryBar_headerButton__SRYi9:hover:not(:disabled){background:var(--playground-hover-bg)}.ReferenceLibraryBar_headerButton__SRYi9:disabled{opacity:.45;cursor:default}.ReferenceLibraryBar_headerButtonActive__XauDi{font-size:11px;padding:4px 8px;border:1px solid #7c3aed;border-radius:999px;background:#7c3aed;color:#fff;cursor:pointer}.ReferenceLibraryBar_categoryGroup__j7g92{margin-bottom:6px}.ReferenceLibraryBar_categoryGroup__j7g92:not(:nth-child(2)){border-top:1px solid var(--playground-border);padding-top:6px;margin-top:6px}.ReferenceLibraryBar_categoryLabel__T2tmT{margin:6px 6px 2px;font-size:12px;font-weight:700;color:#7c3aed;letter-spacing:.03em}.ReferenceLibraryBar_list__Z3f_E{list-style:none;margin:0;padding:0}.ReferenceLibraryBar_listItem__es_rb{display:flex;align-items:center;gap:2px}.ReferenceLibraryBar_listItemButton__xUCCt{flex:1 1;text-align:left;background:none;border:none;padding:7px 8px;border-radius:6px;cursor:pointer;font-size:13px;color:var(--playground-text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ReferenceLibraryBar_listItemButton__xUCCt:hover{background:var(--playground-hover-bg)}.ReferenceLibraryBar_learnedButton__ZrvF9{flex-shrink:0;min-width:52px;font-size:11px;padding:4px 6px;border:1px solid var(--playground-border);border-radius:999px;background:var(--playground-bg);color:var(--playground-text-secondary);cursor:pointer}.ReferenceLibraryBar_learnedButton__ZrvF9:hover{background:var(--playground-hover-bg)}.ReferenceLibraryBar_learnedButtonDone__47Ua_{flex-shrink:0;min-width:52px;font-size:11px;padding:4px 6px;border:1px solid #16a34a;border-radius:999px;background:#16a34a;color:#fff;cursor:pointer}.ReferenceLibraryBar_learnedButtonDone__47Ua_:hover{background:#15803d}.ReferenceLibraryBar_barLearnedButton__z2bj4{margin-left:auto}.ReferenceLibraryBar_previewButton__J_bW4{flex-shrink:0;width:26px;height:26px;border:none;background:none;cursor:pointer;border-radius:6px;font-size:13px;line-height:1}.ReferenceLibraryBar_previewButton__J_bW4:hover{background:var(--playground-hover-bg)}.ReferenceLibraryBar_allLearnedText__q6ORt{margin:10px 6px 6px;font-size:12px;color:var(--playground-text-secondary)}.ReferencePanel_panel__lxURU{position:absolute;top:0;right:0;bottom:0;width:45%;min-width:240px;max-width:90%;z-index:15;display:flex;flex-direction:column;background:var(--playground-bg);border-left:2px solid var(--playground-accent);box-shadow:-8px 0 20px rgba(0,0,0,.12)}.ReferencePanel_header___rDfn{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid var(--playground-border);background:var(--playground-accent-soft)}.ReferencePanel_title__HGTKV{font-size:12.5px;font-weight:700;color:var(--playground-accent);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ReferencePanel_closeButton__Xg4Xi{flex-shrink:0;width:24px;height:24px;border:none;border-radius:6px;background:none;color:var(--playground-text-secondary);cursor:pointer;font-size:14px;line-height:1}.ReferencePanel_closeButton__Xg4Xi:hover{background:var(--playground-hover-bg)}.ReferencePanel_body__VtWxN{flex:1 1;min-height:0;overflow:auto;opacity:.92}.Playground_container__Z25LJ{--playground-bg:#ffffff;--playground-panel-bg:#f7f7f8;--playground-preview-bg:#ffffff;--playground-console-bg:#fbfbfc;--playground-console-line-border:#eef0f2;--playground-border:#e2e4e8;--playground-text:#1a1a1a;--playground-text-secondary:#6b7280;--playground-hover-bg:#eef0f2;--playground-accent:#2563eb;--playground-accent-soft:#e8f0fe;--playground-danger:#dc2626;--playground-error-bg:#fdecec;--playground-error-text:#b42318;--playground-warn-text:#b45309;display:flex;flex-direction:column;height:100vh;background:var(--playground-bg);color:var(--playground-text);overflow:hidden}@media (prefers-color-scheme:dark){.Playground_container__Z25LJ{--playground-bg:#121212;--playground-panel-bg:#1a1a1a;--playground-preview-bg:#1e1e1e;--playground-console-bg:#161616;--playground-console-line-border:#262626;--playground-border:#2b2b2b;--playground-text:#ededed;--playground-text-secondary:#9ca3af;--playground-hover-bg:#262626;--playground-accent:#5b9dff;--playground-accent-soft:#16233c;--playground-danger:#f87171;--playground-error-bg:#3a1c1c;--playground-error-text:#f7b4b4;--playground-warn-text:#f0b859}}.Playground_header__wtj2p{flex-shrink:0;display:flex;align-items:center;padding:10px 16px;border-bottom:1px solid var(--playground-border);background:var(--playground-panel-bg)}.Playground_title__qcX9E{margin:0;font-size:15px;font-weight:700}.Playground_middleRow__voFbv{flex:1 1;min-height:0;display:flex;flex-direction:row}.Playground_editorColumn__ewP7U{position:relative;min-width:200px;width:calc(var(--column-ratio, .5) * 100%);display:flex;flex-direction:column;min-height:0}.Playground_columnHandle__MhkCO{flex-shrink:0;width:6px;cursor:col-resize;background:var(--playground-border);position:relative}.Playground_columnHandle__MhkCO:active,.Playground_columnHandle__MhkCO:hover{background:var(--playground-accent)}.Playground_previewColumn__cuwJj{flex:1 1;min-width:200px;min-height:0;display:flex}.Playground_toolbarRow__f8Jtd{flex-shrink:0}.Playground_consoleHandle__O1l_q{flex-shrink:0;height:6px;cursor:row-resize;background:var(--playground-border)}.Playground_consoleHandle__O1l_q:active,.Playground_consoleHandle__O1l_q:hover{background:var(--playground-accent)}.Playground_consoleRow__lzXyQ{flex-shrink:0;min-height:60px;overflow:hidden}@media (max-width:900px){.Playground_container__Z25LJ{height:auto;min-height:100vh;overflow:visible}.Playground_middleRow__voFbv{flex-direction:column}.Playground_editorColumn__ewP7U{border-right:none;border-bottom:1px solid var(--playground-border);width:100%;height:50vh}.Playground_previewColumn__cuwJj{height:50vh}.Playground_columnHandle__MhkCO{display:none}}