/* Migrated style block 1 */
:root{--ink:#152237;--muted:#607089;--line:#dfe7f1;--canvas:#f4f7fb;--paper:#fff;--brand:#2864dd;--brand-dark:#123c94;--nav:#0c1525;--nav2:#162642;--accent:#25b9a4;--shadow:0 12px 30px rgba(30,55,91,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 92% 0,#e3efff 0,transparent 28%),var(--canvas);color:var(--ink);font:14px/1.6 Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif}.app{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:100vh}aside{position:sticky;top:0;height:100vh;padding:28px 14px;overflow:auto;background:linear-gradient(160deg,#09111f,#14243f 72%,#0b2940);color:#fff}.brand{margin:0 10px 25px;padding:0 0 18px;border-bottom:1px solid #2c3b55;font-size:20px;font-weight:800;line-height:1.3}.brand small{display:block;margin-top:7px;color:#9eafca;font-size:12px;font-weight:500;letter-spacing:.04em}#nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;min-height:62px;padding:9px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#c7d2e5;text-align:left;font:inherit;cursor:pointer;transition:.18s}.nav-item:hover{border-color:#344663;background:#1a2b48;color:#fff}.nav-item.active{border-color:#73a7ff;background:linear-gradient(135deg,#2468d8,#315cc0);box-shadow:0 10px 22px #07132966;color:#fff}.nav-index{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border:1px solid #3a4b68;border-radius:9px;color:#96a9c8;font:700 11px/1 ui-monospace,monospace}.active .nav-index{border-color:#b7d1ff;background:#ffffff1c;color:#fff}.nav-copy{display:grid;min-width:0;gap:1px;flex:1}.nav-copy small{color:#91a3c1;font-size:10px;letter-spacing:.08em}.nav-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.nav-total{color:#9badca;font:700 11px/1 ui-monospace,monospace}.active .nav-total{color:#e6f0ff}main{min-width:0;padding:48px clamp(22px,5vw,76px) 64px}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid #cfe0ff;border-radius:999px;background:#ffffffc9;color:#215fc7;font-size:11px;font-weight:800;letter-spacing:.11em}.eyebrow:before{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #25b9a421;content:""}h1{max-width:800px;margin:13px 0 8px;font-size:clamp(30px,4.1vw,48px);line-height:1.12;letter-spacing:-.055em}.lead{max-width:780px;margin:0;color:var(--muted);font-size:15px}.summary{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0 0}.summary span{padding:5px 9px;border:1px solid #d5e2f6;border-radius:7px;background:#fff;color:#52647d;font-size:12px}.summary strong{color:var(--brand-dark)}.toolbar{display:flex;gap:12px;align-items:center;margin:25px 0 26px}.search{width:min(490px,100%);padding:12px 14px;border:1px solid #ccd9eb;border-radius:11px;outline:0;background:#fff;color:var(--ink);font:inherit;box-shadow:0 3px 10px #28476a08}.search:focus{border-color:var(--brand);box-shadow:0 0 0 4px #2864dd18}.count{margin-left:auto;color:#66778f;font-size:12px}.content{display:grid;gap:30px}.group{padding-top:2px}.group-head{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin:0 0 14px}.group-marker{display:flex;gap:11px;align-items:center}.group-no{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#e5efff;color:#2864dd;font:800 11px/1 ui-monospace,monospace}.group h2{margin:0;font-size:21px;letter-spacing:-.02em}.group p{max-width:790px;margin:5px 0 0;color:var(--muted)}.group-count{flex:none;margin-top:2px;padding:5px 9px;border-radius:999px;background:#eaf0f9;color:#52647a;font-size:12px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.project-card{position:relative;display:flex;min-height:206px;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 4px 13px #1d3a6508;transition:transform .18s,box-shadow .18s,border-color .18s}.project-card:hover{z-index:1;border-color:#9cbdf4;box-shadow:var(--shadow);transform:translateY(-4px)}.project-card:before{position:absolute;top:0;right:18px;left:18px;height:3px;border-radius:0 0 3px 3px;background:var(--card-accent);content:""}.card-top{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.project-title{margin:6px 0 0;font-size:19px;line-height:1.25;letter-spacing:-.025em}.project-title a{color:inherit;text-decoration:none}.project-title a:hover{color:var(--brand)}.kind{color:#67809e;font-size:10px;font-weight:800;letter-spacing:.1em}.source-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid #dbe5f3;border-radius:8px;color:#526986;background:#f8faff;text-decoration:none;font-size:14px;transition:.16s}.source-icon:hover{border-color:#a9c4f4;background:#eaf2ff;color:var(--brand)}.card-copy{display:-webkit-box;overflow:hidden;margin:11px 0 13px;color:#63738a;font-size:12px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.tag{max-width:100%;overflow:hidden;padding:3px 7px;border:1px solid #dce7f6;border-radius:999px;background:#f5f9ff;color:#42628b;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.detail-link{display:inline-flex;align-items:center;gap:6px;margin-top:15px;color:var(--brand);font-size:12px;font-weight:800;text-decoration:none}.detail-link:after{content:"→";font-size:15px;transition:transform .16s}.detail-link:hover:after{transform:translateX(4px)}.empty{padding:54px 20px;border:1px dashed #b8c8dd;border-radius:14px;color:var(--muted);text-align:center}.detail-view{max-width:1050px}.back{display:inline-flex;align-items:center;gap:6px;margin:0 0 24px;border:0;background:transparent;color:#466282;font:700 13px/1.4 inherit;cursor:pointer}.back:hover{color:var(--brand)}.detail-hero{padding:31px;border:1px solid #dbe6f5;border-radius:20px;background:linear-gradient(135deg,#fff,#eff6ff);box-shadow:var(--shadow)}.detail-hero h1{margin:9px 0;font-size:clamp(34px,5vw,56px)}.detail-hero p{max-width:720px;margin:0;color:#536983;font-size:15px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}.button{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border:1px solid #2c66d9;border-radius:9px;background:#2864dd;color:#fff;font-size:13px;font-weight:800;text-decoration:none}.button:hover{background:#174fac}.button.ghost{border-color:#c7d9f4;background:#fff;color:#285ba9}.detail-layout{display:grid;grid-template-columns:1fr 290px;gap:18px;margin-top:18px}.detail-panel{padding:21px;border:1px solid var(--line);border-radius:15px;background:#fff}.detail-panel h2{margin:0 0 11px;font-size:17px}.detail-panel p{margin:0;color:var(--muted)}.classification-list{display:grid;gap:9px}.classification{display:block;padding:11px 12px;border:1px solid #dfebf8;border-radius:9px;background:#f8fbff;color:#3d587d;text-decoration:none;font-size:12px}.classification strong{display:block;margin-bottom:2px;color:#1f4e9e}.related{display:grid;gap:8px}.related a{padding:10px 11px;border:1px solid #e0e8f3;border-radius:9px;color:#365b90;background:#fbfdff;text-decoration:none;font-weight:700}.related a:hover{border-color:#a9c5f2;background:#f0f6ff}.detail-note{margin-top:15px;color:#8795a8;font-size:12px}footer{margin-top:38px;color:#8998ab;font-size:12px}@media(max-width:1080px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.app{grid-template-columns:1fr}aside{position:static;height:auto;padding:18px 14px}.brand{margin-bottom:14px}#nav{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:30px 18px 44px}.toolbar{align-items:stretch;flex-direction:column}.count{margin-left:0}.detail-layout{grid-template-columns:1fr}.detail-hero{padding:23px}.project-grid{grid-template-columns:1fr}}@media(max-width:480px){#nav{grid-template-columns:1fr}.group-head{gap:10px;flex-direction:column}.group-count{margin-left:40px}.project-card{min-height:190px}}

/* Migrated style block 2 */
/* 左侧树形导航：一级标题仅保留名称，二级标题按悬停状态展开。 */
  #nav{gap:5px}
  .tree-node{border:1px solid #273b58;border-radius:11px;background:#0d1b30;opacity:.76;transition:border-color .18s,background .18s,opacity .18s,box-shadow .18s}
  .tree-node:hover,.tree-node.expanded{border-color:#46698f;background:#14253f;opacity:1}
  .tree-node.active-parent{border-color:#5d94ed;background:linear-gradient(145deg,#18375f,#102744);opacity:1;box-shadow:0 7px 18px #06132555}
  .tree-node.is-muted{opacity:.72}
  .tree-node.is-muted:hover,.tree-node.is-muted.expanded{opacity:.93}
  .tree-primary{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 10px;border:0;border-radius:10px;background:transparent;color:#d6e2f5;text-align:left;font:700 14px/1.35 inherit;cursor:pointer}
  .tree-primary:hover,.tree-node.expanded .tree-primary{color:#fff}
  .tree-node.active-parent .tree-primary{color:#fff;font-weight:800}
  .tree-caret{color:#8fa5c8;font-size:16px;line-height:1;transition:transform .18s}
  .tree-node.expanded .tree-caret{transform:rotate(90deg);color:#a8c7ff}
  .tree-children{display:grid;grid-template-rows:0fr;overflow:hidden;opacity:0;transition:grid-template-rows .2s ease,opacity .16s ease}
  .tree-node.expanded .tree-children{grid-template-rows:1fr;opacity:1}
  .tree-children-inner{min-height:0;padding:2px 7px 7px}
  .tree-child{position:relative;display:block;width:100%;margin:5px 0;padding:8px 9px 8px 17px;border:1px solid #2d4565;border-radius:8px;background:#10223a;color:#bdcae0;text-align:left;font:12px/1.4 inherit;cursor:pointer;opacity:.8;transition:border-color .16s,background .16s,color .16s,opacity .16s,transform .16s}
  .tree-child:before{position:absolute;top:0;bottom:0;left:8px;width:1px;background:#426181;content:""}
  .tree-child:after{position:absolute;top:50%;left:8px;width:5px;height:1px;background:#6680a5;content:""}
  .tree-child:hover{border-color:#5d86bd;background:#1c3659;color:#fff;opacity:1;transform:translateX(2px)}
  .tree-node.active-parent .tree-child:not(.current){opacity:.76}
  .tree-child.current{border-color:#77a8ff;background:linear-gradient(135deg,#2a6be0,#2355b5);color:#fff;font-weight:800;opacity:1;box-shadow:0 5px 12px #071b3e77}
  .tree-child.current:before,.tree-child.current:after{background:#d5e5ff}
  .context-hero{position:sticky;top:14px;z-index:20;margin:0 0 17px;padding:21px 25px;border:1px solid #c9daf4;border-radius:18px;background:linear-gradient(120deg,#fff 0%,#f5f9ff 69%,#eaf3ff);box-shadow:0 14px 34px #244e8417}
  .context-path{margin:0 0 8px;color:#3e69a8;font-size:11px;font-weight:800;letter-spacing:.1em}
  .context-hero h1{margin:0;max-width:900px;font-size:clamp(30px,4.2vw,48px)}
  .context-hero p{max-width:780px;margin:7px 0 0;color:#566d8d;font-size:14px}
  .context-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
  .context-meta span{padding:4px 8px;border:1px solid #d4e1f2;border-radius:7px;background:#fff;color:#55708f;font-size:12px}
  .context-meta strong{color:#225bbd}
  .content{gap:38px}
  .group{padding:18px;border:1px solid transparent;border-radius:18px;scroll-margin-top:230px;transition:background .18s,border-color .18s}
  .group.is-current{border-color:#c9dcfa;background:#f8fbff}
  .group-no{display:none}
  .group-head{margin-bottom:10px}
  .group h2{font-size:21px}
  @media(max-width:780px){#nav{grid-template-columns:1fr}.context-hero{position:static;padding:21px}.group{padding:12px 0;scroll-margin-top:0}.group.is-current{padding:14px;border-radius:14px}.context-hero h1{font-size:32px}}

/* Migrated style block 3 */
/* 连续内容页：全部一级与二级方向都位于同一条可滚动阅读流中。 */

/* Migrated style block 4 */
/* 项目卡片：名称、核心能力、客观属性与详情入口。 */
  .project-card{min-height:250px;padding:16px}
  .card-top{display:grid;min-height:55px;margin:-16px -16px 0;place-items:center;border-radius:15px 15px 0 0}
  .project-title{min-height:0;width:100%;margin:0;padding:14px 20px 7px;color:var(--ink);text-align:center;font-size:24px}
  .project-title a{color:inherit}
  .project-title a:hover{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
  .project-card .card-summary{min-height:37px;margin:20px 0 8px;color:#4d627e;font-size:15px;line-height:1.52}
  .project-card .tags{position:relative;display:flex;min-width:0;min-height:30px;gap:6px;margin:0;align-items:center;flex-wrap:nowrap;overflow:hidden}
  .project-card .tags.has-flyout{overflow:visible}
  .project-card .tags.has-collapsed-peers{gap:0}
  .project-card .tag{min-width:0;max-width:100%;flex:0 1 auto;overflow:hidden;padding:4px 8px;background:#f7faff;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:11px;transition:border-color .16s ease,background .16s ease}
  .project-card .tag.is-truncated{cursor:help}
  .project-card .tag.is-expanded{z-index:1;border-color:#8eb4ef;background:#eef5ff}
  .project-card .tag.is-collapsed{width:0!important;min-width:0!important;max-width:0!important;flex:0 0 0!important;padding:0!important;border:0!important;margin:0!important;opacity:0;pointer-events:none}
  .project-card .tag-flyout{position:absolute;bottom:calc(100% + 6px);left:0;z-index:5;width:max-content;max-width:min(420px,calc(100vw - 40px));padding:5px 9px;border:1px solid #8eb4ef;border-radius:8px;background:#eef5ff;color:#42628b;box-shadow:0 8px 18px #1d3a6526;overflow-wrap:anywhere;white-space:normal;font-size:11px;line-height:1.45}
  .project-card .tag.pending{border-style:dashed;background:#fafbfd;color:#6d7b8e}
  .card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto;padding-top:7px}
  .project-card .detail-link,.project-card .card-source{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0;padding:7px 9px;border:1px solid #c5d9f7;border-radius:8px;background:#eff5ff;color:#1d5fcb;font-size:12px;font-weight:800;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease}
  .project-card .detail-link:after{content:none}
  .project-card:hover .detail-link,.project-card:hover .card-source{border-color:#7caaf0;background:#e2eeff}
  .project-card .detail-link:hover,.project-card .card-source:hover,.project-card .detail-link:focus-visible,.project-card .card-source:focus-visible{border-color:#2864dd;background:linear-gradient(135deg,#2864dd,#397de7);color:#fff;box-shadow:0 8px 16px #2864dd42;transform:translateY(-2px)}
  .project-card .detail-link:focus-visible,.project-card .card-source:focus-visible{outline:3px solid #9fc1f5;outline-offset:2px}
  @media(max-width:480px){.project-card{min-height:250px}.card-actions{grid-template-columns:1fr}}

/* Migrated style block 5 */
/* 桌面端：顶部二级方向信息固定，只有下方项目目录可以滚动。 */
  @media(min-width:781px){
    main{display:flex;height:100vh;flex-direction:column;overflow:hidden;padding-top:16px;padding-bottom:28px}
    .context-hero{position:relative;top:auto;flex:none}
    .project-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 13px 52px 0;scrollbar-gutter:stable}
    .project-scroll .content{gap:26px}
    .project-scroll footer{margin-top:30px}
  }

/* Migrated style block 6 */
/* 右侧全项目索引：字母轨道仅在靠近右边界时出现。 */
  .project-index{position:relative;display:flex;min-width:0;height:100vh;flex-direction:column;overflow:hidden;padding:18px 28px 16px 16px;border-left:1px solid #dbe5f2;background:#fbfdff;color:#1a2b45;box-shadow:-8px 0 24px #1d3d6610}
  .index-title{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px;color:#233955;font-size:14px;font-weight:800}
  .index-title span{color:#74869d;font-size:11px;font-weight:600}
  .index-search{width:100%;padding:10px 11px;border:1px solid #cddbec;border-radius:9px;outline:0;background:#fff;color:#203149;font:12px/1.4 inherit}
  .index-search:focus{border-color:#5e91e5;box-shadow:0 0 0 3px #3c79d514}
  .index-list{min-height:0;flex:1;margin-top:13px;overflow-y:auto;padding:0 3px 24px 0;scrollbar-width:thin;scrollbar-color:#b5c6dc transparent}
  .index-group{margin:0 0 11px;scroll-margin-top:8px}
  .index-group h3{position:sticky;top:0;z-index:1;margin:0;padding:3px 0 5px;border-bottom:1px solid #e3ebf5;background:#fbfdff;color:#4770aa;font-size:11px;font-weight:900;letter-spacing:.12em}
  .index-item{display:block;width:100%;overflow:hidden;padding:5px 7px;border:1px solid transparent;border-radius:7px;background:transparent;color:#344c6c;text-align:left;text-overflow:ellipsis;white-space:nowrap;font:12px/1.35 inherit;cursor:pointer}
  .index-item:hover,.index-item.active{border-color:#bcd4f6;background:#eaf3ff;color:#1f61c8;font-weight:800}
  .index-empty{padding:22px 8px;color:#7d8da1;font-size:12px;text-align:center}
  .index-rail{position:absolute;top:76px;right:3px;bottom:18px;z-index:3;display:flex;width:23px;align-items:center;justify-content:center;opacity:0;pointer-events:none;transform:translateX(7px);transition:opacity .16s,transform .16s;touch-action:none}
  .project-index.rail-revealed .index-rail,.project-index:focus-within .index-rail,.index-rail:hover{opacity:1;pointer-events:auto;transform:translateX(0)}
  .index-letter-list{position:relative;display:grid;width:100%;height:min(468px,100%);grid-template-rows:repeat(27,minmax(0,1fr));align-items:center}
  .index-letter{position:relative;z-index:1;width:23px;height:100%;padding:0;border:0;border-radius:6px;background:transparent;color:#60748e;font-size:9px;font-weight:800;cursor:pointer}
  .index-letter.active{background:#2864dd;color:#fff}
  .index-letter:hover:not(.active){background:#eaf3ff;color:#1f61c8}
  .index-rail.is-dragging .index-letter:hover:not(.active){background:transparent;color:#60748e}
  .index-letter:disabled{color:#c1cad6;cursor:default}
  .index-letter:disabled:hover{background:transparent;color:#c1cad6}
  .index-thumb{position:absolute;top:var(--active-letter-top,0%);right:0;width:23px;height:3.7037%;border:1px solid #8db4f2;border-radius:6px;background:#dceaffaa;pointer-events:none;transition:top .12s}
  @media(min-width:1181px){
    .app{grid-template-columns:286px minmax(0,1fr) 262px}
    .project-index{position:sticky;top:0}
  }
  @media(min-width:781px) and (max-width:1500px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
  @media(min-width:781px) and (max-width:1180px){
    .project-index{position:fixed;top:0;right:0;z-index:50;width:262px;transform:translateX(calc(100% - 15px));transition:transform .2s}
    .project-index:hover,.project-index:focus-within{transform:translateX(0)}
  }
@media(max-width:780px){
.project-index{position:fixed;top:0;right:0;z-index:60;width:min(278px,88vw);transform:translateX(calc(100% - 14px));transition:transform .2s}
.project-index:hover,.project-index:focus-within{transform:translateX(0)}
}
.category-filters{display:grid;gap:10px;margin:0 0 18px;padding:14px 16px;border:1px solid #d3e1f3;border-radius:14px;background:linear-gradient(135deg,#fff,#f4f8ff);box-shadow:0 4px 14px #1d3d6608}.category-filter-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;color:#223957}.category-filter-head strong{font-size:14px}.category-filter-head span{color:#6a7e97;font-size:12px}.category-filter-controls{display:flex;flex-wrap:wrap;gap:8px}.category-filter-controls input,.category-filter-controls select,.category-filter-clear{min-height:36px;padding:7px 9px;border:1px solid #cbdced;border-radius:8px;background:#fff;color:#314a69;font:12px/1.3 inherit}.category-filter-controls input{min-width:min(255px,100%);flex:1}.category-filter-controls select{max-width:190px}.category-filter-clear{cursor:pointer;color:#255faa;font-weight:800}.category-filter-clear:hover{border-color:#80a9e9;background:#edf5ff}@media(max-width:780px){.category-filters{padding:13px}.category-filter-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.category-filter-controls input{grid-column:1/-1;min-width:0}.category-filter-controls select{max-width:none}.category-filter-clear{grid-column:1/-1}}@media(max-width:480px){.category-filter-controls{grid-template-columns:1fr}}

/* Migrated style block 7 */
/* 左侧文件树与右侧索引栏使用统一的浅色导航配色。 */
  .app>aside:not(.project-index){border-right:1px solid #dbe5f2;background:linear-gradient(180deg,#fff 0%,#f5f9ff 100%);color:#1a2b45;box-shadow:8px 0 24px #1d3d660b}
  .app>aside:not(.project-index){display:flex;flex-direction:column;overflow:hidden;padding-top:20px;padding-bottom:20px}
  .sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid #cfe0f7;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#eaf3ff);box-shadow:0 4px 11px #2b5c9510;color:#233955;font-size:15px}
  .sidebar-title strong{letter-spacing:.01em}
  .sidebar-total{flex:none;padding:4px 7px;border:1px solid #bfd5f6;border-radius:999px;background:#fff;color:#2a64bc;font-size:11px;font-weight:800;white-space:nowrap}
  .app>aside:not(.project-index) #nav{flex:none;align-content:start;overflow:visible;padding:0 2px 0 0}
  .app>aside:not(.project-index) .tree-node{border-color:#d9e4f1;background:#fff;box-shadow:0 2px 7px #294c7607}
  .app>aside:not(.project-index) .tree-node:hover,.app>aside:not(.project-index) .tree-node.expanded{border-color:#b8d0f4;background:#f8fbff}
  .app>aside:not(.project-index) .tree-node.active-parent{border-color:#77a5ea;background:linear-gradient(145deg,#eff6ff,#e3efff);box-shadow:0 7px 18px #3570bd17}
  .app>aside:not(.project-index) .tree-node.is-muted{opacity:.88}
  .app>aside:not(.project-index) .tree-node.is-muted:hover,.app>aside:not(.project-index) .tree-node.is-muted.expanded{opacity:1}
  .app>aside:not(.project-index) .tree-primary{color:#2f4d70;font-weight:700}
  .app>aside:not(.project-index) .tree-primary:hover,.app>aside:not(.project-index) .tree-node.expanded .tree-primary,.app>aside:not(.project-index) .tree-node.active-parent .tree-primary{color:#1d5fbd}
  .app>aside:not(.project-index) .tree-caret{color:#6883a4}
  .app>aside:not(.project-index) .tree-node.expanded .tree-caret{color:#3471d5}
  .app>aside:not(.project-index) .tree-child{border-color:#dce7f4;background:#fbfdff;color:#526f91;font-weight:600}
  .app>aside:not(.project-index) .tree-child:before{background:#c7d7ea}
  .app>aside:not(.project-index) .tree-child:after{background:#9cb5d2}
  .app>aside:not(.project-index) .tree-child:hover{border-color:#9fc0f0;background:#eef6ff;color:#245da8}
  .app>aside:not(.project-index) .tree-node.active-parent .tree-child:not(.current){opacity:.78}
  .app>aside:not(.project-index) .tree-child.current{border-color:#5b91e7;background:linear-gradient(135deg,#4a86e9,#2864cc);box-shadow:0 5px 12px #2864dd2e;color:#fff}
  .app>aside:not(.project-index) .tree-child.current:before,.app>aside:not(.project-index) .tree-child.current:after{background:#e4efff}

  /* 右侧索引定位到项目后，中央项目卡片给出清晰的目标状态。 */
  .project-card:hover,.project-card.is-index-target{z-index:2;border-color:#3f80e3;background:linear-gradient(145deg,#fff,#eaf4ff);box-shadow:0 14px 30px #2864dd36;transform:translateY(-3px) scale(1.01)}
  .project-card:hover:before,.project-card.is-index-target:before{height:4px;background:#2864dd}
  .project-card:hover:after,.project-card.is-index-target:after{position:absolute;top:12px;right:14px;padding:3px 6px;border:1px solid #bcd2f5;border-radius:999px;background:#eaf3ff;color:#2662bf;font-size:10px;font-weight:800;content:"当前定位"}
  .project-card:hover .project-title a,.project-card.is-index-target .project-title a{color:#1d5fbd}

/* Migrated style block 8 */
/* Project detail pages: structured from 开源项目资料/二级页面-项目详情.md */
  .detail-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:4px 15px 56px 0;scrollbar-gutter:stable}
  .project-detail{max-width:1120px;margin:0 auto}
  .project-detail-hero{position:relative;overflow:hidden;padding:clamp(25px,4vw,46px);border:1px solid #c9dcf7;border-radius:24px;background:linear-gradient(130deg,#0d2452,#1d63bd 58%,#54b7ca);color:#fff;box-shadow:0 18px 42px #1a4d8a32}
  .project-detail-hero:after{position:absolute;right:-90px;bottom:-125px;width:350px;height:350px;border:1px solid #ffffff4a;border-radius:50%;box-shadow:0 0 0 44px #ffffff12,0 0 0 88px #ffffff0a;content:""}
  .project-detail-hero>*{position:relative;z-index:1}
  .detail-kicker{margin:0 0 10px;color:#c8e4ff;font-size:11px;font-weight:900;letter-spacing:.13em}
  .project-detail-hero h1{max-width:850px;margin:0;font-size:clamp(36px,5vw,62px);line-height:1.08;letter-spacing:-.055em}
  .detail-hero-copy{max-width:720px;margin:13px 0 0;color:#e9f4ff;font-size:15px}
  .detail-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
  .detail-facts span{padding:5px 9px;border:1px solid #ffffff45;border-radius:7px;background:#ffffff15;color:#f4f9ff;font-size:12px}
  .detail-actions .button{border-color:#fff;background:#fff;color:#174eaa}
  .detail-actions .button:hover{background:#e7f2ff}
  .detail-actions .button.ghost{border-color:#b8d8ff;background:#ffffff17;color:#fff}
  .detail-actions .button.ghost:hover{background:#ffffff2b}
  .detail-anchor-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
  .detail-anchor-nav a,.detail-anchor-nav button{padding:7px 10px;border:1px solid #d5e3f5;border-radius:999px;background:#fff;color:#3b5f91;font:800 12px/1.4 inherit;text-decoration:none;cursor:pointer}
  .detail-anchor-nav a:hover,.detail-anchor-nav button:hover{border-color:#84ace7;background:#edf5ff;color:#165bc1}
  .detail-content{display:grid;gap:16px}
  .detail-section{display:grid;grid-template-columns:58px minmax(0,1fr);gap:17px;padding:25px;border:1px solid #dce7f3;border-radius:18px;background:#fff;box-shadow:0 6px 18px #24456f09;scroll-margin-top:22px}
  .detail-section-no{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e9f2ff;color:#2364c9;font:900 13px/1 ui-monospace,monospace}
  .detail-section h2{margin:1px 0 11px;font-size:21px;letter-spacing:-.03em}
  .detail-section p{max-width:850px;margin:0 0 12px;color:#536983}
  .detail-section p:last-child{margin-bottom:0}
  .detail-highlight{padding:15px 17px;border:1px solid #b8d5ff;border-radius:12px;background:linear-gradient(100deg,#edf5ff,#f9fcff);color:#244d82}
  .detail-source-link{display:flex;align-items:center;gap:10px;max-width:850px;margin:13px 0;padding:13px 15px;border:1px solid #92b8ee;border-radius:11px;background:#f3f8ff;color:#155dc4;font-weight:800;text-decoration:none;word-break:break-all}
  .detail-source-link:hover{border-color:#2864dd;background:#e6f1ff}
  .detail-source-link small{color:#6f85a3;font-size:11px;font-weight:700;letter-spacing:.06em;white-space:nowrap}
  .detail-list{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}
  .detail-list li{position:relative;padding:10px 13px 10px 29px;border:1px solid #e0e9f4;border-radius:10px;background:#fbfdff;color:#526a88}
  .detail-list li:before{position:absolute;top:17px;left:13px;width:7px;height:7px;border-radius:50%;background:#35a68e;content:""}
  .detail-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}
  .detail-meta-grid div{padding:11px;border:1px solid #e0e9f4;border-radius:10px;background:#fbfdff}
  .detail-meta-grid small{display:block;margin-bottom:3px;color:#7890ac;font-size:10px;font-weight:900;letter-spacing:.08em}
  .detail-meta-grid strong{color:#36516f;font-size:13px}
  .detail-footer{margin:4px 0 0;color:#8494a9;font-size:12px}
  .detail-modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:22px;background:#07152a66;backdrop-filter:blur(4px)}
  .detail-modal{position:relative;width:min(510px,100%);padding:31px 31px 27px;border:1px solid #c5d9f6;border-radius:19px;background:linear-gradient(145deg,#fff,#f5f9ff);color:var(--ink);box-shadow:0 24px 70px #0718325c}
  .detail-modal-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #d4e0f1;border-radius:9px;background:#fff;color:#58708e;font:500 24px/1 Arial,sans-serif;cursor:pointer}
  .detail-modal-close:hover{border-color:#8fb3e9;background:#eaf3ff;color:#185cbd}
  .detail-modal-kicker{margin:0 0 9px;color:#2864dd;font-size:11px;font-weight:900;letter-spacing:.12em}
  .detail-modal h2{margin:0 35px 10px 0;font-size:23px;line-height:1.3;letter-spacing:-.03em}
  .detail-modal p{margin:0;color:#5a6e89;font-size:14px}
  .detail-modal-note{display:flex;gap:8px;align-items:flex-start;margin-top:18px;padding:11px 12px;border:1px solid #d7e6fa;border-radius:10px;background:#eef6ff;color:#38618f;font-size:12px}
  .detail-modal-note:before{display:grid;place-items:center;flex:none;width:17px;height:17px;border-radius:50%;background:#2864dd;color:#fff;font:900 11px/1 Arial,sans-serif;content:"i"}
  @media(max-width:780px){.detail-scroll{overflow:visible;padding-right:0}.project-detail-hero{padding:26px 22px}.detail-section{grid-template-columns:1fr;padding:20px}.detail-section-no{width:36px;height:36px}.detail-meta-grid{grid-template-columns:1fr}.detail-anchor-nav{gap:6px}.detail-modal{padding:27px 23px 23px}}

/* Keep the current-category filters above the independently scrolling card list. */
.category-filters{position:relative;z-index:30;flex:none}
.index-item{position:relative;overflow:visible}
.index-item-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.index-jump-hint{position:absolute;right:6px;bottom:calc(100% + 3px);z-index:20;padding:4px 7px;border:1px solid #82a9e4;border-radius:6px;background:#1e5fba;color:#fff;box-shadow:0 5px 12px #1b3d6d2e;font-size:10px;font-weight:800;line-height:1.25;white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(3px);transition:opacity .14s ease,transform .14s ease}
.index-item:hover .index-jump-hint,.index-item:focus-visible .index-jump-hint{opacity:1;transform:translateY(0)}
@media(max-width:780px){.category-filters{position:sticky;top:0;background:linear-gradient(135deg,#fff,#f4f8ff)}}

/* Persistent follow and open-source notice at the bottom of the left sidebar. */
.sidebar-follow{flex:none;margin:9px 0 0;padding:10px 10px 8px;border:1px solid #c9dcf5;border-radius:13px;background:linear-gradient(145deg,#fafdff,#eaf4ff);box-shadow:0 8px 20px #2760a31a;color:#274260}
.sidebar-follow-heading{display:flex;gap:9px;align-items:flex-start}
.sidebar-follow-mark{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:linear-gradient(135deg,#2864dd,#4a91eb);color:#fff;font:800 18px/1 Arial,sans-serif;box-shadow:0 4px 10px #2864dd3b}
.sidebar-follow-heading strong{display:block;color:#1d4f96;font-size:14px;line-height:1.35}
.sidebar-follow-heading p{margin:1px 0 0;color:#6c819c;font-size:10px;line-height:1.45}
.sidebar-qr-list{display:grid;grid-template-columns:1fr;gap:5px;margin:7px 0}
.sidebar-qr{min-width:0;margin:0;padding:3px 3px 2px;border:1px solid #d8e6f5;border-radius:9px;background:#fff;text-align:center}
.sidebar-qr img{display:block;width:100%;max-width:100px;aspect-ratio:1;margin:0 auto;object-fit:contain;border-radius:6px}
.sidebar-qr figcaption{margin-top:2px;color:#41698f;font-size:10px;font-weight:800;line-height:1.3}
.sidebar-license-note{margin:0;padding-top:6px;border-top:1px dashed #c8d9eb;color:#73859a;font-size:8px;line-height:1.4}
@media(max-height:850px) and (min-width:781px){.sidebar-follow{margin-top:7px;padding:8px}.sidebar-follow-heading p{display:none}.sidebar-qr-list{gap:4px;margin:5px 0}.sidebar-qr{padding:2px}.sidebar-qr img{max-width:58px}.sidebar-qr figcaption{margin-top:1px;font-size:9px}.sidebar-license-note{padding-top:5px;font-size:8px;line-height:1.34}}
@media(max-width:780px){.sidebar-follow{margin:14px 0 0}.sidebar-qr img{max-width:128px}.sidebar-license-note{font-size:10px}}

/* Global navigation shell: the project directory now lives under one site section. */
:root{--site-header-height:76px}
.site-header{position:sticky;top:0;z-index:200;display:flex;min-height:var(--site-header-height);align-items:center;justify-content:space-between;gap:28px;padding:12px clamp(18px,4vw,66px);border-bottom:1px solid #dce6f4;background:#fffffff2;box-shadow:0 5px 18px #193c690a;backdrop-filter:blur(16px)}
.site-brand{display:inline-flex;min-width:0;align-items:center;gap:10px;color:#172946;text-decoration:none}.site-brand-mark{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:11px;background:linear-gradient(135deg,#174caa,#3d85e7);color:#fff;font:800 22px/1 Georgia,serif;box-shadow:0 6px 15px #2864dd36}.site-brand strong{display:block;font-size:15px;line-height:1.25;letter-spacing:-.02em}.site-brand small{display:block;margin-top:2px;color:#7690b0;font-size:8px;font-weight:800;letter-spacing:.12em}
.site-nav{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}.site-nav::-webkit-scrollbar{display:none}.site-nav a{display:inline-flex;align-items:center;gap:5px;flex:none;padding:8px 10px;border:1px solid transparent;border-radius:8px;color:#526982;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}.site-nav a:hover{border-color:#c7daf6;background:#eff6ff;color:#1e60c5}.site-nav a[aria-current="page"]{border-color:#b7d1f7;background:#eaf3ff;color:#1c5dbc}.site-nav small{color:#8496aa;font-size:9px;font-weight:700}.site-nav a[aria-current="page"] small{color:#4b78ba}
.site-page{min-height:calc(100dvh - var(--site-header-height))}.programs-page[hidden],.site-page[hidden]{display:none}.programs-page .app{min-height:calc(100dvh - var(--site-header-height))}.programs-page aside{top:var(--site-header-height);height:calc(100dvh - var(--site-header-height))}
.home-page,.coming-page{display:block;min-height:calc(100dvh - var(--site-header-height));margin:0;padding:clamp(42px,8vw,100px) clamp(20px,7vw,120px) 56px;background:radial-gradient(circle at 88% 5%,#dceaff 0,transparent 30%),linear-gradient(180deg,#f8fbff,#f2f6fc);color:var(--ink)}
.home-page>*{max-width:1080px;margin-right:auto;margin-left:auto}.home-hero{max-width:900px;margin-left:0}.home-kicker,.home-section-kicker,.coming-kicker{margin:0 0 10px;color:#2864dd;font-size:11px;font-weight:900;letter-spacing:.13em}.home-hero h1,.coming-page h1{max-width:820px;margin:0;color:#142744;font-size:clamp(38px,6vw,68px);line-height:1.06;letter-spacing:-.06em}.home-hero>p:not(.home-kicker){max-width:700px;margin:18px 0 0;color:#58708e;font-size:17px;line-height:1.75}.home-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:27px}.home-primary,.home-secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 15px;border:1px solid #2864dd;border-radius:10px;font-size:13px;font-weight:850;text-decoration:none}.home-primary{background:linear-gradient(135deg,#2864dd,#397de7);color:#fff;box-shadow:0 10px 20px #2864dd2e}.home-primary:hover{background:#174fac}.home-primary span{font-size:17px;line-height:1}.home-secondary{border-color:#c7d9f4;background:#fff;color:#285ba9}.home-secondary:hover{border-color:#91b5ed;background:#eef5ff}
.home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:48px}.home-stats div{padding:18px;border:1px solid #d8e5f5;border-radius:14px;background:#ffffffcf;box-shadow:0 7px 17px #24456f0a}.home-stats strong{display:block;color:#1c5ebf;font-size:29px;line-height:1}.home-stats span{display:block;margin-top:6px;color:#667d99;font-size:12px;font-weight:700}.home-feature{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:34px;align-items:center;margin-top:22px;padding:clamp(25px,4vw,46px);border:1px solid #cddff6;border-radius:20px;background:linear-gradient(125deg,#0e285b,#2465bc 67%,#4cabc7);color:#fff;box-shadow:0 17px 34px #1d579332}.home-feature .home-section-kicker{color:#b7d9ff}.home-feature h2{margin:0;font-size:clamp(27px,4vw,42px);letter-spacing:-.045em}.home-feature p:not(.home-section-kicker){max-width:620px;margin:11px 0 17px;color:#e2efff;font-size:14px}.home-feature a{color:#fff;font-weight:850;text-underline-offset:4px}.home-feature ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}.home-feature li{padding:11px 13px 11px 30px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff12;color:#f2f8ff;font-size:13px}.home-feature li:before{display:inline-grid;place-items:center;width:17px;height:17px;margin:0 7px 0 -24px;border-radius:50%;background:#ffffff26;color:#d9eeff;font-size:11px;content:"✓"}.home-note{margin-top:22px;padding:23px 26px;border:1px solid #d7e3f2;border-radius:15px;background:#fff}.home-note h2{margin:0 0 7px;font-size:18px}.home-note p{max-width:800px;margin:0;color:#60738d}.site-footer{margin-top:40px!important;color:#7b8da4;text-align:center}
.coming-page{display:grid;place-content:center;min-height:calc(100dvh - var(--site-header-height));text-align:center}.coming-page>*{max-width:660px;margin-right:auto;margin-left:auto}.coming-page p:not(.coming-kicker){margin-top:15px;color:#627790;font-size:16px}.coming-page div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px}
@media(min-width:781px){.programs-page main{height:calc(100dvh - var(--site-header-height))}.programs-page .project-index{top:var(--site-header-height);height:calc(100dvh - var(--site-header-height))}}
@media(min-width:781px) and (max-width:1180px){.programs-page .project-index{top:var(--site-header-height);height:calc(100dvh - var(--site-header-height))}}
@media(max-width:780px){:root{--site-header-height:66px}.site-header{gap:12px;padding:9px 14px}.site-brand-mark{width:31px;height:31px;border-radius:9px;font-size:19px}.site-brand strong{font-size:13px}.site-brand small{font-size:7px}.site-nav{gap:2px}.site-nav a{padding:7px 8px;font-size:12px}.site-nav small{display:none}.programs-page aside{top:auto;height:auto}.programs-page .project-index{top:var(--site-header-height);height:calc(100dvh - var(--site-header-height))}.home-page,.coming-page{padding:44px 19px}.home-hero h1,.coming-page h1{font-size:39px}.home-hero>p:not(.home-kicker){font-size:15px}.home-stats{grid-template-columns:1fr;gap:8px;margin-top:32px}.home-stats div{display:flex;align-items:baseline;gap:10px;padding:14px 16px}.home-stats span{margin:0}.home-feature{grid-template-columns:1fr;gap:23px;padding:25px 22px}.home-note{padding:21px}.site-footer{margin-top:30px!important}}

/* Desktop navigation: prominent, deliberately left of visual center, and separated from the brand. */
@media(min-width:1100px){
  .site-header{display:grid;grid-template-columns:minmax(270px,1fr) auto minmax(150px,1fr);gap:0}
  .site-brand{grid-column:1;justify-self:start}
  .site-nav{grid-column:2;justify-self:center;transform:translateX(clamp(-76px,-5vw,-34px))}
  .site-nav a{gap:6px;padding:10px 13px;font-size:17px;font-weight:900;letter-spacing:.025em}
  .site-nav small{font-size:9px;letter-spacing:0}
}
@media(min-width:781px) and (max-width:1099px){
  .site-header{gap:18px}
  .site-nav a{padding:9px 10px;font-size:14px;font-weight:850}
}
