:root{color-scheme:dark;--bg:#0c1117;--surface:#121b24;--line:#273748;--text:#edf4fb;--muted:#a9bbcb;--accent:#73e5c1;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.65}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}header{border-bottom:1px solid var(--line);background:#0e151d}nav,nav>div{display:flex;align-items:center;gap:24px}nav{min-height:68px;justify-content:space-between}nav>div a{color:var(--muted)}nav>div a:hover{color:var(--accent)}.brand{font-weight:700;white-space:nowrap}.brand span{display:inline-grid;place-items:center;background:var(--accent);color:var(--bg);border-radius:8px;width:32px;height:32px;margin-right:6px;font-family:monospace}.skip{position:absolute;left:20px;top:-80px;background:var(--accent);color:var(--bg);padding:8px}.skip:focus{top:8px}.hero{display:grid;grid-template-columns:1.18fr 1fr;gap:64px;align-items:center;padding-block:88px 86px;background:radial-gradient(ellipse at 78% 33%,#14333170,transparent 55%)}.kicker{color:var(--accent);font:700 .83rem/1.5 ui-monospace,monospace;letter-spacing:.14em;margin:0 0 14px}.kicker i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-right:6px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(3.8rem,8vw,6.75rem);letter-spacing:-.075em;line-height:1.05;margin-bottom:18px}h2{font-size:clamp(1.7rem,3.6vw,2.5rem);line-height:1.3;margin-bottom:20px}.hero h2{font-size:clamp(1.35rem,3vw,2rem);color:#d1e1ef}.intro{color:var(--muted);max-width:33em}.actions,.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;align-items:center}.primary,.secondary{border-radius:8px;padding:9px 16px;display:inline-flex;align-items:center;justify-content:center;font-weight:650;border:1px solid transparent}.primary{background:var(--accent);color:#0b221d}.primary:hover{background:#abf6e1}.secondary{background:transparent;color:var(--text);border-color:var(--line)}.secondary:hover{border-color:var(--accent);color:var(--accent)}.pipeline,.card,details,.contact{background:var(--surface);border:1px solid var(--line);border-radius:15px}.pipeline{padding:24px;box-shadow:0 16px 70px #0005}.pipeline-head,.section-head,.dialog-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.pipeline-head{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px;font-weight:700}.tiny{color:var(--muted);font-size:.8rem;font-weight:400}#step-title{font-size:1.4rem;font-weight:700;margin-bottom:8px}#step-desc{color:var(--muted);min-height:5em}#steps,#filters,.tags{display:flex;flex-wrap:wrap;gap:8px}.toggle{color:var(--muted);background:transparent;border:1px solid var(--line);padding:6px 10px;border-radius:8px;font-size:.875rem}.toggle:hover,.toggle[aria-pressed=true]{color:var(--accent);border-color:#4c9e87;background:#16312e}section{scroll-margin-top:25px;margin-bottom:62px}.hero{margin-bottom:0}.grid,.skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card{padding:24px;display:flex;flex-direction:column;align-items:flex-start}.card:hover{border-color:#457c75}.card h3{font-size:1.25rem;line-height:1.45;margin-bottom:10px}.card p,.timeline p,.contact p,#detail-body p,#detail-body li,details p{color:var(--muted)}.card .kicker,.contact .kicker{color:var(--accent)}.card .tags{margin-top:auto;margin-bottom:18px}.tags span{background:#1d2b39;color:#cadbea;border-radius:5px;padding:2px 8px;font-size:.83rem}.metric{font-weight:700;color:var(--accent)!important}.timeline article{display:grid;grid-template-columns:200px 1fr;gap:16px;border-top:1px solid var(--line);padding:20px 0}.timeline h3,.timeline .role{margin-bottom:5px}.timeline time{color:var(--accent);font-family:monospace}.timeline p:last-child{margin:0}details{padding:14px 18px}summary{cursor:pointer;font-weight:700}details p{margin:10px 0 0}.contact{padding:26px;display:flex;justify-content:space-between;align-items:center;gap:15px}.contact h2,.contact p{margin-bottom:6px}.contact-actions{margin:0}#copy-status{flex-basis:100%;color:var(--accent);font-size:.88rem}#copy-status:empty{display:none}footer{border-top:1px solid var(--line);padding:22px 0;color:var(--muted)}dialog{max-height:85dvh;width:min(680px,calc(100% - 28px));padding:26px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:15px}dialog::backdrop{background:#060a11bb}dialog h2{margin-top:18px}dialog li+li{margin-top:8px}dialog ul{padding-left:22px}#detail-body h3{margin:22px 0 8px}@media(max-width:760px){.hero,.grid,.skill-grid{grid-template-columns:1fr}.hero{padding-block:52px;gap:28px}.section-head,.contact{align-items:flex-start;flex-direction:column}.section-head{margin-bottom:18px}.timeline article{grid-template-columns:1fr;gap:5px}}@media(max-width:435px){.wrap{width:calc(100% - 30px)}nav,nav>div{gap:10px}nav>div a{font-size:.9rem}.card,.pipeline{padding:18px}}

/* Warm paper and cobalt keep long Chinese project descriptions easy to scan. */
:root {
  color-scheme: light;
  --bg: #f8f7f2;
  --surface: #fffefa;
  --text: #182637;
  --muted: #515f6d;
  --line: #d4d8d6;
  --accent: #234ebe;
}
header { background: var(--bg); }
.brand span, .primary { background: var(--accent); color: white; }
.primary:hover { background: #183d9e; }
.hero { background: none; }
.hero h1 { font-family: "STKaiti", "KaiTi", "Noto Serif CJK SC", serif; letter-spacing: .035em; }
.hero h2 { color: var(--text); }
.intro { line-height: 1.9; }
.pipeline {
  background: #182f50;
  color: white;
  border: 0;
  border-radius: 6px;
  box-shadow: 8px 8px 0 #dce3ef;
}
.pipeline-head { border-color: #455a77; margin-bottom: 14px; }
.pipeline .tiny, #step-desc { color: #d1ddef; }
#step-desc { min-height: 3.3em; margin-bottom: 12px; }
.route-art {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: space-around;
  padding: 18px 0;
  margin-bottom: 16px;
  background-image: radial-gradient(#536982 1px, transparent 1px);
  background-size: 12px 12px;
  font: 600 .85rem/1.5 monospace;
}
.route-art button {
  display: block; position: relative; padding: 5px 9px; color: #edf4fb;
  border: 1px solid #7388a5; border-radius: 4px; background: #203a5c;
}
.route-art button:hover, .route-art button[aria-pressed=true] { background: #dbe6ff; color: #183560; }
.route-art button + button[data-node=order] { margin-top: 6px; }
.route-art > button::after {
  content: "→"; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); color: #afc7e6;
}
#demo-query { color: #cbddf5; font-size: .9rem; }
#demo-next { margin-top: 12px; color: #fff; border-color: #758aa7; }
.toggle { border-radius: 20px; }
.toggle:hover, .toggle[aria-pressed=true] { color: white; border-color: var(--accent); background: var(--accent); }
.pipeline .toggle { color: #e0e9fa; border-color: #758aa7; }
.pipeline .toggle[aria-pressed=true], .pipeline .toggle:hover { color: #162e50; background: #dfebff; }
.section-head { margin-bottom: 22px; }
.card, details, .contact { border-radius: 6px; }
.card { padding: clamp(20px, 3vw, 36px); border-top: 3px solid #8399bd; }
.card:hover { border-color: #617ea9; }
.card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.card .metric { border-left: 3px solid #849ce0; padding-left: 10px; }
.tags span { color: #394d69; background: #eef1f4; }
.card .secondary { border: 0; padding: 4px 0; color: var(--accent); }
.card .secondary::after { content: "↗"; margin-left: 8px; }
.contact { background: #e9eef8; }
@media (min-width: 761px) {
  .grid > .card:first-child:last-child { max-width: 680px; }
  .hero { padding-block: 64px; }
}
@media (max-width: 760px) {
  .hero { padding-block: 40px; }
  .pipeline { box-shadow: 4px 4px 0 #dce3ef; }
}

.project-flow {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto 1.5rem;
}
