:root{--bg:#f5f3ee;--paper:#fcfbf8;--ink:#283136;--muted:#6b7771;--line:#e2e4dd;--accent:#6b528f;font:14px/1.65 'Songti SC','STSong',serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px 12px;transition:background .18s,transform .18s}button:hover{background:#eeeee7}button:active{transform:translateY(1px)}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #aa96c0;outline-offset:3px}a{color:var(--accent)}[hidden]{display:none!important}h1,h2,p{margin:0}.page-bar{position:sticky;top:0;z-index:2;background:#fcfbf8f5;border-bottom:1px solid var(--line);height:64px;padding:0 32px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{font-family:'Songti SC','STSong',serif;font-size:20px;text-decoration:none;color:var(--ink);letter-spacing:1px}.toolbar{display:flex;align-items:center;gap:20px;font-size:11px}.toolbar>a{text-decoration:none;color:var(--muted)}.chapter-jump{display:flex;align-items:center;gap:8px;color:var(--muted)}select{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:6px;max-width:220px;font-size:11px}.intro{text-align:center;margin:52px auto 30px;padding:0 20px}.intro>p{font-size:11px;letter-spacing:3px;color:var(--muted)}h1{font-family:'Songti SC','STSong',serif;font-size:30px;line-height:1.5;font-weight:400;margin:10px 0 11px;text-wrap:balance}.intro>span{font-size:11px;color:var(--muted)}.logic-map{width:min(900px,100%);margin:0 auto;padding:12px 22px 30px;scroll-margin-top:84px}#loading{text-align:center;color:var(--muted);padding:30px}#graph{display:flex;justify-content:center}#graph>svg{display:block;width:100%;height:auto;max-width:760px!important;overflow:visible}#graph .node{cursor:pointer;outline:none;transition:filter .2s}#graph .node:hover{filter:brightness(.95) drop-shadow(0 2px 4px #40314e22)}#graph .node:focus-visible>rect,#graph .node:focus-visible>circle,#graph .node:focus-visible>polygon{stroke:#49335f!important;stroke-width:3px!important}#graph .node.selected>rect{stroke-width:2.5px!important}#graph .cluster rect{rx:14px;ry:14px}#graph .edgePath .path{stroke-width:1.5px}#graph .node .label{font-weight:500}#graph .cluster-label{font-weight:600}#map-error{max-width:600px;margin:30px auto;padding:20px;color:#9b574c;background:#f0e5dc}.page-footer{text-align:center;color:var(--muted);font-size:11px;line-height:2.2;padding:18px 20px 55px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:8px;left:8px;background:var(--paper);padding:8px;z-index:5;transform:translateY(-200%)}.skip:focus{transform:none}
dialog{padding:0;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:13px;max-width:calc(100vw - 28px);max-height:85dvh;box-shadow:0 22px 80px #28313633}dialog::backdrop{background:#202b3766;backdrop-filter:blur(3px)}.node-dialog{width:540px;overflow:auto}.dialog-top{position:sticky;top:0;z-index:1;background:var(--paper);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:11px 21px;gap:15px}.dialog-top>span{font-size:10px;color:var(--accent);letter-spacing:.5px}.dialog-top button,.lightbox-toolbar button{font-size:24px;padding:0 6px;border:0;background:transparent;line-height:1.4}#detail{padding:19px 25px 22px}.draft-tag{font-size:10px;color:var(--muted)}h2{font-family:'Songti SC','STSong',serif;font-size:25px;font-weight:500;line-height:1.5;margin:5px 0 8px;text-wrap:balance}.step-question{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:16px}.slide{aspect-ratio:16/9;background:#efeee7;border-radius:7px;overflow:hidden}.hero-button{display:block;border:0;padding:0;width:100%;height:100%;position:relative;border-radius:0;background:transparent}.hero-button:hover{background:transparent}.hero-button img{display:block;width:100%;height:100%;object-fit:contain}.hero-button>span{position:absolute;right:8px;bottom:8px;border-radius:4px;padding:3px 7px;background:#283136b3;color:white;font-size:9px}.media-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;padding:8px 0 11px}#image-count{white-space:nowrap}.thumbnails{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px}.thumbnail{width:83px;padding:0;border:2px solid transparent;border-radius:5px;overflow:hidden}.thumbnail img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.thumbnail span{display:block;font-size:9px;padding:3px 5px;text-align:left}.thumbnail[aria-pressed=true]{border-color:var(--accent)}#points{margin:12px 0 16px;padding-left:18px;font-size:12px;line-height:1.9}#points li+li{margin-top:5px}#points li::marker{color:var(--accent)}.verification{font-size:11px;line-height:1.8;color:#87643e;background:#f1e9dc;border-left:2px solid #c69760;padding:9px 12px;margin:14px 0}.resource-links{display:flex;flex-wrap:wrap;gap:7px}.resource-link{display:inline-flex;gap:8px;font-size:11px;text-decoration:none;border-bottom:1px solid #cfc5dc;padding:4px 0;overflow-wrap:anywhere}.resource-link:hover{color:#38214f}.node-footer{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.node-footer>div:first-child{min-width:0}.node-footer span{font-size:9px;color:var(--muted)}.node-footer p{font-size:11px;margin-top:4px;line-height:1.8}.node-controls{display:flex;gap:5px;flex-shrink:0}.node-controls button{font-size:10px;padding:7px 8px}.image-empty{height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.lightbox{width:min(1300px,96vw);padding:14px 18px}.lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px;font-size:11px}.lightbox img{width:100%;display:block;max-height:68dvh;object-fit:contain;background:#f8f6f0}.lightbox-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:12px;font-size:11px}.lightbox-controls button{font-size:11px}
@media(max-width:620px){.page-bar{height:59px;padding:0 14px}.brand{font-size:16px}.toolbar{gap:10px}.chapter-jump>span{display:none}select{max-width:122px;font-size:10px}.toolbar>a{font-size:10px}.intro{margin:32px auto 20px}.intro>p{font-size:10px}h1{font-size:23px}.intro>span{font-size:10px;line-height:1.8;display:block}.logic-map{padding:8px 10px 24px}.node-dialog{max-height:88dvh}#detail{padding:15px 18px 18px}h2{font-size:23px}.dialog-top{padding:10px 16px}.node-footer{gap:10px}.lightbox{padding:10px}.lightbox-toolbar{font-size:10px}.lightbox-controls{gap:10px}.lightbox-controls button{font-size:10px}}
.intro{margin:28px auto 20px}.intro>span{display:block;margin-top:7px}#graph>svg{max-width:460px!important}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* PDF 式阅读壳：左侧目录，右侧独立滚动的可缩放整图。 */
body{overflow:hidden}.page-bar{position:relative;height:64px;padding:0 20px}.brand-group{display:flex;align-items:center;gap:12px}.brand-group button{border:0;background:transparent;padding:5px 8px}.zoom-tools{display:flex;align-items:center;gap:6px}.zoom-tools button{padding:6px 10px;font-size:12px}.zoom-tools output{min-width:54px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}.pdf-reader{height:calc(100dvh - 64px);display:grid;grid-template-columns:235px minmax(0,1fr)}.outline{background:var(--paper);border-right:1px solid var(--line);overflow:auto;padding:24px 18px;display:flex;flex-direction:column;min-height:0}.outline h1{font:500 14px/1.5 'Songti SC','STSong',serif;margin:0;text-align:left}.outline>p{font-size:10px;color:var(--muted);margin:7px 0 18px}.outline-chapter{margin-bottom:16px}.outline-chapter>button{width:100%;background:none;border:0;border-radius:5px;padding:9px 7px;font-size:12px;text-align:left;display:flex;gap:10px;color:var(--chapter-color)}.outline-chapter>button strong{font-weight:500;color:var(--ink)}.outline-node{display:block;width:100%;text-align:left;border:0;background:none;padding:7px 6px 7px 30px;color:var(--muted);font-size:10px;line-height:1.6}.outline-node.active{background:#e9e5f0;color:#604880}.outline-footer{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);font-size:10px;display:flex;flex-direction:column;gap:12px;color:var(--muted)}.outline-footer a{text-decoration:none}.logic-map{position:relative;width:100%;height:100%;padding:0;margin:0;overflow:auto;min-width:0;overscroll-behavior:contain;background-color:#eeece6;background-image:radial-gradient(#c4c4bc 0.6px,transparent 0.6px);background-size:18px 18px}.logic-map:focus-visible{outline:2px solid #aa96c0;outline-offset:-2px}#map-surface{position:relative;min-height:100%;min-width:100%}#graph{position:absolute;display:block;margin:0;padding:0;transform-origin:0 0}#graph>svg{width:100%!important;height:100%!important;max-width:none!important;display:block;overflow:visible}#loading{position:absolute;inset:0;display:grid;place-content:center}.pdf-reader.outline-hidden{grid-template-columns:minmax(0,1fr)}.pdf-reader.outline-hidden .outline{display:none}#map-error{position:absolute;top:20px;left:20px;right:20px;margin:0}
@media(max-width:700px){.page-bar{height:58px;padding:0 10px;gap:8px}.brand{font-size:14px;letter-spacing:0}.brand-group{gap:3px}.zoom-tools{gap:3px}.zoom-tools button{font-size:10px;padding:6px 7px}.zoom-tools output{min-width:39px;font-size:10px}#actual-size{display:none}.pdf-reader{height:calc(100dvh - 58px);grid-template-columns:1fr}.outline{position:absolute;z-index:3;left:0;top:58px;bottom:0;width:235px;box-shadow:16px 0 40px #28313622}.pdf-reader.outline-hidden .outline{display:none}.outline-node{font-size:11px;padding-top:8px;padding-bottom:8px}}
#graph .muted-child rect,#graph .muted-main rect{fill:#e5e6e2!important;stroke:#d0d3cc!important}#graph .muted-child text,#graph .muted-child tspan,#graph .muted-main text,#graph .muted-main tspan{fill:#8b918b!important}#graph .active-child rect{filter:drop-shadow(0 2px 3px #28313618)}
@media(max-width:700px){#overview{font-size:9px;padding:6px 4px}.brand{max-width:112px;overflow:hidden;white-space:nowrap}}
.outline-parent{display:block;width:100%;text-align:left;background:none;border:0;padding:10px 8px 4px 16px;font-size:10px;font-weight:500;color:var(--ink)}
/* 目录层级：章节加大加粗、编号保留章色、无编号细分始终黑色。 */
.outline-chapter>button:first-child{font-size:14px;font-weight:700}
.outline-chapter>button strong{font-weight:700;color:inherit}
.outline-chapter>.outline-node,.outline-chapter>.outline-node.active{color:#000}
/* 细分阅读面板铺满右侧视口，目录和顶部工具栏仍可操作。 */
.node-dialog{position:fixed;right:0;bottom:0;margin:0;width:auto;height:auto;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;z-index:1;overflow:auto;overscroll-behavior:contain}
.node-dialog .dialog-top{padding:12px 28px;min-height:54px}
.node-dialog #detail{max-width:1160px;margin:0 auto;padding:28px 40px 48px}
.node-dialog .slide{max-width:980px;margin:0 auto;max-height:56dvh;aspect-ratio:16/9}
.node-dialog h2{font-size:30px}.node-dialog #points{font-size:15px}.node-dialog .step-question{font-size:14px}
.node-dialog .node-controls button{font-size:12px;padding:9px 14px}
.image-stack{display:flex;flex-direction:column;gap:32px;margin:22px 0 28px}.stack-image{margin:0}.stack-image-button{position:relative;display:block;width:100%;max-width:980px;margin:0 auto;padding:0;border:0;background:#f8f6f0;border-radius:7px;overflow:hidden}.stack-image-button img{display:block;width:100%;height:auto}.stack-image-button>span{position:absolute;right:10px;bottom:10px;border-radius:4px;padding:3px 7px;background:#283136b3;color:white;font-size:11px}.stack-image figcaption{max-width:980px;margin:8px auto 0;color:var(--muted);font-size:11px;line-height:1.8}
@media(max-width:700px){.node-dialog #detail{padding:20px 20px 36px}.node-dialog h2{font-size:24px}.node-dialog .slide{max-height:none}.node-dialog .dialog-top{padding:10px 18px}.detail-open .outline{z-index:3}}
.parameter-group{margin:2rem 0}
.parameter-group h3{font-size:1.15rem;color:#222;margin-bottom:1rem}
.table-scroll{overflow-x:auto;max-width:100%;border:1px solid #d8ddd8;border-radius:8px}
.table-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.parameter-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14px;line-height:1.65;text-align:left}
.parameter-table th,.parameter-table td{padding:12px 14px;border-bottom:1px solid #dde1db;border-right:1px solid #e4e7e1;vertical-align:top;min-width:115px}
.parameter-table thead th{background:#e8eef5;color:#264b70;font-weight:700}
.parameter-table tbody th{font-weight:600;background:#f4f5f1}
.parameter-table tbody tr:last-child>*{border-bottom:0}

/* 阅读区只保留节点内容，箭头导航靠右。 */
.outline h1{margin-bottom:18px}
.node-dialog .image-stack{margin-top:0}
.node-dialog .node-footer{justify-content:flex-end;border-top:0}

/* 章节编号固定单行，标题在右侧独立换行。 */
.outline-chapter>button:first-child{align-items:flex-start}
.outline-chapter>button:first-child>span{white-space:nowrap;flex:0 0 auto}
.outline-chapter>button:first-child>strong{min-width:0;flex:1;text-align:left}

/* 手机录屏：静态封面、名称和小播放按钮；主动点击后原位播放。 */
.video-card{width:min(100%,320px);margin:0 auto}.video-card-media{border-radius:8px;overflow:hidden;background:#171717}.video-card-media img,.video-card-media video{display:block;width:100%;height:auto}.video-card-media [hidden]{display:none}.stack-image.video-card figcaption{display:flex;align-items:center;justify-content:center;gap:9px;margin:10px 0 0;font-size:13px;color:var(--ink)}.video-card-play{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;padding:0;border-radius:50%;font-size:11px;color:var(--accent)}

/* 同排对照；封面只压暗红框外区域。 */
.image-stack.video-row{display:grid;grid-template-columns:repeat(2,minmax(0,320px));justify-content:center;align-items:start;gap:28px}.video-row .video-card{width:100%;min-width:0;margin:0}.video-card-media{position:relative;aspect-ratio:624/1280}.video-card-media img,.video-card-media video{width:100%;height:100%;object-fit:contain}.poster-spotlight{position:absolute;box-shadow:0 0 0 2000px rgba(0,0,0,.48);pointer-events:none}.video-row .video-card-caption{white-space:nowrap}@media(max-width:620px){.image-stack.video-row{gap:12px}.stack-image.video-card figcaption{font-size:11px;gap:5px}.video-card-play{width:25px;height:25px}}

/* 第一排：两个手机入口与第三个电脑入口。 */
.image-stack.video-row{grid-template-columns:minmax(0,240px) minmax(0,240px) minmax(0,520px);gap:24px}.video-row .stack-image{min-width:0}.video-row .desktop-card-caption{text-align:center;font-size:13px;color:var(--ink);margin-top:10px}.video-row .stack-image-button{width:100%}@media(max-width:620px){.image-stack.video-row{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}.video-row .desktop-card-caption{font-size:11px}.video-row .stack-image-button>span{font-size:9px;padding:2px 4px}}

/* 电脑截图靠下；三项名称与手机播放按钮同一基线。 */
.image-stack.video-row{align-items:end}.video-row .stack-image{display:flex;flex-direction:column}.video-row .stack-image figcaption{height:29px;min-height:29px;display:flex;align-items:center;justify-content:center;margin:10px 0 0;line-height:1.8}.video-row .desktop-card-caption{gap:9px}@media(max-width:620px){.video-row .stack-image figcaption{height:25px;min-height:25px}}

.cost-quote{margin:20px 0 16px;padding:3px 0 3px 16px;border-left:3px solid var(--accent);font-size:15px;line-height:1.9;color:var(--ink)}.cost-quote p{margin:0 0 5px}.quote-source{font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}.quote-note{display:block;font-size:11px;color:var(--muted);margin-top:4px}

.image-stack.video-row.two-video-cards{grid-template-columns:minmax(0,240px) minmax(0,520px)}@media(max-width:620px){.image-stack.video-row.two-video-cards{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}
:root .table-note{margin:12px 0 0;font-size:12px;line-height:1.6;color:#a3a3a3;}
:root .table-term-highlight{color:#d73535;font-weight:600;}

/* 早期应用界面：三张并排，图片与名称统一对齐。 */
.image-stack.three-image-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:end}.three-image-cards .stack-image{min-width:0}.three-image-cards .stack-image-button{height:300px;background:#f1f1ed}.three-image-cards .stack-image-button img{width:100%;height:100%;object-fit:contain}.three-image-cards .desktop-card-caption{text-align:center;font-size:13px;color:var(--ink);margin-top:10px}.three-image-cards .stack-image-button>span{font-size:10px}@media(max-width:700px){.image-stack.three-image-cards{gap:10px}.three-image-cards .stack-image-button{height:200px}.three-image-cards .desktop-card-caption{font-size:10px}}

.image-stack.two-image-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:end}.two-image-cards .stack-image-button{height:300px;background:transparent;border-radius:0}.two-image-cards .stack-image-button img{width:100%;height:100%;object-fit:contain}.two-image-cards .desktop-card-caption{text-align:center;font-size:13px;color:var(--ink);margin-top:10px}.two-image-cards .stack-image{min-width:0}@media(max-width:700px){.image-stack.two-image-cards{gap:12px}.two-image-cards .stack-image-button{height:230px}}

.two-image-cards .stack-image-button{display:flex;align-items:center;justify-content:center}.siri-crop{position:relative;overflow:hidden;width:201.82px;height:300px;flex-shrink:0}.two-image-cards .siri-crop img,.lightbox .siri-crop img{position:absolute;max-height:none;width:127.93%;height:161.62%;left:-14.11%;top:-31.72%;object-fit:fill;background:transparent}.lightbox #large-frame.siri-crop{height:68dvh;width:calc(68dvh * 333 / 495);margin:0 auto}.lightbox img{background:transparent}@media(max-width:700px){.two-image-cards .siri-crop{height:230px;width:154.73px}}

/* 点击图片即可放大，无按钮装饰；三图底色与页面统一。 */
.three-image-cards .stack-image-button{display:flex;align-items:center;justify-content:center;background:transparent;border-radius:0}.three-image-cards .siri-crop img{position:absolute;max-height:none;width:127.93%;height:161.62%;left:-14.11%;top:-31.72%;object-fit:fill}.siri-crop::after{content:'';position:absolute;left:35%;top:79%;width:30%;height:20%;border:3px solid #ff3038;pointer-events:none;box-sizing:border-box}.stack-image-button{cursor:zoom-in}@media(max-width:700px){.three-image-cards .siri-crop{height:200px;width:134.55px}}

.table-summary{margin:18px 0 0;padding-left:18px;color:#000;font-size:15px;line-height:1.9;font-weight:400}.table-summary li::marker{color:var(--accent)}.summary-reason{color:#d73535}

/* 攻城隐喻与 AI 三层：两排图片逐列对应。 */
.image-stack.paired-image-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;align-items:start}.paired-image-cards .stack-image{min-width:0;margin:0}.paired-image-cards .stack-image-button{width:100%;height:240px;background:transparent;border-radius:0;display:flex;align-items:center;justify-content:center}.paired-image-cards .stack-image-button img{width:100%;height:100%;object-fit:contain}.image-pair-connector{height:24px;position:relative}.image-pair-connector::before{content:"";position:absolute;left:50%;top:0;bottom:9px;border-left:1.5px solid #9aabb6}.image-pair-connector::after{content:"";position:absolute;left:calc(50% - 4px);bottom:9px;width:8px;height:8px;border-right:1.5px solid #9aabb6;border-bottom:1.5px solid #9aabb6;transform:rotate(45deg)}.paired-image-cards .ai-layer-card .stack-image-button{height:190px}.paired-image-cards .desktop-card-caption{text-align:center;font-size:16px;font-weight:600;line-height:1.7;margin:8px 0 0}.image-pair-subtitle{display:block;font-size:12px;font-weight:400;color:#7c8589;margin-top:4px}@media(max-width:700px){.image-stack.paired-image-cards{gap:0 10px}.paired-image-cards .stack-image-button{height:150px}.paired-image-cards .ai-layer-card .stack-image-button{height:125px}.paired-image-cards .desktop-card-caption{font-size:12px}.image-pair-subtitle{font-size:10px}.image-pair-connector{height:16px}}

/* 三层名词表分别跟随对应图片，保持三列对齐。 */
.layer-term-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:18px 0 8px;font-size:12px;line-height:1.65;text-align:left;color:var(--ink)}
.layer-term-table th,.layer-term-table td{padding:10px 9px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.layer-term-table thead th{background:#e9eee9;color:#546963;font-weight:600;border-top:1px solid #d2ddd6}
.layer-term-table th:first-child{width:46%}.layer-term-table tbody th{font-weight:500}.layer-term-table tbody tr:nth-child(even){background:#eff1ed66}
@media(max-width:700px){.layer-term-table{font-size:10px;margin-top:12px}.layer-term-table th,.layer-term-table td{padding:7px 4px}.layer-term-table th:first-child{width:48%}}

/* 表格下方的横向讲述链，颜色对应思路、实现与硬件。 */
.route-flow{margin:30px 0 24px;overflow-x:auto;padding:12px 0}
.route-flow-track{display:grid;grid-template-columns:1.1fr .65fr 1.35fr .7fr 1.35fr .85fr 1.35fr .55fr 1.6fr;align-items:center;min-width:960px;gap:0}
.route-flow-node{min-height:74px;padding:14px 9px;border:1px solid;border-radius:14px;text-align:center;white-space:pre-line;font-size:13px;font-weight:600;line-height:1.6}
.route-flow-node.idea{background:#e6eee8;border-color:#91ae9b;color:#3e6050}.route-flow-node.model{background:#e7edf3;border-color:#91a9c0;color:#405e7a}.route-flow-node.hardware{background:#f1e9e0;border-color:#bea084;color:#806044}
.route-flow-link{position:relative;display:flex;justify-content:center;align-items:center;height:30px}
.route-flow-link::before{content:'';position:absolute;left:0;right:2px;top:50%;border-top:1px solid #9aa8a5}.route-flow-link::after{content:'';position:absolute;right:2px;top:calc(50% - 3px);width:6px;height:6px;border-top:1px solid #9aa8a5;border-right:1px solid #9aa8a5;transform:rotate(45deg)}
.route-flow-label{position:relative;z-index:1;padding:3px 7px;border:1px solid #b59b86;border-radius:20px;background:var(--paper);color:#806044;font-size:11px;white-space:nowrap}

.image-stack.helix-overview .stack-image-button{width:100%;height:auto;background:transparent;border-radius:0;padding:0}
.image-stack.helix-overview .stack-image-button img{width:100%;height:auto;display:block;background:transparent}
.history-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin:28px 0 30px}
.history-event{position:relative;border-top:2px solid #92a9bb;padding-top:14px;font-size:12px;line-height:1.8}
.history-event::before{content:'';position:absolute;top:-5px;left:0;width:8px;height:8px;background:#65859d;border-radius:50%}
.history-year{display:block;font-size:20px;font-weight:600;color:#3c658f;margin-bottom:6px}.history-event strong{display:block;font-size:13px;font-weight:500;color:var(--ink)}.history-event p{margin-top:7px;color:var(--muted)}
@media(max-width:700px){.history-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.history-year{font-size:18px}}

/* 三条发展线与下方时间轴保持同一色彩语义。 */
.image-stack.helix-overview .compact-helix{width:min(100%,820px);margin:0 auto 36px}
.image-stack.helix-overview .compact-helix .stack-image-button{outline:none;border:none;box-shadow:none}
.helix-labels{display:flex;justify-content:space-around;gap:16px;margin-top:8px}
.helix-label{position:relative;font-size:15px;font-weight:600;letter-spacing:.05em;padding-top:18px}
.helix-label::before{content:'';position:absolute;left:50%;top:0;width:1px;height:11px;background:currentColor;opacity:.5}
.helix-label.capability{color:#7958ad}.helix-label.engineering{color:#b47736}.helix-label.hardware{color:#3977ad}
@media(max-width:700px){.helix-label{font-size:12px;letter-spacing:0}.image-stack.helix-overview .compact-helix{margin-bottom:24px}}

.history-timeline{gap:0;border:1px solid #e5e5e1;border-radius:12px;background:#fff;overflow:hidden;margin-top:24px}
.history-event{border-top:0;border-right:1px solid #ecece8;padding:18px 16px}
.history-event:last-child{border-right:0}.history-event::before{display:none}
.history-year{font-size:18px;color:#455867;font-variant-numeric:tabular-nums}.history-event p{font-size:11px;line-height:1.7}
@media(max-width:700px){.history-timeline{gap:0}.history-event{border-bottom:1px solid #ecece8;padding:15px 12px}}

.image-stack.helix-overview .compact-helix{width:min(100%,760px);margin-bottom:28px}
.image-stack.helix-overview .compact-helix .stack-image-button{height:155px;position:relative;overflow:hidden}
.image-stack.helix-overview .compact-helix .stack-image-button img{position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%}
.compact-helix .helix-labels{margin-top:0}

.image-stack.helix-overview .minimal-pyramid{width:min(100%,580px);margin:24px auto}
.image-stack .minimal-pyramid .stack-image-button{border:0;box-shadow:none;outline:none;background:transparent}

.helix-label.capability{color:#6d7e70}.helix-label.engineering{color:#ad785e}.helix-label.hardware{color:#52718b}
.history-timeline{background:#faf9f5;border-color:#e4e1d9}.history-event{border-color:#e7e3da}.history-year{color:#52718b}

.image-stack.helix-overview .compact-helix{position:relative;margin-bottom:26px;padding-bottom:48px}
.helix-milestone{position:absolute;left:50%;top:168px;transform:translateX(-50%);text-align:center;color:#485852;white-space:nowrap}
.helix-milestone::before{content:'';position:absolute;bottom:100%;left:50%;height:90px;border-left:1px solid #b9c1bb}
.helix-milestone strong{display:block;font-size:15px;letter-spacing:.02em}.helix-milestone span{display:block;font-size:11px;margin-top:4px;color:#87918b}
.compact-helix:has(.helix-milestone) .helix-labels{justify-content:space-between;margin-top:0}
.compact-helix:has(.helix-milestone) .helix-label.engineering{position:absolute;left:26%;top:8px;padding-top:0}
.compact-helix:has(.helix-milestone) .helix-label.engineering::before{top:24px}
@media(max-width:700px){.helix-milestone strong{font-size:13px}.helix-milestone span{font-size:10px}}

/* 概览两图共用左右边界与纸面底色。 */
.image-stack.helix-overview{gap:16px;margin-bottom:14px}
.image-stack.helix-overview .compact-helix{width:min(100%,980px);margin-bottom:0;padding-bottom:34px}
.image-stack.helix-overview .compact-helix .helix-label.engineering{top:-12px;left:74%;transform:translateX(-50%)}
.image-stack.helix-overview .blend-paper{background:var(--paper)}
.image-stack.helix-overview .blend-paper .stack-image-button{background:var(--paper)}
.image-stack.helix-overview .blend-paper img{mix-blend-mode:multiply}
.node-dialog #detail:has(.helix-overview){padding-bottom:24px}
#detail:has(.helix-overview) #points{margin-top:8px;margin-bottom:10px}
.image-stack.helix-overview .labeled-helix{width:min(100%,980px);margin:0 auto}
.image-stack.helix-overview .labeled-helix .stack-image-button{position:relative;height:260px;overflow:hidden;outline:none}
.labeled-helix .stack-image-button img{position:absolute;left:0;top:-35px;width:100%;max-width:none}
@media(max-width:700px){.image-stack.helix-overview .labeled-helix .stack-image-button{height:auto}.labeled-helix .stack-image-button img{position:static}}
.native-helix-labels{position:relative}
.helix-text-layer{position:absolute;top:-35px;left:0;width:100%;aspect-ratio:3;pointer-events:none}
.helix-text{position:absolute;transform:translate(-50%,-50%);font-size:16px;font-weight:400;white-space:nowrap;line-height:1.25}
.helix-text.capability{left:18%;top:81%;color:#718372}
.helix-text.engineering{left:69%;top:14.5%;color:#b9846a}
.helix-text.hardware{left:68%;top:81%;color:#56768d}
.helix-text.chatgpt{left:49%;top:66%;color:#4c5650}
.helix-text.date{left:49%;top:73%;font-size:12px;color:#778078}
@media(max-width:700px){.helix-text-layer{top:0}.helix-text{font-size:clamp(8px,2.1vw,14px)}.helix-text.date{font-size:clamp(6px,1.5vw,10px)}}

/* 模型界面与文件目录同排，完整显示原始截图。 */
.image-stack.model-file-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.model-file-cards .stack-image{min-width:0;margin:0}.model-file-cards .stack-image-button{width:100%;height:auto;padding:0;background:transparent}.model-file-cards .stack-image-button img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.model-file-cards .desktop-card-caption{text-align:center;font-size:14px;margin-top:10px}@media(max-width:700px){.image-stack.model-file-cards{gap:10px}.model-file-cards .desktop-card-caption{font-size:12px}}

#large-frame.native-helix-preview{position:relative}
#large-frame.native-helix-preview img{max-height:none}
#large-frame.native-helix-preview .helix-text-layer{top:0}

/* 标注使用屏幕级细直线，不使用立体柱状连接件。 */
.helix-leader{position:absolute;width:1px;background:currentColor;opacity:.65;transform:translateX(-50%)}
.helix-leader.capability{left:18%;top:72%;height:6%;color:#718372}
.helix-leader.engineering{left:69%;top:17%;height:7%;color:#b9846a}
.helix-leader.hardware{left:68%;top:69%;height:9%;color:#56768d}
.helix-leader.chatgpt{left:49%;top:55%;height:8%;color:#778078}

/* 模型文件页：右图下方解释权重，两侧说明保持同一基线。 */
.model-file-cards .stack-image{display:flex;flex-direction:column;align-self:stretch}
.model-file-cards .stack-image-button{flex:none}
.model-file-cards .desktop-card-caption{margin-top:auto;padding-top:14px;line-height:1.7}
.model-weight-comparison{margin:14px 0 0;font-size:12px;line-height:1.65;color:var(--ink)}
.model-weight-comparison table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.model-weight-comparison th{background:#e9eee9;color:#546963;font-weight:600}
.model-weight-comparison th,.model-weight-comparison td{padding:6px 9px;border-bottom:1px solid var(--line);vertical-align:top}
.model-weight-comparison p{margin:8px 0 0}
.model-weight-comparison .weight-share{font-weight:600;color:#3f6488}
.model-weight-comparison .weight-math{color:#6b7774}
@media(max-width:700px){.model-weight-comparison{font-size:10px;margin-top:10px}.model-weight-comparison th,.model-weight-comparison td{padding:5px 4px}.model-file-cards .desktop-card-caption{padding-top:10px}}

.model-file-cards .stack-image>.weight-share{margin:0 0 12px;text-align:center;font-size:14px;font-weight:600;line-height:1.7;color:#3f6488}
@media(max-width:700px){.model-file-cards .stack-image>.weight-share{font-size:11px;margin-bottom:8px}}

#points .point-emphasis{color:#d73535}

/* 103：模型＋运行环境 */
.image-stack.runtime-concept-stack{display:block;margin:4px 0 18px}
.runtime-concept-title{text-align:center;font-size:23px;font-weight:500;margin:10px 0 24px;line-height:1.65;text-wrap:balance}
.runtime-concept-formula{display:flex;justify-content:center;align-items:center;gap:20px;font-size:20px;margin:0 0 12px;color:#5f5877}.runtime-concept-formula strong{font-weight:500}.runtime-concept-formula span{font-size:28px;color:#87938d}
.runtime-concept-art{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.runtime-concept-art img{display:block;width:100%;height:auto}
.runtime-concept-captions{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:center;margin:6px 0 20px}.runtime-concept-captions h4{font-size:22px;font-weight:500;margin:0 0 7px;color:#3c658f}.runtime-concept-captions>div:nth-child(2) h4{color:#a16c3b}.runtime-concept-captions p{font-size:15px;color:#69736f;margin:0;line-height:1.7}
.runtime-concept-note{font-size:12px;color:#77807b;text-align:center;line-height:1.8;margin:18px 0}
@media(max-width:700px){.runtime-concept-title{font-size:19px}.runtime-concept-formula{font-size:16px;gap:10px}.runtime-concept-captions{gap:12px}.runtime-concept-captions h4{font-size:18px}.runtime-concept-captions p{font-size:12px}}

/* 单一模型文件源，分叉到两类设备 */
.runtime-file-root{position:relative;width:380px;max-width:65%;margin:0 auto 28px;text-align:center}
.runtime-file-root .runtime-concept-formula{margin:0 0 10px;font-size:18px}
.runtime-file-shot{display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.runtime-file-shot img{display:block;width:100%;height:auto;border-radius:7px}
.runtime-file-root:after{content:'';position:absolute;left:50%;top:100%;height:28px;border-left:1px solid #a9b5b0}
.runtime-device-branches{width:50%;height:22px;margin:0 auto;border:1px solid #a9b5b0;border-bottom:0}
.runtime-concept-art img{height:300px;max-height:none;object-fit:cover;object-position:center 75%}
@media(max-width:700px){.runtime-file-root{max-width:85%}.runtime-file-root .runtime-concept-formula{font-size:16px}.runtime-concept-art img{height:auto;max-height:none;object-fit:contain}}

/* 精简图示：放大模型文件与设备，收紧留白 */
.runtime-file-root{width:470px;max-width:75%;margin-bottom:20px}
.runtime-file-root:after{height:20px}
.runtime-device-branches{height:16px}
.runtime-concept-art img{height:350px;object-fit:cover;object-position:center 65%}
.runtime-concept-note{margin:12px 0}
@media(max-width:700px){.runtime-file-root{max-width:95%}.runtime-concept-art img{height:auto;object-fit:contain}}

/* 模型文件右侧放置权重与运算说明 */
.runtime-file-root{width:840px;max-width:100%;display:grid;grid-template-columns:470px minmax(0,1fr);gap:24px;align-items:center}
.runtime-file-explanation{text-align:left;font-size:14px;line-height:1.9;color:#69736f}.runtime-file-explanation strong{display:block;font-size:16px;line-height:1.7;font-weight:500;color:#3c658f}.runtime-file-explanation p{margin:14px 0 0}
@media(max-width:1000px){.runtime-file-root{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
@media(max-width:700px){.runtime-file-root{max-width:100%;grid-template-columns:1fr;gap:14px}.runtime-file-explanation{font-size:12px}.runtime-file-explanation strong{font-size:14px}}

/* 模型说明置于截图下方 */
.runtime-file-root{width:560px;max-width:100%;display:flex;flex-direction:column;gap:12px;align-items:stretch}
.runtime-file-shot{width:470px;max-width:100%;margin:0 auto}
.runtime-file-explanation{text-align:center;font-size:13px;line-height:1.7}.runtime-file-explanation strong{font-size:15px}.runtime-file-explanation p{margin:6px 0 0}

.runtime-file-root{width:100%}
@media(min-width:1000px){.runtime-file-explanation p{white-space:nowrap}}

/* 传统软件与模型文件对照：同高展示，保留图片比例。 */
.model-file-cards .stack-image-button img{height:320px;object-fit:contain}
.model-file-cards .image-pair-subtitle{display:block;font-size:14px;line-height:1.8;margin-top:10px}
@media(max-width:700px){.model-file-cards .stack-image-button img{height:auto;max-height:320px}}

.model-file-cards .stack-image-button{height:320px;display:flex;align-items:center;justify-content:center}
.model-file-cards .stack-image-button img{width:100%;height:100%;object-fit:contain}

/* Finder 源码截图只展示标题与文件列表，隐藏窗口下方空白。 */
.model-file-cards .stack-image:first-child .stack-image-button{height:130px;overflow:hidden;align-items:flex-start}
.model-file-cards .stack-image:first-child .stack-image-button img{height:auto;max-height:none}
.model-file-cards .stack-image-button{height:200px}

/* 用户提供的完整源码目录与模型文件并列。 */
.model-file-cards .stack-image:first-child .stack-image-button,.model-file-cards .stack-image-button{height:240px;overflow:visible;align-items:center}
.model-file-cards .stack-image:first-child .stack-image-button img,.model-file-cards .stack-image-button img{height:100%;width:100%;object-fit:contain}

.resource-link.video-resource-link{color:#7650a0;font-weight:400;border-bottom:0}
.resource-link.video-resource-link:hover{color:#593579}

.resource-link,.resource-link:hover{border-bottom:0;text-decoration:none}



/* 本地运行示例：文件与应用并列，对话图在下方。 */
.image-stack.local-demo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 36px;max-width:980px;margin:22px auto 28px;align-items:start}
.local-demo-cards .stack-image{min-width:0;text-align:center}
.local-demo-cards .stack-image:nth-child(-n+2) .stack-image-button{height:300px;background:transparent;display:flex;align-items:center;justify-content:center}
.local-demo-cards .stack-image:nth-child(-n+2) img{width:100%;height:100%;object-fit:contain}
.local-demo-cards .stack-image figcaption{text-align:center}
.local-demo-cards .stack-image:nth-child(3){grid-column:1 / -1}
@media(max-width:700px){.image-stack.local-demo-cards{grid-template-columns:1fr;gap:24px}.local-demo-cards .stack-image:nth-child(3){grid-column:auto}.local-demo-cards .stack-image:nth-child(-n+2) .stack-image-button{height:auto;max-height:300px}.local-demo-cards .stack-image:nth-child(-n+2) img{height:auto;max-height:300px;object-fit:contain}}

/* 两张原图共用实际显示高度，宽度按原比例分配。 */
.image-stack.local-demo-cards{grid-template-columns:230px minmax(0,1fr);gap:32px 36px;max-width:860px}
.local-demo-cards .stack-image:nth-child(-n+2) .stack-image-button{height:228px}
.local-demo-cards .stack-image:nth-child(-n+2) img{width:100%;height:100%;object-fit:contain}
.local-demo-cards .image-pair-subtitle{display:block;margin-top:4px;font-size:11px;line-height:1.8}
@media(max-width:700px){.image-stack.local-demo-cards{grid-template-columns:1fr;max-width:653px}.local-demo-cards .stack-image:first-child{max-width:230px;margin:0 auto}.local-demo-cards .stack-image:nth-child(-n+2) .stack-image-button{height:auto}.local-demo-cards .stack-image:nth-child(-n+2) img{height:auto;max-height:none}}

/* 增加左侧图注宽度与两图间距，保留图片等高。 */
.image-stack.local-demo-cards{grid-template-columns:340px minmax(0,1fr);column-gap:60px;max-width:994px}
.local-demo-cards .stack-image:first-child .stack-image-button{max-width:230px}
@media(min-width:701px){.local-demo-cards .stack-image:first-child figcaption{white-space:nowrap}}
@media(max-width:700px){.image-stack.local-demo-cards{grid-template-columns:1fr;max-width:653px}.local-demo-cards .stack-image:first-child{max-width:100%;width:100%}}

/* 云端 API 演示：终端在前，PyCharm 在后。 */
.api-demo-cards .desktop-card-caption{text-align:center;font-size:14px;color:var(--muted);margin:12px 0 0;line-height:1.7}

/* API 使用界面对照：终端／记事本、PyCharm／Word。 */
.image-stack.api-demo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px;max-width:1040px;margin:22px auto 28px;align-items:start}
.api-demo-cards .stack-image{min-width:0}
.api-demo-cards .stack-image-button{height:270px;max-width:none;background:transparent;display:flex;align-items:center;justify-content:center}
.api-demo-cards .stack-image-button img{width:100%;height:100%;object-fit:contain;max-height:none}
@media(max-width:700px){.image-stack.api-demo-cards{grid-template-columns:minmax(0,1fr);gap:24px}.api-demo-cards .stack-image-button{height:auto}.api-demo-cards .stack-image-button img{height:auto}}

/* 模型、载体与入口总览：顶部只保留一个脑子。 */
.runtime-overview{width:100%;max-width:1100px;margin:0 auto;color:#697770;text-align:center}
.runtime-overview button{border:0;background:transparent;padding:0;cursor:zoom-in;display:block;width:100%}
.runtime-overview img{display:block;width:100%;object-fit:contain}
.overview-brain{margin:0 auto;width:360px;max-width:100%}
.overview-brain-shot{height:175px}.overview-brain-shot img{height:100%}
.runtime-overview h3{font-size:24px;margin:8px 0}.runtime-overview p{font-size:15px;margin:6px 0;line-height:1.7}
.overview-main-fork{height:62px;margin:22px 25% 0;border-top:2px solid #a6b2ac;position:relative;border-left:2px solid #a6b2ac;border-right:2px solid #a6b2ac}
.overview-main-fork:before{content:'';position:absolute;height:24px;border-left:2px solid #a6b2ac;left:50%;top:-24px}
.overview-devices,.overview-entries{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.overview-device-shot{height:190px;overflow:hidden;position:relative}
.overview-device-shot img{width:200%;max-width:none;height:100%;object-fit:fill}
.cloud-device .overview-device-shot img{margin-left:-100%}
.runtime-overview h4{font-size:21px;margin:12px 0 4px}
.overview-single-stem{height:56px;width:0;border-left:2px solid #a6b2ac;margin:auto}
.overview-cloud-fork{height:56px;margin:28px 16.66% 0;border-top:2px solid #a6b2ac;border-left:2px solid #a6b2ac;border-right:2px solid #a6b2ac;position:relative}
.overview-cloud-fork:before{content:'';position:absolute;left:50%;height:28px;top:-28px;border-left:2px solid #a6b2ac}
.overview-cloud-fork:after{content:'';position:absolute;left:50%;height:56px;top:0;border-left:2px solid #a6b2ac}
.overview-cloud-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.overview-entry{margin:0;min-width:0}.overview-entry-shot{height:190px}.overview-entry-shot img{height:100%;border-radius:8px}
.overview-local-entry .overview-entry{max-width:360px;margin:auto;padding-top:28px}
.overview-entry figcaption{margin-top:14px;font-size:15px;line-height:1.8}.overview-entry figcaption strong,.overview-entry figcaption span{display:block}
.overview-bottom-note{padding-top:24px;border-top:1px solid #dce1db;margin-top:30px!important}
@media(max-width:700px){.overview-devices,.overview-entries{gap:12px}.overview-device-shot{height:100px}.overview-entry-shot{height:120px}.overview-cloud-cards{gap:6px}.overview-entry figcaption{font-size:11px}.runtime-overview h4{font-size:16px}.runtime-overview p{font-size:12px}.overview-brain-shot{height:140px}}

.overview-brain{display:flex;align-items:center;justify-content:center;gap:20px;width:620px;max-width:100%;margin:0 auto}
.overview-brain .overview-brain-shot{width:145px;flex:0 0 145px;height:145px}
.overview-brain h3{font-size:22px;white-space:nowrap;margin:0}
.overview-main-fork{margin-top:24px}
.overview-entry figcaption strong{font-size:14px}
@media(max-width:700px){.overview-brain{gap:10px}.overview-brain .overview-brain-shot{width:90px;flex-basis:90px;height:100px}.overview-brain h3{font-size:15px}.overview-entry figcaption strong{font-size:11px}}
.overview-cloud-cards figcaption strong{white-space:nowrap;font-size:12px}
@media(max-width:700px){.overview-cloud-cards figcaption strong{white-space:normal;font-size:11px}}

.overview-device-shot{width:100%;max-width:360px;aspect-ratio:991.5 / 793;height:auto!important;margin:0 auto}
.overview-device-shot img{width:200%;height:auto;object-fit:contain}
.overview-bottom-note{border-top:0;padding-top:10px;margin-top:20px!important}
.overview-cost-note{margin:18px 0 28px;text-align:left;padding-left:22px;font-size:15px;line-height:1.8}
.overview-api-details{text-align:left;margin-top:24px;border:1px solid #dce1db;border-radius:12px;background:#f7f8f4}
.overview-api-details summary{padding:18px 22px;cursor:pointer;font-size:17px;font-weight:600;color:#697770}
.overview-api-content{padding:0 22px 22px}.overview-api-notes{font-size:14px;line-height:1.8;padding-left:20px}

@media(max-width:700px){.overview-cost-note{font-size:12px}.overview-api-content{padding:0 12px 16px}}

.overview-visual{margin:0 auto;max-width:1100px}
.overview-api-details{border:0;border-radius:0;background:transparent;margin-top:8px}
.overview-api-details summary{padding:0 0 0 3px;font-size:15px;font-weight:400}
.overview-api-content{padding:16px 0 0}
.overview-cost-note{margin:18px 0 10px}

/* 收紧分叉的竖线，图片与线末端保留留白。 */
.overview-main-fork{height:24px;margin-top:16px;margin-bottom:12px}
.overview-main-fork:before{height:16px;top:-16px}
.overview-single-stem{height:24px}
.overview-cloud-fork{height:24px;margin-top:16px}
.overview-cloud-fork:before{height:16px;top:-16px}
.overview-cloud-fork:after{height:24px}
.overview-local-entry .overview-entry{padding-top:28px}
.overview-cloud-cards{padding-top:12px}
.overview-cost-note{list-style:none;padding:0;margin:18px 0 8px;font-size:15px;line-height:1.8}
.overview-cost-note li{position:relative;padding-left:22px}
.overview-cost-note li:before{content:'•';position:absolute;left:0;width:16px;text-align:center}
.overview-api-details summary{list-style:none;position:relative;padding:0 0 0 22px;font-size:15px;line-height:1.8;color:#697770}
.overview-api-details summary::-webkit-details-marker{display:none}
.overview-api-details summary:before{content:'▸';position:absolute;left:0;width:16px;text-align:center}
.overview-api-details[open] summary:before{content:'▾'}
/* 总览素材自带底部留白，设备标题与无引用页脚单独收紧。 */
.overview-device h4{margin-top:-12px;margin-bottom:4px}
#detail:has(.runtime-overview) .image-stack{margin-bottom:8px}
#detail:has(.runtime-overview) .node-footer{margin-top:8px;padding-top:4px}
#detail:has(.runtime-overview) #links:empty{display:none}

/* 裁去设备素材底部空白，标题留在正常排版中，避免被图片遮挡。 */
.overview-device-shot{aspect-ratio:991.5 / 733}
.overview-device h4{position:relative;z-index:1;margin-top:0;margin-bottom:4px;line-height:1.5}
.image-stack.agent-function-cards{display:grid;grid-template-columns:1fr 1fr 2.7fr;gap:20px;align-items:start}
.agent-function-cards .image-section-heading{grid-column:1 / -1;margin:0 0 12px;text-align:center;font-size:25px;color:#697770}
.agent-function-cards .stack-image-button{height:420px;background:transparent}
.agent-function-cards .stack-image-button img{width:100%;height:100%;object-fit:contain}
.agent-function-cards .desktop-card-caption{text-align:center;font-size:14px;line-height:1.6;margin-top:12px}
@media(max-width:700px){.image-stack.agent-function-cards{grid-template-columns:1fr 1fr}.agent-function-cards .stack-image:last-child{grid-column:1 / -1}.agent-function-cards .stack-image-button{height:340px}.agent-function-cards .stack-image:last-child .stack-image-button{height:auto}.agent-function-cards .stack-image:last-child img{height:auto}}

.image-stack.blackbox-comparison-cards{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:30px;align-items:start}
.blackbox-comparison-cards .stack-image{display:flex;flex-direction:column;min-width:0;margin:0}
.blackbox-comparison-cards .desktop-card-caption{text-align:center;font-size:21px;font-weight:650;color:#697770;margin:16px 0 0}
.blackbox-comparison-cards .stack-image-button{height:400px;background:transparent;max-width:none}
.blackbox-comparison-cards .stack-image-button img{width:100%;height:100%;object-fit:contain;max-height:none}
@media(max-width:700px){.image-stack.blackbox-comparison-cards{grid-template-columns:1fr}.blackbox-comparison-cards .stack-image-button{height:auto}.blackbox-comparison-cards .stack-image-button img{height:auto}.blackbox-comparison-cards .stack-image:last-child{max-width:300px;margin:0 auto}}

/* 201 的视频入口置于资料引用上方。 */


.resource-links.agent-evolution-links{display:flex;flex-wrap:wrap}

.timeline-company-title{font-size:24px;color:#697770;text-align:center;margin:0 0 12px;font-weight:650}

.company-timelines{width:100%;padding:8px 0 20px}.company-timeline+.company-timeline{margin-top:65px}.company-timeline h3{font-size:24px;color:#697770;margin:0 0 26px;font-weight:650}.company-timeline-row{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;margin:0;position:relative;gap:0}.company-timeline-row:before{content:"";position:absolute;left:10%;right:10%;top:45px;height:2px;background:#b2bdb9}.company-timeline-step{display:flex;align-items:center;flex-direction:column;text-align:center;position:relative;gap:12px;padding:0 8px}.company-timeline-step time{font-size:18px;color:#6b528f;font-weight:600}.company-timeline-dot{height:10px;width:10px;background:#8e79a6;border-radius:50%;z-index:1}.company-timeline-step strong{font-size:18px;line-height:1.5;color:#283136;font-weight:600}.company-timeline-detail{font-size:16px;color:#697770}.company-timelines~*{margin-top:20px}@media(max-width:700px){.company-timelines{overflow-x:auto}.company-timeline{min-width:820px}.company-timeline h3{font-size:21px}.company-timeline-step strong{font-size:16px}}

/* 两家公司共用一条时间轴，节点按日期排列。 */
.shared-timeline{width:100%;overflow-x:auto;padding:8px 0 20px}
.shared-timeline-legend{display:flex;justify-content:space-between;margin-bottom:12px;font-size:21px}
.openai-label{color:#6b528f}.anthropic-label{color:#a16c3b}
.shared-timeline-axis{list-style:none;display:grid;grid-template-columns:repeat(10,minmax(112px,1fr));min-width:1120px;height:320px;margin:0;padding:0;position:relative}
.shared-timeline-axis:before{content:"";position:absolute;left:5%;right:5%;top:160px;height:2px;background:#aebbb5}
.shared-timeline-event{position:relative;text-align:center;padding:0 6px}
.shared-timeline-card{position:absolute;left:5px;right:5px;display:flex;flex-direction:column;gap:8px;line-height:1.5}
.shared-timeline-card time{font-size:15px;font-weight:600}
.shared-timeline-card strong{font-size:16px;color:#283136;font-weight:600}
.shared-timeline-card>span{font-size:14px;color:#697770}
.shared-timeline-event.above .shared-timeline-card{bottom:205px}
.shared-timeline-event.below .shared-timeline-card{top:205px}
.shared-timeline-stem{position:absolute;left:50%;width:1px;height:36px;background:#aebbb5}
.above .shared-timeline-stem{top:124px}.below .shared-timeline-stem{top:162px}
.shared-timeline-dot{position:absolute;left:calc(50% - 5px);top:156px;width:10px;height:10px;border-radius:50%;background:#8e79a6}
.below .shared-timeline-dot{background:#bb8d64}
.above time{color:#6b528f}.below time{color:#a16c3b}

.shared-timeline-axis{grid-template-columns:repeat(10,minmax(96px,1fr));min-width:960px}
.shared-timeline:focus{outline:none}
.agent-generation-timeline{width:100%;margin:8px 0 24px}
.agent-generation-timeline h3{font-size:20px;font-weight:600;margin:0 0 12px}
.agent-generation-axis{grid-template-columns:repeat(var(--event-count),minmax(170px,1fr));min-width:1020px;height:320px}
.agent-generation-axis .shared-timeline-card{gap:6px}
.agent-generation-axis .shared-timeline-card time{font-size:16px}
.agent-generation-axis .shared-timeline-card strong{font-size:15px}
.agent-generation-axis .shared-timeline-card>span{font-size:12px}
.agent-source-transcript{margin:26px 0 10px;padding:16px 18px;border:1px solid #e4e1d9;border-radius:8px;background:#faf9f5}
.agent-source-transcript summary{cursor:pointer;font-size:14px;font-weight:600;color:#655b71}
.agent-source-note{font-size:12px;color:#827c86;margin:14px 0}
.agent-source-text{white-space:pre-line;font-size:13px;line-height:1.9;color:#4d494f}




.evolution-comparison{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:4px 0 20px}
.evolution-comparison-card{margin:0;text-align:center}
.evolution-comparison-image{padding:0;border:0;background:transparent;width:100%;display:block}
.evolution-comparison-image img{display:block;width:100%;height:230px;object-fit:contain}
.evolution-comparison-card figcaption{display:flex;flex-direction:column;gap:5px;color:#697770;line-height:1.6;margin-top:6px}
.evolution-comparison-card figcaption strong{font-size:20px;font-weight:600}
.evolution-comparison-card figcaption span{font-size:15px}
@media(max-width:700px){.evolution-comparison{gap:12px}.evolution-comparison-image img{height:160px}.evolution-comparison-card figcaption strong{font-size:17px}.evolution-comparison-card figcaption span{font-size:12px}}

.evolution-comparison-image,.evolution-comparison-image:hover,.evolution-comparison-image:active{background:var(--paper);border:0;border-radius:0;transform:none}
.evolution-comparison-image img{background:transparent;border-radius:0;mix-blend-mode:multiply}

/* 整体立体概念图：无卡片边框，背景融入讲义。 */
.image-stack.development-art .stack-image-button,.image-stack.development-art .stack-image-button:hover{max-width:100%;background:var(--paper);border-radius:0;transform:none}
.image-stack.development-art img{mix-blend-mode:multiply}
.image-stack.development-art{margin-bottom:12px}

/* 与其他小节共用正文宽度和缩进，留白通过图内构图完成。 */
.development-art .stack-image-button:focus{outline:none;box-shadow:none}
.capability-evidence{margin:0 0 20px;font-size:13px;line-height:1.8;color:#697770}
.capability-evidence summary{cursor:pointer}
.capability-evidence p{margin:10px 0}
/* 图稍宽，正文沿用原有阅读宽度，不贴两侧。 */
.node-dialog #detail:has(.development-art){max-width:1320px}
#detail:has(.development-art) #points{max-width:1080px;margin:18px auto 16px;box-sizing:border-box}
#detail:has(.development-art) .capability-evidence,#detail:has(.development-art) #links,#detail:has(.development-art) .node-footer{max-width:1080px;margin-left:auto;margin-right:auto}

#points .capability-evidence{font-size:12px;line-height:1.8;margin:5px 0 10px;color:#697770}
#points .capability-evidence p{margin:8px 0 12px}

/* 202：指令框与连续任务图同排，扣子截图独占下一排。 */
.image-stack.workflow-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center;gap:24px;width:min(1200px,100%);margin:0 auto}
.workflow-compact .stack-image:nth-child(3){grid-column:1 / -1}
.workflow-compact .stack-image:nth-child(3) .desktop-card-caption{text-align:center;font-size:22px;color:var(--ink);margin:12px 0 0}
.workflow-compact .stack-image-button{background:transparent}
@media(max-width:700px){.image-stack.workflow-compact{grid-template-columns:1fr;gap:20px}.workflow-compact .stack-image:nth-child(3){grid-column:auto}}

/* Skills：市场在左、文档在右，图下注明名称。 */
.image-stack.skills-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:end}
.skills-pair .stack-image{min-width:0;margin:0}
.skills-pair .stack-image-button{max-width:none;background:transparent}
.skills-pair .stack-image-button img{width:100%;height:auto;object-fit:contain}
.skills-pair .desktop-card-caption{text-align:center;font-size:18px;color:var(--ink);margin:12px 0 0;line-height:1.6}
@media(max-width:700px){.image-stack.skills-pair{gap:12px}.skills-pair .desktop-card-caption{font-size:12px}}

/* 202：左侧任务概念图，右侧精简执行截图。 */
.image-stack.task-execution-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px);gap:32px;align-items:center}
.task-execution-pair .stack-image{min-width:0;margin:0}
.task-execution-pair .stack-image-button{max-width:none;background:transparent}
.task-execution-pair .stack-image-button img{width:100%;height:auto;object-fit:contain}
.task-execution-pair .desktop-card-caption{text-align:center;font-size:15px;color:var(--ink);margin:12px 0 0;line-height:1.6}
@media(max-width:700px){.image-stack.task-execution-pair{grid-template-columns:minmax(0,1fr) minmax(100px,30%);gap:14px}.task-execution-pair .desktop-card-caption{font-size:12px}}

/* 上、中、下三格使用同样的 1fr，背景与阅读区一致。 */
.task-execution-pair .stack-image:first-child{display:flex;align-self:stretch;background:var(--paper)}
.task-execution-pair .task-rows-button{display:flex;width:100%;height:100%;flex:1;background:var(--paper);padding:0}
.task-row-layout{display:grid;width:100%;height:100%;grid-template-rows:1fr auto 1fr auto 1fr;background:var(--paper)}
.task-row-clip{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:1774/360}
.task-row-clip.early{grid-row:2}.task-row-clip.current{grid-row:4}
.task-row-clip img,.task-execution-pair .task-row-clip img{position:absolute;width:100%;height:auto;max-height:none;left:0;object-fit:contain;mix-blend-mode:multiply}
.task-row-clip.early img{top:-26.388889%}.task-row-clip.current img{top:-131.944444%}
#large-frame.task-rows-preview{width:min(85vw,calc(70dvh * 4 / 3));height:70dvh;margin:auto;background:var(--paper)}
.task-rows-preview .task-row-clip img{max-height:none;width:100%;height:auto}
.task-rows-preview #large-image[hidden]{display:none}

.task-rows-button>.task-row-layout{position:static;right:auto;bottom:auto;padding:0;border-radius:0;background:var(--paper);color:inherit}

/* LLM 两张流程图在桌面一屏内展示，统一底色并收起素材留白。 */
.node-dialog #detail:has(.llm-compact){padding-top:18px;padding-bottom:18px}
.image-stack.llm-compact{gap:14px;margin-bottom:16px}
.llm-compact .stack-image{max-width:min(740px,calc((100dvh - 280px) * 1.4))!important;background:var(--paper)}
.llm-compact .stack-image-button{max-width:none!important;aspect-ratio:2.8;background:var(--paper);border-radius:0}
.llm-compact .stack-image-button img{width:100%;height:100%;object-fit:cover;object-position:center;mix-blend-mode:multiply}
#detail:has(.llm-compact) #points{margin-top:0;margin-bottom:12px}
@media(max-width:700px){.llm-compact .stack-image{max-width:100%!important}}

/* 203：提示词示范的概念与说明在同一行居中。 */
.stack-image .prompt-example-caption{text-align:center;color:#000;font-size:22px;font-weight:400;line-height:1.6;margin:14px 0 0}
@media(max-width:700px){.stack-image .prompt-example-caption{font-size:18px}}

.timeline-scope-note{color:#888;font-size:12px;line-height:1.8;margin:8px 0 0;text-align:left;font-weight:400}

.image-stack.claw-screenshots-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3.12fr);gap:24px;align-items:start}
.claw-screenshots-row>.stack-image:first-child,.claw-screenshots-row>.timeline-scope-note{grid-column:1/-1}
.claw-screenshots-row>.stack-image:nth-child(2),.claw-screenshots-row>.stack-image:nth-child(3){min-width:0}
.claw-screenshots-row>.stack-image:nth-child(2) .stack-image-button,.claw-screenshots-row>.stack-image:nth-child(3) .stack-image-button{height:clamp(130px,24vw,360px);background:transparent}
.claw-screenshots-row>.stack-image:nth-child(2) img,.claw-screenshots-row>.stack-image:nth-child(3) img{height:100%;object-fit:contain}
.claw-screenshots-row .desktop-card-caption{text-align:center}
@media(max-width:700px){.image-stack.claw-screenshots-row{gap:12px}.claw-screenshots-row .desktop-card-caption{font-size:10px}}

.after-points-image{margin:24px 0 32px}

/* 长期记忆：两张概念图收在同一排，完整截图保留，圈出记录入口区域。 */
.image-stack.memory-compact{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;max-width:1360px;margin:0 auto 18px}
.memory-compact .stack-image{min-width:0}
.memory-compact .stack-image-button{max-width:none;background:transparent}
.memory-compact .stack-image-button img{width:100%;height:clamp(160px,22dvh,250px);object-fit:contain}
.memory-compact-detail .after-points-image{margin:14px auto 18px!important}
.memory-compact-detail #points{margin:12px 0;font-size:16px;line-height:1.7}
.record-link-circle{position:relative}
.record-link-circle::after{content:"";position:absolute;left:3%;top:60%;width:43%;height:19%;border:3px solid #ff2424;border-radius:50%;pointer-events:none}
#large-frame.record-link-circle{width:min(100%,calc(68dvh * 1588 / 864));margin:auto}
@media(max-width:700px){.image-stack.memory-compact{grid-template-columns:1fr;gap:12px}.memory-compact .stack-image-button img{height:auto;max-height:230px}.memory-compact-detail #points{font-size:14px}.record-link-circle::after{border-width:2px}}

/* 上下文图与用量截图同比缩放，一屏内纵向展示。 */
.image-stack.context-compact{gap:14px;margin-bottom:14px}
.context-compact .stack-image{max-width:min(100%,1040px,calc((100dvh - 250px) * 1.45))!important}
.context-compact .stack-image-button{max-width:none!important;background:transparent}
.context-compact .stack-image-button img{width:100%;height:auto;object-fit:contain}
.context-compact .image-note{text-align:center;margin:7px 0 0;font-size:12px;color:#888}
.context-compact-detail #points{margin:12px 0;font-size:15px;line-height:1.7}

.context-compact-detail .node-footer{margin-top:16px}
@media(max-height:550px){.context-compact .stack-image{max-width:min(100%,520px)!important}}

/* Tools：首例与市场纵排，两个自定义入口左右并排。 */
.image-stack.tools-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;width:min(860px,100%);margin:0 auto 18px;align-items:start}
.tools-compact .stack-image:nth-child(1),.tools-compact .stack-image:nth-child(2),.tools-compact .stack-image:nth-child(5),.tools-compact>.timeline-scope-note{grid-column:1/-1}
.tools-compact .stack-image{min-width:0}
.tools-compact .desktop-card-caption{text-align:center;font-size:15px;color:var(--ink);margin:9px 0 0;line-height:1.6}
.tools-compact .image-pair-subtitle{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.tools-compact>.timeline-scope-note{text-align:center;font-size:13px;margin:0}
@media(max-width:650px){.image-stack.tools-compact{grid-template-columns:1fr;gap:16px}.tools-compact .stack-image{grid-column:1!important}.tools-compact .desktop-card-caption{font-size:13px}}

/* 两个连接入口共用一条居中说明。 */
.tools-compact .stack-image:nth-child(3) .desktop-card-caption{width:calc(200% + 24px);max-width:none}
@media(max-width:650px){.tools-compact .stack-image:nth-child(3) .desktop-card-caption{width:100%}}
.tools-compact .stack-image:nth-child(3){max-width:none!important}

/* 核心概念表：灰色配色，标题居中。 */
.core-concepts-table .parameter-group h3{text-align:center}
.core-concepts-table .table-scroll{border-color:#d7d7d7}
.core-concepts-table .parameter-table thead th{background:#e5e5e5;color:#383838}
.core-concepts-table .parameter-table tbody th{background:#eeeeee;color:#383838}
.core-concepts-table .parameter-table tbody tr:nth-child(even) td{background:#f3f3f3}
.core-concepts-table .parameter-table tbody tr:nth-child(odd) td{background:#fafafa}
.core-concepts-table .parameter-table th,.core-concepts-table .parameter-table td{border-color:#dedede}
.core-concepts-table .table-scroll:focus-visible{outline-color:#888}

/* 引用统一按整块显示；视频保留原色。 */
.resource-links,.overview-api-resources{display:flex;flex-wrap:wrap;column-gap:16px;row-gap:4px;margin:8px 0;padding:2px 0 2px 14px;border-left:3px solid #999}
.resource-links:empty,.overview-api-resources:empty{display:none}
.resource-link{padding:1px 0;line-height:1.6}
.resource-link:not(.video-resource-link),.resource-link:not(.video-resource-link):visited,.resource-link:not(.video-resource-link):hover,.quote-source,.quote-source:visited,.quote-source:hover{color:#222}
.cost-quote{margin:10px 0;padding:2px 0 2px 14px;border-left-color:#999}
.parameter-group:last-child{margin-bottom:12px}
/* 加强版逐层展开，搜索只影响本节术语表。 */
.concept-guide .parameter-group{margin:18px 0;border-bottom:1px solid var(--line);padding:0 0 14px}
.concept-guide summary{cursor:pointer;font-size:1.05em;font-weight:600;line-height:1.7;padding:8px 0;color:var(--ink)}
.concept-guide summary:focus-visible,.concept-search input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.concept-guide .table-scroll{margin-top:12px}
.concept-guide .parameter-table{min-width:640px}
.concept-guide .parameter-table th:first-child{width:25%}
.concept-search{margin:24px 0}
.concept-search label{display:block;font-weight:600;margin-bottom:8px}
.concept-search input{box-sizing:border-box;width:100%;max-width:560px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font:inherit}
.concept-search-status{margin:6px 0;font-size:.9em;color:var(--muted)}
.resource-links+.node-footer{margin-top:8px;padding-top:6px}

/* WorkBuddy：市场在上，自定义入口与 MCP 管理左右并排。 */
.image-stack.workbuddy-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;width:min(860px,100%);margin:0 auto 18px;align-items:start}
.workbuddy-compact .stack-image{min-width:0;max-width:none!important}
.workbuddy-compact .stack-image:first-child,.workbuddy-compact .stack-image:nth-child(4){grid-column:1/-1}
.workbuddy-compact .desktop-card-caption{text-align:center;font-size:15px;color:var(--ink);margin:9px 0 0;line-height:1.6}
.workbuddy-compact .stack-image:nth-child(2) .desktop-card-caption{width:calc(200% + 24px);max-width:none}
@media(max-width:650px){.image-stack.workbuddy-compact{gap:16px 12px}.workbuddy-compact .desktop-card-caption{font-size:13px}.workbuddy-compact .stack-image:nth-child(2) .desktop-card-caption{width:calc(200% + 12px)}}

.body-sections{font-size:inherit;line-height:1.9}.body-sections h3{color:var(--accent);font-size:1.2em;margin:28px 0 12px}.body-sections p{margin:12px 0}
