@import "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Inter:wght@300;400;600;700&display=swap";:root{--bg-dark:#0f172a;--bg-card:#1e293b;--accent-blue:#3b82f6;--accent-green:#10b981;--accent-purple:#8b5cf6;--text-primary:#f8fafc;--text-secondary:#94a3b8}body{background-color:var(--bg-dark);color:var(--text-primary);height:100vh;font-family:Inter,sans-serif;overflow:hidden}.font-mono{font-family:JetBrains Mono,monospace}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-dark)}::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#475569}.array-item{transition:all .3s cubic-bezier(.4,0,.2,1)}.window-highlight{border:2px solid var(--accent-blue);pointer-events:none;z-index:20;background-color:#3b82f633;border-radius:.5rem;transition:all .3s ease-in-out;position:absolute;box-shadow:0 0 15px #3b82f633}.pointer-arrow{transition:left .3s ease-in-out,opacity .2s}.code-keyword{color:#ff7b72;font-weight:500}.code-type{color:#ff7b72}.code-func{color:#d2a8ff}.code-string{color:#a5d6ff}.code-comment,.code-comment *{font-style:italic;color:#8b949e!important}.code-line{white-space:pre;border-left:3px solid #0000;min-height:24px;margin:0 -12px;padding:0 12px;line-height:24px;transition:all .2s;display:block}.line-number{min-height:24px;line-height:24px;display:block}.code-line-active{background:linear-gradient(90deg,#3b82f640 0%,#3b82f61a 50%,#0000 100%)!important;border-left-color:#3b82f6!important}.code-line-executed{background-color:#22c55e14;border-left-color:#22c55e}.code-line:hover{background-color:#ffffff08}.code-line-numbers .line-number-active{color:#3b82f6;font-weight:700}.control-btn{transition:all .2s}.control-btn:hover:not(:disabled){transform:translateY(-1px)}.control-btn:active:not(:disabled){transform:translateY(0)}.control-btn:disabled{cursor:not-allowed}.code-editor-container{background:#0d1117;box-shadow:0 4px 6px -1px #0000004d}.code-editor-header{background:linear-gradient(#1e293b,#0f172a)}.code-editor-body{min-height:280px}.glass-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e293bb3;border:1px solid #94a3b81a}.log-entry{animation:.3s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.log-entry.active{border-left:2px solid var(--accent-blue);background:#3b82f61a}.editorial-overlay{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:0;pointer-events:none;background:#0f172ad9;justify-content:center;align-items:center;transition:opacity .3s;display:flex;position:fixed;inset:0}.editorial-overlay.active{opacity:1;pointer-events:auto}.editorial-modal{background:#0f172a;border:1px solid #94a3b826;border-radius:16px;flex-direction:row;width:95%;max-width:1100px;height:90vh;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden;transform:scale(.95)translateY(20px);box-shadow:0 25px 60px #00000080,0 0 40px #3b82f614}.editorial-overlay.active .editorial-modal{transform:scale(1)translateY(0)}.editorial-header{background:linear-gradient(135deg,#1e293be6,#0f172ae6);border-bottom:1px solid #94a3b81a;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 28px;display:flex}.editorial-header h2{color:#f8fafc;align-items:center;gap:10px;font-size:1.1rem;font-weight:700;display:flex}.editorial-header .difficulty-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:9999px;padding:2px 10px;font-size:.65rem;font-weight:600}.editorial-header .difficulty-badge.easy{color:#10b981;background:#10b98126;border:1px solid #10b9814d}.editorial-header .difficulty-badge.medium{color:#f59e0b;background:#f59e0b26;border:1px solid #f59e0b4d}.editorial-header .difficulty-badge.hard{color:#ef4444;background:#ef444426;border:1px solid #ef44444d}.editorial-close{color:#94a3b8;cursor:pointer;background:#1e293b99;border:1px solid #94a3b826;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;font-size:.9rem;transition:all .2s;display:flex}.editorial-close:hover{color:#ef4444;background:#ef44441a;border-color:#ef44444d}.editorial-body{overscroll-behavior:contain;flex:1;padding:28px;overflow-y:auto;transform:translateZ(0)}.editorial-body::-webkit-scrollbar{width:6px}.editorial-body::-webkit-scrollbar-track{background:0 0}.editorial-body::-webkit-scrollbar-thumb{background:#334155;border-radius:3px}.editorial-section{border-bottom:1px solid #94a3b80f;margin-bottom:32px;padding-bottom:24px}.editorial-section:last-child{border-bottom:none}.section-title{color:#e2e8f0;align-items:center;gap:10px;margin-bottom:14px;font-size:1rem;font-weight:700;display:flex}.section-title .section-num{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.75rem;font-weight:800;display:inline-flex}.section-num.blue{color:#60a5fa;background:#3b82f626;border:1px solid #3b82f640}.section-num.green{color:#34d399;background:#10b98126;border:1px solid #10b98140}.section-num.purple{color:#a78bfa;background:#8b5cf626;border:1px solid #8b5cf640}.section-num.amber{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b40}.section-num.red{color:#f87171;background:#ef444426;border:1px solid #ef444440}.section-num.cyan{color:#67e8f9;background:#06b6d426;border:1px solid #06b6d440}.editorial-body h1{color:#f8fafc;border-bottom:1px solid #94a3b81a;margin-top:2.5rem;margin-bottom:1.25rem;padding-bottom:.5rem;font-size:1.5rem;font-weight:700}.editorial-body h1:first-child{margin-top:0}.editorial-body h2{color:#e2e8f0;margin-top:2rem;margin-bottom:1rem;font-size:1.25rem;font-weight:700}.editorial-body h3{color:#cbd5e1;margin-top:1.5rem;margin-bottom:.75rem;font-size:1.1rem;font-weight:600}.editorial-body hr{background:#94a3b826;border:0;height:1px;margin:2.5rem 0}.editorial-body blockquote{background:#3b82f60d;border-left:4px solid #3b82f6;border-radius:0 8px 8px 0;margin:1.5rem 0;padding:12px 20px}.editorial-body blockquote p{color:#cbd5e1;margin-bottom:0}.editorial-body p{color:#94a3b8;margin-bottom:10px;font-size:.85rem;line-height:1.8}.editorial-body strong{color:#cbd5e1;font-weight:600}.editorial-body ul,.editorial-body ol{color:#94a3b8;margin-bottom:12px;padding-left:20px;font-size:.85rem;line-height:1.8}.editorial-body li{margin-bottom:4px}.editorial-body pre{background:#0d1117;border:1px solid #94a3b814;border-radius:10px;margin:12px 0 16px;padding:16px 20px;font-size:.78rem;line-height:1.7;position:relative;overflow-x:auto}.copy-btn{color:#94a3b8;cursor:pointer;background:#1e293b99;border:1px solid #94a3b81a;border-radius:6px;align-items:center;gap:5px;padding:4px 8px;font-size:.75rem;transition:all .2s;display:flex;position:absolute;top:8px;right:8px}.copy-btn:hover{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d}.copy-btn.copied{color:#34d399;background:#10b98126;border-color:#10b9814d}.editorial-body code{color:#e2e8f0;font-family:JetBrains Mono,monospace}.editorial-body p code,.editorial-body li code{color:#93c5fd;background:#1e293bcc;border-radius:4px;padding:1px 6px;font-size:.8rem}.hljs-keyword,.hljs-type,.hljs-literal,.hljs-built_in,.hljs-number{color:#ff7b72;font-weight:500}.hljs-title.class_,.hljs-title.function_,.hljs-title.class_.inherited__{color:#d2a8ff}.hljs-string{color:#a5d6ff}.hljs-comment{color:#8b949e;font-style:italic}.hljs-variable,.hljs-params,.hljs{color:#e2e8f0}.editorial-body table{border-collapse:collapse;width:100%;margin:12px 0;font-size:.82rem}.editorial-body th{color:#cbd5e1;text-align:left;background:#1e293bcc;border-bottom:1px solid #94a3b81a;padding:10px 14px;font-weight:600}.editorial-body td{color:#94a3b8;border-bottom:1px solid #94a3b80d;padding:10px 14px}.editorial-body tr:hover td{background:#1e293b4d}.dry-run{color:#94a3b8;background:#1e293b80;border:1px solid #3b82f626;border-radius:10px;margin:12px 0;padding:16px 20px;font-size:.82rem;line-height:1.8}.dry-run .step-label{color:#60a5fa;font-family:JetBrains Mono,monospace;font-size:.75rem;font-weight:700}#flowchartContainer{cursor:grab;scrollbar-width:none;-ms-overflow-style:none;justify-content:center;align-items:flex-start;padding:16px;display:flex;overflow:auto}#flowchartContainer::-webkit-scrollbar{display:none}#flowchartContainer:active{cursor:grabbing}#flowchartContainer svg{flex-shrink:0}#flowchartTabContent{scrollbar-width:none;-ms-overflow-style:none}#flowchartTabContent::-webkit-scrollbar{display:none}#flowchartContainer .nodeLabel,.mermaid .nodeLabel{font-family:JetBrains Mono,monospace!important;font-size:11px!important}
