.routing-app[data-astro-cid-huqibrof]{max-width:900px}.controls[data-astro-cid-huqibrof]{flex-wrap:wrap;gap:1rem;margin:1rem 0;display:flex}.controls[data-astro-cid-huqibrof]>div[data-astro-cid-huqibrof]{flex:1;min-width:130px}label[data-astro-cid-huqibrof]{font-weight:700;display:block}select[data-astro-cid-huqibrof]{width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:.6rem}svg[data-astro-cid-huqibrof]{background:#f8fafc;border-radius:12px;width:100%;height:auto;display:block}.graph-edge[data-astro-cid-huqibrof] line[data-astro-cid-huqibrof]{stroke:#94a3b8;stroke-width:2.5px}.graph-edge[data-astro-cid-huqibrof] text[data-astro-cid-huqibrof]{fill:#334155;paint-order:stroke;stroke:#f8fafc;stroke-width:5px;stroke-linejoin:round;font-size:15px;font-weight:700}.graph-edge[data-astro-cid-huqibrof].shortest line[data-astro-cid-huqibrof]{stroke:#16a34a;stroke-width:6px}.graph-node[data-astro-cid-huqibrof] circle[data-astro-cid-huqibrof]{fill:#64748b;stroke:#fff;stroke-width:3px}.graph-node[data-astro-cid-huqibrof].visited circle[data-astro-cid-huqibrof]{fill:#2563eb}.graph-node[data-astro-cid-huqibrof].current circle[data-astro-cid-huqibrof]{fill:#f59e0b}.graph-node[data-astro-cid-huqibrof].shortest circle[data-astro-cid-huqibrof]{fill:#16a34a}.graph-node[data-astro-cid-huqibrof] text[data-astro-cid-huqibrof]{fill:#fff;font-size:16px;font-weight:700}.buttons[data-astro-cid-huqibrof]{flex-wrap:wrap;gap:.75rem;display:flex}button[data-astro-cid-huqibrof]{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:8px;padding:.7rem 1rem}button[data-astro-cid-huqibrof]:disabled{opacity:.4;cursor:not-allowed}.distances[data-astro-cid-huqibrof]{flex-wrap:wrap;gap:.8rem;display:flex}.distances[data-astro-cid-huqibrof] span[data-astro-cid-huqibrof]{background:#eff6ff;border-radius:8px;padding:.6rem}#route-result[data-astro-cid-huqibrof]{margin-top:1.5rem;font-weight:700}.weight-editor[data-astro-cid-huqibrof]{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-top:1.5rem;margin-bottom:1.5rem;padding:1.5rem}.weight-grid[data-astro-cid-huqibrof]{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0;display:grid}.weight-field[data-astro-cid-huqibrof] label[data-astro-cid-huqibrof]{margin-bottom:.35rem;font-weight:700;display:block}.weight-input[data-astro-cid-huqibrof]{width:100%;font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:.65rem;display:block}#reset-weights[data-astro-cid-huqibrof]{background:#475569}#weight-error[data-astro-cid-huqibrof]{color:#b91c1c}@media (width<=560px){.weight-grid[data-astro-cid-huqibrof]{grid-template-columns:repeat(2,minmax(0,1fr))}}
