*,:before,:after{box-sizing:border-box}:root{--bg-primary:#0a0c14;--bg-secondary:#0f121d;--border-color:#ffffff14;--text-main:#f1f5f9;--text-muted:#94a3b8;--primary:#3b82f6;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;color:var(--text-main);background-color:var(--bg-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}body{background-color:var(--bg-primary);min-height:100vh;color:var(--text-main);margin:0;padding:0;overflow-x:hidden}#app{flex-direction:column;min-height:100vh;display:flex}button,select{font-family:inherit}.navbar.svelte-rfuq4y{background:#0f121d;border-bottom:1px solid #ffffff1a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1.5rem;display:flex}.brand.svelte-rfuq4y{-webkit-user-select:none;user-select:none;align-items:center;gap:.75rem;display:flex}.logo-icon.svelte-rfuq4y{color:#fff;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex;box-shadow:0 0 12px #8b5cf680}.logo-icon.svelte-rfuq4y svg:where(.svelte-rfuq4y){width:20px;height:20px}.brand-text.svelte-rfuq4y h1:where(.svelte-rfuq4y){color:#f8fafc;letter-spacing:-.02em;align-items:center;gap:.4rem;margin:0;font-size:1.25rem;font-weight:800;display:flex}.badge-ts.svelte-rfuq4y{color:#fff;letter-spacing:0;background:#3178c6;border-radius:4px;padding:.1rem .35rem;font-size:.65rem;font-weight:700}.controls-row.svelte-rfuq4y{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.control-group.svelte-rfuq4y{flex-direction:column;gap:.2rem;display:flex}.control-label.svelte-rfuq4y{text-transform:uppercase;color:#64748b;letter-spacing:.05em;font-size:.68rem;font-weight:600}.custom-select.svelte-rfuq4y{color:#f1f5f9;cursor:pointer;background:#1a1e2e;border:1px solid #ffffff1f;border-radius:6px;padding:.45rem .75rem;font-family:inherit;font-size:.85rem;transition:all .15s}.custom-select.svelte-rfuq4y:hover:not(:disabled){border-color:#3b82f6}.custom-select.svelte-rfuq4y:focus{border-color:#60a5fa;outline:none;box-shadow:0 0 0 2px #60a5fa33}.custom-select.svelte-rfuq4y:disabled{opacity:.5;cursor:not-allowed}.brush-selector.svelte-rfuq4y{background:#1a1e2e;border:1px solid #ffffff1f;border-radius:6px;gap:2px;padding:2px;display:flex}.brush-btn.svelte-rfuq4y{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:.35rem;padding:.4rem .65rem;font-size:.8rem;font-weight:500;transition:all .15s;display:flex}.brush-btn.svelte-rfuq4y:hover:not(:disabled){color:#f8fafc;background:#ffffff0d}.brush-btn.active.svelte-rfuq4y{color:#fff;background:#2563eb;font-weight:600;box-shadow:0 1px 3px #0003}.brush-icon.svelte-rfuq4y{border-radius:2px;justify-content:center;align-items:center;width:12px;height:12px;display:inline-flex}.wall-icon.svelte-rfuq4y{background:#475569;border:1px solid #64748b}.weight-icon.svelte-rfuq4y{color:#fef3c7;background:#b45309;font-size:.6rem;font-weight:700}.brush-svg.svelte-rfuq4y{width:13px;height:13px}.visualize-btn.svelte-rfuq4y{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.55rem 1.25rem;font-size:.9rem;font-weight:700;transition:all .15s;display:flex;box-shadow:0 2px 10px #10b98159}.visualize-btn.svelte-rfuq4y:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 14px #10b98173}.visualize-btn.svelte-rfuq4y:active:not(:disabled){transform:translateY(0)}.visualize-btn.svelte-rfuq4y:disabled{opacity:.65;cursor:not-allowed;transform:none}.play-svg.svelte-rfuq4y{width:14px;height:14px}.spinner.svelte-rfuq4y{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite svelte-rfuq4y-spin}@keyframes svelte-rfuq4y-spin{to{transform:rotate(360deg)}}.action-buttons.svelte-rfuq4y{align-items:center;gap:.4rem;display:flex}.action-btn.svelte-rfuq4y{color:#cbd5e1;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;padding:.5rem .75rem;font-size:.82rem;font-weight:500;transition:all .15s}.action-btn.svelte-rfuq4y:hover:not(:disabled){color:#fff;background:#ffffff1a}.action-btn.danger.svelte-rfuq4y:hover:not(:disabled){color:#f87171;background:#ef444426;border-color:#ef44444d}.action-btn.svelte-rfuq4y:disabled{opacity:.4;cursor:not-allowed}.metrics-bar.svelte-qeturm{background:#141724;border-bottom:1px solid #ffffff14;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1.5rem;display:flex}.algorithm-details.svelte-qeturm{flex-direction:column;gap:.3rem;max-width:650px;display:flex}.name-badge-group.svelte-qeturm{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.algo-name.svelte-qeturm{color:#f8fafc;font-size:1.05rem;font-weight:700}.badge.svelte-qeturm{letter-spacing:.02em;border-radius:9999px;padding:.15rem .5rem;font-size:.72rem;font-weight:600}.badge-success.svelte-qeturm{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.badge-warning.svelte-qeturm{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b4d}.badge-info.svelte-qeturm{color:#60a5fa;background:#3b82f626;border:1px solid #3b82f64d}.complexity-badge.svelte-qeturm{color:#94a3b8;font-size:.75rem}.complexity-badge.svelte-qeturm code:where(.svelte-qeturm){color:#e2e8f0;background:#ffffff0f;border-radius:3px;padding:.1rem .35rem;font-family:monospace;font-size:.75rem}.algo-desc.svelte-qeturm{color:#94a3b8;margin:0;font-size:.8rem;line-height:1.35}.stats-group.svelte-qeturm{flex-wrap:wrap;align-items:center;gap:.8rem;display:flex}.stat-card.svelte-qeturm{background:#ffffff08;border:1px solid #ffffff12;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-width:80px;padding:.4rem .75rem;display:flex}.stat-label.svelte-qeturm{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:.68rem;font-weight:600}.stat-value.svelte-qeturm{font-variant-numeric:tabular-nums;font-size:1rem;font-weight:700}.text-cyan.svelte-qeturm{color:#22d3ee}.text-amber.svelte-qeturm{color:#fbbf24}.text-orange.svelte-qeturm{color:#fb923c}.text-emerald.svelte-qeturm{color:#34d399}.status-card.svelte-qeturm{min-width:95px}.status-indicator.svelte-qeturm{font-size:.82rem;font-weight:600}.status-indicator.idle.svelte-qeturm{color:#94a3b8}.status-indicator.animating.svelte-qeturm{color:#38bdf8;animation:1s infinite alternate svelte-qeturm-pulse}.status-indicator.success.svelte-qeturm{color:#34d399}.status-indicator.failure.svelte-qeturm{color:#f87171}@keyframes svelte-qeturm-pulse{0%{opacity:.6}to{opacity:1}}.legend-container.svelte-1wfxrff{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#cbd5e1;-webkit-user-select:none;user-select:none;background:#12141db3;border-bottom:1px solid #ffffff14;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.25rem;padding:.6rem 1rem;font-size:.85rem;display:flex}.legend-item.svelte-1wfxrff{align-items:center;gap:.45rem;display:flex}.legend-node.svelte-1wfxrff{box-sizing:border-box;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;font-size:.7rem;font-weight:700;display:flex}.icon.svelte-1wfxrff{width:14px;height:14px}.node-start.svelte-1wfxrff{color:#fff;background:#10b981;box-shadow:0 0 8px #10b98180}.node-target.svelte-1wfxrff{color:#fff;background:#ef4444;box-shadow:0 0 8px #ef444480}.node-unvisited.svelte-1wfxrff{background:#1e2230;border:1px solid #ffffff0f}.node-visited.svelte-1wfxrff{background:linear-gradient(135deg,#06b6d4,#8b5cf6);box-shadow:0 0 6px #8b5cf666}.node-path.svelte-1wfxrff{background:#eab308;box-shadow:0 0 8px #facc15}.node-wall.svelte-1wfxrff{background:#475569;border:1px solid #64748b;box-shadow:inset 0 0 3px #0f172a80}.node-weight.svelte-1wfxrff{color:#fde68a;background:#78350f;border:1px solid #b45309}.grid-wrapper.svelte-1hhz0mg{-webkit-user-select:none;user-select:none;background:#0d1017;flex:1;justify-content:center;align-items:center;padding:1.25rem 1rem;display:flex;overflow:auto}.grid-container.svelte-1hhz0mg{background:#111420;border:1px solid #ffffff14;border-radius:4px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 10px 30px #00000080}.grid-row.svelte-1hhz0mg{display:flex}.node.svelte-1hhz0mg{box-sizing:border-box;cursor:pointer;background:#111420;border:1px solid #ffffff0a;justify-content:center;align-items:center;width:25px;height:25px;transition:background-color .1s;display:flex}.node.svelte-1hhz0mg:hover:not(.node-start):not(.node-target):not(.node-wall){background:#ffffff0f}.node-icon.svelte-1hhz0mg{pointer-events:none;width:15px;height:15px}.node-start.svelte-1hhz0mg{color:#fff;cursor:grab;z-index:5;box-shadow:0 0 10px #10b98199;background:#10b981!important}.node-start.svelte-1hhz0mg:active{cursor:grabbing}.node-target.svelte-1hhz0mg{color:#fff;cursor:grab;z-index:5;box-shadow:0 0 10px #ef444499;background:#ef4444!important}.node-target.svelte-1hhz0mg:active{cursor:grabbing}.node-wall.svelte-1hhz0mg{border-radius:2px;animation:.25s ease-out svelte-1hhz0mg-wallAnimation;box-shadow:inset 0 0 4px #0f172a80;background:#475569!important;border-color:#64748b!important}.node-weight.svelte-1hhz0mg{color:#fef3c7;animation:.2s ease-out svelte-1hhz0mg-wallAnimation;background:#78350f!important;border-color:#b45309!important}.weight-label.svelte-1hhz0mg{pointer-events:none;font-size:.68rem;font-weight:800}.node-visited.svelte-1hhz0mg{background:linear-gradient(135deg,#06b6d4cc,#8b5cf6d9);border-color:#8b5cf64d}.node-path.svelte-1hhz0mg{z-index:2;box-shadow:0 0 10px #facc15b3;background:#facc15!important;border-color:#eab308!important}@keyframes svelte-1hhz0mg-wallAnimation{0%{background-color:#94a3b8;transform:scale(.4)}60%{background-color:#64748b;transform:scale(1.15)}to{background-color:#475569;transform:scale(1)}}.node-visited-animated{animation:1.2s cubic-bezier(0,0,.2,1) forwards svelte-1hhz0mg-visitedAnimation!important}.node-path-animated{animation:1s cubic-bezier(0,0,.2,1) forwards svelte-1hhz0mg-shortestPathAnimation!important}@keyframes svelte-1hhz0mg-visitedAnimation{0%{background-color:#14b8a6;border-radius:50%;transform:scale(.3)}40%{background-color:#06b6d4}75%{background-color:#6366f1;transform:scale(1.2)}to{background:linear-gradient(135deg,#06b6d4cc,#8b5cf6d9);border-radius:0;transform:scale(1)}}@keyframes svelte-1hhz0mg-shortestPathAnimation{0%{background-color:#f59e0b;border-radius:50%;transform:scale(.4)}50%{background-color:#fde047;transform:scale(1.25)}to{background-color:#facc15;border-radius:0;transform:scale(1);box-shadow:0 0 10px #facc15b3}}@media (width<=1200px){.node.svelte-1hhz0mg{width:20px;height:20px}.node-icon.svelte-1hhz0mg{width:12px;height:12px}}.app-layout.svelte-1n46o8q{background-color:#0a0c14;flex-direction:column;min-height:100vh;display:flex}.main-content.svelte-1n46o8q{flex-direction:column;flex:1;display:flex;position:relative}
