*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{margin:0;font-family:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f0f9ff;color:#1f2937;line-height:1.5}body.dark{background-color:#0f172a;color:#e5e7eb}h1,h2,h3,h4,h5,h6{font-weight:600;margin:0}h1{font-size:2.25rem}h2{font-size:1.875rem}h3{font-size:1.5rem}.min-h-screen{min-height:100vh}.flex{display:flex}.flex-col{flex-direction:column}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mt-4{margin-top:1rem}.rounded{border-radius:.375rem}.rounded-lg{border-radius:.5rem}button,input,select,textarea{font-family:inherit}button{cursor:pointer;border:none;background:#3b82f6;color:#fff;padding:.5rem 1rem;border-radius:.375rem;transition:background-color .2s}button:hover{background-color:#2563eb;color:#fff}input,select,textarea{border:1px solid #d1d5db;padding:.5rem;border-radius:.375rem;font-size:1rem}.dark input,.dark select,.dark textarea{background-color:#1e293b;border-color:#475569;color:#e5e7eb}.bg-white{background-color:#fff}.dark .bg-slate-700{background-color:#334155}.border{border:1px solid #d1d5db}.dark .border-slate-600{border-color:#475569}.node circle{cursor:pointer;stroke-width:2px;transition:all .3s ease}.node:hover circle{stroke-width:4px}.node text{font-size:11px;pointer-events:none;fill:#374151}.dark .node text{fill:#d1d5db}.link{fill:none;stroke:#9ca3af;stroke-width:1.5px}.dark .link{stroke:#4b5563}.scrollbar-hide::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.text-center{text-align:center}.text-white{color:#fff}.text-gray-800{color:#1f2937}.text-gray-200{color:#e5e7eb}.bg-sky-50{background-color:#f0f9ff}.bg-slate-900{background-color:#0f172a}.dark{color-scheme:dark}.transition-colors{transition-property:background-color,border-color,color;transition-duration:.3s}:root{--primary-color: #ef4444;--secondary-color: #f97316;--accent-color: #0ea5e9;--muted: #6b7280;--text-dark: #0f172a;--bg-surface: rgba(255,255,255,.92);--overlay: rgba(15,23,42,.45);--glass-blur: 6px;--radius-lg: 14px;--radius-md: 8px;--shadow-strong: 0 10px 30px rgba(2,6,23,.35)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1000;background:linear-gradient(180deg,#02061747,#02061773);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:20px}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.modal-content{width:100%;max-width:880px;max-height:88vh;background:var(--bg-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-strong);overflow:hidden;display:flex;flex-direction:column;animation:modalFadeIn .26s cubic-bezier(.2,.9,.3,1);border:1px solid rgba(15,23,42,.06)}.modal-accent{height:6px;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color))}.modal-inner{padding:22px 26px;overflow-y:auto}.modal-inner::-webkit-scrollbar{height:8px;width:10px}.modal-inner::-webkit-scrollbar-track{background:transparent}.modal-inner::-webkit-scrollbar-thumb{background:#0f172a1f;border-radius:999px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px}.modal-title{font-size:20px;font-weight:700;color:var(--text-dark);margin:0}.modal-subtitle{font-size:13px;color:var(--muted)}.modal-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;padding:6px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--muted);transition:background .16s,color .16s,transform .16s}.modal-close:focus{outline:3px solid rgba(14,165,233,.16);outline-offset:2px}.modal-close:hover{background:#0f172a0a;color:var(--primary-color);transform:rotate(12deg)}.modal-body{line-height:1.65;color:var(--text-dark);font-size:15px}.modal-body h1,.modal-body h2,.modal-body h3{margin:18px 0 10px;font-weight:700;color:var(--text-dark)}.modal-body h2{font-size:18px;color:var(--primary-color);border-bottom:none}.modal-body h3{font-size:16px;color:var(--secondary-color)}.modal-body p{margin:10px 0;color:#0f172ae6}.modal-body ul,.modal-body ol{margin:12px 0 12px 20px;padding:0}.modal-body li{margin:8px 0;color:#0f172ae6}.modal-body ul li::marker{color:var(--accent-color)}.modal-body a{color:var(--accent-color);text-decoration:underline 1px transparent;text-underline-offset:3px;font-weight:600}.modal-body a:hover{color:var(--primary-color);text-decoration-color:var(--accent-color)}.modal-body a:focus{outline:3px solid rgba(14,165,233,.16);outline-offset:3px}.modal-body code{background:#0f172a0a;padding:4px 8px;border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Courier New,monospace;font-size:13px}.modal-body pre{background:#0f172a;color:#e6eef8;padding:14px;border-radius:10px;overflow-x:auto;font-size:13px}.modal-body blockquote{border-left:3px solid rgba(14,165,233,.14);padding-left:12px;margin:12px 0;color:var(--muted);background:#0ea5e908;border-radius:6px}.modal-footer{display:flex;gap:12px;justify-content:flex-end;padding:12px 26px 18px;border-top:1px solid rgba(15,23,42,.04)}.modal-btn{padding:10px 14px;border-radius:10px;font-weight:600;cursor:pointer;border:none}.modal-btn-primary{background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));color:#fff;box-shadow:0 6px 18px #ef444424}.modal-btn-primary:hover{transform:translateY(-2px)}.modal-btn-secondary{background:transparent;border:1px solid rgba(15,23,42,.06);color:var(--text-dark)}.modal-badge{padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px;display:inline-block}@media (max-width: 640px){.modal-content{max-width:100%;border-radius:12px}.modal-inner{padding:16px}.modal-title{font-size:18px}.modal-footer{padding:12px 16px}}.modal-content ul,.modal-content ol{margin:16px 0;padding-left:24px}.modal-content li{margin:10px 0;line-height:1.6;color:var(--text-dark);font-size:15px}.modal-content ul li{list-style:disc}.modal-content ol li{list-style:decimal}.modal-content ul li::marker{color:var(--secondary-color);font-weight:600}.modal-content ol li::marker{color:var(--primary-color);font-weight:600}.modal-content ul ul,.modal-content ol ol,.modal-content ul ol,.modal-content ol ul{margin-top:8px;margin-bottom:8px;padding-left:32px}.modal-content ul ul li{list-style:circle}.modal-content ul ul ul li{list-style:square}.modal-content ul li strong{display:inline-block;min-width:100px;color:var(--primary-color)}.modal-content ul li strong:after{content:" -";color:var(--text-light);margin:0 4px}.modal-content a{color:var(--accent-color);text-decoration:none;font-weight:600;transition:all .2s ease;border-bottom:2px solid transparent;cursor:pointer;display:inline-block}.modal-content a:hover{color:var(--primary-color);border-bottom-color:var(--primary-color);transform:translateY(-1px);text-decoration:underline}.modal-content a:visited{color:#7c3aed}.modal-content a:active{color:var(--secondary-color);transform:translateY(0)}.modal-content a:focus{outline:2px solid var(--accent-color);outline-offset:2px;border-radius:2px}.modal-content a[href^=http]:after{content:" ↗";font-size:12px;margin-left:2px}.modal-content a[href^=https]:after{content:" 🔗";font-size:13px;margin-left:2px}.modal-content code{background-color:var(--bg-light);color:var(--primary-color);padding:2px 6px;border-radius:4px;font-family:Courier New,monospace;font-size:14px;border:1px solid var(--border-color)}.modal-content pre{background-color:var(--text-dark);color:#e5e7eb;padding:16px;border-radius:8px;overflow-x:auto;margin:16px 0;font-size:14px;line-height:1.5;border-left:4px solid var(--secondary-color)}.modal-content pre code{background:none;color:#e5e7eb;padding:0;border:none}.modal-content blockquote{border-left:4px solid var(--secondary-color);margin:16px 0;color:var(--text-light);font-style:italic;background-color:#f973160d;padding:12px 16px;border-radius:4px}.modal-content hr{border:none;border-top:2px solid var(--border-color);margin:24px 0}.modal-content table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}.modal-content table th{background-color:var(--primary-color);color:#fff;padding:12px;text-align:left;font-weight:600}.modal-content table td{padding:10px 12px;border:1px solid var(--border-color)}.modal-content table tr:nth-child(2n){background-color:var(--bg-light)}.modal-content table tr:hover{background-color:#ef44440d}.modal-footer{display:flex;gap:12px;margin-top:32px;padding-top:16px;border-top:2px solid var(--border-color);flex-wrap:wrap;justify-content:flex-end}.modal-btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.modal-btn-primary{background-color:var(--primary-color);color:#fff}.modal-btn-primary:hover{background-color:#dc2626;transform:translateY(-2px);box-shadow:0 4px 12px #ef44444d}.modal-btn-secondary{background-color:var(--border-color);color:var(--text-dark)}.modal-btn-secondary:hover{background-color:#d1d5db}.modal-badge{display:inline-block;background-color:var(--secondary-color);color:#fff;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;margin:4px 4px 4px 0}.modal-badge.success{background-color:var(--success-color)}.modal-badge.danger{background-color:#dc2626}@media (max-width: 768px){.modal-content{max-width:95%;padding:24px}.modal-title{font-size:24px}.modal-content h2{font-size:20px}.modal-content h3{font-size:16px}.modal-footer{justify-content:center}}@media (max-width: 480px){.modal-overlay{padding:8px}.modal-content{max-width:100%;padding:16px;max-height:90vh}.modal-header{flex-direction:column;gap:16px}.modal-title{font-size:20px}.modal-close{align-self:flex-end}.modal-content h2{font-size:18px}.modal-content h3{font-size:15px}.modal-content p,.modal-content li{font-size:14px}.modal-footer{flex-direction:column-reverse}.modal-btn{width:100%;padding:12px 16px}}
