/* 官网共用样式：首页样式原样 + 子页面组件（见文件末尾） */
:root {
  /* Layout: 受控变更。1200 内容宽，板块头左对齐；每个板块一张“图纸”（坐标纸台面 + 内框线 + 标题栏）；Core 一段是深靛蓝蓝图。只做浅色。 */
  --paper: oklch(0.984 0.003 255);
  --paper-2: oklch(0.963 0.005 258);
  --card: oklch(1 0 0);
  --ink: oklch(0.21 0.02 262);
  --ink-2: oklch(0.38 0.02 262);
  --muted: oklch(0.53 0.018 262);
  --rule: oklch(0.9 0.007 262);
  --rule-2: oklch(0.8 0.012 262);
  --grid: oklch(0.52 0.09 262 / 0.075);
  --grid-2: oklch(0.52 0.09 262 / 0.13);
  --brand: oklch(0.52 0.2 266);
  --brand-hover: oklch(0.46 0.2 266);
  --on-brand: oklch(0.99 0.003 266);
  --brand-tint: oklch(0.95 0.03 266);
  --deep: oklch(0.25 0.06 266);
  --deep-2: oklch(0.285 0.065 266);
  --deep-line: oklch(0.88 0.05 262 / 0.22);
  --deep-grid: oklch(0.88 0.05 262 / 0.06);
  --deep-grid-2: oklch(0.88 0.05 262 / 0.11);
  --on-deep: oklch(0.97 0.008 266);
  --on-deep-2: oklch(0.8 0.03 266);
  --deep-accent: oklch(0.82 0.1 266);
  --agent: oklch(0.55 0.2 295);
  --agent-ink: oklch(0.5 0.17 295);
  --agent-tint: oklch(0.95 0.035 295);
  --human: oklch(0.72 0.15 70);
  --on-human: oklch(0.28 0.07 60);
  --human-ink: oklch(0.5 0.12 62);
  --human-tint: oklch(0.965 0.05 85);
  --pass: oklch(0.6 0.15 155);
  --pass-ink: oklch(0.47 0.12 155);
  --pass-tint: oklch(0.955 0.04 155);
  --risk-ink: oklch(0.53 0.18 27);
  --risk-tint: oklch(0.955 0.03 25);
  --info-ink: oklch(0.5 0.15 250);
  --info-tint: oklch(0.95 0.035 245);
  --orange-ink: oklch(0.55 0.15 50);
  --orange-tint: oklch(0.955 0.045 60);
  --shadow: oklch(0.25 0.05 266 / 0.2);
  /* 中文用系统字体（苹方、微软雅黑），不加载网络字体；西文字体在 assets/fonts/ */
  --f-sans: "Archivo", ui-sans-serif, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--f-sans); -webkit-font-smoothing: antialiased; }
t-zh, t-en { display: inline; }
html[lang="zh-CN"] t-en, html:not([lang="zh-CN"]) t-zh { display: none !important; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) body { line-height: 1.65; }
/* 日文、韩文、繁体中文用系统字体；俄语用 Inter（Archivo 没有西里尔字母），切到俄语时才加载（和首页一致） */
html[lang="ru-RU"] { --f-sans: "Inter", "Archivo", ui-sans-serif, -apple-system, "Segoe UI", sans-serif; }
html[lang="ja-JP"] { --f-sans: "Archivo", ui-sans-serif, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif; }
html[lang="ko-KR"] { --f-sans: "Archivo", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[lang="zh-TW"] { --f-sans: "Archivo", ui-sans-serif, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif; }
/* 日文标题按词组断行；韩文和中文一样只在空格、标点处断 */
html[lang="ja-JP"] :is(h1, h2, h3, .h2, .phero .lede, .lead) { word-break: auto-phrase; }
html[lang="ko-KR"] body { word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.container { max-width: 1248px; margin: 0 auto; padding-inline: 24px; }
.mono, .id { font-family: var(--f-mono); }
svg.lucide { width: 16px; height: 16px; stroke-width: 1.8; flex: none; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: oklch(0.984 0.003 255 / 0.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.nav .in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo img { display: block; height: 22px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; }
.mi { position: relative; }
.mi > a, .mi > button { display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border: 0; background: none; border-radius: 7px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.mi > a:hover, .mi > button:hover, .mi:focus-within > button { color: var(--ink); background: var(--paper-2); }
.mi > button svg.lucide { width: 14px; height: 14px; opacity: 0.6; }
.dd { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 320px; padding: 8px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 18px 40px -18px var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.mi:hover .dd, .mi:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 12px; padding: 9px 10px; border-radius: 8px; }
.dd a:hover { background: var(--paper-2); }
.dd a svg.lucide { grid-row: span 2; width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.dd b { font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.dd span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.dd.two { min-width: 600px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav .right .plain { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 7px; font-size: 14px; color: var(--ink-2); }
.nav .right .plain:hover { background: var(--paper-2); color: var(--ink); }
.nav .right .plain svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--card); place-items: center; cursor: pointer; }
.mnav { display: none; border-top: 1px solid var(--rule); padding-block: 8px 20px; }
.mnav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.mnav a small { color: var(--muted); margin-left: 8px; font-size: 13px; }
.mnav .off { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--muted); cursor: default; }
@media (max-width: 1000px) {
  .menu, .nav .right .plain { display: none; }
  .menu-btn { display: grid; }
  .nav.open .mnav { display: block; }
}

/* ---------- 按钮与链接 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 500; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s; }
.btn svg.lucide { transition: transform 0.15s; }
.btn:hover svg.lucide-arrow-right { transform: translateX(2px); }
.btn-pri { background: var(--brand); color: var(--on-brand); }
.btn-pri:hover { background: var(--brand-hover); }
.btn-sec { background: var(--card); color: var(--ink); border-color: var(--rule-2); }
.btn-sec:hover { border-color: var(--ink-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 500; font-size: 15px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; }

/* ---------- 板块头 ---------- */
.sec { padding-top: 160px; }
.sec-head { max-width: 840px; }
.label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.label b { color: var(--brand); font-weight: 600; }
.label i { font-style: normal; width: 1px; height: 12px; background: var(--rule-2); }
.h2 { font-size: 40px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.h2 .m { color: var(--muted); }
.lead { margin-top: 18px; font-size: 17px; line-height: 1.8; color: var(--ink-2); max-width: 760px; }
.sec-body { margin-top: 56px; }
.cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.cap button { border: 0; background: none; padding: 0; color: var(--brand); cursor: pointer; font-size: 13.5px; }
@media (max-width: 900px) { .sec { padding-top: 104px; } .h2 { font-size: 30px; } .sec-body { margin-top: 40px; } }
@media (max-width: 600px) { .h2 { font-size: 25px; } .lead { font-size: 16px; } }

/* ---------- 台面：不要底色、外框和留白，界面和图直接放在页面上 ---------- */
.sheet, .sheet.sm { position: relative; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
/* 深色图（Core 图）放在浅色页面上时，需要一块深色底；首页 Core 段本身是深色，内联样式里会把它去掉 */
.sheet.blue { position: relative; padding: 32px 40px 36px; border: 0; border-radius: 16px; background: var(--deep); box-shadow: none; }
/* 界面没有台面衬托：边线加深一档，加一层轻阴影，像离纸面一两毫米。
   光从正上方来；阴影用墨色的色相而不是纯黑；扩散范围小于和下方说明条之间的 28px，不落到别的元素上 */
.win, .sx { border-color: var(--rule-2); box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }
/* 缩放容器高度正好等于界面高度，不能裁切，否则投影会被齐边切掉；缩放后宽度和容器一致，不会横向溢出 */
.fit { position: relative; overflow: visible; }
.fit .fit-in { transform-origin: 0 0; }
@media (max-width: 700px) { .sheet.blue { padding: 18px 14px; border-radius: 12px; } }
/* 手机上界面图不再缩到看不清：最小按固定倍数显示（见 fit()），超出的部分左右滑动查看；滑动条贴到屏幕两边 */
.fit.pan { overflow-x: auto; overflow-y: hidden; margin-inline: -16px; padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
/* 缩放不改变布局宽度：按缩放后的尺寸再包一层裁切，滑动范围才正好到界面右边缘；底部多留 24px 放阴影 */
.fit-clip { overflow: hidden; padding-bottom: 24px; }
.fit.pan::-webkit-scrollbar { display: none; }
.sheet.blue .fit.pan { margin-inline: -14px; padding-inline: 14px; }
.pan-hint { display: flex; align-items: center; gap: 6px; margin-top: -10px; font-size: 12.5px; color: var(--muted); }
.pan-hint svg.lucide { width: 14px; height: 14px; }
.core .pan-hint, .sheet.blue .pan-hint { color: var(--on-deep-2); }
.sheet.blue .pan-hint { margin-top: -14px; }

/* 版本轨 */
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; margin-bottom: 26px; }
.rail::before { content: ""; position: absolute; left: 4px; right: 0; top: 5px; height: 1px; background: var(--rule-2); }
.rail li { position: relative; padding-top: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.rail li::before { content: ""; position: absolute; left: 0; top: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); }
.rail li b { display: block; font: 500 13px var(--f-mono); color: var(--ink); }
.rail li.now::before { background: var(--human); box-shadow: 0 0 0 4px var(--human-tint); }
.rail li.now span { color: var(--human-ink); }
.rail li.now.ok::before { background: var(--pass); box-shadow: 0 0 0 4px var(--pass-tint); }
.rail li.now.ok span { color: var(--pass-ink); }

/* 图纸底部：圆圈编号说明 + 标题栏 */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 28px; margin-top: 24px; }
.parts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-2); }
.parts li { display: flex; align-items: center; gap: 8px; }
.bal { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.3px solid var(--ink); background: var(--card); font: 500 11.5px/1 var(--f-mono); color: var(--ink); flex: none; }
.tb { margin-left: auto; border-collapse: collapse; border: 1.5px solid var(--ink); background: var(--card); font-size: 13.5px; line-height: 1.45; }
.tb td { border: 1px solid var(--rule-2); padding: 6px 14px 7px; white-space: nowrap; font-weight: 500; vertical-align: top; }
.tb td small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.tb .wait { color: var(--human-ink); }
.tb .okc { color: var(--pass-ink); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot.d-ag { background: var(--agent); }
.dot.d-hu { background: var(--human); }
.dot.d-ok { background: var(--pass); }
.tb-wrap { min-width: 0; max-width: 100%; overflow-x: auto; }

/* ======================= 产品界面 ======================= */
.win { display: grid; grid-template-columns: 212px minmax(0, 1fr); background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; font-size: 13.5px; line-height: 1.5; color: var(--ink); text-align: left; }  /* 阴影统一写在“台面”一节的 .win, .sx 里 */
.win.noside { grid-template-columns: minmax(0, 1fr); }
.sb { background: var(--paper-2); border-right: 1px solid var(--rule); padding: 14px 10px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sb .brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; }
.sb .brand img { height: 15px; width: auto; }
.sb .brand span { font-size: 12px; color: var(--muted); border-left: 1px solid var(--rule-2); padding-left: 8px; line-height: 1; }
.sb .brand .mark { width: 18px; height: 18px; border-radius: 5px; background: var(--brand); }
.sb .brand b { font-size: 15px; font-weight: 650; }
.sb .it { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.sb .it svg.lucide { width: 15px; height: 15px; color: var(--muted); }
.sb .it.on { background: var(--brand-tint); color: var(--ink); font-weight: 500; }
.sb .it.on svg.lucide { color: var(--brand); }
.sb .it em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; background: var(--human); color: var(--on-human); border-radius: 9px; padding: 0 6px; line-height: 17px; }
.sb .grp { margin: 12px 8px 4px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.sb .st { margin-left: auto; padding-left: 6px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; line-height: 1; color: var(--muted); }
.sb .st::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rule-2); }
.sb .st.busy::before { background: var(--pass); }
.av { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--rule-2); color: var(--ink-2); font-size: 11px; font-weight: 600; flex: none; line-height: 1; }
.ag { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--agent-tint); color: var(--agent); flex: none; }
.ag svg.lucide { width: 13px; height: 13px; }
.ag.wf { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--rule); }
.wm { display: flex; flex-direction: column; min-width: 0; }
.wtop { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--muted); flex: none; }
.wtop b { color: var(--ink); font-weight: 500; }
.wtop .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ib { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 1.5px 7px 0; border-radius: 5px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.tag svg.lucide { width: 12px; height: 12px; stroke-width: 2.2; }
.tag.amber { background: var(--human-tint); color: var(--human-ink); }
.tag.green { background: var(--pass-tint); color: var(--pass-ink); }
.tag.violet { background: var(--agent-tint); color: var(--agent-ink); }
.tag.blue { background: var(--info-tint); color: var(--info-ink); }
.tag.red { background: var(--risk-tint); color: var(--risk-ink); }
.tag.orange { background: var(--orange-tint); color: var(--orange-ink); }
.tag.grey { background: var(--paper-2); color: var(--ink-2); }
.b { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--rule-2); background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.b svg.lucide { width: 14px; height: 14px; }
.b.p { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.b.d { background: var(--risk-tint); border-color: transparent; color: var(--risk-ink); }
.b.lg { height: 34px; padding: 0 14px; font-size: 13.5px; }
button.b { cursor: pointer; }
.b.p.done { background: var(--pass-tint); border-color: transparent; color: var(--pass-ink); cursor: default; }
.seg { display: flex; gap: 4px; background: var(--paper-2); padding: 3px; border-radius: 7px; font-size: 12.5px; }
.seg span { flex: 1; text-align: center; padding: 4px 8px; border-radius: 5px; color: var(--muted); white-space: nowrap; }
.seg .on { background: var(--card); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px var(--shadow); }
.seg em { font-style: normal; color: var(--human-ink); }
.r1 { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.r1 time { margin-left: auto; }
.id { font-size: 11.5px; color: var(--muted); }

/* 收件箱 */
.ibx { display: grid; grid-template-columns: 300px minmax(0, 1fr); flex: 1; min-height: 0; }
.ilist { border-right: 1px solid var(--rule); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ilist .seg { margin-bottom: 8px; }
.li { position: relative; padding: 10px 10px 10px 14px; border-radius: 8px; border: 1px solid transparent; }
.li.sel { background: var(--paper-2); border-color: var(--rule); }
.li.sel::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--human); }
.li.sel.ok::before { background: var(--pass); }
.li .t { margin: 4px 0 6px; font-weight: 550; }
.by { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.idet { padding: 22px 28px 22px 64px; min-width: 0; }
.idet .own { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.idet h4 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 8px 0 14px; }
.idet .row + .row { margin-top: 18px; }
.who { display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.who b { color: var(--ink); font-weight: 550; }
.rules { margin-top: 10px; border: 1px solid var(--rule); border-radius: 8px; padding: 4px 0; }
.rules li { position: relative; padding: 6px 12px 6px 30px; color: var(--ink); }
.rules li::before { content: counter(r); counter-increment: r; position: absolute; left: 12px; top: 6px; font: 500 11.5px/1.75 var(--f-mono); color: var(--muted); }
.rules { counter-reset: r; }
.chk-h { font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acc { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; color: var(--ink-2); }
.acc b { color: var(--ink); font-weight: 550; }
.acts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.acts .note { font-size: 12.5px; color: var(--muted); }
.acts .note .id { color: var(--ink-2); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 oklch(0.52 0.2 266 / 0.45); } 70% { box-shadow: 0 0 0 9px oklch(0.52 0.2 266 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.52 0.2 266 / 0); } }
.b.p.invite { animation: ring 2.2s ease-out 1.2s 3; }
.b.p.invite.long { animation-iteration-count: 6; }

/* 首屏：在 Agent 页面里说一句需求，到上线 */
/* 首屏窗口按 1120 设计宽度绘制，桌面上正好等于图纸宽度，其他宽度等比缩放 */
.hwin { height: 570px; grid-template-columns: 184px 244px minmax(0, 1fr) 256px; grid-template-rows: minmax(0, 1fr); }
/* Studio 段：整宽的图 */
.hblock { margin-top: 96px; }
.hblock h3 { font-size: 26px; line-height: 1.4; font-weight: 600; }
.hblock > p { margin-top: 12px; max-width: 800px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.hblock .sheet { margin-top: 28px; }
/* 底座：Agent 用到的 Core 能力会亮起 */
.base { position: relative; display: flex; align-items: stretch; margin-top: 28px; border: 1.5px solid var(--ink); background: var(--card); }
.base-h { display: flex; flex-direction: column; justify-content: center; gap: 1px; flex: none; width: 184px; padding: 8px 14px; border-right: 1px solid var(--rule-2); }
.base-h b { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; }
.base-h b svg.lucide { color: var(--brand); }
.base-h span { font-size: 11.5px; color: var(--muted); }
.base-c { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); flex: 1; min-width: 0; }
.base-c span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 2px 8px; border-left: 1px solid var(--rule); font-size: 11px; line-height: 1.3; color: var(--muted); white-space: nowrap; transition: background 0.25s, color 0.25s; }
.base-c span:first-child { border-left: 0; }
.base-c span svg.lucide { width: 15px; height: 15px; }
.base-c span.used { background: var(--brand-tint); color: var(--brand); }
.base-c span.on { background: var(--brand); color: var(--on-brand); }
@media (max-width: 1000px) {
  .base { flex-direction: column; }
  .base-h { width: auto; border-right: 0; border-bottom: 1px solid var(--rule-2); }
  .base-c { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .base-c span { border-left: 0; border-top: 1px solid var(--rule); }
}
/* 会话列表 */
.hs { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-right: 1px solid var(--rule); }
.hs-h { display: flex; align-items: center; justify-content: space-between; flex: none; height: 48px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 600; }
.hs-q { display: flex; align-items: center; gap: 7px; height: 30px; margin: 10px 10px 2px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 7px; background: var(--card); font-size: 12.5px; color: var(--muted); }
.hs-q svg.lucide { width: 14px; height: 14px; }
.hs-g { padding: 8px 18px 3px; font-size: 11.5px; color: var(--muted); }
.hs-it { margin: 0 8px 1px; padding: 7px 10px; border-radius: 8px; }
.hs-it.on { background: var(--brand-tint); }
.hs-t { display: flex; align-items: center; gap: 8px; }
.hs-t b { flex: 1; min-width: 0; font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-t time { font: 11px var(--f-mono); color: var(--muted); }
.hs-s { display: flex; align-items: center; gap: 8px; min-height: 20px; margin-top: 2px; font-size: 12px; color: var(--muted); }
.hs-s > span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-t .udot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.hs-m { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.hs-m .dots { display: inline-flex; gap: 3px; }
.hs-m .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.hs-m .need { margin-left: auto; padding: 0 7px; border-radius: 9px; background: var(--human-tint); color: var(--human-ink); font-size: 11px; font-weight: 600; line-height: 18px; }
.hs-arch { display: flex; align-items: center; gap: 8px; margin: auto 8px 4px; padding: 8px 10px 4px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.hs-arch svg.lucide { width: 14px; height: 14px; }
.hs-arch span { margin-left: auto; font: 11.5px var(--f-mono); }
.hs-h .b { height: 26px; padding: 0 9px; font-size: 12px; font-weight: 500; }
.hs-q kbd { margin-left: auto; padding: 0 5px; border: 1px solid var(--rule); border-radius: 4px; font: 10.5px/15px var(--f-mono); }
/* 会话主窗口 */
.hc { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.hc .wtop .m { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.hc .wtop b, .hc .wtop .r { flex: none; white-space: nowrap; }
.hc .wtop .ib.on { background: var(--brand-tint); color: var(--brand); }
.hmsgs { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 10px; scroll-behavior: smooth; }
.hmsgs > * { flex: none; }
.hhello { margin: auto 0; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); }
.hhello .ag { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 4px; }
.hhello .ag svg.lucide { width: 20px; height: 20px; }
.hhello b { font-size: 18px; font-weight: 600; color: var(--ink); }
.hm { display: flex; gap: 10px; animation: rise 0.35s ease both; }
.hm > .ag, .hm > .av { width: 24px; height: 24px; }
.hm .body { flex: 1; min-width: 0; display: grid; gap: 8px; }
.hm .who { font-size: 12px; line-height: 24px; color: var(--muted); }
.hm .who b { margin-right: 6px; font-weight: 600; color: var(--ink); }
.hm .tx { font-size: 13.5px; }
.hm.me { flex-direction: column; align-items: flex-end; gap: 4px; }
.hm.me .hb { max-width: 88%; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 12px 12px 3px 12px; background: var(--paper-2); font-size: 13.5px; }
.hm.me .hw { font-size: 11.5px; color: var(--muted); }
.tref { padding: 0 5px; border-radius: 4px; background: var(--brand-tint); color: var(--brand); font: 500 12px var(--f-mono); }
.hcard { border: 1px solid var(--rule); border-radius: 10px; background: var(--card); animation: rise 0.35s ease both; }
.hcard .ch { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 550; }
.hcard .ch svg.lucide { width: 15px; height: 15px; color: var(--muted); }
.hcard .ch .r { margin-left: auto; font: 400 11.5px var(--f-mono); color: var(--muted); }
.hcard .cb { display: grid; gap: 8px; padding: 10px 12px 12px; font-size: 13px; }
.hcard .lab { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.hcard.min { background: var(--paper-2); }
.hcard.min .ch { border-bottom: 0; font-weight: 500; color: var(--ink-2); }
.hcard.min .ch svg.lucide { color: var(--pass); }
.hcard.min .cb { display: none; }
.hcard .trow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; }
.hcard .trow > div { flex: 1; min-width: 0; }
.hcard .trow b { display: block; font-weight: 550; }
.hcard .trow small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--muted); }
.capc { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 20px; padding: 0 7px; border-radius: 5px; background: var(--brand-tint); color: var(--brand); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.capc svg.lucide { width: 12px; height: 12px; }
.item.crow { align-items: center; }
.item .d svg.lucide { width: 14px; height: 14px; color: var(--pass); vertical-align: -3px; }
.item .d .spin { vertical-align: -2px; }
.replay { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: none; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.replay:hover { color: var(--ink-2); background: var(--paper-2); }
.replay svg.lucide { width: 13px; height: 13px; }
/* 输入框 */
.hcomp { flex: none; padding: 6px 22px 16px; }
.hcomp .note { display: flex; align-items: center; gap: 6px; margin: 0 2px 7px; font-size: 12px; color: var(--muted); }
.hcomp .note svg.lucide { width: 14px; height: 14px; color: var(--agent); }
.hbox { border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); box-shadow: 0 1px 2px oklch(0.21 0.02 262 / 0.05); }
.hbox .t { min-height: 52px; padding: 10px 14px 2px; font-size: 13.5px; line-height: 1.7; }
.hbox .t.ph { color: var(--muted); }
.hbox .f { display: flex; align-items: center; gap: 6px; padding: 6px 8px 8px 10px; }
.hbox .f .c { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.hbox .f .c svg.lucide { width: 13px; height: 13px; color: var(--muted); }
.hbox .f .mk { width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.hbox .f .b { margin-left: auto; }
.hcomp.sent .note { visibility: hidden; }
.hcomp.sent .b.p { background: var(--paper-2); border-color: var(--rule); color: var(--muted); }
.caret { display: inline-block; width: 1.5px; height: 16px; margin-left: 2px; background: var(--brand); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.b kbd { margin-left: 2px; font: 11px var(--f-mono); opacity: 0.72; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
/* 会话详情 */
.hp { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--rule); background: var(--paper); }
.hp-b { display: grid; gap: 16px; align-content: start; padding: 14px; overflow: hidden; }
.hp .hd { margin-bottom: 7px; font-size: 12px; font-weight: 500; color: var(--muted); }
.hnow { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); transition: background 0.3s, border-color 0.3s; }
.hnow .w { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.hnow .w b { font-weight: 600; }
.hnow .st { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.hnow .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rule-2); }
.hnow .a { min-height: 20px; font-size: 12.5px; color: var(--ink-2); }
.hnow .cur { display: inline-block; width: 5px; height: 12px; margin-left: 2px; background: var(--agent); vertical-align: -1px; animation: blink 0.9s steps(1) infinite; }
.hnow .m { font: 11px var(--f-mono); color: var(--muted); }
.hnow.run, .hnow.wait, .hnow.live { border-color: transparent; }
.hnow.run { background: var(--agent-tint); }
.hnow.run .st { color: var(--agent-ink); }
.hnow.run .st::before { background: var(--agent); animation: pulse 1.4s ease-in-out infinite; }
.hnow.wait { background: var(--human-tint); }
.hnow.wait .st { color: var(--human-ink); }
.hnow.wait .st::before { background: var(--human); }
.hnow.live { background: var(--pass-tint); }
.hnow.live .st { color: var(--pass-ink); }
.hnow.live .st::before { background: var(--pass); }
.hnow:not(.run) .cur { display: none; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hneed { padding: 6px; border: 1px solid oklch(0.85 0.08 70); border-radius: 10px; background: var(--human-tint); animation: rise 0.35s ease both; }
.hneed .nh { display: flex; align-items: center; gap: 6px; padding: 3px 6px 6px; font-size: 12px; font-weight: 600; color: var(--human-ink); }
.hneed .ni { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; background: var(--card); font-size: 13px; }
.hneed .ni span { flex: 1; }
.hneed svg.lucide { width: 14px; height: 14px; color: var(--human-ink); }
.hneed .ni svg.lucide { color: var(--muted); }
.hp .hd2 { display: flex; align-items: center; gap: 6px; }
.hp .hd2 span { color: var(--muted); font-weight: 400; }
.hp .hd2 a { margin-left: auto; color: var(--brand); font-weight: 400; }
.hempty { padding: 12px; border: 1px dashed var(--rule-2); border-radius: 8px; font-size: 12.5px; color: var(--muted); }
.htask { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); animation: rise 0.35s ease both; }
.htask .r1 .end { margin-left: auto; }
.hsubs { margin-top: 2px; padding-top: 8px; border-top: 1px dashed var(--rule-2); }
.hsubs .sh { margin-bottom: 2px; font-size: 11.5px; color: var(--muted); }
.hsub { display: flex; align-items: center; gap: 7px; height: 25px; font-size: 12.5px; }
.hsub .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsub .x { display: flex; flex: none; }
.hsub .tag { height: 18px; padding: 0 6px; font-size: 11px; }
.htask .tt { font-size: 15px; font-weight: 600; }
.hsteps { display: flex; margin: 8px -4px 8px; }
.hsteps span { position: relative; flex: 1; text-align: center; font-size: 11px; color: var(--muted); }
.hsteps span::before { content: ""; position: relative; z-index: 1; display: block; width: 9px; height: 9px; margin: 0 auto 3px; border: 1.5px solid var(--rule-2); border-radius: 50%; background: var(--card); }
.hsteps span::after { content: ""; position: absolute; top: 4px; left: calc(-50% + 6px); right: calc(50% + 6px); height: 1.5px; background: var(--rule-2); }
.hsteps span:first-child::after { display: none; }
.hsteps .done::before { border-color: var(--brand); background: var(--brand); }
.hsteps .done::after, .hsteps .cur::after { background: var(--brand); }
.hsteps .cur { color: var(--ink); font-weight: 600; }
.hsteps .cur::before { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.hsteps.wait .cur::before { border-color: var(--human); box-shadow: 0 0 0 3px var(--human-tint); }
.hsteps.ok span::before { border-color: var(--pass); background: var(--pass); }
.hsteps.ok span::after { background: var(--pass); }
.hkv { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 7px 8px; margin: 2px 0 0; font-size: 12.5px; }
.hkv dt { color: var(--muted); }
.hkv dd { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; }
.hkv .av, .hkv .ag { width: 18px; height: 18px; font-size: 10px; }
.hkv .ag svg.lucide { width: 11px; height: 11px; }
.hkv .u { overflow: hidden; text-overflow: ellipsis; font: 11.5px var(--f-mono); color: var(--brand); }
.href { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); font-size: 12.5px; animation: rise 0.35s ease both; }
.href svg.lucide { width: 14px; height: 14px; color: var(--muted); }
.item { display: flex; align-items: flex-start; gap: 8px; }
.item .n { min-width: 14px; font: 500 11.5px/1.65 var(--f-mono); color: var(--muted); }
.item > svg.lucide { width: 14px; height: 14px; color: var(--pass); margin-top: 3px; }
.item .d { margin-left: auto; font: 11.5px/1.65 var(--f-mono); white-space: nowrap; color: var(--pass-ink); }
.item .d i { font-style: normal; color: var(--risk-ink); margin-left: 4px; }
.cnt { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 12.5px; }
.cnt b { min-width: 46px; font: 500 12.5px var(--f-mono); }
.bar { flex: 1; height: 5px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--agent); }
.tag.idle { background: var(--paper-2); color: var(--muted); }
.appr { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--human); border-radius: 8px; background: var(--card); animation: rise 0.35s ease both; }
.appr .h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--human-ink); }
.appr .h svg.lucide { width: 14px; height: 14px; }
.appr .q { font-size: 15px; font-weight: 600; }
.appr .t2 { font-size: 13px; color: var(--ink-2); }
.appr .acts { margin-top: 2px; }
.appr .pvl { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 8px; font-size: 12.5px; color: var(--ink-2); }
.appr .pvl svg.lucide { width: 15px; height: 15px; color: var(--brand); }
.appr .pvl .u { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 11.5px var(--f-mono); color: var(--brand); }
.appr.ok { border-left-color: var(--pass); }
.appr.ok .h { color: var(--pass-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ink-2); }
.dot.d-nb { background: var(--ink-2); }

/* 任务详情 */
.fields { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.fields > span { display: flex; align-items: center; gap: 6px; }
.fields .k { color: var(--muted); }
.log { display: grid; gap: 11px; }
.day { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); margin: 2px 0 -2px; }
.day::after { content: ""; flex: 1; border-top: 1px dashed var(--rule-2); }
.le { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; font-size: 13px; color: var(--ink-2); }
.le b { color: var(--ink); font-weight: 550; }
.le .t { font: 11.5px var(--f-mono); color: var(--muted); white-space: nowrap; padding-top: 2px; }
.le .bubble { display: inline-block; margin-top: 3px; padding: 5px 10px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px 10px 10px 10px; color: var(--ink); }
.le .att { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 6px; font-size: 12px; color: var(--ink-2); background: var(--card); vertical-align: 1px; }
.le .att svg.lucide { width: 12px; height: 12px; }

/* 我的任务：分栏视图（列表按轮到谁分组 + 任务详情） */
.mtw { grid-template-columns: 196px 360px minmax(0, 1fr); grid-template-rows: auto 1fr; }
.mtw .sb { grid-row: span 2; }
.mtw .wtop { grid-column: 2 / 4; }
.mtw .wtop .b { height: 28px; padding: 0 10px; font-size: 12px; }
.vsw { display: inline-flex; margin-left: 8px; padding: 2px; border-radius: 7px; background: var(--paper-2); font-size: 12px; line-height: 1.6; }
.vsw span { padding: 1px 9px; border-radius: 5px; }
.vsw .on { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.mtl { border-right: 1px solid var(--rule); padding: 6px 8px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mg { display: flex; align-items: center; gap: 6px; padding: 10px 8px 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.mg svg.lucide { width: 13px; height: 13px; }
.mg .n { font: 11.5px var(--f-mono); }
.mg.you { color: var(--human-ink); }
.mg .bal { margin-left: auto; }
.mr { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 9px; padding: 7px 8px; border-radius: 7px; }
.mr.on { background: var(--brand-tint); }
.mr > .si { margin-top: 4px; }
.mc { min-width: 0; }
.m1 { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.m1 .id { font-size: 11px; color: var(--muted); flex: none; }
.m1 b { font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m2 { display: flex; align-items: center; gap: 5px; margin-top: 1px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.m2 > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.m2 .w { color: var(--human-ink); font-weight: 500; }
.m2 .spin { width: 11px; height: 11px; border-width: 1.5px; }
.mmore { padding: 4px 8px 0 31px; font-size: 12px; color: var(--muted); }
.si { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--c); padding: 1.5px; background: conic-gradient(var(--c) var(--p), transparent 0) content-box; flex: none; }
.si.progress { --c: var(--info-ink); --p: 50%; }
.si.review { --c: var(--pass); --p: 75%; }
.si.backlog { --c: var(--muted); --p: 0%; border-style: dashed; }
.si.blocked { --c: var(--orange-ink); padding: 3px; background: linear-gradient(90deg, transparent 22%, var(--c) 22% 42%, transparent 42% 58%, var(--c) 58% 78%, transparent 78%) content-box; }
.mtd { padding: 14px 22px 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.mt1 { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.mt1 .id { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.mt1 .pos { font: 11.5px var(--f-mono); }
.mt1 .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mt1 .r > svg.lucide { width: 15px; height: 15px; }
.mt1 .tag .si { width: 11px; height: 11px; padding: 1px; border-width: 1.3px; }
.mtd h5 { font-size: 19px; font-weight: 600; line-height: 1.35; }
.mtd .fields { margin-top: 0; }
.mtn { display: grid; gap: 9px; padding: 12px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--human); border-radius: 8px; background: var(--card); }
.mtn .h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--human-ink); }
.mtn .h svg.lucide { width: 14px; height: 14px; }
.mtn .h .bal { margin-left: auto; }
.mtn .t2 { font-size: 13px; color: var(--ink-2); }
.ck { display: grid; gap: 4px; font-size: 13px; }
.ck li { display: flex; gap: 8px; }
.ck .n { min-width: 14px; font: 500 11.5px/1.65 var(--f-mono); color: var(--muted); }
.ev { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--ink-2); }
.ev span { display: inline-flex; align-items: center; gap: 5px; }
.ev svg.lucide { width: 13px; height: 13px; color: var(--pass); }
.ev span:first-child svg.lucide { color: var(--muted); }
.mtn .pvl { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 8px; font-size: 12.5px; color: var(--ink-2); }
.mtn .pvl svg.lucide { width: 15px; height: 15px; color: var(--brand); }
.mtn .pvl .u { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 11.5px var(--f-mono); color: var(--brand); }
.mtn .pvl .shots { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 12px; color: var(--muted); }
.mtn .pvl .shots svg.lucide { width: 13px; height: 13px; color: var(--muted); }
.mtn .acts { margin-top: 0; }
.mtt { display: flex; gap: 18px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.mtt span { padding: 2px 0 8px; }
.mtt .on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px var(--brand); }
.mtd .log { gap: 9px; }
.mn { color: var(--agent-ink); font-weight: 500; }
.wtop .bal { width: 20px; height: 20px; font-size: 11px; }
/* 我的 Agent */
.ma .me { display: flex; justify-content: flex-end; }
.ma .bubble { display: inline-block; max-width: 84%; padding: 7px 12px; background: var(--brand-tint); border-radius: 10px 10px 3px 10px; font-size: 13px; line-height: 1.55; }
.ma .mono { font-size: 12px; }
.mtk { display: grid; gap: 6px; margin: 8px 0 0 32px; }
.tk { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 8px; font-size: 13px; }
.tk .id { font-size: 11px; color: var(--muted); }
.tk b { flex: 1; min-width: 0; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk .tag .spin { width: 10px; height: 10px; border-width: 1.5px; }
.b.sm { height: 24px; padding: 0 9px; font-size: 12px; }
.b.sm svg.lucide { width: 12px; height: 12px; }
.mev { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--human-tint); color: var(--human-ink); font-size: 12.5px; font-weight: 500; }
.mev time { margin-left: auto; font: 11px var(--f-mono); color: var(--muted); font-weight: 400; }
.mcomp { display: flex; align-items: center; padding: 9px 12px; border: 1px solid var(--rule-2); border-radius: 10px; font-size: 12.5px; color: var(--muted); }
.mcomp .k { margin-left: auto; padding: 0 5px; border: 1px solid var(--rule); border-radius: 4px; font: 11px var(--f-mono); }
.pair.next { margin-top: 88px; }

/* 小窗口里的表格 */
.mini { padding: 18px 20px; display: grid; gap: 12px; }
.mini h5 { font-size: 18px; font-weight: 600; }
.mini .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mini .ph { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); padding: 7px 10px; border-bottom: 1px solid var(--rule); background: var(--paper-2); white-space: nowrap; }
.tbl td { padding: 8px 10px; border-top: 1px solid var(--rule); vertical-align: middle; }
.tbl tr:first-child td { border-top: 0; }
.tblw { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.cell { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.usage { display: flex; align-items: center; gap: 8px; }
.usage i { display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--paper-2); position: relative; overflow: hidden; }
.usage i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--brand); border-radius: 3px; }
.usage span { font: 11.5px var(--f-mono); color: var(--muted); }
.sug { border: 1px solid var(--rule); border-left: 3px solid var(--human); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; }
.sug .h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--human-ink); font-weight: 500; }
.sug .h time { margin-left: auto; color: var(--muted); font-weight: 400; }

/* 业务应用：列表 + 记录详情 */
.app { grid-template-columns: 196px 252px minmax(0, 1fr); grid-template-rows: auto 1fr; }
.app .sb { grid-row: span 2; }
.app .wtop { grid-column: 2 / 4; }
.rlist { border-right: 1px solid var(--rule); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.rlist .lh { display: flex; align-items: center; gap: 8px; padding: 2px 6px 8px; }
.rlist .lh h5 { font-size: 15px; font-weight: 600; }
.rlist .lh .n { font: 11.5px var(--f-mono); color: var(--muted); }
.rli { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center; padding: 8px 8px; border-radius: 7px; }
.rli.on { background: var(--brand-tint); }
.rli b { font-weight: 550; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rli .s { grid-column: 1; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rli .x { grid-row: 1 / 3; grid-column: 2; display: flex; }
.rli .x svg.lucide { width: 15px; height: 15px; }
.rli .ok-i { color: var(--pass); }
.rli .q-i { color: var(--muted); }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--agent-tint); border-top-color: var(--agent); animation: spin 0.9s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.rec { padding: 16px 24px 18px; display: grid; gap: 13px; align-content: start; min-width: 0; }
.rec .top2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rec h6 { font-size: 19px; font-weight: 600; margin-top: 2px; }
.rec .fl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 8px; }
.rec .fl > div { padding: 8px 12px; border-left: 1px solid var(--rule); min-width: 0; }
.rec .fl > div:first-child { border-left: 0; }
.rec .fl .k { display: block; font-size: 11.5px; color: var(--muted); }
.rec .fl .v { display: flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec .hd { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.dc { border: 1px solid var(--rule); border-left: 3px solid var(--human); border-radius: 8px; padding: 12px 16px; display: grid; gap: 8px; }
.dc .h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--human-ink); font-weight: 500; }
.dc .h svg.lucide { width: 14px; height: 14px; }
.dc .q { font-size: 15px; font-weight: 600; }
.dc .sg { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); background: var(--agent-tint); border-radius: 6px; padding: 8px 10px; }
.dc .acts { margin-top: 2px; gap: 8px; }

/* 操作记录（Core） */
.audit .ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 22px 12px; }
.audit .ph h5 { font-size: 20px; font-weight: 600; }
.audit .ph p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.audit .tblw { margin: 0 22px 22px; }
.audit .tbl td { font-size: 13px; }
.audit .tbl td:first-child { font: 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.audit .tbl .basis { color: var(--muted); font-size: 12.5px; }
.audit .tbl tr.need td:first-child { box-shadow: inset 2px 0 0 var(--human); }

/* ======================= 首屏 ======================= */
.hero { padding-top: 76px; }
/* 首屏居中：标题、两句简介、按钮依次居中，和下面满宽的产品窗口对称 */
.hero-top { display: block; text-align: center; }
.facts { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.hero h1 { font-size: 62px; line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lede { max-width: 600px; margin: 22px auto 0; font-size: 18px; line-height: 1.8; color: var(--ink-2); }
/* 简介每句单独一行；窄屏放不下时，只在分句之间均衡折行 */
.hero .lede .ln { display: block; text-wrap: balance; }
.hero .lede .ph { white-space: nowrap; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .cta { justify-content: center; margin-top: 30px; }
.hero .sheet { margin-top: 64px; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .hero .lede { max-width: 680px; }
@media (max-width: 1080px) { .hero h1 { font-size: clamp(34px, 7.6vw, 62px); } }
@media (max-width: 600px) { .hero { padding-top: 48px; } .hero .lede { font-size: 16px; } .hero .sheet { margin-top: 44px; } }
@media (max-width: 400px) { .hero h1 span { white-space: normal; } }

/* 客户 */
.customers { padding-top: 88px; }
.logos-cap { font-size: 14px; color: var(--muted); }
.logos { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; }
.logos img { display: block; height: 46px; width: auto; filter: grayscale(1); opacity: 0.72; }
.case { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.case .k { font-size: 13px; color: var(--muted); }
.case .t { font-weight: 600; font-size: 18px; margin-top: 2px; }
.case .d { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 700px) { .logos img { height: 34px; } .case { grid-template-columns: 1fr; } }

/* 为什么：难在哪里，NocoBase 怎样解决 */
.diag-wrap { overflow-x: auto; }
.diag { width: 100%; min-width: 860px; border-collapse: collapse; border: 1.5px solid var(--ink); background: var(--card); font-size: 14.5px; line-height: 1.65; }
.diag thead th { font-size: 12.5px; font-weight: 400; color: var(--muted); text-align: left; padding: 9px 16px; border-bottom: 1px solid var(--rule-2); background: var(--paper-2); }
.diag td { padding: 16px; border-top: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.diag td.q { width: 190px; color: var(--ink); font-weight: 600; }
.diag td.q small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.diag td.a { color: var(--ink); }
.diag td.a::before { content: "✓"; margin-right: 8px; color: var(--pass-ink); font-weight: 700; }
.diag th.grp { width: 200px; padding: 16px; text-align: left; vertical-align: top; font-weight: 400; border-right: 1px solid var(--rule-2); }
.diag th.grp span { display: block; font-size: 13px; color: var(--muted); }
.diag th.grp b { display: block; margin-top: 2px; font-size: 16px; font-weight: 650; color: var(--brand); }
.diag tr.g2 > * { border-top: 1.5px solid var(--ink); }
/* 手机上表格放不下：改成纵向排列，每组一个标题，每行依次是问题、现状、NocoBase 的做法 */
@media (max-width: 700px) {
  .diag-wrap { overflow: visible; }
  .diag, .diag tbody, .diag tr, .diag th, .diag td { display: block; width: auto; }
  .diag { min-width: 0; border: 0; background: none; }
  .diag thead { display: none; }
  .diag tr { padding: 16px 0 18px; border-top: 1px solid var(--rule); }
  .diag tr.g2 { margin-top: 36px; }
  .diag tr.g2 > * { border-top: 0; }
  .diag td, .diag td.q, .diag th.grp { padding: 0; border: 0; }
  .diag tr:has(> th.grp) { border-top: 0; }
  .diag th.grp { width: auto; margin: -16px 0 16px; padding: 0 0 12px; border-bottom: 1.5px solid var(--ink); }
  .diag td.q { font-size: 16px; }
  .diag td + td { margin-top: 6px; }
  .diag td:not(.q):not(.a) { font-size: 14px; color: var(--muted); }
}
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.roles > div { border-top: 3px solid var(--c); padding-top: 16px; }
.roles h3 { font-size: 21px; font-weight: 600; }
.roles p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.roles .eg { margin-top: 12px; font-size: 14px; color: var(--muted); }
.roles .eg b { color: var(--ink); font-weight: 550; }
.roles-h { margin-top: 72px; font-size: 15px; color: var(--muted); }
.roles-h + .roles { margin-top: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.row .who + .chk-h { margin-top: 10px; }

/* Studio */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
.cols3 > div { border-top: 1px solid var(--rule-2); padding-top: 16px; }
.cols3 h3 { font-size: 18px; font-weight: 600; }
.cols3 p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.cols3 p.you::before, .cols3 p.agt::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.cols3 p.agt::before { background: var(--agent); }
.cols3 p.you::before { background: var(--human); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 104px; }
.pair h3 { font-size: 23px; line-height: 1.45; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.pair p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.pair .sheet { margin-top: 26px; }
@media (max-width: 900px) { .cols3, .pair { grid-template-columns: minmax(0, 1fr); gap: 28px; } .pair { margin-top: 72px; gap: 56px; } }

/* Core（深色蓝图） */
.core { margin-top: 160px; padding-block: 128px 136px; background: var(--deep); color: var(--on-deep); }
.core .label { color: var(--on-deep-2); }
.core .label b { color: var(--deep-accent); }
.core .label i { background: var(--deep-line); }
.core .h2 .m, .core .lead { color: var(--on-deep-2); }
.plate { margin-top: 24px; border: 1.5px solid oklch(0.92 0.03 262 / 0.75); background: var(--deep); color: var(--on-deep); }
.plate-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--deep-line); }
.plate-h b { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.plate-h span { font-size: 12.5px; color: var(--on-deep-2); }
.caps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.caps > div { padding: 12px 14px 13px; border-right: 1px solid var(--deep-line); border-bottom: 1px solid var(--deep-line); min-width: 0; }
.caps > div:nth-child(7n) { border-right: 0; }
.caps > div:nth-child(n+8) { border-bottom: 0; }
.caps b { display: flex; align-items: center; gap: 7px; font-weight: 550; font-size: 13.5px; white-space: nowrap; }
.caps b svg.lucide { width: 15px; height: 15px; color: var(--deep-accent); }
.caps span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.5; color: var(--on-deep-2); }
.caps .guide { background: oklch(0.88 0.05 262 / 0.06); }
.core .parts { color: var(--on-deep-2); }
.core .bal { border-color: var(--on-deep); background: var(--deep); color: var(--on-deep); }
.core .tb { border-color: var(--on-deep); background: var(--deep); color: var(--on-deep); }
.core .tb td { border-color: var(--deep-line); }
.core .tb td small { color: var(--on-deep-2); }
.core .cols3 > div { border-top-color: var(--deep-line); }
.core .cols3 p { color: var(--on-deep-2); }
.core .link { color: var(--deep-accent); }

/* Solutions */
.apptabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.apptab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); cursor: pointer; text-align: left; min-width: 0; }
.apptab:hover { border-color: var(--rule-2); }
.apptab .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--paper-2); color: var(--ink-2); flex: none; }
.apptab b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.apptab .u { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.apptab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 0.5px var(--ink); }
.apptab[aria-selected="true"] .ic { background: var(--brand-tint); color: var(--brand); }
.split { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; border: 1.5px solid var(--ink); background: var(--card); }
.split > div { padding: 12px 18px 14px; min-width: 0; }
.split > div + div { border-left: 1px solid var(--rule-2); }
.split small { display: flex; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); }
.split p { margin-top: 3px; font-size: 15px; }
.note-line { margin-top: 24px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .apptabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .apptabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--rule-2); } }

/* Launch */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps3 li { position: relative; }
.steps3 li::before { content: ""; position: absolute; left: 46px; right: -10px; top: 18px; height: 1px; background: var(--rule-2); }
.steps3 li:last-child::before { display: none; }
.steps3 .bal { width: 36px; height: 36px; font-size: 13px; border-width: 1.5px; position: relative; }
.steps3 li:first-child .bal { border-color: var(--brand); color: var(--brand); }
.steps3 h3 { margin-top: 16px; font-size: 19px; font-weight: 600; }
.steps3 p { margin-top: 6px; color: var(--ink-2); font-size: 15px; max-width: 320px; }
.gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 22px; border-top: 1px dashed var(--rule-2); }
.gets h4 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.gets h4 svg.lucide { color: var(--pass); }
.gets p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.gets-h { margin-top: 36px; font-size: 13px; color: var(--muted); }
.gets-h + .gets { margin-top: 10px; }
@media (max-width: 900px) { .steps3, .gets { grid-template-columns: 1fr; gap: 22px; } .steps3 li::before { display: none; } }

/* 开源与掌控 */
.open-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: start; }
.ghcard { border: 1.5px solid var(--ink); background: var(--card); }
.ghcard .h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--rule-2); font-size: 15px; }
.ghcard .h svg { width: 20px; height: 20px; }
.ghcard .h b { font-weight: 650; }
.ghcard .stats { display: grid; grid-template-columns: 1fr 1fr; }
.ghcard .stats > div { padding: 12px 16px; border-bottom: 1px solid var(--rule-2); }
.ghcard .stats > div:nth-child(odd) { border-right: 1px solid var(--rule-2); }
.ghcard .stats small { display: block; font-size: 12px; color: var(--muted); }
.ghcard .stats b { font: 500 24px/1.3 var(--f-mono); font-variant-numeric: tabular-nums; }
.ghcard .f { padding: 12px 16px; }
.flist li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.flist li:first-child { border-top: 1.5px solid var(--ink); }
.flist b { font-weight: 600; font-size: 16px; }
.flist p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 960px) { .open-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 600px) { .flist li { grid-template-columns: 1fr; gap: 4px; } }

/* 开始使用 */
.starts { border: 1.5px solid var(--ink); background: var(--card); }
.srow { display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--rule-2); }
.srow:first-child { border-top: 0; }
.srow small { display: block; font-size: 12.5px; color: var(--muted); }
.srow b { font-size: 17px; font-weight: 600; }
.srow p { color: var(--ink-2); font-size: 15px; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--paper-2); font: 13px/1.6 var(--f-mono); color: var(--ink); min-width: 0; }
.cmd span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cmd button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rule-2); border-radius: 6px; background: var(--card); cursor: pointer; flex: none; }
.srow.first { grid-template-columns: 300px minmax(0, 1fr); }
.combo { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 760px; }
@media (max-width: 960px) { .srow, .srow.first { grid-template-columns: 1fr; gap: 10px; } .srow .btn { justify-self: start; } }

/* 页脚 */
footer { margin-top: 160px; border-top: 1px solid var(--rule); padding-block: 56px 40px; }
.fgrid { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 32px; }
.fgrid img { height: 22px; width: auto; display: block; }
.fgrid .tag-line { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 240px; }
.fgrid h4 { font-size: 13px; font-weight: 500; color: var(--muted); }
.fgrid ul { margin-top: 12px; display: grid; gap: 8px; font-size: 14px; }
.fgrid a:hover { color: var(--brand); }
.fbot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.fbot span:first-child { margin-right: auto; }
@media (max-width: 900px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fgrid > div:first-child { grid-column: 1 / -1; } footer { margin-top: 104px; } }

html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .hero h1 { font-size: 62px; line-height: 1.06; letter-spacing: -0.025em; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .h2 { font-size: 38px; line-height: 1.22; letter-spacing: -0.018em; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .lead, html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .hero .lede { line-height: 1.7; }
@media (max-width: 1080px) {
  html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .hero h1 { font-size: clamp(30px, 6.6vw, 62px); }
}
/* 英文第二行比中文长：字号随屏宽缩小，保持一行；手机上放不下时均衡折成两行 */
@media (max-width: 480px) { html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .hero h1 span { white-space: normal; text-wrap: balance; } }
@media (max-width: 900px) { html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .h2 { font-size: 29px; } }
@media (max-width: 600px) { html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .h2 { font-size: 24px; } }
.nav .right button.plain { border: 0; background: none; cursor: pointer; }
.mnav .lang-switch-m { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 0 4px; border: 0; background: none; font-size: 15px; color: var(--brand); font-weight: 500; cursor: pointer; text-align: left; }
.mnav .lang-switch-m svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ======================= 子页面 ======================= */
html[lang="zh-CN"] .en-only, html:not([lang="zh-CN"]) .zh-only { display: none !important; }
.dd a.on, .mnav a.on { color: var(--brand); }
.mi > a.on { color: var(--ink); background: var(--paper-2); }

/* 页面首屏 */
.phero { padding-top: 88px; }
.phero .label { margin-bottom: 20px; }
.phero h1 { font-size: 54px; line-height: 1.16; font-weight: 650; letter-spacing: -0.02em; max-width: 980px; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.phero h1 .m { color: var(--muted); }
.phero .lede { margin-top: 24px; font-size: 18.5px; line-height: 1.8; color: var(--ink-2); max-width: 800px; }
.phero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.phero .facts span { display: inline-flex; align-items: center; gap: 6px; }
.phero .facts svg.lucide { width: 15px; height: 15px; color: var(--pass); }
.phero .sheet { margin-top: 64px; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .phero h1 { font-size: 54px; line-height: 1.1; letter-spacing: -0.025em; }
@media (max-width: 900px) { .phero { padding-top: 56px; } .phero h1, html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .phero h1 { font-size: clamp(32px, 7.4vw, 48px); } .phero .lede { font-size: 16.5px; } .phero .sheet { margin-top: 40px; } }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.pill.brand { border-color: transparent; background: var(--brand-tint); color: var(--brand); }
.pill.pass { border-color: transparent; background: var(--pass-tint); color: var(--pass-ink); }
.pill.soon { border-color: transparent; background: var(--paper-2); color: var(--muted); }
.pill.human { border-color: transparent; background: var(--human-tint); color: var(--human-ink); }

/* 卡片网格 */
.grid2, .grid3, .grid4 { display: grid; gap: 20px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); min-width: 0; }
a.card { transition: border-color 0.15s, box-shadow 0.15s; }
a.card:hover { border-color: var(--rule-2); box-shadow: 0 12px 28px -18px var(--shadow); }
.card .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--brand-tint); color: var(--brand); margin-bottom: 6px; }
.card .ic svg.lucide { width: 18px; height: 18px; }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.45; }
.card h3 .pill { margin-left: 8px; vertical-align: 2px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.card .meta { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.card .more { margin-top: auto; padding-top: 12px; }
.card.dim { background: var(--paper-2); }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .grid2, .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* 分组标题（能力分组等） */
.grp-h { display: flex; align-items: baseline; gap: 12px; margin: 48px 0 16px; padding-top: 14px; border-top: 1px solid var(--rule-2); }
.grp-h:first-child { margin-top: 0; }
.grp-h b { font-size: 15px; font-weight: 600; }
.grp-h span { font-size: 14px; color: var(--muted); }

/* 截图 */
.shot { display: block; border: 1px solid var(--rule-2); border-radius: 10px; overflow: hidden; background: var(--card); box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }
.shot img { display: block; width: 100%; height: auto; }
.shot-cap { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* 左文右图 */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 104px; }
.feat:first-child { margin-top: 0; }
.feat.rev > :first-child { order: 2; }
.feat h3 { font-size: 26px; line-height: 1.4; font-weight: 600; text-wrap: balance; }
.feat > div > p { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.feat .bul { margin-top: 18px; display: grid; gap: 10px; }
.feat .bul li, .bul li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.bul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.bul li b { color: var(--ink); font-weight: 600; }
.bul.c-ag li::before { background: var(--agent); }
.bul.c-hu li::before { background: var(--human); }
@media (max-width: 960px) { .feat { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 72px; } .feat.rev > :first-child { order: 0; } }

/* 数据表 */
.dt-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.dt { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.dt th, .dt td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); }
.dt thead th { border-top: 0; background: var(--paper-2); font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.dt td:first-child { font-weight: 600; white-space: nowrap; }
.dt td { color: var(--ink-2); }
.dt td:first-child { color: var(--ink); }
.dt .dot { vertical-align: 2px; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--ink); background: var(--card); }
.steps li { padding: 20px 22px 22px; border-left: 1px solid var(--rule-2); min-width: 0; }
.steps li:first-child { border-left: 0; }
.steps .bal { margin-bottom: 12px; }
.steps h4 { font-size: 16.5px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.steps .q { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background: var(--paper-2); font-size: 13.5px; color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { border-left: 0; border-top: 1px solid var(--rule-2); } .steps li:first-child { border-top: 0; } }

/* 代码 */
.code { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--deep); color: var(--on-deep); font: 13.5px/1.6 var(--f-mono); overflow-x: auto; }
.code .pr { color: var(--deep-accent); user-select: none; }
.code code { white-space: pre; }
.prompt { padding: 14px 16px; border: 1px dashed var(--rule-2); border-radius: 10px; background: var(--card); font-size: 14.5px; color: var(--ink); }
.prompt small { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }

/* 版本条 */
.ed-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--card); }
.ed-strip > div { padding: 20px 22px 22px; border-left: 1px solid var(--rule-2); }
.ed-strip > div:first-child { border-left: 0; }
.ed-strip small { display: block; font-size: 12.5px; color: var(--muted); }
.ed-strip b { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; }
.ed-strip p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) { .ed-strip { grid-template-columns: minmax(0, 1fr); } .ed-strip > div { border-left: 0; border-top: 1px solid var(--rule-2); } .ed-strip > div:first-child { border-top: 0; } }

/* 浅色通栏底：首页 Studio 段用 band-studio（上接深色 Core），内页挑一段用 tint（前后都是页面底色，所以上下都要留白和分隔线） */
.band-studio { padding-block: 128px 136px; background: oklch(0.955 0.012 262); border-bottom: 1px solid var(--rule); }
section.sec.tint { margin-top: 160px; padding-block: 128px 136px; background: oklch(0.955 0.012 262); border-block: 1px solid var(--rule); }
@media (max-width: 900px) { .band-studio, section.sec.tint { padding-block: 96px 104px; } section.sec.tint { margin-top: 104px; } }

/* 收尾号召 */
/* 与首页 Core 段一致：深色底铺满整个页面宽度，内容仍按版心对齐。
   底色用 border-image 向左右外扩绘制：只是画出去，不占布局，不会产生横向滚动；再按左右裁到视口内 */
.band { margin-top: 160px; padding: 96px 0 104px; border-radius: 0; border-image: linear-gradient(var(--deep) 0 0) fill 0 / 0 / 0 100vmax; clip-path: inset(0 -100vmax); color: var(--on-deep); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.band h2 { font-size: 34px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.band p { margin-top: 12px; color: var(--on-deep-2); font-size: 16.5px; max-width: 640px; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-sec { background: transparent; color: var(--on-deep); border-color: var(--deep-line); }
.band .btn-sec:hover { border-color: var(--on-deep-2); }
@media (max-width: 900px) { .band { grid-template-columns: minmax(0, 1fr); padding: 64px 0 72px; margin-top: 104px; } .band h2 { font-size: 26px; } }
/* 深色收尾条后面直接接页脚 */
.band + footer { margin-top: 0; border-top: 0; }
/* 深色条里的命令行：比条稍亮，和背景分开 */
.band .code { margin-top: 22px; max-width: 560px; background: oklch(0.2 0.05 266); border: 1px solid var(--deep-line); }

/* 价格 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 26px 26px 28px; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--card); }
.plan.hl { border: 1.5px solid var(--brand); box-shadow: 0 20px 44px -26px var(--shadow); }
.plan .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 21px; font-weight: 650; }
.plan .for { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); min-height: 3.4em; }
.plan .price { margin-top: 18px; font-size: 32px; font-weight: 650; letter-spacing: -0.01em; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.plan .btn { margin-top: 20px; width: 100%; }
.plan ul { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan ul li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; line-height: 1.6; }
.plan ul li svg.lucide { width: 16px; height: 16px; margin-top: 4px; color: var(--pass); }
.plan ul .h { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan .for { min-height: 0; } }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.cmp th, .cmp td { padding: 12px 18px; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.cmp thead th { border-top: 0; background: var(--card); font-size: 15px; font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.cmp thead th small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.cmp td:not(:first-child), .cmp thead th:not(:first-child) { width: 19%; text-align: center; }
.cmp td:first-child { color: var(--ink); }
.cmp td:first-child small { display: block; font-size: 13px; color: var(--muted); }
.cmp tr.g th { padding-top: 26px; background: var(--paper-2); font-size: 13.5px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--rule-2); }
.cmp tr.g th span { margin-left: 8px; font-weight: 400; color: var(--muted); }
.cmp .y svg.lucide { width: 18px; height: 18px; color: var(--pass); }
.cmp .n { color: var(--rule-2); }
.cmp .t { font-size: 13.5px; color: var(--ink-2); }

/* 常见问题 */
.faq { border-top: 1px solid var(--rule-2); }
.faq details { border-bottom: 1px solid var(--rule-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 16.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.lucide { width: 18px; height: 18px; color: var(--muted); transition: transform 0.15s; }
.faq details[open] summary svg.lucide { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; max-width: 860px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }

/* 规格条 */
.specs { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.specs b { display: block; margin-top: 2px; color: var(--ink); font-weight: 500; font-size: 14.5px; }

/* 分工双栏 */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--card); }
.duo > div { padding: 22px 24px 24px; }
.duo > div + div { border-left: 1px solid var(--rule-2); }
.duo h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.duo .bul { margin-top: 12px; display: grid; gap: 8px; }
@media (max-width: 800px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo > div + div { border-left: 0; border-top: 1px solid var(--rule-2); } }

/* 架构图（Core） */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 0; align-items: stretch; }
.arch .col { display: grid; gap: 12px; align-content: stretch; }
.arch .box { padding: 16px 18px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--card); }
.arch .box h5 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.arch .box h5 svg.lucide { color: var(--brand); }
.arch .box p { margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.arch .box .rows { margin-top: 10px; display: grid; gap: 6px; }
.arch .box .rows div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; font-size: 13px; color: var(--ink-2); }
.arch .box .rows code { font: 12.5px var(--f-mono); color: var(--ink); }
.arch .box.you { border: 1.5px solid var(--ink); }
.arch .box.nb { background: var(--brand-tint); border: 1.5px solid var(--brand); }
.arch .box .gh { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.arch .box .gh + .chips { margin-top: 8px; }
.arch .chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.arch .chips span { padding: 2px 8px; border-radius: 6px; background: var(--card); border: 1px solid var(--rule); font: 12.5px var(--f-sans); color: var(--ink-2); }
.arch .link-col { display: grid; place-items: center; color: var(--muted); }
.arch .link-col span { writing-mode: vertical-rl; font-size: 12.5px; letter-spacing: 0.1em; }
@media (max-width: 900px) { .arch { grid-template-columns: minmax(0, 1fr); gap: 12px; } .arch .link-col span { writing-mode: horizontal-tb; } }
.arch-foot { margin-top: 12px; padding: 12px 18px; border: 1px dashed var(--rule-2); border-radius: 10px; font-size: 13.5px; color: var(--ink-2); background: var(--card); }
.arch-foot b { font-weight: 600; color: var(--ink); }

.sec.tight { padding-top: 120px; }
.subnote { margin-top: 20px; font-size: 14px; color: var(--muted); }
.has-band footer { margin-top: 0; border-top: 0; }
.card > .pill, .card > .bal, .card > small.pill { align-self: flex-start; }
.card .code, .card .prompt { margin-top: 8px; }

/* 预约表单（Launch） */
.bookf { display: grid; gap: 12px; min-width: 340px; }
.bookf label { display: grid; gap: 6px; font-size: 13.5px; color: var(--on-deep-2); }
.bookf input, .bookf textarea, .bookf select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--deep-line); background: oklch(1 0 0 / 0.06); color: var(--on-deep); font: inherit; font-size: 15px; }
.bookf input:focus, .bookf textarea:focus, .bookf select:focus { outline: 2px solid var(--deep-accent); outline-offset: 1px; }
.bookf .btn { margin-top: 6px; justify-self: start; }
.bookf select option { color: initial; background: initial; }
.bookf select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='0.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.bookf select:invalid { color: rgb(117 117 117); }
.bookf .btn:disabled { opacity: 0.6; cursor: progress; }
.bookf .form-msg { margin: 0; font-size: 14px; color: var(--on-deep-2); }
.bookf .form-msg[data-state="ok"] { color: var(--on-deep); }
.bookf .form-msg[data-state="error"] { color: oklch(0.8 0.12 30); }
@media (max-width: 900px) { .bookf { min-width: 0; } }
.plan ul li.hd { display: block; }

/* ======================= 博客 ======================= */
.bfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bfilter button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font-size: 14px; color: var(--ink-2); cursor: pointer; }
.bfilter button.on { background: var(--ink); border-color: var(--ink); color: var(--on-brand); }
.bfeat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--card); margin-bottom: 40px; transition: box-shadow 0.15s; }
.bfeat:hover { box-shadow: 0 18px 40px -24px var(--shadow); }
.bfeat .cv { aspect-ratio: 16 / 9; background: var(--paper-2); }
.bfeat .cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfeat .tx { padding: 32px 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.bfeat h2 { font-size: 28px; line-height: 1.35; font-weight: 650; text-wrap: balance; }
.bfeat p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.bcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bcard .cv { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); background: var(--paper-2); }
.bcard .cv img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.bcard:hover .cv img { transform: scale(1.03); }
.bcard h3 { font-size: 18px; line-height: 1.45; font-weight: 600; text-wrap: balance; }
.bcard:hover h3 { color: var(--brand); }
.bcard p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.bmeta .pill { height: 22px; font-size: 12px; }
@media (max-width: 1000px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bfeat { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .bgrid { grid-template-columns: minmax(0, 1fr); } .bfeat .tx { padding: 22px 20px; } .bfeat h2 { font-size: 22px; } }

.post-hero { padding-top: 72px; max-width: 880px; }
.post-hero .crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.post-hero .crumb a { color: var(--brand); font-weight: 500; }
.post-hero h1 { font-size: 44px; line-height: 1.25; font-weight: 650; letter-spacing: -0.015em; text-wrap: balance; }
.post-hero .lede { margin-top: 16px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.post-hero .bmeta { margin-top: 20px; font-size: 14px; }
.post-cover { margin-top: 40px; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); }
.post-cover img { display: block; width: 100%; height: auto; }
.post-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; margin-top: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 13.5px; }
.toc b { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--rule); color: var(--ink-2); line-height: 1.5; }
.toc a:hover { color: var(--brand); border-left-color: var(--brand); }
@media (max-width: 1000px) { .post-body { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } .post-hero h1 { font-size: 32px; } }

.prose { max-width: 760px; font-size: 16.5px; line-height: 1.85; color: var(--ink); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 26px; line-height: 1.4; font-weight: 650; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.8em; font-size: 20px; line-height: 1.45; font-weight: 600; }
.prose h4 { margin-top: 1.5em; font-size: 17px; font-weight: 600; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li > ul, .prose li > ol { margin-top: 0.4em; }
.prose img, .prose video { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--rule); }
.prose p:has(> img:only-child) { margin-top: 1.6em; margin-bottom: 1.6em; }
.prose blockquote { padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.prose code { padding: 1px 6px; border-radius: 5px; background: var(--paper-2); font: 0.88em var(--f-mono); }
.prose pre { padding: 16px 18px; border-radius: 10px; background: var(--deep); color: var(--on-deep); overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.post-more { margin-top: 104px; padding-top: 32px; border-top: 1px solid var(--rule-2); }
.post-more h2 { font-size: 24px; font-weight: 650; margin-bottom: 24px; }

/* ======================= 解决方案界面示意（HTML 绘制） ======================= */
.sx { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--ink); text-align: left; box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }  /* 与首页一致：阴影同“台面”一节的 .win, .sx */
.sx.solo { grid-template-columns: minmax(0, 1fr); }
.sx-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 8px 10px; background: var(--paper-2); border-right: 1px solid var(--rule); min-width: 0; }
.sx-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 12px; font-size: 15px; font-weight: 650; }
.sx-brand .mk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: var(--on-brand); }
.sx-brand .mk svg.lucide { width: 13px; height: 13px; }
.sx-brand span { font-weight: 400; color: var(--muted); }
.sx-side .g { margin: 10px 8px 3px; font-size: 11px; color: var(--muted); }
.sx-side .it { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.sx-side .it svg.lucide { width: 14px; height: 14px; color: var(--muted); }
.sx-side .it.on { background: var(--brand-tint); color: var(--ink); font-weight: 500; }
.sx-side .it.on svg.lucide { color: var(--brand); }
.sx-side .it em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.sx-side .it em.hot { padding: 0 6px; border-radius: 9px; background: var(--human); color: var(--on-human); font-weight: 600; line-height: 17px; }
.sx-side .foot { margin-top: auto; padding: 14px 8px 2px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.sx-side .foot b { color: var(--ink); font-weight: 600; }
.sx-main { display: flex; flex-direction: column; min-width: 0; }
.sx-top { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); flex: none; }
.sx-top b { color: var(--ink); font-weight: 500; }
.sx-top .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sx-top .ai { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--agent-tint); color: var(--agent); }
.sx-top .ai svg.lucide { width: 14px; height: 14px; }
.sx-body { display: grid; gap: 14px; align-content: start; padding: 18px 20px 20px; min-width: 0; }
.sx-h { display: flex; align-items: center; gap: 10px; }
.sx-h h5 { font-size: 20px; font-weight: 650; }
.sx-h .n { font-size: 14px; color: var(--muted); }
.sx-h .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sx-h p { font-size: 12.5px; color: var(--muted); }
.seg { display: inline-flex; padding: 2px; border-radius: 7px; background: var(--paper-2); font-size: 12px; }
.seg span { padding: 1px 9px; border-radius: 5px; color: var(--muted); }
.seg .on { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.sx .b.dk { background: var(--ink); border-color: var(--ink); color: var(--on-brand); }
.sx .b.sm { height: 26px; padding: 0 10px; font-size: 12px; }
.ask { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid oklch(0.85 0.07 295); border-radius: 12px; background: var(--card); box-shadow: 0 0 0 4px var(--agent-tint); }
.ask .ph { color: var(--muted); font-size: 13.5px; }
.ask .f { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.ask .f .mdl { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--paper-2); }
.ask .f .go { margin-left: auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); color: var(--muted); }
.ask .f svg.lucide { width: 13px; height: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.chip svg.lucide { width: 12px; height: 12px; color: var(--agent); }
.sx-sec { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sx-sec .r { margin-left: auto; font-weight: 400; color: var(--muted); }
.sx-sec svg.lucide { width: 14px; height: 14px; color: var(--human-ink); }
.attn { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px; }
.attn > div { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 9px; background: var(--card); }
.attn > div.hot { border-color: oklch(0.85 0.08 25); }
.attn .i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--paper-2); color: var(--agent-ink); }
.attn .i svg.lucide { width: 14px; height: 14px; }
/* The agent cards (CRM page): icon beside the name and description, the tags under them, the stats pinned to the card's foot so a row's lines align. */
.attn > div.agc { grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 16px 12px; }
.agc > .i { grid-row: 1 / 3; width: 30px; height: 30px; background: var(--agent-tint); }
.agc > small { text-wrap: pretty; word-break: keep-all; overflow-wrap: anywhere; }
.agc > div:not(:last-child) { grid-column: 2; margin-top: 4px; }
.agc > div:last-child { margin-top: 8px; }
.attn b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attn small { grid-column: 2; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attn .c { grid-row: 1 / 3; grid-column: 3; font-size: 19px; font-weight: 650; }
.attn .hot .c { color: var(--risk-ink); }
.rows { border: 1px solid var(--rule); border-radius: 10px; background: var(--card); }
.rows > div { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--rule); }
.rows > div:first-child { border-top: 0; }
.rows b { font-size: 12.5px; font-weight: 600; }
.rows small { grid-column: 2; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows time { grid-row: 1 / 3; grid-column: 3; font: 11px var(--f-mono); color: var(--muted); }
.rows .av, .rows .ag { grid-row: 1 / 3; }
.kb { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 10px; }
.kb-col { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 10px; background: var(--paper-2); min-width: 0; }
.kb-col > header { display: flex; align-items: center; gap: 6px; padding: 2px 4px 4px; font-size: 12px; font-weight: 600; }
.kb-col > header .n { margin-left: auto; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--card); font-size: 11px; font-weight: 500; line-height: 18px; text-align: center; color: var(--muted); }
.kc { display: grid; gap: 6px; padding: 10px 11px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); min-width: 0; }
.kc b { font-size: 12.5px; font-weight: 600; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.kc .co { margin-bottom: -4px; font-size: 11px; color: var(--muted); }
.kc .m .av { border: 0; }
.kc .m { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); min-width: 0; }
.kc .m .amt { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.kc .tgs { display: flex; flex-wrap: wrap; gap: 4px; }
.kc .bar { height: 4px; border-radius: 2px; background: var(--paper-2); overflow: hidden; }
.kc .bar i { display: block; height: 100%; width: var(--w); background: var(--pass); }
.aisg { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 5px; background: var(--agent-tint); color: var(--agent-ink); font-size: 11px; font-weight: 500; white-space: nowrap; }
.aisg svg.lucide { width: 11px; height: 11px; transform: translateY(0.9px); }
.aisg > t-zh, .aisg > t-en { transform: translateY(0.5px); }
.sg { display: grid; gap: 6px; padding: 11px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); }
.sg.on { border-color: oklch(0.85 0.07 295); box-shadow: 0 0 0 3px var(--agent-tint); }
.sg .t { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.sg .t time { margin-left: auto; font-family: var(--f-mono); }
.sg b { font-size: 13.5px; font-weight: 600; }
.sg p { font-size: 12.5px; color: var(--ink-2); }
.sg .acts { margin-top: 2px; gap: 8px; }
.stat { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; }
.stat > div { padding: 10px 12px; border: 1px solid var(--rule); border-radius: 9px; background: var(--card); min-width: 0; }
.stat small { display: block; font-size: 11.5px; color: var(--muted); }
.stat b { display: block; font-size: 20px; font-weight: 650; white-space: nowrap; }
.stat b.warn { color: var(--human-ink); }
.stat b.bad { color: var(--risk-ink); }
.stat b.ok { color: var(--pass-ink); }
.stat .d { font-size: 11px; color: var(--muted); }
.pnl { display: grid; align-content: start; gap: 10px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); min-width: 0; }
.pnl > p { word-break: keep-all; overflow-wrap: anywhere; }
.pnl > .h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.pnl > .h .r { margin-left: auto; font-weight: 400; color: var(--muted); }
.pnl > .h .av { border: 0; }
.pnl > .h .wa { display: inline-flex; align-items: center; gap: 4px; }
.wa-logo { width: 13px; height: 13px; flex: none; color: #25d366; }
.pnl > .h .who { display: grid; gap: 1px; min-width: 0; line-height: 1.2; }
.pnl > .h .who small { font-size: 11.5px; font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnl > .h svg.lucide { width: 14px; height: 14px; color: var(--agent); }
.pnl p { font-size: 12.5px; color: var(--ink-2); }
.duo2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tg { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); }
.tg:first-of-type { border-top: 0; }
.tg div { flex: 1; min-width: 0; }
.tg b { display: block; font-size: 12.5px; font-weight: 600; }
.tg small { font-size: 11.5px; color: var(--muted); }
.sw { position: relative; flex: none; width: 30px; height: 17px; margin-top: 2px; border-radius: 9px; background: var(--brand); }
.sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.sw.off { background: var(--rule-2); }
.sw.off::after { right: auto; left: 2px; }
.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0 8px; }
.tabs .on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px var(--brand); }
.tabs .lt { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--pass-tint); color: var(--pass-ink); font-size: 10px; font-weight: 700; }
.bars { display: grid; gap: 6px; }
.bars > div { display: grid; grid-template-columns: 84px minmax(0, 1fr) 76px; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ink-2); }
.bars i { display: block; height: 12px; width: var(--w); border-radius: 3px; background: var(--c, oklch(0.6 0.12 175)); }
.bars span:last-child { text-align: right; font-family: var(--f-mono); color: var(--muted); }
.cols { display: flex; align-items: flex-end; gap: 10px; height: 96px; padding-top: 6px; }
.cols > div { flex: 1; display: grid; gap: 4px; justify-items: center; font-size: 10.5px; color: var(--muted); }
.cols i { display: block; width: 100%; max-width: 30px; height: var(--h); border-radius: 4px 4px 0 0; background: var(--c, var(--brand)); }
.rvw { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--agent); border-radius: 8px; background: var(--card); }
.rvw .h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--agent-ink); }
.rvw .h svg.lucide { width: 14px; height: 14px; }
.rvw .q { font-size: 15px; font-weight: 650; }
.rvw ul { display: grid; gap: 4px; }
.rvw li { position: relative; padding-left: 14px; font-size: 12.5px; color: var(--ink-2); }
.rvw li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--agent); }
.rvw .draft { padding: 8px 10px; border-radius: 7px; background: var(--paper-2); font-size: 12.5px; color: var(--ink); }
.rvw .draft small { display: block; font-size: 11px; color: var(--muted); }
.kv { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 8px; }
.kv > div { padding: 8px 12px; border-left: 1px solid var(--rule); min-width: 0; }
.kv > div:first-child { border-left: 0; }
.kv small { display: block; font-size: 11px; color: var(--muted); }
.kv b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck2 { display: grid; gap: 6px; }
.ck2 > div { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); }
.ck2 .bx { grid-row: span 2; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--rule-2); }
.ck2 .bx.on { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ck2 b { font-size: 12.5px; font-weight: 600; }
.ck2 small { grid-column: 2; font-size: 11.5px; color: var(--muted); }
.ck2 .tag { grid-row: span 2; }
.ck2.plain { gap: 0; }
.ck2.plain > div { padding: 10px 0; border: 0; border-radius: 0; background: none; }
.ck2.plain > div + div { border-top: 1px solid var(--rule); }
.ck2.plain > div:first-child { padding-top: 0; }
.ck2.plain > div:last-child { padding-bottom: 0; }
.aif { display: grid; }
.aif > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 10px; padding: 7px 0; }
.aif > div + div { border-top: 1px solid var(--rule); }
.aif > div:first-child { padding-top: 2px; }
.aif span { font-size: 12px; color: var(--muted); }
.aif b { font-size: 12.5px; font-weight: 600; text-align: right; }
.aif small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.cmsg { display: grid; gap: 6px; }
.cmsg .in, .cmsg .out { max-width: 82%; padding: 7px 11px; border-radius: 10px; font-size: 12.5px; }
.cmsg .in { justify-self: start; background: var(--paper-2); border-radius: 3px 10px 10px 10px; }
.cmsg .out { justify-self: end; background: var(--brand-tint); border-radius: 10px 3px 10px 10px; }
.cmsg small { font-size: 10.5px; color: var(--muted); }
.cmsg .ai-draft { justify-self: end; max-width: 82%; padding: 10px 13px 5px; line-height: 1.7; border: 1px dashed oklch(0.8 0.08 295); border-radius: 10px; font-size: 12.5px; background: var(--card); }
.cmsg .ai-draft small { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; line-height: 1.4; color: var(--agent-ink); }
.cmsg .ai-draft small svg.lucide { width: 13px; height: 13px; }
.sx .tbl td { white-space: nowrap; }
.sx .tbl td.w { white-space: normal; }

/* 导航里未上线的解决方案 */
.dd .soon { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 12px; padding: 9px 10px; border-radius: 8px; cursor: default; }
.dd .soon svg.lucide { grid-row: span 2; width: 18px; height: 18px; color: var(--muted); margin-top: 3px; }
.dd .soon b { font-weight: 600; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.dd .soon span { font-size: 13px; color: var(--muted); line-height: 1.5; opacity: 0.8; }
.soon-tag { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 999px; background: var(--paper-2); font: 500 11px/18px var(--f-sans); color: var(--muted); font-style: normal; vertical-align: 1px; }

/* ======================= 解决方案：场景大图 ======================= */
.tl { display: grid; gap: 0; }
.tl > div { display: grid; grid-template-columns: 52px 26px minmax(0, 1fr) auto; gap: 0 10px; align-items: start; padding: 9px 0; position: relative; }
.tl > div::before { content: ""; position: absolute; left: 74px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.tl > div:first-child::before { top: 16px; }
.tl > div:last-child::before { bottom: calc(100% - 16px); }
.tl time { font: 11.5px var(--f-mono); color: var(--muted); padding-top: 3px; text-align: right; }
.tl .ag, .tl .av { position: relative; z-index: 1; width: 24px; height: 24px; }
.tl .av { border: 0; }
.tl .tx { min-width: 0; padding-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.tl .tx b { color: var(--ink); font-weight: 600; }
.tl .tx small { display: block; color: var(--muted); font-size: 11.5px; }
.tl .r { padding-top: 2px; }
.tl .me .av { background: var(--human-tint); color: var(--human-ink); }
.tl .r .tag.dur { padding: 0; background: none; color: var(--muted); font-weight: 400; }
/* 时间线里由 Agent 完成的条目：名字带「Agent」、用 Agent 紫色，头像统一是机器人；人做的事是琥珀色底 */
.tl .tx b.agn { color: var(--agent-ink); }
.tl .ag { background: var(--agent-tint); color: var(--agent); }
.tl .ag.wf { background: var(--paper-2); color: var(--ink-2); border: 0; }
.tl-lg { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.tl-lg > span { display: inline-flex; align-items: center; }
.bigstat { display: grid; gap: 4px; padding: 14px 16px; border-radius: 10px; background: var(--paper-2); }
.bigstat small { font-size: 12px; color: var(--muted); }
.bigstat b { font-size: 34px; line-height: 1.1; font-weight: 650; letter-spacing: -0.01em; }
.bigstat b.ag-c { color: var(--agent-ink); }
.bigstat b.hu-c { color: var(--human-ink); }
.bigstat b.ok-c { color: var(--pass-ink); }
.bigstat span { font-size: 12px; color: var(--ink-2); }
.flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; align-items: stretch; }
.flow > div { position: relative; display: grid; gap: 8px; align-content: start; margin-right: 26px; min-width: 0; }
.flow > div:last-child { margin-right: 0; }
.flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -20px; top: 34px; font-size: 16px; color: var(--muted); }
.flow .st { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: none; }
.flow .st .bal { width: 20px; height: 20px; font-size: 10.5px; }
.flow .st.ag-s { color: var(--agent-ink); }
.flow .st.hu-s { color: var(--human-ink); }
.flow .st.ok-s { color: var(--pass-ink); }
.jobcard { display: grid; gap: 10px; }
.jobcard .row2 { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 12.5px; }
.jobcard .row2 > span:first-child { color: var(--muted); font-size: 11.5px; padding-top: 1px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-chips span { padding: 0 7px; border-radius: 5px; background: var(--paper-2); font-size: 11px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.diff { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; font: 12px/1.6 var(--f-mono); }
.diff > div { padding: 3px 10px; white-space: pre-wrap; word-break: break-word; }
.diff .h { background: var(--paper-2); color: var(--muted); font-family: var(--f-sans); font-size: 11.5px; padding: 6px 10px; }
.diff .del { background: oklch(0.96 0.03 25); color: oklch(0.42 0.12 25); }
.diff .add { background: oklch(0.96 0.04 155); color: oklch(0.38 0.1 155); }
.md { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); font: 12px/1.75 var(--f-mono); color: var(--ink-2); white-space: pre-wrap; }
.md .hd { color: var(--brand); font-weight: 600; }
.md .hl { background: var(--human-tint); color: var(--ink); border-radius: 3px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cmpx { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.6; }
.cmpx th, .cmpx td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); }
.cmpx thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.cmpx thead th.us { color: var(--brand); font-weight: 600; }
.cmpx td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmpx td { color: var(--ink-2); }
.cmpx td.us { background: var(--brand-tint); color: var(--ink); }
.cmpx thead th.us { background: var(--brand-tint); border-radius: 10px 10px 0 0; }
.cmpx tr:last-child td.us { border-radius: 0 0 10px 10px; }
.pillars { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.pillars > div { padding: 22px 22px 6px 0; }
.pillars > div + div { padding-left: 22px; border-left: 1px solid var(--rule-2); }
.pillars .k { font: 500 12px var(--f-mono); color: var(--brand); }
.pillars h3 { margin-top: 8px; font-size: 18px; line-height: 1.45; font-weight: 600; }
.pillars p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 960px) { .pillars { grid-template-columns: minmax(0, 1fr) !important; } .pillars > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-2); } }
.wow { padding-top: 120px; }
.wow .h2 { font-size: 44px; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .wow .h2 { font-size: 42px; }
@media (max-width: 900px) { .wow .h2, html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .wow .h2 { font-size: 30px; } }
.cmp tr.sub td { padding: 16px 18px 6px; border-top: 1px solid var(--rule); font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--card); }
.cmp tr.sub td span { margin-left: 8px; font-weight: 400; color: var(--muted); }
.cmp tr.sub + tr td { border-top-color: transparent; }

/* 客户案例 */
.cs-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 36px; }
.cs-logos img { height: 34px; width: auto; filter: grayscale(1); opacity: 0.75; }
.cv-ph { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, oklch(0.42 0.12 250), oklch(0.62 0.14 200)); }
.cv-ph b { font: 700 28px var(--f-sans); letter-spacing: 0.18em; color: #fff; }
.post-cover .cv-ph { aspect-ratio: 21 / 8; }
.post-cover .cv-ph b { font-size: 44px; }
.bfilter .to-cs { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; margin-left: auto; border-radius: 999px; color: var(--brand); font-size: 14px; font-weight: 500; }

/* 产品菜单底部：NocoBase 2 无代码外链 */
.dd .dd-sep { height: 1px; margin: 6px 10px; background: var(--rule); }
.dd a.ext > svg.lucide { color: var(--muted); }
.dd a.ext b { display: flex; align-items: center; }
.dd a.ext b svg.lucide { grid-row: auto; width: 14px; height: 14px; margin: 0 0 0 4px; color: var(--muted); }
.kind-tag { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--rule-2); font: 500 11px/16px var(--f-sans); color: var(--ink-2); font-style: normal; }

/* Logo 旁的版本切换 */
.nav .in > .ver { margin-left: -16px; }
.ver > button { height: 24px; padding: 0 6px 0 9px; gap: 2px; border: 1px solid var(--rule-2); border-radius: 999px; font: 600 13px/1 var(--f-sans); color: var(--ink-2); }
.ver > button svg.lucide { width: 12px; height: 12px; }
.ver .dd { min-width: 330px; }
.dd a.cur > svg.lucide { color: var(--brand); }
@media (max-width: 1000px) {
  .nav .in > .ver { margin-left: -14px; position: static; }
  .ver .dd { left: 16px; right: 16px; top: 60px; min-width: 0; }
}

/* 伙伴页表单：两列与多选 */
.bookf .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bookf .opts { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.bookf .opts legend { width: 100%; margin-bottom: 6px; font-size: 13.5px; color: var(--on-deep-2); }
.bookf .opts label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--deep-line); background: oklch(1 0 0 / 0.06); color: var(--on-deep); font-size: 13.5px; cursor: pointer; }
.bookf .opts input { width: auto; accent-color: var(--deep-accent); }
@media (max-width: 640px) { .bookf .two { grid-template-columns: minmax(0, 1fr); } }

/* 「我的 Agent」页面（首页 Hero 与 Studio 页共用） */
.hwin { height: 570px; grid-template-columns: 184px 244px minmax(0, 1fr) 256px; grid-template-rows: minmax(0, 1fr); }
/* 会话列表：与线上一致，每条两行；任务条每段一个任务，颜色是任务状态 */
.hs-h .b.p { color: var(--on-brand); }
.hs-f { display: flex; gap: 4px; padding: 8px 10px 2px; }
.hs-f span { padding: 0 9px; border: 1px solid var(--rule); border-radius: 999px; font-size: 11.5px; line-height: 22px; color: var(--muted); white-space: nowrap; }
.hs-f .on { border-color: transparent; background: var(--brand-tint); color: var(--ink); font-weight: 500; }
.hs-m { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.hs-m .pj { color: var(--ink-2); font-weight: 500; }
.hs-m .lb { display: inline-flex; gap: 1.5px; width: 40px; height: 6px; border-radius: 3px; overflow: hidden; background: var(--paper-2); flex: none; }
.hs-m .lb i { flex: 1; transition: background 0.4s; }
.lb i.done { background: var(--pass); } .lb i.review { background: var(--agent); } .lb i.started { background: var(--info-ink); } .lb i.blocked { background: var(--human); } .lb i.backlog { background: var(--rule-2); }
.hs-m .st-s { margin-left: auto; }
.hs-m .need { margin-left: 0; }
.hs-m .sst { font-size: 11px; } .hs-m .sst::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--rule-2); vertical-align: 1px; }
.hs-m .sst.run::before { background: var(--info-ink); } .hs-m .sst.done::before { background: var(--pass); }
.on-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pass); vertical-align: 0; }
/* 对话：朴素的消息，工具调用折成一行，任务进展一行一条 */
.hm .tool { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.hm .tool svg.lucide { width: 13px; height: 13px; }
.hm .tool .d .spin { width: 11px; height: 11px; border-width: 1.5px; }
.hm .tx ul { margin: 6px 0; padding-left: 18px; list-style: disc; }
.hm .tx li { margin: 2px 0; }
.hm .tx code { font: 12px var(--f-mono); padding: 0 4px; border-radius: 4px; background: var(--paper-2); }
.trow2 { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--rule); font-size: 13px; }
.trow2:first-of-type { border-top: 0; }
.trow2 svg.lucide { width: 15px; height: 15px; color: var(--brand); }
.trow2 .id { font: 11.5px var(--f-mono); color: var(--muted); }
.trow2 b { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .cf { display: flex; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--rule); background: var(--paper-2); border-radius: 0 0 10px 10px; }
.hcard .cf .b, .hacc .b { height: 28px; font-size: 12.5px; }
.b.done { background: var(--pass-tint); border-color: transparent; color: var(--pass-ink); }
.hst { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.hst.progress { color: var(--info-ink); } .hst.review { color: var(--agent-ink); } .hst.done { color: var(--pass-ink); }
.hnote { display: flex; align-items: center; gap: 7px; padding-left: 34px; font-size: 12.5px; color: var(--ink-2); animation: rise 0.35s ease both; }
.hnote svg.lucide { width: 14px; height: 14px; color: var(--muted); flex: none; }
.hnote time { margin-left: auto; font: 11px var(--f-mono); color: var(--muted); }
.hacc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hacc .u { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; font: 11.5px var(--f-mono); color: var(--brand); }
.hacc .u svg.lucide { width: 13px; height: 13px; }
/* 右栏：会话的任务，紧凑列表 */
.hp .wtop .n { margin-left: 4px; font: 12px var(--f-mono); color: var(--muted); }
.hp .wtop .hsum { font-size: 11px; color: var(--muted); }
.hp-b { gap: 14px; grid-template-columns: minmax(0, 1fr); }
.ht { padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); margin-bottom: 6px; animation: rise 0.35s ease both; }
.ht1 { display: flex; align-items: center; gap: 7px; }
.ht1 .si { width: 12px; height: 12px; padding: 1px; }
.ht1 b { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht2 { display: flex; align-items: center; gap: 6px; margin-top: 3px; padding-left: 19px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.ht2 .id { font: 11px var(--f-mono); flex: none; }
.ht2 .w { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--agent-ink); }
.ht2 .w .spin { width: 10px; height: 10px; border-width: 1.5px; }
.hp-sec { padding-top: 12px; border-top: 1px solid var(--rule); }
.hkv2 { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; }
.hkv2 dt { color: var(--muted); } .hkv2 .mono { font: 11.5px var(--f-mono); }
.hteam { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--agent-ink); }
.hteam .spin { width: 11px; height: 11px; border-width: 1.5px; }
.smn .hnote { padding-left: 0; }

/* 语言切换：悬停展开语言列表，当前语言打勾 */
.nav .lang > button.plain { gap: 6px; }
.nav .lang > button.plain svg.lucide-chevron-down { width: 14px; height: 14px; opacity: 0.6; margin-left: -2px; }
.nav .lang .dd { left: auto; right: -8px; min-width: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav .lang .dd a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 14px; color: var(--ink-2); }
.nav .lang .dd a:hover { color: var(--ink); }
.nav .lang .dd a svg.lucide { grid-row: auto; width: 14px; height: 14px; margin: 0; color: var(--brand); visibility: hidden; }
html[lang="zh-CN"] .nav .lang a[data-lang="zh"], html[lang="en"] .nav .lang a[data-lang="en"] { color: var(--ink); font-weight: 600; }
html[lang="zh-CN"] .nav .lang a[data-lang="zh"] svg.lucide, html[lang="en"] .nav .lang a[data-lang="en"] svg.lucide { visibility: visible; }
/* 12 种语言的页面：当前语言加粗并打勾；手机菜单里是下拉框 */
.nav .lang .dd a.cur { color: var(--ink); font-weight: 600; }
.nav .lang .dd a.cur svg.lucide { visibility: visible; }
.mnav .lang-switch-m select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.mnav .lang-switch-m select:focus-visible { outline: none; }
.mnav .lang-switch-m:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 1000px) { .nav .lang { display: none; } }

/* 首页「受治理的工程」：一次改动过的每一道关 */
.gv-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gv-st { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 7px; padding: 11px 12px 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); min-width: 0; }
.gv-st + .gv-st::before { content: ""; position: absolute; left: -11px; top: 19px; width: 8px; height: 8px; border-top: 1.5px solid var(--rule-2); border-right: 1.5px solid var(--rule-2); transform: rotate(45deg); }
.gv-t { display: flex; align-items: center; gap: 7px; }
.gv-t .bal { width: 20px; height: 20px; font-size: 10.5px; }
.gv-t b { font-size: 14px; font-weight: 650; }
.gv-ok { margin-left: auto; display: inline-grid; color: var(--pass); }
.gv-ok svg.lucide { width: 15px; height: 15px; }
.gv-who { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv-sk { justify-self: start; padding: 1px 7px; border-radius: 5px; background: var(--brand-tint); font: 500 11.5px/18px var(--f-mono); color: var(--brand); white-space: nowrap; }
.gv-bs { display: inline-flex; align-items: center; gap: 5px; justify-self: start; font-size: 11.5px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.gv-bs svg.lucide { width: 13px; height: 13px; color: var(--muted); }
.gv-st p { font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.gv-gate { display: flex; align-items: center; gap: 5px; padding-top: 8px; border-top: 1px dashed var(--rule-2); font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.gv-gate svg.lucide { width: 13px; height: 13px; }
.gv-gate.hu { color: var(--human-ink); }
.gv-gate.ok { color: var(--pass-ink); }
.gv-band { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-2); font-size: 12.5px; color: var(--ink-2); }
.gv-band > svg.lucide { width: 15px; height: 15px; color: var(--brand); }
.gv-trace { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.gv-trace svg.lucide { width: 13px; height: 13px; }
/* 受治理的工程：五条机制 */
.gv4 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.gv4 > div { border-top: 1px solid var(--rule-2); padding-top: 14px; }
.gv4 h4 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.gv4 h4 svg.lucide { width: 17px; height: 17px; color: var(--brand); }
.gv4 p { margin-top: 8px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.gv4 code { font: 12.5px var(--f-mono); color: var(--ink); }
@media (max-width: 900px) { .gv4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 600px) { .gv4 { grid-template-columns: minmax(0, 1fr); } }

/* 首页「只懂业务的人」：左边是他做的业务判断，右边是背后处理的技术细节 */
.xp { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; align-items: stretch; }
.xp-l { display: grid; gap: 8px; align-content: start; min-width: 0; }
.xp-h { display: flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.xp-c { display: grid; gap: 7px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); box-shadow: inset 3px 0 0 var(--human); }
.xp-k { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--human-ink); font-weight: 600; }
.xp-k svg.lucide { width: 13px; height: 13px; }
.xp-k time { margin-left: auto; font: 400 11px var(--f-mono); color: var(--muted); }
.xp-c > b { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.xp-os { display: flex; flex-wrap: wrap; gap: 6px; }
.xp-o { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.xp-o.on { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); font-weight: 500; }
.xp-o svg.lucide { width: 12px; height: 12px; color: var(--brand); stroke-width: 2.4; }
.xp-ck { display: grid; gap: 3px; font-size: 12.5px; }
.xp-ck li { display: flex; align-items: center; gap: 7px; }
.xp-ck svg.lucide { width: 14px; height: 14px; color: var(--pass); }
.xp-r { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; border: 1px dashed var(--rule-2); border-radius: 10px; background: var(--paper-2); min-width: 0; }
.xp-r .xp-h { color: var(--muted); }
.xp-bk { display: grid; gap: 10px; }
.xp-bk li { display: flex; align-items: center; gap: 7px; font: 12px/1.4 var(--f-sans); color: var(--muted); white-space: nowrap; }
.xp-bk svg.lucide { width: 13px; height: 13px; opacity: 0.8; }
.xp-n { margin-top: auto; font-size: 11.5px; color: var(--muted); }

/* 首页 Core 图：上层是 Agent 写的业务插件（虚线、轻），下层是 Core（实线、重） */
.cx { display: grid; color: var(--on-deep); }
.cx-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; font-size: 12.5px; color: var(--on-deep-2); }
.cx-h b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--on-deep); }
.cx-h b svg.lucide { color: oklch(0.8 0.12 295); }
.cx-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-mod { display: grid; gap: 4px; align-content: start; padding: 11px 13px 12px; border: 1px dashed oklch(0.88 0.05 262 / 0.4); border-radius: 10px; background: oklch(0.88 0.05 262 / 0.04); cursor: default; outline: none; transition: background 0.2s, border-color 0.2s; }
.cx-mod .t { display: flex; align-items: center; gap: 8px; }
.cx-mod .t b { font-size: 14px; font-weight: 600; }
.cx-mod p { font-size: 12px; color: var(--on-deep-2); }
.cx-mod .u { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cx-mod .u span { padding: 0 6px; border-radius: 4px; background: oklch(0.88 0.05 262 / 0.1); font-size: 11px; line-height: 18px; color: var(--on-deep-2); white-space: nowrap; }
.cx-mod.on { border-style: solid; border-color: var(--deep-accent); background: oklch(0.88 0.05 262 / 0.1); }
.cx-mod.on .u span { background: var(--deep-accent); color: var(--deep); }
.cx-link { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 12px; color: var(--on-deep-2); }
.cx-link i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--deep-line) 0 4px, transparent 4px 8px); }
.cx-plate.plate { margin-top: 12px; border-width: 2px; }
.cx-plate .plate-h b { font-size: 16px; }
.cx-plate .plate-h b em { margin-left: 4px; padding: 0 8px; border-radius: 999px; background: oklch(0.6 0.13 155 / 0.25); font: 500 11.5px/20px var(--f-sans); font-style: normal; color: oklch(0.85 0.1 155); }
.cx-plate .caps > div { padding: 14px 14px 15px; transition: background 0.2s, opacity 0.2s; }
.cx-plate .caps b { font-size: 14px; }
.hot .cx-plate .caps > div { opacity: 0.4; }
.hot .cx-plate .caps > div.on { opacity: 1; background: oklch(0.82 0.1 266 / 0.2); }
.hot .cx-plate .caps > div.on b svg.lucide { color: var(--on-deep); }
.gv-band.kb > svg.lucide { color: var(--human-ink); }
.gv-docs { display: inline-flex; gap: 6px; margin-left: auto; }
.gv-docs span { padding: 0 8px; border: 1px solid var(--rule); border-radius: 5px; background: var(--card); font-size: 11.5px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.gv-band b { flex: none; white-space: nowrap; font-weight: 600; color: var(--ink); }

/* Studio 页：Vibe Coding 与 Studio 对照。Studio 一列是一张连续的白卡，带品牌色边框 */
.cmp2 { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); margin-top: 64px; }
.cmp2 > div { display: flex; align-items: flex-start; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.65; min-width: 0; }
.cmp2 > .h { flex-direction: column; gap: 2px; padding-block: 22px 18px; border-top: 0; }
.cmp2 .h b { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 650; color: var(--ink); }
.cmp2 .h span { font-size: 13px; color: var(--muted); }
.cmp2 .k { padding-left: 0; font-weight: 600; color: var(--ink); }
.cmp2 .k svg.lucide { width: 17px; height: 17px; margin-top: 4px; color: var(--muted); }
.cmp2 .v { color: var(--muted); }
.cmp2 .v svg.lucide { width: 16px; height: 16px; margin-top: 4px; color: var(--rule-2); stroke-width: 2.4; }
.cmp2 .s { background: var(--card); border-inline: 1.5px solid var(--brand); color: var(--ink); }
.cmp2 .s svg.lucide { width: 16px; height: 16px; margin-top: 4px; color: var(--brand); stroke-width: 2.4; }
.cmp2 .s.h { border-top: 1.5px solid var(--brand); border-radius: 14px 14px 0 0; }
.cmp2 .s.h b { color: var(--brand); }
.cmp2 .s.h b svg.lucide { margin: 0; width: 18px; height: 18px; }
.cmp2 .s.last { border-bottom: 1.5px solid var(--brand); border-radius: 0 0 14px 14px; box-shadow: 0 24px 36px -30px var(--shadow); }
.cmp2 em { display: none; }
.cmp2 .v > span, .cmp2 .s:not(.h) > span { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .cmp2 { grid-template-columns: minmax(0, 1fr); }
  .cmp2 > .h { display: none; }
  .cmp2 .k { padding: 24px 0 8px; }
  .cmp2 .v, .cmp2 .s { flex-wrap: wrap; border: 0; border-radius: 10px; padding: 12px 14px; }
  .cmp2 .s, .cmp2 .s.last { margin-top: 6px; border: 1.5px solid var(--brand); border-radius: 10px; box-shadow: none; }
  .cmp2 em { display: block; width: 100%; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
  .cmp2 .s em { color: var(--brand); }
}
/* Solutions 页收尾：三个应用并排，下面一行部署指南 */
.band.sol-end .cta { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; align-items: center; }
.band.sol-end .cta .link { grid-column: 1 / -1; justify-self: end; color: var(--deep-accent); }
@media (max-width: 900px) { .band.sol-end .cta { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .band.sol-end .cta .link { justify-self: start; } }
/* Launch 预约：表单占更大的一栏 */
.band.book { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.band.book .bookf { min-width: 0; gap: 16px; }
.cinfo { display: grid; gap: 28px; margin-top: 36px; }
.cinfo h3 { font-size: 15.5px; font-weight: 600; color: var(--on-deep); }
.band .cinfo p { margin-top: 6px; font-size: 14.5px; line-height: 1.75; }
.cinfo a { color: var(--deep-accent); }
.cinfo ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.7; color: var(--on-deep-2); }
.cinfo .qr { display: block; width: 104px; height: 104px; margin-top: 12px; padding: 6px; border-radius: 8px; background: #fff; }
html:is([lang="en"],[lang="es-ES"],[lang="fr-FR"],[lang="de-DE"],[lang="pt-BR"],[lang="ru-RU"],[lang="id-ID"],[lang="vi-VN"]) .bookf .em { grid-column: 1 / -1; }
.bookf fieldset.opts label { font-size: 14px; }
@media (max-width: 900px) { .band.book { grid-template-columns: minmax(0, 1fr); } }
/* 伙伴等级表：等宽三列，最高一级轻微强调，对勾用图标 */
.dt.tiers { table-layout: fixed; }
.dt.tiers th:first-child, .dt.tiers td:first-child { width: 180px; }
.dt.tiers thead th { font-size: 15px; font-weight: 650; color: var(--ink); }
.dt.tiers thead th small { display: block; font: 500 11.5px var(--f-mono); color: var(--muted); }
.dt.tiers thead th.top, .dt.tiers td:last-child { background: var(--brand-tint); }
.dt.tiers thead th.top { color: var(--brand); }
.dt.tiers td svg.lucide { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--brand); stroke-width: 2.4; }
.dt.tiers .no { color: var(--rule-2); }
.dt.tiers td[colspan] { background: transparent; }
@media (max-width: 760px) { .dt.tiers { min-width: 640px; } .dt.tiers th:first-child, .dt.tiers td:first-child { width: 120px; } }

/* 首页演示视频弹窗 */
.vmodal { width: min(1080px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 14px; background: oklch(0.15 0.03 266); overflow: visible; }
.vmodal::backdrop { background: oklch(0.15 0.03 266 / 0.72); backdrop-filter: blur(4px); }
.vmodal[open] { animation: pop 0.25s ease-out both; }
.vbox { position: relative; }
.vframe { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.vframe video, .vframe iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.vempty { display: grid; place-items: center; align-content: center; gap: 12px; height: 100%; color: var(--on-deep-2); font-size: 15px; }
.vempty svg.lucide { width: 48px; height: 48px; color: var(--deep-accent); stroke-width: 1.4; }
.vclose { position: absolute; top: -44px; right: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: oklch(1 0 0 / 0.14); color: #fff; cursor: pointer; }
.vclose:hover { background: oklch(1 0 0 / 0.24); }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

/* STUDIO-UI */
/* ======================= Studio 界面（对照真实 Studio 截图） =======================
   首页 Studio 段与 Studio 页共用。颜色克制：正文用墨色，Agent 名称不再整段标紫；
   颜色只出现在状态图标、状态胶囊和 Agent 标识这些小处。本段同时写在 assets/site.css 末尾和 index.html 内联样式末尾，改时两处一起改。 */
.si.review { --c: var(--agent); padding: 3px; background: radial-gradient(circle, var(--c) 0 45%, transparent 50%) content-box; }
.si.done { border-color: var(--pass); background: var(--pass); padding: 0; position: relative; }
.si.done::after { content: ""; position: absolute; left: 3.6px; top: 1.6px; width: 3px; height: 6px; border: solid oklch(1 0 0); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.si.cancel { --c: var(--muted); border-color: var(--muted); background: var(--muted); }
.sb .it.on { color: var(--brand); }

.st-win { display: grid; grid-template-columns: 196px minmax(0, 1fr); background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--ink); text-align: left; box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }
/* 侧栏不决定窗口高度：高度由右侧内容撑开，侧栏放不下的部分直接裁掉 */
.st-win > .sb { padding: 0 10px 0; height: 0; min-height: 100%; overflow: hidden; }
.st-win > .sb > * { flex: none; }
.st-win > .sb .it { height: 28px; }
.st-win > .sb .grp { margin: 10px 8px 2px; }
.st-win > .sb .brand { height: 50px; padding: 0 8px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); margin-inline: -10px; padding-inline: 18px; }
.st-win > .sb .brand img { height: 16px; }
.st-win > .sb .set { margin-top: 10px; }
.st-win > .sb .ver { display: flex; align-items: center; gap: 8px; margin: auto -10px 0; padding: 10px 18px 12px; border-top: 1px solid var(--rule); font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.st-win > .sb .ver b { display: block; font-size: 12px; font-weight: 500; color: var(--ink); }
.st-win > .sb .ver svg.lucide { width: 15px; height: 15px; }
.st-main { display: flex; flex-direction: column; min-width: 0; background: var(--paper); }
.st-top { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px 0 14px; border-bottom: 1px solid var(--rule); background: var(--card); flex: none; }
.st-top > svg.lucide { color: var(--muted); }
.st-top i.sep { width: 1px; height: 16px; background: var(--rule); }
.st-top b { font-size: 13.5px; font-weight: 500; }
.st-top .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.st-ib { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--ink-2); flex: none; }
.st-ib.bd { border: 1px solid var(--rule); background: var(--card); }
.st-ib svg.lucide { width: 15px; height: 15px; }
.st-av { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--rule); font-size: 11px; font-weight: 600; color: var(--ink-2); flex: none; line-height: 1; }
.st-top .st-av { width: 28px; height: 28px; }
.st-page { display: grid; gap: 12px; align-content: start; padding: 14px 18px 16px; min-width: 0; }
.st-ph { display: flex; align-items: flex-start; gap: 12px; }
.st-ph h4 { font-size: 19px; line-height: 1.3; font-weight: 650; }
.st-ph p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.st-ph .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.st-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--rule-2); background: var(--card); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.st-btn svg.lucide { width: 14px; height: 14px; }
.st-btn.p { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.st-btn kbd { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 4px; background: oklch(1 0 0 / 0.22); font: 500 10.5px var(--f-mono); }
.st-flt { display: flex; align-items: center; gap: 8px; }
.st-flt > span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 7px; background: var(--card); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.st-flt > span svg.lucide { width: 13px; height: 13px; color: var(--muted); }
.st-flt .q { width: 168px; color: var(--muted); }
.st-flt > .st-btn svg.lucide { color: inherit; }
.st-flt .vw { margin-left: auto; gap: 2px; padding: 2px; }
.st-flt .vw i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; color: var(--muted); }
.st-flt .vw i.on { background: var(--paper-2); color: var(--ink); }
.st-card { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; min-width: 0; }
.st-cnt { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--paper-2); font-size: 11px; font-weight: 500; color: var(--muted); }
/* 分组列表 */
.st-list { display: grid; gap: 8px; align-content: start; min-width: 0; }
.st-grp { overflow: hidden; }
.st-gh { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; font-size: 12.5px; font-weight: 600; }
.st-gh .si { width: 12px; height: 12px; }
.st-gh .si.done::after { left: 2.8px; top: 1px; width: 2.6px; height: 5.2px; }
.st-gh > svg.lucide:last-child { margin-left: auto; width: 14px; height: 14px; color: var(--muted); }
.st-gh .hand { width: 13px; height: 13px; color: var(--human); }
.st-li { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 0 8px; padding: 6px 10px 7px; border-top: 1px solid var(--rule); }
.st-li > .si { margin-top: 3px; width: 12px; height: 12px; }
.st-li > .si.review { padding: 2.5px; }
.st-li b { min-width: 0; font-size: 12.5px; font-weight: 450; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-li time { font-size: 11px; color: var(--muted); padding-top: 1px; }
.st-li .s2 { grid-column: 2 / 4; display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.st-li .s2 .id { font-size: 10.5px; }
.st-li .s2 .st-spin { width: 10px; height: 10px; border-width: 1.4px; }
.st-li .s2 .w { color: var(--human-ink); }
.st-li .s2 .run { color: var(--info-ink); }
.st-li.on { background: var(--brand-tint); }
.st-li.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--brand); }
.st-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 11px; color: var(--muted); }
.st-keys kbd { display: inline-block; min-width: 16px; margin-right: 3px; padding: 0 4px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); font: 10.5px/16px var(--f-mono); text-align: center; color: var(--ink-2); }
/* 详情 */
.st-det { display: flex; flex-direction: column; min-width: 0; }
.st-dh { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.st-dh > svg.lucide { width: 14px; height: 14px; }
.st-dh .id { font-size: 11.5px; color: var(--ink-2); }
.st-dh .r { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.st-dh .r > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.st-dh .r svg.lucide { width: 13px; height: 13px; }
.st-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 7px; background: var(--card); font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.st-pill .si { width: 12px; height: 12px; }
.st-pill .si.done::after { left: 2.8px; top: 1px; width: 2.6px; height: 5.2px; }
.st-pill svg.lucide { width: 12px; height: 12px; color: var(--muted); }
.st-db { display: grid; gap: 10px; align-content: start; padding: 12px 16px 14px; min-width: 0; }
.st-db h5 { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; line-height: 1.35; font-weight: 650; }
.st-db h5 svg.lucide { margin: 4px 0 0 auto; width: 14px; height: 14px; color: var(--muted); }
.st-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 12px; color: var(--ink-2); }
.st-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.st-meta .k { color: var(--muted); }
.st-box { border: 1px solid var(--rule); border-radius: 9px; padding: 10px 12px 11px; background: var(--card); }
.st-box > .h { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.st-box > .h svg.lucide { width: 13px; height: 13px; }
.st-box > .h .r { margin-left: auto; }
.st-step { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 3px 0; font-size: 12.5px; }
.st-step small { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.st-step.off { color: var(--muted); }
.st-step .who { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.st-foot { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--rule); font-size: 11.5px; color: var(--muted); }
/* Agent 标识：与真实 Studio 一致，用编码工具缩写的小方块，名称保持墨色 */
.st-a { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font: 600 9px/1 var(--f-mono); letter-spacing: -0.02em; flex: none; }
.st-a.cc { background: oklch(0.94 0.045 50); color: oklch(0.52 0.15 45); }
.st-a.cx { background: var(--ink); color: var(--on-brand); }
.st-a.oc { background: var(--info-tint); color: var(--info-ink); }
.st-a.gm { background: oklch(0.95 0.03 250); color: oklch(0.5 0.14 260); }
.st-a.pm { background: var(--agent-tint); color: var(--agent-ink); }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* Agent 正在做的事：蓝色转圈 */
.st-spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.6px solid var(--info-tint); border-top-color: var(--info-ink); animation: spin 0.9s linear infinite; flex: none; vertical-align: -2px; }
.st-le .st-spin { margin-left: 6px; width: 11px; height: 11px; }
.st-tag .st-spin { width: 10px; height: 10px; border-width: 1.4px; }
@media (prefers-reduced-motion: reduce) { .st-spin { animation: none; border-color: var(--info-ink); border-right-color: var(--info-tint); } }
.st-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--paper-2); font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.st-chip svg.lucide { width: 12px; height: 12px; }
.st-chip.bl { background: var(--brand-tint); color: var(--brand); }
.st-chip.mono { font-family: var(--f-mono); font-size: 11px; }
.st-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.st-tabs span { padding: 0 0 8px; }
.st-tabs .on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px var(--ink); }
.st-log { display: grid; gap: 9px; }
.st-le { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: start; font-size: 12.5px; color: var(--ink-2); }
.st-le > .st-a, .st-le > .st-av { width: 22px; height: 22px; }
.st-le b { color: var(--ink); font-weight: 600; }
.st-le time { font: 11px var(--f-mono); color: var(--muted); padding-top: 3px; }
.st-cmt { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); font-size: 12.5px; color: var(--muted); }
.st-cmt .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.st-cmt svg.lucide { width: 14px; height: 14px; }
.st-cmt .snd { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--brand); color: var(--on-brand); }
/* 运行环境表 */
.st-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.st-tbl th { padding: 9px 12px; text-align: left; font-weight: 600; font-size: 12px; color: var(--ink); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.st-tbl td { padding: 8px 12px; border-top: 1px solid var(--rule); vertical-align: middle; }
.st-tbl tr:first-child td { border-top: 0; }
.st-tbl td b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; }
.st-tbl td small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; }
.st-tag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px; background: var(--paper-2); font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.st-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); flex: none; }
.st-tag.on { background: var(--pass-tint); color: var(--pass-ink); }
.st-tag.run::before { background: var(--pass); }
.st-tag.on::before { background: var(--pass); }
.st-tag.nd::before { display: none; }
.st-tag.team { background: var(--agent-tint); color: var(--agent-ink); }
.st-tags { display: flex; flex-wrap: nowrap; gap: 4px; }
.st-more { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.st-more svg.lucide { width: 13px; height: 13px; }
/* 流水线（受治理的工程） */
.st-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.st-stg { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; padding: 11px 12px 10px; min-width: 0; }
.st-stg .t { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.st-stg .t .bal { width: 20px; height: 20px; font-size: 10.5px; border-width: 1.2px; }
.st-stg .t .si { margin-left: auto; }
.st-stg .who { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.st-stg p { font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.st-stg .gate { display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--rule); font-size: 11.5px; font-weight: 500; color: var(--ink); }
.st-stg .gate svg.lucide { width: 13px; height: 13px; color: var(--muted); }
.st-band { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; background: var(--paper-2); font-size: 12px; color: var(--ink-2); }
.st-band svg.lucide { width: 14px; height: 14px; color: var(--muted); }
.st-band .st-chip { background: var(--card); }
.st-band .r { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
/* 业务专家做的决定 */
.st-dec { display: grid; grid-template-columns: 14px 64px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 12.5px; }
.st-dec:first-of-type { border-top: 0; }
.st-dec .k { font-size: 11.5px; color: var(--muted); }
.st-dec b { font-weight: 500; min-width: 0; }
/* /STUDIO-UI */
/* HOME-STUDIO */
/* 首页 Studio 段：左侧四条特色，右侧换图（由 html/scripts/figs/home-studio.mjs 写入，改样式请改脚本） */
.stv { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.stv-tabs { display: grid; gap: 4px; }
.stv-tab { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; padding: 14px 16px 15px; border: 0; border-left: 2px solid var(--rule-2); background: none; text-align: left; cursor: pointer; color: var(--ink-2); font: inherit; }
.stv-tab:hover { color: var(--ink); }
.stv-tab svg.lucide { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.stv-tab b { font-size: 17px; line-height: 1.5; font-weight: 600; }
.stv-tab p { grid-column: 2; display: none; font-size: 15px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.stv-tab[aria-selected="true"] { border-left-color: var(--brand); color: var(--ink); background: oklch(1 0 0 / 0.55); }
.stv-tab[aria-selected="true"] svg.lucide { color: var(--brand); }
.stv-tab[aria-selected="true"] p { display: block; }
.stv-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 1000px) {
  .stv { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
.sv-win { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--ink); text-align: left; box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }
.sv-top { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); flex: none; }
.sv-top > svg.lucide { width: 13px; height: 13px; }
.sv-top b { font-weight: 500; color: var(--ink); }
.sv-top i.sep { width: 1px; height: 14px; margin: 0 4px; background: var(--rule); }
.sv-top .r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sv-top .st-av { width: 24px; height: 24px; }
.sv-brand { display: inline-flex; align-items: center; gap: 8px; }
.sv-brand img { height: 14px; width: auto; }
.sv-brand span { font-size: 12px; color: var(--muted); border-left: 1px solid var(--rule-2); padding-left: 8px; line-height: 1; }
.sv-body { flex: 1; display: grid; gap: 14px; align-content: start; padding: 16px 18px 18px; background: var(--paper); }
.sv-body .st-ph h4 { font-size: 18px; line-height: 1.35; font-weight: 650; }
.sv-body .st-ph p { font-size: 12.5px; }
.sv-ch { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.sv-ch b { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.sv-ch .st-a { width: 20px; height: 20px; }
/* 运行环境 */
.sv-night { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--deep); color: var(--on-deep); font-size: 12px; white-space: nowrap; }
.sv-night svg.lucide { width: 13px; height: 13px; color: var(--deep-accent); }
.sv-team { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 12px; align-items: start; }
.sv-team .st-tbl td b svg.lucide { width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; color: var(--muted); }
.sv-team .st-tag b { font-weight: 600; color: var(--ink); }
.sv-dp { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 9px 12px; border-top: 1px solid var(--rule); }
.sv-ch + .sv-dp { border-top: 0; }
.sv-dp time { font: 11px/20px var(--f-mono); color: var(--muted); }
.sv-dp b { display: block; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-dp .id { margin-right: 6px; font: 11px var(--f-mono); color: var(--muted); }
.sv-dp p { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.sv-dp p .st-a { width: 16px; height: 16px; font-size: 8px; }
/* 我的任务 */
.sv-body > .st-flt h4 { margin-right: 6px; font-size: 18px; line-height: 1.35; font-weight: 650; }
.sv-body > .st-flt .st-btn { margin-left: auto; }
.sv-tasks { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 12px; align-items: start; }
.sv-tasks .st-det { align-self: stretch; }
/* 等你验收 */
.sv-dh { display: flex; align-items: flex-start; gap: 12px; }
.sv-dh h4 { font-size: 18px; line-height: 1.35; font-weight: 650; margin-bottom: 6px; }
.sv-dh .st-pill { margin-left: auto; }
.sv-wait { border-color: var(--human); background: var(--human-tint); color: var(--on-human); }
.sv-dec { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.sv-main { display: grid; gap: 10px; }
.sv-p { font-size: 12.5px; line-height: 1.65; color: var(--ink); }
.sv-ck { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 30px; padding: 3px 0; border-top: 1px solid var(--rule); font-size: 12.5px; }
.sv-ck:first-of-type { border-top: 0; }
.sv-ck .st-chip { height: 20px; font-size: 11px; }
.sv-side { display: grid; gap: 10px; }
.sv-ths { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv-th { display: grid; gap: 5px; margin: 0; min-width: 0; }
.sv-th figcaption { font-size: 11px; line-height: 1.4; color: var(--muted); }
.sv-img { position: relative; height: 86px; border: 1px solid var(--rule); border-radius: 6px; background: var(--card); overflow: hidden; }
.sv-img .bar { display: flex; align-items: center; gap: 3px; height: 11px; padding: 0 6px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.sv-img .bar i { width: 4px; height: 4px; border-radius: 50%; background: var(--rule-2); }
.sv-img .pg { height: calc(100% - 11px); padding: 5px 7px; font-size: 8.5px; line-height: 1.3; color: var(--ink-2); }
.sv-sh { padding-bottom: 3px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.sv-sr { display: grid; grid-template-columns: minmax(0, 1fr) auto 13px; gap: 4px; align-items: center; padding: 3px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.sv-sr span { overflow: hidden; text-overflow: ellipsis; }
.sv-sr em { font-style: normal; font-family: var(--f-mono); font-size: 7.5px; color: var(--muted); }
.sv-sr i { display: grid; place-items: center; height: 11px; border-radius: 3px; background: var(--paper-2); font: 600 7.5px/1 var(--f-mono); font-style: normal; color: var(--ink-2); }
.sv-img.dim .pg { display: grid; place-items: center; background: oklch(0.25 0.05 266 / 0.07); }
.sv-dlg { display: grid; gap: 2px; width: 94%; padding: 6px 7px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); box-shadow: 0 2px 6px oklch(0.25 0.05 266 / 0.08); }
.sv-dlg b { font-size: 9px; font-weight: 600; color: var(--ink); }
.sv-dlg span { color: var(--muted); white-space: nowrap; }
.sv-bt { display: flex; justify-content: flex-end; gap: 3px; margin-top: 4px; }
.sv-bt i { font-style: normal; padding: 1px 5px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--card); }
.sv-bt i.p { border-color: var(--muted); background: var(--muted); color: var(--card); }
.sv-adv { border-color: var(--human); }
.sv-adv > .h { color: var(--ink); font-weight: 600; }
.sv-adv > .h .st-a { width: 18px; height: 18px; }
.sv-adv p { font-size: 12.5px; line-height: 1.65; }
.sv-act { display: flex; gap: 8px; margin-top: 10px; }
.sv-act .st-btn { height: 32px; }
/* 技能、知识库、项目记忆 */
.sv-know { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.sv-kc { display: flex; flex-direction: column; }
.sv-kh { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; border-bottom: 1px solid var(--rule); }
.sv-kh > svg.lucide { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; border-radius: 8px; background: var(--brand-tint); color: var(--brand); }
.sv-kh b { display: block; font-size: 13.5px; font-weight: 600; }
.sv-kh span { display: block; font-size: 11.5px; color: var(--muted); }
.sv-it { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--rule); font-size: 12.5px; }
.sv-kh + .sv-it { border-top: 0; }
.sv-it > svg.lucide { width: 14px; height: 14px; color: var(--muted); }
.sv-it .st-chip { grid-row: span 2; align-self: start; margin-top: 1px; }
.sv-it > span:not(.st-chip) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-it em { grid-column: 2; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 11px; color: var(--muted); }
.sv-it em svg.lucide { width: 12px; height: 12px; color: var(--pass-ink); }
.sv-it .st-chip.mono { font-size: 10.5px; }
.sv-note { margin-top: auto; padding: 9px 12px 11px; border-top: 1px dashed var(--rule); font-size: 11px; color: var(--muted); }
.sv-prop { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; margin: auto 10px 10px; padding: 9px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); font-size: 12px; }
.sv-prop p span { display: block; margin-top: 2px; font-size: 11px; color: var(--human-ink); }
.sv-prop p span.up { color: var(--muted); }
.sv-prop .st-av { width: 18px; height: 18px; font-size: 9px; }
.sv-mem { display: grid; gap: 5px; padding: 10px 12px; border-top: 1px solid var(--rule); }
.sv-kh + .sv-mem { border-top: 0; }
.sv-mem p { font-size: 12.5px; line-height: 1.55; }
.sv-mem span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.sv-mem em { margin-left: auto; padding: 0 6px; border-radius: 4px; background: var(--paper-2); font-style: normal; font-size: 10.5px; line-height: 18px; color: var(--ink-2); }
.sv-mem .st-a { width: 16px; height: 16px; font-size: 8px; }
.sv-hand { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: var(--deep); color: var(--on-deep); font-size: 12.5px; }
.sv-hand > svg.lucide { width: 15px; height: 15px; color: var(--deep-accent); }
.sv-hand > span { display: inline-flex; align-items: center; gap: 6px; color: var(--on-deep-2); }
.sv-hand > span svg.lucide { width: 13px; height: 13px; }
.sv-hand .st-av { background: oklch(1 0 0 / 0.12); border-color: transparent; color: var(--on-deep); }
.sv-hand .r { margin-left: auto; color: var(--on-deep); }
/* /HOME-STUDIO */

/* A real screenshot of an app page in place of a drawn figure. */
.sheet.app-shot { overflow: hidden; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--paper); box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }
.app-shot t-zh, .app-shot t-en { display: block; }
.app-shot img { display: block; width: 100%; height: auto; }
.ai-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ai-note svg.lucide { flex: none; width: 13px; height: 13px; color: var(--agent); }
.sx-brand .crm-logo { display: block; height: 15px; width: auto; }
.sx-top .sx-brand .crm-logo { height: 13px; }
.b.ai { border-color: transparent; background: var(--agent-tint); color: var(--agent-ink); }
.b.ai svg.lucide { width: 14px; height: 14px; color: var(--agent); }
.gh-btn svg { width: 17px; height: 17px; flex: none; }
/* PRODUCT-PAGES */
/* Core、Studio、Solution 三个产品页共用的样式（由 html/scripts/figs/product-figs.mjs 从 html/src/pages/product-pages.css 写入，改样式请改源文件）。
   前半部分是首页已有的组件（首页的样式写在 index.html 里），这里给子页面用；和其他页面同名的类（.cmp、.apptab）限定在容器里，免得互相影响。 */

/* ---- 首页同款组件 ---- */
.cols3 h3 svg.lucide, .cols4 h3 svg.lucide { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; color: var(--brand); }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.cols4 > div { border-top: 1px solid var(--rule-2); padding-top: 16px; }
.cols4 h3 { font-size: 18px; font-weight: 600; }
.cols4 p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1080px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cols4 { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.sec-body > .sheet + .cols3, .sec-body > .sheet + .cols4 { margin-top: 48px; }

/* 产品名标签（首页 Core、Studio、Solution 三段同款）：图标 + 产品名，放在产品页大标题上方 */
.label.prod { margin-bottom: 18px; }
.label.prod b { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.3; font-weight: 650; color: var(--ink); }
.label.prod b svg.lucide { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; border-radius: 8px; background: var(--brand); color: var(--on-brand); }
.phero .label.prod { margin-bottom: 22px; }
@media (max-width: 600px) { .label.prod b { font-size: 18px; } }

/* Core 图：统一的项目结构和开发规范一行，以及「20 多项基础能力」一格 */
.caps .more { background: oklch(0.88 0.05 262 / 0.06); }
.cx-std { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--deep-line); background: oklch(0.88 0.05 262 / 0.06); }
.cx-std .l { display: grid; gap: 2px; min-width: 0; }
.cx-std .l b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.cx-std .l b svg.lucide { width: 15px; height: 15px; color: var(--deep-accent); }
.cx-std .l span { padding-left: 23px; font-size: 12px; color: var(--on-deep-2); }
.cx-std .its { margin-left: auto; display: flex; gap: 8px; }
.cx-std .its span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid var(--deep-line); border-radius: 7px; font-size: 13px; color: var(--on-deep); white-space: nowrap; }
.cx-std .its svg.lucide { width: 14px; height: 14px; color: var(--deep-accent); }


/* 开源与私有部署 */
.open-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: start; }
.olist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.olist li { border-top: 1px solid var(--rule-2); padding-top: 16px; }
.olist h3 { font-size: 18px; font-weight: 600; }
.olist h3 svg.lucide { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; color: var(--brand); }
.olist p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .open-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 600px) { .olist { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* 开始使用：三张卡 */
.start3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scard { display: flex; flex-direction: column; padding: 22px 24px 24px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); }
.scard.pro { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.scard .hd { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.scard .hd svg.lucide { width: 14px; height: 14px; padding: 5px; box-sizing: content-box; border-radius: 6px; background: var(--brand); color: var(--on-brand); }
.scard .hd b { font-weight: 600; }
.scard .hd span { margin-left: auto; padding: 0 8px; border-radius: 5px; background: var(--paper-2); font-size: 12.5px; line-height: 22px; color: var(--ink-2); }
.scard.pro .hd span { background: var(--brand-tint); color: var(--brand); }
.scard h3 { margin-top: 18px; font-size: 20px; line-height: 1.4; font-weight: 600; }
.scard p { margin: 8px 0 22px; font-size: 15px; color: var(--ink-2); }
.scard .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .start3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Core：基础能力清单（按文档站插件目录分组） ---- */
.capcat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cc-g { padding: 18px 20px 14px; border: 1px solid var(--rule-2); border-radius: 12px; background: var(--card); }
.cc-g h3 { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 16px; font-weight: 600; }
.cc-g h3 svg.lucide { width: 16px; height: 16px; padding: 5px; box-sizing: content-box; border-radius: 7px; background: var(--brand-tint); color: var(--brand); }
.cc-g li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); }
.cc-g li:first-child { border-top: 0; }
.cc-g li b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.cc-g li span { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.capfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.capfoot b { font-weight: 600; color: var(--ink); }
.capfoot .link { margin-left: auto; }
@media (max-width: 1000px) { .capcat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .capcat { grid-template-columns: minmax(0, 1fr); } .capfoot .link { margin-left: 0; } }

/* ---- Core：新建应用的目录与开发技能（coreRepo） ---- */
.rp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 16px; align-items: start; text-align: left; }
.rp-card { background: var(--card); border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--ink); box-shadow: 0 1px 2px oklch(0.25 0.05 266 / 0.05), 0 12px 28px -14px oklch(0.25 0.06 266 / 0.2); }
.rp-h { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--rule); }
.rp-h > svg.lucide { width: 16px; height: 16px; color: var(--brand); }
.rp-h b { font: 600 13.5px var(--f-mono); }
.rp-h > span { font-size: 12px; color: var(--muted); }
.rp-h .r { margin-left: auto; display: flex; gap: 6px; }
.rp-who { flex: none; padding: 0 8px; border-radius: 5px; font-style: normal; font-size: 11.5px; line-height: 20px; white-space: nowrap; }
.rp-who.fc { background: var(--brand-tint); color: var(--brand); }
.rp-who.wr { background: var(--agent-tint); color: var(--agent-ink); }
.rp-row { display: flex; align-items: center; gap: 9px; min-height: 37px; padding: 0 16px; border-top: 1px solid var(--rule); }
.rp-h + .rp-row { border-top: 0; }
.rp-row > svg.lucide { flex: none; width: 15px; height: 15px; color: var(--muted); }
.rp-row code { flex: none; font: 12.5px var(--f-mono); color: var(--ink); }
.rp-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12.5px; }
.rp-row .rp-who { margin-left: auto; }
.rp-row.d1 { padding-left: 40px; min-height: 31px; border-top-style: dashed; background: var(--paper); }
.rp-row.d1 > svg.lucide { width: 13px; height: 13px; color: var(--brand); }
.rp-row.d1 code { font-size: 12px; }
.rp-row.more > span { font-style: italic; }
.rp-sub { padding: 12px 16px 4px; font-size: 12.5px; color: var(--muted); }
.rp-tbl { width: calc(100% - 32px); margin: 6px 16px 0; border-collapse: collapse; }
.rp-tbl th { padding: 7px 0; border-bottom: 1px solid var(--rule-2); text-align: left; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.rp-tbl td { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 12.5px; }
.rp-tbl td code { font: 12px var(--f-mono); color: var(--brand); }
.rp-rules { display: grid; gap: 7px; margin: 14px 16px 16px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.rp-rules .h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; }
.rp-rules .h svg.lucide { width: 14px; height: 14px; color: var(--brand); }
.rp-rules p { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.rp-rules p svg.lucide { width: 14px; height: 14px; margin-top: 2px; color: var(--pass-ink); }

/* ---- Studio：仪表盘与模型用量、一个任务的推进详情（studioDash） ---- */
.db { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.db .sv-body { gap: 12px; }
.db-hd { display: flex; align-items: flex-start; gap: 12px; }
.db-hd h4 { font-size: 18px; line-height: 1.35; font-weight: 650; }
.db-hd p { margin-top: 2px; font-size: 12px; color: var(--muted); }
.db-seg { margin-left: auto; display: inline-flex; border: 1px solid var(--rule-2); border-radius: 7px; overflow: hidden; flex: none; }
.db-seg i { padding: 0 9px; font-style: normal; font-size: 11.5px; line-height: 24px; color: var(--ink-2); }
.db-seg i + i { border-left: 1px solid var(--rule-2); }
.db-seg i.on { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.db-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.db-stat { display: grid; gap: 2px; padding: 10px 12px 11px; }
.db-stat small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-stat b { font: 600 22px/1.25 var(--f-sans); letter-spacing: -0.01em; }
.db-stat span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.db-stat span.up { color: var(--pass-ink); }
.db-use td, .db-use th { white-space: nowrap; }
.db-use .who { display: inline-flex; align-items: center; gap: 6px; }
.db-use .who .st-a { width: 18px; height: 18px; font-size: 8.5px; }
.db-use tr.tot td { font-weight: 600; background: var(--paper); }
.db .sv-dh h4 { margin-bottom: 4px; }
.db-now { display: grid; gap: 3px; padding: 11px 14px 12px; border: 1px solid var(--rule); border-left: 3px solid var(--agent); border-radius: 10px; background: var(--card); }
.db-now .h { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.db-now .h svg.lucide { width: 13px; height: 13px; color: var(--agent); }
.db-now p { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.db-now p b { font-weight: 600; }
.db-now p.m { padding-left: 19px; font-size: 11.5px; color: var(--muted); }
.db-now p.nx { margin-top: 5px; padding-top: 8px; border-top: 1px dashed var(--rule); font-size: 12px; color: var(--ink-2); }
.db-me .st-av { width: 18px; height: 18px; font-size: 9px; }

/* ---- Solution：应用列表（左侧应用，右侧这款应用的图；首页 Solution 段同款，图叠放在同一格里，切换时页面不跳） ---- */
.vtabs { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.vtabs .apptabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; }
.vtabs .appit { border-left: 2px solid var(--rule-2); }
.vtabs .appit.on { border-left-color: var(--brand); background: var(--card); }
.vtabs .apptab, .vtabs .apptab[aria-selected="true"] { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; padding: 13px 16px; border: 0; border-radius: 0; box-shadow: none; background: none; text-align: left; cursor: pointer; color: var(--ink-2); font: inherit; }
.vtabs .apptab:hover { color: var(--ink); }
.vtabs .apptab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.vtabs .apptab svg.lucide { width: 18px; height: 18px; color: var(--muted); }
.vtabs .apptab .nm { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; min-width: 0; }
.vtabs .apptab b { display: inline; font-size: 17px; line-height: 1.5; font-weight: 600; }
.vtabs .apptab .u { display: inline; font-size: 14px; color: var(--muted); }
.vtabs .appit.on .apptab { color: var(--ink); padding-bottom: 4px; }
.vtabs .appit.on .apptab svg.lucide { color: var(--brand); }
.vtabs .appd { display: none; padding: 0 16px 15px 48px; }
.vtabs .appit.on .appd { display: block; }
.vtabs .appd p { font-size: 15px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.vtabs .appd .link { margin-top: 6px; }
.vtab-panes { display: grid; }
.vtab-pane { grid-area: 1 / 1; visibility: hidden; }
.vtab-pane.on { visibility: visible; }
@media (max-width: 1000px) { .vtabs { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---- 小节里的小标题和说明（Studio「有理有据做决策」里的检查流程） ---- */
.subhead { margin-top: 88px; }
.subhead h3 { font-size: 24px; line-height: 1.4; font-weight: 650; letter-spacing: -0.01em; }
.subhead p { max-width: 720px; margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.subhead + .steps { margin-top: 32px; }
.sec-head.wide { max-width: 1000px; }
.vtabs > *, .vtab-pane { min-width: 0; }
.phero .vtabs { margin-top: 64px; }
.phero .vtabs .sheet { margin-top: 0; }
@media (max-width: 900px) { .phero .vtabs { margin-top: 40px; } }
/* NocoITAM 的图用它自己的绿色（与首页 index.html 里的 .itam-theme 一致） */
.itam-theme { --agent: #047857; --agent-ink: #065f46; --agent-tint: #ecfdf5; --brand: #047857; --brand-hover: #065f46; --brand-tint: #ecfdf5; }
.itam-theme .sg.on { border-color: #a7f3d0; }
/* /PRODUCT-PAGES */
