.editor-wrap[data-astro-cid-rxg6qvfp]{min-height:calc(100dvh - var(--nav-h));display:flex;flex-direction:column;background:#0b1e33}.editor-header[data-astro-cid-rxg6qvfp]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 8px #0f172a0a;position:sticky;top:var(--nav-h);z-index:40}.editor-brand[data-astro-cid-rxg6qvfp]{display:flex;align-items:center;gap:12px;min-width:0}.editor-brand-icon[data-astro-cid-rxg6qvfp]{flex-shrink:0;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#3b82f6,#4f46e5);box-shadow:0 8px 18px -8px #2563ebb3}.editor-brand-icon[data-astro-cid-rxg6qvfp] svg[data-astro-cid-rxg6qvfp]{width:22px;height:22px}.editor-brand-text[data-astro-cid-rxg6qvfp]{min-width:0}.editor-logo[data-astro-cid-rxg6qvfp]{font-size:17px;font-weight:800;line-height:1.2;letter-spacing:-.01em;color:#0f172a}.editor-subtitle[data-astro-cid-rxg6qvfp]{margin-top:2px;font-size:12.5px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-subtitle[data-astro-cid-rxg6qvfp] strong[data-astro-cid-rxg6qvfp]{color:#1d4ed8;font-weight:700}.header-actions[data-astro-cid-rxg6qvfp]{display:flex;gap:8px;align-items:center;flex-shrink:0}.action-btn[data-astro-cid-rxg6qvfp]{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 14px;background:#fff;color:#334155;font-weight:700;font-size:13px;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.action-icon[data-astro-cid-rxg6qvfp]{width:16px;height:16px;flex-shrink:0}.action-btn[data-astro-cid-rxg6qvfp]:hover{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}.action-btn-danger[data-astro-cid-rxg6qvfp]:hover{border-color:#fda4af;color:#be123c;background:#fff1f2}.run-btn[data-astro-cid-rxg6qvfp]{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 22px;background:#2563eb;color:#fff;font-weight:800;font-size:14px;border:none;border-radius:10px;cursor:pointer;white-space:nowrap;box-shadow:0 8px 20px -8px #2563ebb3;transition:background .15s,transform .15s}.run-btn[data-astro-cid-rxg6qvfp]:hover{background:#1d4ed8}.run-btn[data-astro-cid-rxg6qvfp]:active{transform:scale(.97)}.editor-body[data-astro-cid-rxg6qvfp]{flex:1;display:flex;overflow:hidden}.editor-left[data-astro-cid-rxg6qvfp]{flex:1;display:flex;flex-direction:row;min-width:0}.file-explorer-title[data-astro-cid-rxg6qvfp]{font-size:11px;font-weight:800;color:#7d8ba1;padding:14px 18px 8px;letter-spacing:.1em;text-transform:uppercase}.tab-bar[data-astro-cid-rxg6qvfp]{display:flex;flex-direction:column;width:190px;flex-shrink:0;background:#0b1e33;border-right:1px solid rgba(255,255,255,.08);padding-top:4px}.tab[data-astro-cid-rxg6qvfp]{margin:1px 8px;padding:9px 10px;font-size:13px;font-weight:600;color:#b6c2d4;background:none;border:none;border-left:3px solid transparent;border-radius:8px;text-align:left;cursor:pointer;transition:all .15s;display:flex;align-items:center;gap:10px;white-space:nowrap}.tab[data-astro-cid-rxg6qvfp]:hover{color:#fff;background:#ffffff0f}.tab[data-astro-cid-rxg6qvfp].active{color:#fff;border-left-color:#ffd43b;background:#3b82f62e}.file-badge[data-astro-cid-rxg6qvfp]{flex-shrink:0;min-width:26px;height:18px;padding:0 4px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-family:var(--font-mono);font-size:10px;font-weight:800;line-height:1}.file-badge-html[data-astro-cid-rxg6qvfp]{background:#f973162e;color:#fdba74}.file-badge-css[data-astro-cid-rxg6qvfp]{background:#3b82f638;color:#93c5fd}.file-badge-js[data-astro-cid-rxg6qvfp]{background:#facc152e;color:#fde047}.tab-hint[data-astro-cid-rxg6qvfp]{margin:auto 12px 14px;padding:12px;border-radius:10px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);font-size:11.5px;line-height:1.55;color:#93a3b8}.tab-hint[data-astro-cid-rxg6qvfp] p[data-astro-cid-rxg6qvfp]+p[data-astro-cid-rxg6qvfp]{margin-top:4px}.tab-hint[data-astro-cid-rxg6qvfp] .tab-hint-title[data-astro-cid-rxg6qvfp]{font-weight:800;color:#e2e8f0}.tab-hint[data-astro-cid-rxg6qvfp] strong[data-astro-cid-rxg6qvfp]{color:#ffd43b}.tab-hint[data-astro-cid-rxg6qvfp] kbd[data-astro-cid-rxg6qvfp]{font-family:var(--font-mono);font-size:10.5px;padding:1px 5px;border-radius:4px;border:1px solid rgba(255,255,255,.18);color:#e2e8f0}.tab-content[data-astro-cid-rxg6qvfp]{flex:1;position:relative;overflow:hidden;background:#0f2740}.tab-pane[data-astro-cid-rxg6qvfp]{position:absolute;inset:0;width:100%;height:100%;padding:14px 16px;font-family:var(--font-mono);font-size:13px;line-height:1.6;color:#e2e8f0;background:#0f2740;border:none;outline:none;resize:none;display:none!important}.CodeMirror{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:none!important;font-family:var(--font-mono)!important;font-size:14px!important;line-height:1.6!important;background:#0f2740!important}.tab-content[data-astro-cid-rxg6qvfp] .cm-s-dracula.CodeMirror{background:#0f2740!important}.CodeMirror-gutters{background:#0b1e33!important;border-right:1px solid rgba(255,255,255,.08)!important}.tab-content[data-astro-cid-rxg6qvfp] .cm-s-dracula .CodeMirror-gutters{background:#0b1e33!important}.tab-pane[data-astro-cid-rxg6qvfp].active+.CodeMirror{display:block!important}.editor-right[data-astro-cid-rxg6qvfp]{width:45%;min-width:320px;display:flex;flex-direction:column;background:#fff;border-left:1px solid rgba(255,255,255,.08)}.preview-bar[data-astro-cid-rxg6qvfp]{padding:8px 12px 8px 16px;min-height:48px;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-label[data-astro-cid-rxg6qvfp]{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.08em}.preview-dot[data-astro-cid-rxg6qvfp]{width:8px;height:8px;border-radius:9999px;background:#10b981;box-shadow:0 0 0 3px #10b9812e}.preview-frame[data-astro-cid-rxg6qvfp]{flex:1;width:100%;border:none;background:#fff}.preview-fullscreen-btn[data-astro-cid-rxg6qvfp]{display:inline-flex;align-items:center;height:32px;padding:0 12px;background:#fff;color:#334155;font-weight:700;font-size:12px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}.preview-fullscreen-btn[data-astro-cid-rxg6qvfp]:hover{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}.editor-right[data-astro-cid-rxg6qvfp]:fullscreen{width:100%;height:100%;border-left:none}.editor-right[data-astro-cid-rxg6qvfp]:fullscreen .preview-frame[data-astro-cid-rxg6qvfp]{width:100%;height:100%}.editor-right[data-astro-cid-rxg6qvfp]:-webkit-full-screen{width:100%;height:100%;border-left:none}.editor-right[data-astro-cid-rxg6qvfp]:-webkit-full-screen .preview-frame[data-astro-cid-rxg6qvfp]{width:100%;height:100%}.modal-overlay[data-astro-cid-rxg6qvfp]{position:fixed;inset:0;background:#0b1e3399;display:none;align-items:center;justify-content:center;padding:16px;z-index:1000;backdrop-filter:blur(3px)}.modal-overlay[data-astro-cid-rxg6qvfp].show{display:flex}.modal-box[data-astro-cid-rxg6qvfp]{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:24px;width:100%;max-width:400px;box-shadow:0 30px 60px -20px #0f172a73;color:#0f172a}.modal-title[data-astro-cid-rxg6qvfp]{margin:0 0 8px;font-size:18px;font-weight:800;letter-spacing:-.01em}.modal-message[data-astro-cid-rxg6qvfp]{margin:0 0 22px;font-size:14px;color:#475569;line-height:1.6}.modal-actions[data-astro-cid-rxg6qvfp]{display:flex;justify-content:flex-end;gap:10px}.modal-btn[data-astro-cid-rxg6qvfp]{height:40px;padding:0 18px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}.modal-btn[data-astro-cid-rxg6qvfp].cancel{background:#fff;color:#334155;border:1px solid #e2e8f0}.modal-btn[data-astro-cid-rxg6qvfp].cancel:hover{background:#f8fafc;border-color:#cbd5e1}.modal-btn[data-astro-cid-rxg6qvfp].confirm{background:#e11d48;color:#fff;border:1px solid #e11d48}.modal-btn[data-astro-cid-rxg6qvfp].confirm:hover{background:#be123c;border-color:#be123c}@media(max-width:1023.98px){.editor-subtitle[data-astro-cid-rxg6qvfp]{display:none}.editor-left[data-astro-cid-rxg6qvfp]{flex-direction:column}.tab-bar[data-astro-cid-rxg6qvfp]{width:100%;flex-direction:row;align-items:stretch;gap:2px;padding:0 6px;border-right:none;border-bottom:1px solid rgba(255,255,255,.08);overflow-x:auto;scrollbar-width:none}.file-explorer-title[data-astro-cid-rxg6qvfp],.tab-hint[data-astro-cid-rxg6qvfp]{display:none}.tab[data-astro-cid-rxg6qvfp]{flex-shrink:0;margin:0;padding:12px 12px 10px;border-left:none;border-bottom:3px solid transparent;border-radius:0;gap:8px}.tab[data-astro-cid-rxg6qvfp].active{border-bottom-color:#ffd43b;background:#3b82f624}}@media(max-width:767.98px){.editor-header[data-astro-cid-rxg6qvfp]{flex-wrap:wrap;gap:10px;padding:10px 12px}.editor-brand-icon[data-astro-cid-rxg6qvfp]{width:34px;height:34px;border-radius:10px}.editor-brand-icon[data-astro-cid-rxg6qvfp] svg[data-astro-cid-rxg6qvfp]{width:18px;height:18px}.editor-logo[data-astro-cid-rxg6qvfp]{font-size:15px}.header-actions[data-astro-cid-rxg6qvfp]{width:100%;gap:6px}.action-btn[data-astro-cid-rxg6qvfp]{flex:1 1 auto;height:38px;padding:0 8px;font-size:12.5px}.action-icon[data-astro-cid-rxg6qvfp]{display:none}.run-btn[data-astro-cid-rxg6qvfp]{flex:1 1 auto;height:38px;padding:0 14px}.editor-body[data-astro-cid-rxg6qvfp]{flex-direction:column;overflow:visible}.editor-left[data-astro-cid-rxg6qvfp]{flex:none}.tab-content[data-astro-cid-rxg6qvfp]{flex:none;height:55dvh;min-height:300px}.editor-right[data-astro-cid-rxg6qvfp]{width:100%;min-width:0;height:50dvh;min-height:300px;border-left:none;border-top:1px solid #e2e8f0}}
