// SCI Figure Hub — Typst CeTZ NSFC 3-Tier Research Roadmap (CC0-1.0) #import "@preview/cetz:0.3.2" #set page(width: auto, height: auto, margin: 8pt) #cetz.canvas({ import cetz.draw: * let box(x, y, w, h, title, body, col, dark: false) = { let fillc = if dark { col } else { col.lighten(90%) } let txtc = if dark { white } else { rgb("#121C26") } rect((x, y), (x + w, y + h), radius: 0.12, fill: fillc, stroke: 1.2pt + col) content((x + w / 2, y + h / 2), align(center)[ #text(9pt, weight: "bold", fill: txtc)[#title] \ #text(7.5pt, fill: if dark { rgb("#DBEAFE") } else { rgb("#475569") })[#body] ]) } box(0, 0, 2.8, 6.2, "关键科学问题", "活性与稳定性\n协同机制", rgb("#1D4E89"), dark: true) box(3.8, 4.4, 3.4, 1.8, "研究内容一", "精准合成与调控", rgb("#1D4E89")) box(3.8, 2.2, 3.4, 1.8, "研究内容二", "原位表征与机理", rgb("#00A087")) box(3.8, 0.0, 3.4, 1.8, "研究内容三", "器件与长稳验证", rgb("#D3246F")) box(8.2, 1.1, 2.8, 4.0, "预期研究目标", "构效关系模型\n顶刊论文与专利", rgb("#3C5488")) for y in (5.3, 3.1, 0.9) { line((2.8, y), (3.8, y), mark: (end: ">"), stroke: 1.1pt + rgb("#475569")) line((7.2, y), (8.2, 3.1), mark: (end: ">"), stroke: 1.1pt + rgb("#475569")) } })