@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");*,:after,:before{box-sizing:border-box;margin:0;padding:0}:root{--header-height:56px;--sidebar-width:272px;--font-sans:"Inter",system-ui,-apple-system,sans-serif;--font-mono:"JetBrains Mono","Fira Code",monospace;--brand-50:#e6edfa;--brand-100:#b3c9f0;--brand-200:#81a6e7;--brand-400:#1b5ed3;--brand-500:#024cce;--brand-600:#0146c5;--brand-700:#023da5;--color-bg:#fafbff;--color-surface:#fff;--color-surface-2:#f4f6fb;--color-text:#0f1010;--color-text-2:#535a5e;--color-muted:#7d868e;--color-border:#d9e6f0;--color-border-2:#ecf3f7;--color-accent:#024cce;--color-accent-hover:#0146c5;--color-code-bg:#0d1117;--shadow-sm:0 1px 3px rgba(2,76,206,.06),0 1px 2px rgba(0,0,0,.04);--shadow-md:0 4px 16px rgba(2,76,206,.08),0 2px 6px rgba(0,0,0,.04);--shadow-lg:0 12px 40px rgba(2,76,206,.12),0 4px 12px rgba(0,0,0,.06);--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-xl:24px}html{scroll-behavior:smooth}body{font-family:var(--font-sans);background:var(--color-bg);color:var(--color-text);line-height:1.65;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:200;height:var(--header-height);background:var(--color-surface);border-bottom:1px solid var(--color-border-2);display:flex;align-items:center;padding:0 1.25rem;gap:0;box-shadow:var(--shadow-sm)}.app-header-logo{gap:.55rem;text-decoration:none;margin-right:1.5rem}.app-header-logo,.app-header-logo-icon{display:flex;align-items:center;flex-shrink:0}.app-header-logo-icon{width:30px;height:30px;background:linear-gradient(135deg,var(--brand-500),var(--brand-700));border-radius:8px;justify-content:center;color:#fff;font-weight:800;font-size:.8rem;box-shadow:0 2px 8px rgba(2,76,206,.3)}.app-header-logo-text{font-weight:700;font-size:.95rem;color:var(--color-text);letter-spacing:-.02em}.app-header-version{font-size:.65rem;font-weight:600;color:var(--brand-500);background:var(--brand-50);border:1px solid var(--brand-100);border-radius:100px;padding:1px 7px;letter-spacing:.02em}.app-header-tabs{display:flex;align-items:center;gap:2px;flex:1 1}.app-header-tab{display:flex;align-items:center;gap:.4rem;padding:.4rem .85rem;border-radius:var(--radius-sm);text-decoration:none;font-size:.875rem;font-weight:500;color:var(--color-text-2);transition:all .15s;position:relative}.app-header-tab.active,.app-header-tab:hover{background:var(--brand-50);color:var(--brand-500)}.app-header-tab.active{font-weight:700}.app-header-tab.active:after{content:"";position:absolute;bottom:-1px;left:10%;right:10%;height:2px;background:var(--brand-500);border-radius:2px 2px 0 0}.app-header-tab-icon{font-size:.8rem;opacity:.8}.app-header-actions{display:flex;align-items:center;gap:.5rem;margin-left:auto}.app-header-action-btn{display:flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);text-decoration:none;font-size:.8rem;font-weight:500;color:var(--color-text-2);transition:all .15s}.app-header-action-btn:hover{background:var(--color-surface-2);color:var(--color-text)}.app-header-mobile-toggle{display:none;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:transparent;cursor:pointer;color:var(--color-text);font-size:1rem;transition:background .15s}.app-header-mobile-toggle:hover{background:var(--color-surface-2)}.app-header-mobile-menu{display:none;position:absolute;top:var(--header-height);left:0;right:0;background:var(--color-surface);border-bottom:1px solid var(--color-border-2);padding:.5rem 1rem;flex-direction:column;gap:2px;box-shadow:var(--shadow-md);z-index:199;animation:fadeUp .15s ease}.app-header-mobile-link{display:flex;align-items:center;gap:.6rem;padding:.6rem .75rem;border-radius:var(--radius-sm);text-decoration:none;font-size:.9rem;font-weight:500;color:var(--color-text-2);transition:all .15s}.app-header-mobile-link.active,.app-header-mobile-link:hover{background:var(--brand-50);color:var(--brand-500);font-weight:600}.layout{display:flex;min-height:calc(100vh - var(--header-height))}.main-content{flex:1 1;padding:2.5rem 3.5rem;max-width:900px;min-width:0}.full-page{flex:1 1;min-height:calc(100vh - var(--header-height));overflow:hidden}.full-page,.sidebar-nav{display:flex;flex-direction:column}.sidebar-nav{width:var(--sidebar-width);min-width:var(--sidebar-width);background:var(--color-surface);border-right:1px solid var(--color-border-2);padding:1.75rem 1.25rem;position:-webkit-sticky;position:sticky;top:var(--header-height);height:calc(100vh - var(--header-height));overflow-y:auto;gap:0}.sidebar-logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;margin-bottom:2rem;padding:.5rem .75rem;border-radius:var(--radius-md);transition:background .15s}.sidebar-logo:hover{background:var(--color-surface-2)}.sidebar-logo-icon{width:32px;height:32px;background:linear-gradient(135deg,var(--brand-500),var(--brand-700));border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:.85rem;flex-shrink:0;box-shadow:0 2px 8px rgba(2,76,206,.3)}.sidebar-logo-text{font-weight:700;font-size:1rem;color:var(--color-text);letter-spacing:-.02em}.sidebar-section{margin-bottom:1.75rem}.sidebar-section-title{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--color-muted);padding:0 .75rem;margin-bottom:.4rem}.sidebar-link{display:flex;align-items:center;gap:.5rem;padding:.45rem .75rem;border-radius:var(--radius-sm);color:var(--color-text-2);text-decoration:none;font-size:.875rem;font-weight:450;transition:all .15s;position:relative}.sidebar-link.active,.sidebar-link:hover{background:var(--brand-50);color:var(--brand-500)}.sidebar-link.active{font-weight:600}.sidebar-link.active:before{content:"";position:absolute;left:0;top:20%;bottom:20%;width:3px;background:var(--brand-500);border-radius:0 2px 2px 0}.prose h1{font-size:2.25rem;font-weight:800;letter-spacing:-.03em;line-height:1.2;margin-bottom:1rem;background:linear-gradient(135deg,var(--color-text) 0,var(--brand-500) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.prose h1,.prose h2{color:var(--color-text)}.prose h2{font-size:1.5rem;font-weight:700;letter-spacing:-.02em;margin:2.5rem 0 .75rem}.prose h3{font-size:1.15rem;font-weight:600;margin:2rem 0 .5rem;color:var(--color-text)}.prose p{margin-bottom:1rem;color:var(--color-text-2);line-height:1.75}.prose ol,.prose ul{margin:.75rem 0 1rem 1.5rem}.prose li{margin-bottom:.35rem;color:var(--color-text-2)}.prose a{color:var(--brand-500);text-decoration:none;font-weight:500;border-bottom:1px solid transparent;transition:border-color .15s}.prose a:hover{border-bottom-color:var(--brand-500)}.prose code{font-family:var(--font-mono);font-size:.82em;background:var(--brand-50);color:var(--brand-600);padding:.15rem .45rem;border-radius:5px;border:1px solid var(--brand-100)}.prose pre{background:var(--color-code-bg);border-radius:var(--radius-lg);padding:1.5rem;overflow-x:auto;margin:1.5rem 0;border:1px solid hsla(0,0%,100%,.06);box-shadow:var(--shadow-lg)}.prose pre code{background:none;padding:0;font-size:.875rem;color:#e2e8f0;border:none}.prose blockquote{border-left:3px solid var(--brand-400);padding:.75rem 1.25rem;color:var(--color-muted);margin:1.25rem 0;background:var(--brand-50);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.prose table{width:100%;border-collapse:collapse;margin:1.5rem 0}.prose th{background:var(--color-surface-2);padding:.6rem 1rem;text-align:left;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted);border-bottom:2px solid var(--color-border)}.prose td{padding:.65rem 1rem;border-bottom:1px solid var(--color-border-2);font-size:.9rem;color:var(--color-text-2)}.prose tr:last-child td{border-bottom:none}@keyframes fadeUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes shimmer{0%{background-position:-200%}to{background-position:200%}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes pulse-ring{0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(2,76,206,.4)}70%{transform:scale(1);box-shadow:0 0 0 10px rgba(2,76,206,0)}to{transform:scale(.95);box-shadow:0 0 0 0 rgba(2,76,206,0)}}.animate-fade-up{animation:fadeUp .5s ease both}.animate-fade-in{animation:fadeIn .4s ease both}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--color-muted)}.mobile-menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);cursor:pointer;color:var(--color-text);font-size:1.1rem;flex-shrink:0;transition:background .15s}.mobile-menu-btn:hover{background:var(--color-surface-2)}.mobile-topbar{display:none;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--color-surface);border-bottom:1px solid var(--color-border-2);position:-webkit-sticky;position:sticky;top:0;z-index:50}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(7,7,7,.5);z-index:99;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .2s ease}.sidebar-overlay.open{display:block}@media (max-width:768px){.app-header-mobile-menu,.app-header-mobile-toggle{display:flex}.app-header-action-label,.app-header-tab-label,.app-header-version{display:none}.sidebar-nav{position:fixed;top:0;left:0;height:100vh;z-index:100;transform:translateX(-100%);transition:transform .25s cubic-bezier(.4,0,.2,1);box-shadow:var(--shadow-lg);width:280px;min-width:280px}.sidebar-nav.open{transform:translateX(0)}.layout{flex-direction:column}.main-content{padding:1.25rem 1rem;max-width:100%;width:100%}.prose h1{font-size:1.65rem}.prose h2{font-size:1.25rem}.prose pre{padding:1rem;border-radius:var(--radius-md)}.prose pre,.prose table{font-size:.8rem}.prose td,.prose th{padding:.5rem .6rem}}@media (max-width:480px){.main-content{padding:1rem .75rem}.prose h1{font-size:1.4rem}.prose pre{padding:.75rem}.app-header{padding:0 .75rem}}.playground-root{display:flex;flex-direction:column;height:calc(100vh - var(--header-height));overflow:hidden;background:#0d0f14;color:#f0f2f8;--color-surface:#13161e;--color-surface-2:#1a1e28;--color-border:hsla(0,0%,100%,.08);--color-text-2:#8892a4;--color-muted:#5a6478;--font-mono:"JetBrains Mono",monospace}.playground-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 1rem;height:48px;background:var(--color-surface);border-bottom:1px solid var(--color-border);flex-shrink:0;gap:8px}.playground-main{display:flex;flex:1 1;overflow:hidden}.playground-editor{width:45%;display:flex;flex-direction:column;border-right:1px solid var(--color-border);overflow:hidden}.playground-preview-area{flex:1 1;display:flex;flex-direction:column;overflow:hidden}.playground-breakpoint-bar{display:flex;align-items:center;gap:4px;padding:.5rem 1rem;border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap}.playground-preview-content{flex:1 1;display:flex;overflow:hidden}.playground-side-panel{width:260px;border-left:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden;background:var(--color-surface)}.playground-statusbar{display:flex;align-items:center;justify-content:space-between;padding:0 1rem;height:24px;background:var(--brand-500);flex-shrink:0}@media (max-width:768px){.playground-root{height:calc(100vh - var(--header-height))}.playground-main{flex-direction:column}.playground-editor{width:100%;height:45%;border-right:none;border-bottom:1px solid var(--color-border)}.playground-preview-area{flex:1 1}.playground-side-panel{display:none}.playground-side-panel.mobile-visible{display:flex;position:fixed;bottom:24px;left:0;right:0;height:50vh;width:100%;border-left:none;border-top:1px solid var(--color-border);z-index:50}}