:root{--primary: #2563EB;--primary-hover: #1d4ed8;--primary-light: #3b82f6;--secondary: #1E293B;--accent: #F59E0B;--accent-hover: #d97706;--background: #0F172A;--surface: #1E293B;--surface-light: #334155;--text-primary: #F8FAFC;--text-secondary: #94A3B8;--border: #334155;--success: #10B981;--warning: #F59E0B;--error: #ef4444;--info: #3b82f6}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--background);color:var(--text-primary);line-height:1.6}.docs-navbar{background:#0f172af2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--border);padding:1rem 0;position:fixed;width:100%;top:0;z-index:1000}.docs-container{max-width:1400px;margin:0 auto;padding:0 2rem}.nav-wrapper{display:flex;justify-content:space-between;align-items:center;gap:2rem}.nav-left{display:flex;align-items:center;gap:1.5rem}.docs-logo{font-size:1.5rem;font-weight:900;text-decoration:none;letter-spacing:-.5px}.logo-nx{color:var(--primary)}.logo-codes{color:var(--accent)}.docs-label{color:var(--text-secondary);font-size:.95rem;padding-left:1.5rem;border-left:1px solid var(--border)}.nav-right{display:flex;align-items:center;gap:1.5rem}.version-selector select{background:var(--surface);border:1px solid var(--border);color:var(--text-primary);padding:.5rem 2rem .5rem 1rem;border-radius:.5rem;font-size:.95rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center}.search-trigger{display:flex;align-items:center;gap:.75rem;background:var(--surface);border:1px solid var(--border);padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;transition:all .3s;color:var(--text-secondary)}.search-trigger:hover{border-color:var(--primary);color:var(--text-primary)}.search-trigger kbd{background:var(--surface-light);padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-family:Fira Code,monospace}.nav-link{color:var(--text-secondary);text-decoration:none;font-weight:500;transition:color .3s;display:flex;align-items:center;gap:.5rem}.nav-link:hover{color:var(--primary)}.btn-primary-small{background:var(--primary);color:#fff;padding:.5rem 1rem;border-radius:.5rem;text-decoration:none;font-weight:600;transition:all .3s;font-size:.95rem}.btn-primary-small:hover{background:var(--primary-hover);transform:translateY(-2px)}.mobile-menu-toggle{display:none;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:.5rem}.mobile-menu-toggle span{width:24px;height:2px;background:var(--text-primary);transition:all .3s}.docs-layout{display:grid;grid-template-columns:280px 1fr 200px;gap:2rem;max-width:1400px;margin:0 auto;padding:6rem 2rem 2rem;min-height:100vh}.docs-sidebar{position:sticky;top:6rem;height:calc(100vh - 8rem);overflow-y:auto;padding-right:1rem}.docs-sidebar::-webkit-scrollbar{width:6px}.docs-sidebar::-webkit-scrollbar-track{background:transparent}.docs-sidebar::-webkit-scrollbar-thumb{background:var(--surface-light);border-radius:3px}.sidebar-search{position:relative;margin-bottom:1.5rem}.sidebar-search input{width:100%;background:var(--surface);border:1px solid var(--border);color:var(--text-primary);padding:.75rem 2.5rem .75rem 1rem;border-radius:.5rem;font-size:.95rem}.sidebar-search input:focus{outline:none;border-color:var(--primary)}.sidebar-search svg{position:absolute;right:1rem;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none}.sidebar-nav{display:flex;flex-direction:column;gap:2rem}.nav-section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary);margin-bottom:.75rem}.sidebar-nav ul{list-style:none;display:flex;flex-direction:column;gap:.25rem}.sidebar-nav a{display:block;color:var(--text-secondary);text-decoration:none;padding:.5rem .75rem;border-radius:.5rem;transition:all .3s;font-size:.95rem}.sidebar-nav a:hover{color:var(--text-primary);background:#2563eb1a}.sidebar-nav a.active{color:var(--primary);background:#2563eb1a;font-weight:600}.docs-main{display:grid;grid-template-columns:1fr 200px;gap:2rem}.docs-content{max-width:800px}.docs-content h1{font-size:2.5rem;font-weight:900;color:var(--text-primary);margin-bottom:1rem;line-height:1.2}.docs-content h2{font-size:2rem;font-weight:700;color:var(--text-primary);margin-top:3rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}.docs-content h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin-top:2rem;margin-bottom:1rem}.docs-content h4{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin-top:1.5rem;margin-bottom:.75rem}.docs-content p{color:var(--text-secondary);margin-bottom:1.5rem;line-height:1.8;font-size:1.05rem}.docs-content ul,.docs-content ol{color:var(--text-secondary);margin-bottom:1.5rem;padding-left:1.5rem;line-height:1.8}.docs-content li{margin-bottom:.5rem}.docs-content a{color:var(--primary);text-decoration:none;font-weight:500;transition:color .3s}.docs-content a:hover{color:var(--primary-light);text-decoration:underline}.docs-content strong{color:var(--text-primary);font-weight:600}.docs-content code{background:var(--surface);border:1px solid var(--border);padding:.25rem .5rem;border-radius:.25rem;font-family:Fira Code,monospace;font-size:.9em;color:var(--accent)}.docs-content pre{background:var(--surface);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;overflow-x:auto;margin-bottom:1.5rem}.docs-content pre code{background:none;border:none;padding:0;color:var(--text-primary);font-size:.95rem;line-height:1.6}.docs-content table{width:100%;border-collapse:collapse;margin-bottom:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:.75rem;overflow:hidden}.docs-content th{background:#2563eb1a;color:var(--text-primary);font-weight:600;padding:.75rem 1rem;text-align:left}.docs-content td{padding:.75rem 1rem;border-top:1px solid var(--border);color:var(--text-secondary)}.docs-content blockquote{border-left:4px solid var(--primary);padding:1rem 1.5rem;margin:1.5rem 0;background:#2563eb0d;border-radius:.5rem}.docs-content blockquote p{margin-bottom:0}.alert{padding:1rem 1.5rem;border-radius:.75rem;margin-bottom:1.5rem;border-left:4px solid}.alert-info{background:#3b82f61a;border-color:var(--info)}.alert-warning{background:#f59e0b1a;border-color:var(--warning)}.alert-success{background:#10b9811a;border-color:var(--success)}.alert-error{background:#ef44441a;border-color:var(--error)}.page-nav{position:sticky;top:6rem;height:-moz-fit-content;height:fit-content}.page-nav-title{font-size:.875rem;font-weight:700;color:var(--text-secondary);margin-bottom:1rem;text-transform:uppercase;letter-spacing:.5px}.page-nav nav{display:flex;flex-direction:column;gap:.5rem}.page-nav a{color:var(--text-secondary);text-decoration:none;font-size:.875rem;padding:.25rem 0 .25rem 1rem;border-left:2px solid var(--border);transition:all .3s}.page-nav a:hover{color:var(--text-primary);border-color:var(--primary)}.page-nav a.active{color:var(--primary);border-color:var(--primary);font-weight:600}.search-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2000;display:none;align-items:flex-start;justify-content:center;padding-top:10vh}.search-modal.active{display:flex}.search-modal-backdrop{position:absolute;top:0;left:0;width:100%;height:100%;background:#000c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.search-modal-content{position:relative;width:90%;max-width:600px;background:var(--surface);border:1px solid var(--border);border-radius:1rem;box-shadow:0 20px 60px #00000080;max-height:70vh;display:flex;flex-direction:column}.search-modal-header{display:flex;align-items:center;gap:1rem;padding:1.5rem;border-bottom:1px solid var(--border)}.search-modal-header input{flex:1;background:transparent;border:none;color:var(--text-primary);font-size:1.25rem;outline:none}.search-close{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;border-radius:.5rem;transition:all .3s}.search-close:hover{background:var(--surface-light);color:var(--text-primary)}.search-results{padding:1rem;overflow-y:auto;max-height:calc(70vh - 100px)}.search-empty{text-align:center;padding:3rem;color:var(--text-secondary)}@media(max-width:1200px){.docs-layout{grid-template-columns:250px 1fr}.page-nav{display:none}.docs-main{grid-template-columns:1fr}}@media(max-width:968px){.docs-layout{grid-template-columns:1fr}.docs-sidebar{position:fixed;top:0;left:-100%;width:280px;height:100vh;background:var(--background);z-index:1500;padding:6rem 1.5rem 2rem;transition:left .3s;border-right:1px solid var(--border)}.docs-sidebar.active{left:0}.mobile-menu-toggle{display:flex}.nav-right{gap:1rem}.docs-label,.nav-link,.search-trigger span{display:none}}@media(max-width:640px){.docs-container{padding:0 1rem}.docs-layout{padding:5rem 1rem 2rem}.docs-content h1{font-size:2rem}.docs-content h2{font-size:1.5rem}.version-selector{display:none}}
