@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap";:root{--bg-primary:#f8fafc;--bg-secondary:#fff;--bg-tertiary:#f1f5f9;--bg-surface:#fff;--bg-glass:#ffffffd9;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--text-light:#94a3b8;--accent-primary:#2563eb;--accent-primary-hover:#1d4ed8;--accent-primary-light:#eff6ff;--accent-secondary:#0ea5e9;--accent-success:#10b981;--accent-warning:#f59e0b;--accent-danger:#ef4444;--border-color:#e2e8f0;--border-color-subtle:#f1f5f9;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #00000012, 0 2px 4px -1px #0000000a;--shadow-lg:0 10px 15px -3px #00000014, 0 4px 6px -2px #00000008;--sidebar-width:285px;--toc-width:240px;--header-height:64px;--font-sans:"Inter", system-ui, -apple-system, sans-serif;--font-mono:"JetBrains Mono", monospace}[data-theme=dark]{--bg-primary:#0b0f19;--bg-secondary:#111827;--bg-tertiary:#1f2937;--bg-surface:#1e293b;--bg-glass:#0f172ae0;--text-primary:#f8fafc;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--text-light:#64748b;--accent-primary:#3b82f6;--accent-primary-hover:#60a5fa;--accent-primary-light:#3b82f626;--border-color:#1e293b;--border-color-subtle:#334155;--shadow-sm:0 1px 2px 0 #0006;--shadow-md:0 4px 6px -1px #00000080;--shadow-lg:0 10px 15px -3px #0009}*{box-sizing:border-box;margin:0;padding:0}html{font-family:var(--font-sans);color:var(--text-primary);background-color:var(--bg-primary);scroll-behavior:smooth;-webkit-font-smoothing:antialiased;font-size:15px}body{min-height:100vh;overflow-x:hidden}.doc-app-layout{flex-direction:column;min-height:100vh;display:flex}.doc-header{z-index:50;height:var(--header-height);background:var(--bg-glass);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border-color);justify-content:space-between;padding:0 1.5rem;position:sticky;top:0}.doc-header,.doc-header-left{align-items:center;display:flex}.doc-header-left{gap:1.25rem}.brand-logo{color:var(--text-primary);align-items:center;gap:.75rem;font-size:1.15rem;font-weight:700;text-decoration:none;display:flex}.brand-badge{color:#fff;text-transform:uppercase;letter-spacing:.05em;background:linear-gradient(135deg,#2563eb,#0ea5e9);border-radius:9999px;padding:.15rem .5rem;font-size:.7rem;font-weight:700}.doc-header-actions{align-items:center;gap:1rem;display:flex}.search-trigger{background:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-muted);cursor:pointer;border-radius:.5rem;align-items:center;gap:.75rem;min-width:220px;padding:.45rem .9rem;font-size:.875rem;transition:all .2s;display:flex}.search-trigger:hover{border-color:var(--accent-primary);color:var(--text-primary)}.kbd-badge{background:var(--bg-surface);font-family:var(--font-mono);border-radius:.25rem;margin-left:auto;padding:.1rem .35rem;font-size:.7rem;font-weight:600}.kbd-badge,.theme-toggle-btn{border:1px solid var(--border-color)}.theme-toggle-btn{background:var(--bg-tertiary);color:var(--text-primary);cursor:pointer;border-radius:.5rem;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:flex}.theme-toggle-btn:hover{border-color:var(--accent-primary);background:var(--bg-surface)}.doc-container{flex:1;width:100%;max-width:1536px;margin:0 auto;display:flex}.doc-sidebar{width:var(--sidebar-width);border-right:1px solid var(--border-color);background:var(--bg-secondary);height:calc(100vh - var(--header-height));top:var(--header-height);flex-shrink:0;padding:1.5rem 1rem;position:sticky;overflow-y:auto}.sidebar-search-box{margin-bottom:1.25rem;position:relative}.sidebar-search-input{background:var(--bg-tertiary);border:1px solid var(--border-color);width:100%;color:var(--text-primary);border-radius:.4rem;outline:none;padding:.45rem .75rem;font-size:.85rem}.sidebar-search-input:focus{border-color:var(--accent-primary)}.sidebar-group{margin-bottom:1.5rem}.sidebar-group-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:.6rem;padding-left:.75rem;font-size:.75rem;font-weight:700}.sidebar-nav-link{color:var(--text-secondary);border-radius:.4rem;align-items:center;gap:.6rem;padding:.5rem .75rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.sidebar-nav-link:hover{background:var(--bg-tertiary);color:var(--text-primary)}.sidebar-nav-link.router-link-exact-active{background:var(--accent-primary-light);color:var(--accent-primary);font-weight:600}.doc-content-wrapper{background:var(--bg-primary);flex:1;min-width:0;padding:2.5rem 3rem}.doc-article{max-width:860px;margin:0 auto}.doc-article h1{letter-spacing:-.025em;color:var(--text-primary);margin-bottom:1rem;font-size:2.25rem;font-weight:800;line-height:1.25}.doc-article .lead-text{color:var(--text-secondary);border-bottom:1px solid var(--border-color);margin-bottom:2rem;padding-bottom:1.5rem;font-size:1.15rem;line-height:1.6}.doc-article h2{margin-top:2.5rem;margin-bottom:1rem;font-size:1.5rem;font-weight:700}.doc-article h2,.doc-article h3{color:var(--text-primary);scroll-margin-top:calc(var(--header-height) + 1.5rem)}.doc-article h3{margin-top:1.75rem;margin-bottom:.75rem;font-size:1.2rem;font-weight:600}.doc-article p{line-height:1.7}.doc-article ol,.doc-article p,.doc-article ul{color:var(--text-secondary);margin-bottom:1.25rem}.doc-article ol,.doc-article ul{padding-left:1.5rem}.doc-article li{margin-bottom:.5rem;line-height:1.6}.doc-toc{width:var(--toc-width);height:calc(100vh - var(--header-height));top:var(--header-height);border-left:1px solid var(--border-color);flex-shrink:0;padding:2rem 1.25rem;position:sticky;overflow-y:auto}.toc-title{text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem;font-size:.8rem;font-weight:700}.toc-link,.toc-title{color:var(--text-muted)}.toc-link{padding:.3rem 0;font-size:.85rem;line-height:1.4;text-decoration:none;transition:color .15s;display:block}.toc-link.active,.toc-link:hover{color:var(--accent-primary);font-weight:500}.doc-callout{background:var(--bg-secondary);border-left:4px solid;border-radius:.5rem;margin:1.5rem 0;padding:1rem 1.25rem}.doc-callout.tip{border-color:var(--accent-success);background:#10b98114}.doc-callout.info{border-color:var(--accent-primary);background:var(--accent-primary-light)}.doc-callout.warning{border-color:var(--accent-warning);background:#f59e0b14}.doc-callout.danger{border-color:var(--accent-danger);background:#ef444414}.doc-callout-title{align-items:center;gap:.5rem;margin-bottom:.4rem;font-size:.95rem;font-weight:700;display:flex}.code-container{border:1px solid var(--border-color-subtle);background:#0f172a;border-radius:.5rem;margin:1.5rem 0;overflow:hidden}.code-header{color:#94a3b8;font-size:.75rem;font-weight:600;font-family:var(--font-mono);background:#1e293b;justify-content:space-between;align-items:center;padding:.5rem 1rem;display:flex}.copy-btn{color:#cbd5e1;cursor:pointer;background:0 0;border:1px solid #334155;border-radius:.25rem;padding:.2rem .5rem;font-size:.7rem;transition:all .2s}.copy-btn:hover{color:#fff;background:#334155}.code-body{font-family:var(--font-mono);color:#e2e8f0;margin:0;padding:1.25rem;font-size:.875rem;line-height:1.6;overflow-x:auto}.badge-tech{background:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:.3rem;align-items:center;gap:.3rem;padding:.2rem .5rem;font-size:.75rem;font-weight:600;display:inline-flex}.badge-tech.ssr{color:#10b981;background:#10b98126;border-color:#10b9814d}.badge-tech.spa{color:#3b82f6;background:#3b82f626;border-color:#3b82f64d}.quick-cards-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem;margin:2rem 0;display:grid}.quick-card{background:var(--bg-secondary);border:1px solid var(--border-color);color:inherit;border-radius:.75rem;flex-direction:column;padding:1.5rem;text-decoration:none;transition:all .2s;display:flex}.quick-card:hover{border-color:var(--accent-primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.quick-card-icon{background:var(--accent-primary-light);width:42px;height:42px;color:var(--accent-primary);border-radius:.5rem;justify-content:center;align-items:center;margin-bottom:1rem;font-size:1.25rem;display:flex}.quick-card-title{color:var(--text-primary);margin-bottom:.4rem;font-size:1.1rem;font-weight:700}.quick-card-desc{color:var(--text-muted);font-size:.85rem;line-height:1.5}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#0009;justify-content:center;align-items:flex-start;width:100vw;height:100vh;padding-top:10vh;display:flex;position:fixed;top:0;left:0}.modal-content{background:var(--bg-secondary);border:1px solid var(--border-color);width:100%;max-width:600px;box-shadow:var(--shadow-lg);border-radius:.75rem;overflow:hidden}.modal-header{border-bottom:1px solid var(--border-color);align-items:center;gap:.75rem;padding:1rem;display:flex}.modal-search-input{width:100%;color:var(--text-primary);background:0 0;border:none;outline:none;font-size:1.05rem}.modal-body{max-height:400px;padding:.5rem;overflow-y:auto}.search-result-item{color:inherit;border-radius:.5rem;flex-direction:column;padding:.75rem 1rem;text-decoration:none;transition:background .15s;display:flex}.search-result-item:hover{background:var(--bg-tertiary)}.search-result-title{color:var(--accent-primary);font-size:.95rem;font-weight:600}.search-result-snippet{color:var(--text-muted);margin-top:.2rem;font-size:.825rem}@media (width<=1024px){.doc-toc{display:none}}@media (width<=768px){.doc-sidebar{display:none}.doc-content-wrapper{padding:1.5rem 1rem}.search-trigger{min-width:auto}}
