:root,[data-theme=dark]{--bg-body:#0a0e1a;--bg-nav:#0a0e1af2;--bg-card:linear-gradient(145deg, #ffffff0d 0%, #ffffff05 100%);--bg-section:#ffffff08;--bg-code:#0000004d;--bg-tag:#ffffff0f;--bg-hover:#ffffff08;--c-heading:#fff;--c-body:#e0e0e0;--c-secondary:#ffffffa6;--c-muted:#ffffff80;--c-dim:#ffffff73;--c-faint:#ffffff59;--c-ghost:#ffffff40;--c-nav:#ffffffb3;--c-nav-active:#fff;--c-footer:#ffffff40;--c-footer-link:#ffffff4d;--c-footer-link-h:#fff9;--b-primary:#ffffff14;--b-subtle:#ffffff0f;--b-strong:#ffffff26;--b-table:#ffffff0d;--b-tag:#ffffff1a;--s-card:0 12px 40px #0000004d;--s-nav:0 2px 8px #0006;--footer-img-op:.4;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=light]{--bg-body:#f5f7fa;--bg-nav:#fffffff5;--bg-card:linear-gradient(145deg, #fff 0%, #f0f2f5 100%);--bg-section:#00000005;--bg-code:#0000000a;--bg-tag:#0000000a;--bg-hover:#00000005;--c-heading:#1a1a2e;--c-body:#333340;--c-secondary:#555568;--c-muted:#777790;--c-dim:#8888a0;--c-faint:#aaaabc;--c-ghost:#ccd;--c-nav:#555568;--c-nav-active:#1a1a2e;--c-footer:#999;--c-footer-link:#888;--c-footer-link-h:#333;--b-primary:#00000014;--b-subtle:#0000000d;--b-strong:#0000001f;--b-table:#0000000f;--b-tag:#00000014;--s-card:0 2px 12px #0000000f;--s-nav:0 1px 3px #0000000f;--footer-img-op:.5;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme]:not([data-theme=dark]) body{background:var(--bg-body);color:var(--c-body)}html[data-theme]:not([data-theme=dark]) .topbar{background:var(--bg-nav);border-bottom-color:var(--b-subtle)}html[data-theme]:not([data-theme=dark]) .topbar .brand{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .g-nav{background:var(--bg-nav);border-bottom-color:var(--b-subtle);box-shadow:var(--s-nav)}html[data-theme]:not([data-theme=dark]) .g-nav .nav-brand{color:var(--c-heading);border-right-color:var(--b-strong)}html[data-theme]:not([data-theme=dark]) .g-nav a{color:var(--c-nav)}html[data-theme]:not([data-theme=dark]) .g-nav a:hover,html[data-theme]:not([data-theme=dark]) .g-nav a.active{color:var(--c-nav-active)}html[data-theme=light] .hero{background:radial-gradient(at 50% 0,#6482c80f 0%,#0000 70%)}html[data-theme]:not([data-theme=dark]) .hero h1{background:linear-gradient(135deg, var(--c-heading) 0%, var(--page-accent,#3b82f6) 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}html[data-theme]:not([data-theme=dark]) .hero p,html[data-theme]:not([data-theme=dark]) .hero .subtitle{color:var(--c-muted)}html[data-theme]:not([data-theme=dark]) .card{background:var(--bg-card);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .card:hover{box-shadow:var(--s-card)}html[data-theme]:not([data-theme=dark]) .card h2{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .card .desc{color:var(--c-muted)}html[data-theme]:not([data-theme=dark]) .card .tag{background:var(--bg-tag);border-color:var(--b-tag);color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .card .badge-soon{background:var(--bg-tag);color:var(--c-faint)}html[data-theme]:not([data-theme=dark]) .module-card{background:var(--bg-card);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .module-card:hover{box-shadow:var(--s-card)}html[data-theme]:not([data-theme=dark]) .module-card h3{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .module-card .desc{color:var(--c-muted)}html[data-theme]:not([data-theme=dark]) .knowledge-map{background:var(--bg-section);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .km-section h4{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .km-item{color:var(--c-muted);border-left-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .data-table td,html[data-theme]:not([data-theme=dark]) .compare-table td{color:var(--c-secondary);border-bottom-color:var(--b-table)}html[data-theme]:not([data-theme=dark]) .data-table tr:hover td,html[data-theme]:not([data-theme=dark]) .compare-table tr:hover td{background:var(--bg-hover)}html[data-theme]:not([data-theme=dark]) .chapter{background:var(--bg-section);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .chapter p,html[data-theme]:not([data-theme=dark]) .chapter li{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .chapter strong{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .toc{background:var(--bg-section);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .toc a{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .arch-diagram{background:var(--bg-code);border-color:var(--b-primary);color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .insight{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) h2[style*="color:#fff"],html[data-theme]:not([data-theme=dark]) h2[style*="color: #fff"]{color:var(--c-heading)!important}html[data-theme]:not([data-theme=dark]) .tl-viewport::-webkit-scrollbar-thumb{background:rgba(var(--page-accent-rgb,139,92,246), .25)}html[data-theme]:not([data-theme=dark]) .res-card{background:var(--bg-card);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .res-card:hover{box-shadow:var(--s-card)}html[data-theme]:not([data-theme=dark]) .res-card h4{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .res-card p{color:var(--c-muted)}html[data-theme]:not([data-theme=dark]) .footer{border-top-color:var(--b-subtle);color:var(--c-footer)}html[data-theme]:not([data-theme=dark]) .footer img{opacity:var(--footer-img-op)}html[data-theme]:not([data-theme=dark]) .footer a{color:var(--c-footer-link)}html[data-theme]:not([data-theme=dark]) .footer a:hover{color:var(--c-footer-link-h)}html[data-theme]:not([data-theme=dark]) .llm-card{background:var(--bg-card);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .llm-card:hover{box-shadow:var(--s-card)}html[data-theme]:not([data-theme=dark]) .llm-card .hd h3{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .llm-card .hd .org{color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .llm-card .desc{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .llm-card .tag{background:rgba(var(--page-accent-rgb,139,92,246), .08);border-color:rgba(var(--page-accent-rgb,139,92,246), .18);color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .res-card .name{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .res-card .url{color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .res-card .rdesc{color:var(--c-muted)}html[data-theme]:not([data-theme=dark]) .nav-card{background:var(--bg-card);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .nav-card:hover{box-shadow:var(--s-card)}html[data-theme]:not([data-theme=dark]) .nav-card .nc-body h3{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .nav-card .nc-body p{color:var(--c-muted)}html[data-theme]:not([data-theme=dark]) .sec h3,html[data-theme]:not([data-theme=dark]) .chapter h3{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .chapter code{background:rgba(var(--page-accent-rgb,139,92,246), .08);border-color:rgba(var(--page-accent-rgb,139,92,246), .18);color:#6d28d9}html[data-theme=light] .chapter code{color:#6d28d9}html[data-theme]:not([data-theme=dark]) .compare-table th{background:rgba(var(--page-accent-rgb,139,92,246), .08);color:var(--c-heading);border-bottom-color:var(--b-strong)}html[data-theme]:not([data-theme=dark]) .hero .meta span{background:rgba(var(--page-accent-rgb,139,92,246), .06);border-color:rgba(var(--page-accent-rgb,139,92,246), .15);color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .era-marker{border-color:var(--bg-body)}html[data-theme]:not([data-theme=dark]) .era-label{color:var(--page-accent,#8b5cf6)}html[data-theme]:not([data-theme=dark]) .era-sub{color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .evt-title{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .evt-dot{border-color:rgba(var(--page-accent-rgb,139,92,246), .55)}html[data-theme]:not([data-theme=dark]) .detail-wrap{background:rgba(var(--page-accent-rgb,139,92,246), .04);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .detail-head h3{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .detail-body p{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .detail-body strong{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .detail-close{border-color:var(--b-primary);color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .detail-hint{color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .sub-tl{border-left-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .sub-tl .sub-item{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .tl-track:after{background:linear-gradient(90deg, transparent, var(--b-primary) 2%, var(--b-primary) 98%, transparent)}html[data-theme]:not([data-theme=dark]) .era-tab{background:rgba(var(--page-accent-rgb,139,92,246), .04);border-color:var(--b-primary);color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .era-tab.active{background:rgba(var(--page-accent-rgb,139,92,246), .08);color:var(--page-accent,#8b5cf6)}html[data-theme]:not([data-theme=dark]) .section{background:var(--bg-section);border-color:var(--b-primary)}html[data-theme]:not([data-theme=dark]) .section h3{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .section p,html[data-theme]:not([data-theme=dark]) .section li{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .section strong{color:var(--c-heading)}html[data-theme]:not([data-theme=dark]) .dt th{background:rgba(var(--page-accent-rgb,245,158,11), .08);color:var(--c-heading);border-bottom-color:var(--b-strong)}html[data-theme]:not([data-theme=dark]) .dt td{color:var(--c-secondary);border-bottom-color:var(--b-table)}html[data-theme]:not([data-theme=dark]) .dt tr:hover td{background:var(--bg-hover)}html[data-theme]:not([data-theme=dark]) .data-table th{background:rgba(var(--page-accent-rgb,245,158,11), .08);color:var(--c-heading);border-bottom-color:var(--b-strong)}html[data-theme]:not([data-theme=dark]) .note{background:rgba(var(--page-accent-rgb,245,158,11), .04);color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .module-card .topic{background:rgba(var(--page-accent-rgb,245,158,11), .06);border-color:rgba(var(--page-accent-rgb,245,158,11), .15);color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .formula{background:var(--bg-code);border-color:var(--b-primary);color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .status-tag.planned{background:var(--bg-tag);color:var(--c-dim)}html[data-theme]:not([data-theme=dark]) .arch-card{background:rgba(var(--page-accent-rgb,139,92,246), .03);border-color:rgba(var(--page-accent-rgb,139,92,246), .15)}html[data-theme]:not([data-theme=dark]) .arch-card h4{color:var(--page-accent,#8b5cf6)}html[data-theme]:not([data-theme=dark]) .arch-card p{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .vs-card{background:rgba(var(--page-accent-rgb,139,92,246), .03);border-color:rgba(var(--page-accent-rgb,139,92,246), .15)}html[data-theme]:not([data-theme=dark]) .vs-card h4{color:var(--page-accent,#8b5cf6)}html[data-theme]:not([data-theme=dark]) .vs-card p,html[data-theme]:not([data-theme=dark]) .flow-step{color:var(--c-secondary)}html[data-theme]:not([data-theme=dark]) .flow-step strong{color:var(--page-accent,#8b5cf6)}html[data-theme]:not([data-theme=dark]) .flow-arrow{color:rgba(var(--page-accent-rgb,139,92,246), .5)}.theme-switcher{z-index:9999;background:var(--bg-nav);border:1px solid var(--b-primary);cursor:pointer;color:var(--c-muted);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);-webkit-user-select:none;user-select:none;border-radius:24px;align-items:center;gap:6px;padding:8px 14px;font-family:inherit;transition:all .3s;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 4px 16px #00000026}.theme-switcher:hover{border-color:var(--b-strong);color:var(--c-heading);transform:translateY(-2px);box-shadow:0 6px 24px #00000040}.theme-icon{font-size:16px;line-height:1}.theme-label{letter-spacing:.5px;font-size:11px;font-weight:500}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--b-primary);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--b-strong)}@media (width<=640px){.theme-switcher{padding:6px 10px;bottom:12px;right:12px}.theme-label{display:none}}
