/* ==========================================================================
   财经商贸 · 教学空间 — 统一设计系统 v3
   设计语言参照 Apple 官网：大字号标题、全宽交替分区、吸顶本页导航、
   胶囊按钮与「›」文字链接；学科元素来自记账凭证、T 字账户与红字更正。
   ========================================================================== */

:root {
  /* 颜色 */
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #56565a;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #005cb9;
  --blue-hover: #004f9e;
  --link: #0066cc;
  --red: #d70015;          /* 会计红字：错误、冲销、更正线 */
  --red-soft: #fff1f2;
  --green: #126b32;
  --green-soft: #eef8f0;
  --amber: #b25000;
  --dark: #000;
  --dark-tile: #161617;
  --dark-ink: #f5f5f7;
  --dark-ink-2: #a1a1a6;
  --dark-line: #424245;
  --dark-link: #2997ff;
  --debit: #005cb9;        /* 借方 */
  --credit: #8944ab;       /* 贷方 */

  /* 字体：中文标题不使用负字距 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* 圆角 */
  --r-tile: 28px;
  --r-card: 18px;
  --r-ctl: 12px;

  /* 动效令牌：全站唯一一组时长与缓动 */
  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --d-fast: .2s;
  --d-base: .45s;
  --d-slow: .8s;

  --gnav-h: 48px;
  --lnav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--lnav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.num, .amt { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: min(980px, calc(100% - 44px)); margin: 0 auto; }
.shell.wide { width: min(1240px, calc(100% - 44px)); }
.shell.narrow { width: min(692px, calc(100% - 44px)); }

/* ------------------------------------------------------------------ 导航 */
.gnav {
  position: relative;
  z-index: 40;
  height: var(--gnav-h);
  background: rgba(250, 250, 252, .9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.gnav .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gnav-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.gnav-brand:hover { text-decoration: none; }
.gnav-brand svg { width: 18px; height: 18px; }
.gnav-links { display: flex; gap: 34px; align-items: center; }
.gnav-links a { color: var(--ink); opacity: .8; font-size: 12px; transition: opacity var(--d-fast) var(--ease); }
.gnav-links a:hover { opacity: 1; text-decoration: none; }
.gnav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.gnav-toggle { display: none; width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; position: relative; }
.gnav-toggle span { position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--d-base) var(--ease), top var(--d-base) var(--ease); }
.gnav-toggle span:first-child { top: 18px; }
.gnav-toggle span:last-child { top: 25px; }
.gnav.open .gnav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.gnav.open .gnav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

.lnav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--lnav-h);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.lnav .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lnav-title { font-size: 21px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lnav-title:hover { text-decoration: none; }
.lnav-menu { display: flex; align-items: center; gap: 24px; }
.lnav-right { display: flex; align-items: center; gap: 4px; }
.lnav-links { display: flex; align-items: center; gap: 22px; }
.lnav-links a { font-size: 12px; color: var(--ink); opacity: .82; white-space: nowrap; position: relative; padding: 4px 0; }
.lnav-links a:hover { opacity: 1; text-decoration: none; }
.lnav-links a.active { opacity: 1; color: var(--ink); }
.lnav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--ink); border-radius: 2px; }
.lnav-links a .step-done { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-left: 5px; vertical-align: 2px; }
.lnav-status { font-size: 12px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lnav-toggle { display: none; border: 0; background: none; width: 36px; height: 36px; margin-right: -8px; }
.lnav-toggle svg { width: 12px; height: 12px; margin: auto; transition: transform var(--d-base) var(--ease); }
.lnav.open .lnav-toggle svg { transform: rotate(180deg); }
.lnav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(0); }

/* ------------------------------------------------------------------ 按钮与链接 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border: 0; border-radius: 980px;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 400; line-height: 1.2; white-space: nowrap;
  transition: background-color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease), opacity var(--d-fast) var(--ease);
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.secondary { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn.secondary:hover { background: var(--blue); color: #fff; }
.btn.gray { background: #e8e8ed; color: var(--ink); }
.btn.gray:hover { background: #dcdce1; }
.btn.sm { min-height: 30px; padding: 5px 14px; font-size: 12px; }
.btn.medium { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.btn:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.btn:disabled:hover { background: var(--blue); }
.btn.gray:disabled:hover { background: #e8e8ed; }
.btn.secondary:disabled:hover { background: transparent; color: var(--blue); }
.link-more { font-size: 17px; color: var(--link); white-space: nowrap; }
a.link-more { display: inline-flex; align-items: center; min-height: 44px; }
.link-more::after { content: " ›"; }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 8px 0; color: var(--link); font-size: 17px; }
.link-btn:hover { text-decoration: underline; }
.link-btn:disabled { color: var(--ink-3); cursor: not-allowed; text-decoration: none; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.cta-row.start { justify-content: flex-start; }

/* ------------------------------------------------------------------ 排版 */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.red { color: var(--red); }
.display { font-size: clamp(44px, 7.4vw, 80px); line-height: 1.06; font-weight: 600; }
.headline { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; font-weight: 600; }
.title-2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 600; }
.title-3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.18; font-weight: 600; }
.lead { font-size: clamp(19px, 2.1vw, 21px); line-height: 1.42; color: var(--ink-2); }
.lead strong, .lead b { color: var(--ink); font-weight: 600; }
.body-2 { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-2); line-height: 1.43; }
.tiny { font-size: 13px; color: var(--ink-3); line-height: 1.33; }
.center { text-align: center; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.gradient-text { background: linear-gradient(90deg, #0071e3 0%, #8944ab 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ 分区 */
.section { padding: 120px 0; }
.section.tight { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: var(--dark-ink); }
.section.dark .lead, .section.dark .body-2, .section.dark .small { color: var(--dark-ink-2); }
.section.dark .eyebrow { color: var(--dark-ink-2); }
.section.dark a { color: var(--dark-link); }
.section-head { margin-bottom: 56px; }
.section-head .lead { margin-top: 18px; max-width: 720px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* 首屏 */
.hero { padding: 76px 0 0; text-align: center; overflow: hidden; }
.hero .eyebrow { margin-bottom: 12px; }
.hero .lead { max-width: 640px; margin: 20px auto 0; }
.hero .cta-row { margin-top: 32px; }
.hero-stage { margin-top: 64px; }
.page-hero { padding: 72px 0 80px; text-align: center; }
.page-hero .lead { max-width: 680px; margin: 20px auto 0; }
.page-hero .cta-row { margin-top: 30px; }
.not-found { min-height: calc(100vh - var(--gnav-h)); display: grid; place-items: center; padding: 72px 0; }
.not-found .lead { margin-left: auto; margin-right: auto; }

/* 页面加载时的首屏入场：短、一次、不等待 */
.js .intro-in { animation: intro-in var(--d-slow) var(--ease-out) both; }
.js .intro-in.d1 { animation-delay: .06s; }
.js .intro-in.d2 { animation-delay: .12s; }
.js .intro-in.d3 { animation-delay: .18s; }
@keyframes intro-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 滚动淡入：只有 JS 运行后才预先隐藏，避免无 JS 时内容不可见、也避免闪烁 */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ 磁贴（bento） */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
  position: relative; overflow: hidden;
  background: var(--bg); border-radius: var(--r-tile);
  padding: 44px 40px 40px;
  display: flex; flex-direction: column;
}
.section:not(.alt) .tile { background: var(--bg-alt); }
.tile.dark { background: var(--dark-tile) !important; color: var(--dark-ink); }
.tile.dark .body-2, .tile.dark .small { color: var(--dark-ink-2); }
.tile.dark a { color: var(--dark-link); }
.tile.span-2 { grid-column: span 2; }
.tile .eyebrow { font-size: 14px; }
.tile h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; font-weight: 600; }
.tile p { margin-top: 12px; color: var(--ink-2); }
.tile .tile-foot { margin-top: auto; padding-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.tile .tile-visual { margin-top: 32px; }
a.tile { color: inherit; }
a.tile:hover { text-decoration: none; }
@media (hover: hover) {
  a.tile, .tile.is-link { transition: transform var(--d-base) var(--ease); }
  a.tile:hover, .tile.is-link:hover { transform: scale(1.012); }
}

/* 数据规格列表 */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.spec { padding: 28px 24px 0 0; }
.spec small { display: block; font-size: 14px; color: var(--ink-2); }
.spec strong { display: block; font-size: 21px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.spec p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ------------------------------------------------------------------ 会计组件：记账凭证 */
.voucher {
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 24px 60px rgba(0, 0, 0, .1);
  padding: 30px 32px 26px;
  text-align: left;
  font-size: 14px;
}
.voucher-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.voucher-head h4 { font-size: 22px; font-weight: 600; letter-spacing: .5em; margin-right: -.5em; }
.voucher-head span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.voucher-grid { display: grid; grid-template-columns: minmax(80px, 1.1fr) minmax(90px, 1.2fr) 1fr 1fr; border-bottom: 1px solid var(--line); }
.voucher-grid > div { padding: 12px 10px; border-top: 1px solid var(--line-soft); min-height: 46px; display: flex; align-items: center; }
.voucher-grid > div:nth-child(4n+1) { padding-left: 0; }
.voucher-grid .vh { font-size: 12px; color: var(--ink-2); border-top: 0; min-height: 0; padding-top: 12px; padding-bottom: 8px; }
.voucher-grid .vh.r, .voucher-grid .r { justify-content: flex-end; text-align: right; }
.voucher-grid .acct { font-weight: 600; }
.voucher-grid .acct.credit-acct { padding-left: 2em; }
.voucher-grid .amt { font-size: 17px; font-weight: 600; justify-content: flex-end; }
.voucher-grid .amt.debit { color: var(--debit); }
.voucher-grid .amt.credit { color: var(--credit); }
.voucher-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 12px; color: var(--ink-2); }
.voucher-foot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* 印章：已过账 */
.stamp {
  position: absolute; left: calc(var(--stamp-x, 65%) - 46px); bottom: 40px;
  width: 92px; height: 92px; border-radius: 50%;
  border: 3px solid var(--red); color: var(--red);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; letter-spacing: .12em;
  transform: rotate(-14deg); opacity: .88;
  pointer-events: none;
}
.stamp::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid var(--red); }
.stamp.green { border-color: var(--green); color: var(--green); }
.stamp.green::before { border-color: var(--green); }

/* 原始单据 */
.source-doc {
  position: relative;
  background: #fffdf8;
  border: 1px solid #ece4d3;
  border-radius: 16px;
  padding: 22px 24px;
  font-size: 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.source-doc::after { content: ""; position: absolute; left: 24px; right: 24px; top: 58px; border-top: 1px dashed #e1d6bf; }
.doc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; }
.doc-type { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.doc-no { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-rows { display: grid; grid-template-columns: 88px 1fr; gap: 9px 14px; padding-top: 4px; }
.doc-rows dt { color: var(--ink-2); }
.doc-rows dd { margin: 0; font-weight: 500; }
.doc-amount { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #ece4d3; }
.doc-amount .cn { font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.doc-amount .fig { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-tag { position: absolute; right: 20px; bottom: 74px; font-size: 13px; font-weight: 700; color: var(--red); border: 2px solid var(--red); border-radius: 6px; padding: 2px 8px; transform: rotate(-8deg); opacity: .78; letter-spacing: .1em; }

/* T 字账户 */
.t-acct { --tc: var(--ink); text-align: left; }
.t-name { text-align: center; font-weight: 600; font-size: 15px; padding-bottom: 8px; border-bottom: 2px solid var(--tc); position: relative; }
.t-name small { font-weight: 400; color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.t-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 64px; }
.t-side { padding: 8px 8px 6px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-variant-numeric: tabular-nums; }
.t-side.dr { border-right: 2px solid var(--tc); align-items: flex-end; text-align: right; }
.t-side.cr { align-items: flex-start; }
.t-side .lab { font-size: 11px; color: var(--ink-3); }
.t-line { display: inline-flex; gap: 5px; align-items: baseline; white-space: nowrap; }
.t-line i { font-style: normal; font-size: 13px; color: var(--ink-2); }
.t-bal { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; font-size: 12px; color: var(--ink-2); text-align: center; font-variant-numeric: tabular-nums; }
.t-bal b { color: var(--ink); font-weight: 600; }
.t-acct.empty { opacity: .42; }
.t-acct.flash .t-name { animation: t-flash 1.1s var(--ease); }
@keyframes t-flash { 0% { color: var(--blue); } 100% { color: inherit; } }
.t-line.new { animation: line-in .6s var(--ease-out) both; }
@keyframes line-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 天平 */
.scale { --tilt: 0deg; position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.scale svg { width: 100%; height: auto; overflow: visible; }
.scale .beam { transform-origin: 260px 70px; transform: rotate(var(--tilt)); transition: transform 1.2s cubic-bezier(.34, 1.36, .5, 1); }
.scale .pan-l, .scale .pan-r { transition: transform 1.2s cubic-bezier(.34, 1.36, .5, 1); }
.scale-labels { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; margin-top: 10px; text-align: center; }
.scale-labels small { display: block; font-size: 12px; color: var(--ink-2); }
.scale-labels strong { display: block; font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.scale-labels .op { font-size: clamp(26px, 3.6vw, 40px); font-weight: 300; color: var(--ink-3); padding-bottom: 2px; }
.scale.off .op { color: var(--red); font-weight: 600; }
.section.dark .scale-labels small { color: var(--dark-ink-2); }

/* ------------------------------------------------------------------ 表单 */
.field { display: block; }
.field > span, .field-label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.input, .select {
  width: 100%; min-height: 48px;
  border: 1px solid #d2d2d7; border-radius: var(--r-ctl);
  background: #fff; color: var(--ink);
  padding: 12px 14px; font-size: 17px;
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
  -webkit-appearance: none; appearance: none;
}
.select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
.input.amount { text-align: right; font-variant-numeric: tabular-nums; }
.input.is-wrong, .select.is-wrong { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 0, 21, .1); }
.shake { animation: shake .42s var(--ease); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.feedback { margin-top: 18px; border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.5; background: var(--bg-alt); color: var(--ink); }
.feedback:empty { display: none; }
.feedback.good { background: var(--green-soft); color: #0f5e27; }
.feedback.bad { background: var(--red-soft); color: #a3000f; }
.feedback.info { background: #eef5ff; color: #00418a; }
.js .feedback.pop { animation: pop-in .38s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 980px; padding: 5px 12px; font-size: 12px; font-weight: 600; background: #e8e8ed; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.blue { background: #e8f1fd; color: var(--blue); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* 表格 */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); background: #fff; }
.section.alt .table-wrap { background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
th { font-size: 12px; font-weight: 600; color: var(--ink-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tfoot td { font-weight: 600; border-top: 2px solid var(--ink); border-bottom: 0; }
tr.row-flash td { animation: row-flash 1.4s var(--ease); }
@keyframes row-flash { 0% { background: #e8f1fd; } 100% { background: transparent; } }

/* 页脚 */
.footer { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.33; padding: 20px 0 32px; }
.footer .shell { display: grid; gap: 14px; }
.footer-note { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer-cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-cols nav { display: flex; gap: 0; flex-wrap: wrap; }
.footer-cols nav a { color: var(--ink-2); padding: 0 10px; border-left: 1px solid var(--line); }
.footer-cols nav a:first-child { padding-left: 0; border-left: 0; }
.footer a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ 首页 */
.home-hero .display { max-width: 900px; margin: 0 auto; }
.ledger-board { background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -2px 0 rgba(0,0,0,.02), 0 30px 80px rgba(0, 0, 0, .12); padding: 26px 30px 0; text-align: left; overflow: hidden; }
.ledger-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.ledger-board-head b { font-size: 15px; font-weight: 600; }

/* 滚动叙事（吸顶视觉 + 滚动步骤） */

/* 叙事视觉中的分步状态 */
.side-tag { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 12px; font-weight: 700; margin-right: 8px; flex: none; }
.side-tag.dr { background: #e8f1fd; color: var(--debit); }
.side-tag.cr { background: #f4ecf8; color: var(--credit); }

/* 首页：查错黑色区块 */

/* ------------------------------------------------------------------ 基础课 */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 88px 0; border-top: 1px solid var(--line-soft); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature .num { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 600; }
.feature p { margin-top: 16px; color: var(--ink-2); font-size: 19px; line-height: 1.45; }
.feature p b { color: var(--ink); font-weight: 600; }
.rule { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--bg-alt); }
.rule strong { display: block; font-size: 19px; font-weight: 600; }
.rule span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.disclose { margin-top: 18px; }
.disclose-btn { border: 0; background: none; padding: 0; color: var(--link); font-size: 17px; }
.disclose-btn::after { content: " +"; }
.disclose-btn[aria-expanded="true"]::after { content: " −"; }
.disclose-body { overflow: hidden; }
.disclose-body > div { padding-top: 14px; display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; }
.disclose-body b { color: var(--ink); font-weight: 600; }
.visual-card { background: var(--bg-alt); border-radius: var(--r-tile); padding: 40px 36px; }
.section.alt .visual-card { background: #fff; }

.type-switch { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.type-switch button { border: 0; border-radius: 980px; padding: 8px 16px; font-size: 14px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease); }
.type-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.big-t { max-width: 360px; margin: 0 auto; }
.big-t .t-name { font-size: 21px; padding-bottom: 12px; border-bottom-width: 3px; }
.big-t .t-body { min-height: 150px; }
.big-t .t-side { align-items: center !important; justify-content: center; text-align: center !important; gap: 8px; padding: 16px; }
.big-t .t-side.dr { border-right-width: 3px; }
.big-t .t-side .lab { font-size: 13px; }
.big-t .t-side strong { font-size: 28px; font-weight: 600; transition: color var(--d-base) var(--ease); }
.big-t .t-side.inc strong { color: var(--green); }
.big-t .t-side.dec strong { color: var(--ink-3); }
.big-t .t-side .arrow { font-size: 22px; line-height: 1; transition: transform var(--d-base) var(--ease), color var(--d-base) var(--ease); }
.big-t .t-side.inc .arrow { color: var(--green); }
.big-t .t-side.dec .arrow { color: var(--ink-3); transform: rotate(180deg); }
.type-desc { text-align: center; margin-top: 22px; color: var(--ink-2); font-size: 15px; min-height: 3em; }

.entry-lines { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--bg-alt); font-size: 17px; display: grid; gap: 6px; }
.section.alt .entry-lines { background: #fff; }
.entry-lines .ln { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.entry-lines .ln.cr { padding-left: 2em; }
.entry-lines .amt { font-weight: 600; }

/* 案例磁贴 */
.case-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-tile { background: #fff; border-radius: var(--r-card); padding: 28px 26px 24px; display: flex; flex-direction: column; }
.case-tile .num { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.case-tile h3 { font-size: 21px; font-weight: 600; margin-top: 6px; }
.case-tile p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.case-tile .disclose { margin-top: auto; padding-top: 18px; }
.case-tile .entry-lines { font-size: 15px; background: var(--bg-alt); margin-top: 0; }

/* 练习 */
.quiz-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.quiz-bar .stats { display: flex; gap: 10px; flex-wrap: wrap; }
.question { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.question .q-text { font-size: 19px; font-weight: 600; line-height: 1.4; }
.q-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.q-options.two { grid-template-columns: repeat(2, minmax(0, 160px)); }
.q-opt { text-align: left; border: 0; border-radius: var(--r-ctl); padding: 14px 16px; background: var(--bg-alt); color: var(--ink); font-size: 16px; line-height: 1.35; box-shadow: inset 0 0 0 1px transparent; transition: background-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), color var(--d-fast) var(--ease); }
@media (hover: hover) { .q-opt:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--ink-3); } }
.q-opt.correct { background: var(--green-soft); color: #0f5e27; box-shadow: inset 0 0 0 1.5px var(--green); }
.q-opt.wrong { background: var(--red-soft); color: #a3000f; box-shadow: inset 0 0 0 1.5px var(--red); }
.q-opt:disabled { cursor: default; }
.q-opt:disabled:not(.correct):not(.wrong) { color: var(--ink-3); }
.q-mark { margin-left: 8px; }

.entry-task { padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.entry-task .q-text { font-size: 19px; font-weight: 600; }
.entry-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 16px; align-items: end; }
.entry-fields.compound { grid-template-columns: 1fr 140px; }
.entry-fields.compound .full { grid-column: 1 / -1; }

.summary-list { display: grid; gap: 0; max-width: 760px; margin: 0 auto; counter-reset: s; }
.summary-list li { list-style: none; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 2.3vw, 24px); font-weight: 600; line-height: 1.35; }
.summary-list li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 14px; color: var(--blue); font-variant-numeric: tabular-nums; }
.summary-list li span { color: var(--ink-2); font-weight: 400; }
.summary-list { padding: 0; margin-top: 0; }

/* ------------------------------------------------------------------ 实训 */
.stage { padding: 110px 0; scroll-margin-top: var(--lnav-h); }
.stage.alt { background: var(--bg-alt); }
.stage.dark { background: var(--dark); color: var(--dark-ink); }
.stage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.stage-head .lead { margin-top: 14px; max-width: 640px; }
.lesson-page .page-hero, .workshop-page .page-hero { padding: 52px 0 56px; }
.lesson-page .section { padding: 88px 0; }
.workshop-page .stage { padding: 72px 0; }
.workshop-page .stage-head { margin-bottom: 30px; }
#first-document { scroll-margin-top: 16px; }
.stage.dark .lead, .stage.dark .small { color: var(--dark-ink-2); }
.stage.dark .eyebrow { color: var(--dark-ink-2); }

.teacher-bar { display: inline-flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 36px; padding: 12px 14px 12px 22px; border-radius: 980px; background: var(--bg-alt); }
.teacher-bar .tiny { color: var(--ink-2); }

.work-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; align-items: start; }
.panel { background: #fff; border-radius: var(--r-tile); padding: 34px; }
.stage:not(.alt):not(.dark) .panel { background: var(--bg-alt); }
.stage:not(.alt):not(.dark) .panel .source-doc { background: #fffdf8; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel-head h3 { font-size: 21px; font-weight: 600; }
.sticky-col { position: sticky; top: calc(var(--lnav-h) + 20px); }

.entry-voucher { position: relative; margin-top: 20px; background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.entry-voucher-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.entry-voucher-head b { font-size: 15px; letter-spacing: .4em; font-weight: 600; }
.entry-voucher-head span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.entry-grid .amount-field { grid-column: 1 / -1; }
.entry-grid .field > span .side-tag { width: 18px; height: 18px; font-size: 10px; border-radius: 5px; margin-right: 6px; vertical-align: -4px; display: inline-grid; }
.action-row { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; margin-top: 20px; }

.t-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.t-board .t-acct { background: #fff; border-radius: 14px; padding: 12px 10px 10px; }
.stage:not(.alt) .t-board .t-acct { background: #fff; }

.posted-list { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.posted-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.posted-item .no { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.posted-item small { display: block; color: var(--ink-2); font-size: 12px; }
.posted-item strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.posted-item .first { color: var(--green); font-size: 11px; font-weight: 600; margin-left: 6px; }

.progress-dots { display: flex; gap: 6px; }
.progress-dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line); transition: background-color var(--d-base) var(--ease); }
.progress-dots i.done { background: var(--blue); }
.progress-dots i.current { background: var(--ink-3); }

.done-card { text-align: center; padding: 34px 20px; }
.done-card .title-3 { margin-top: 12px; }
.done-card p { margin-top: 10px; color: var(--ink-2); }
.done-card .cta-row { margin-top: 24px; }

/* 飞行金额标签 */
.fly-chip { position: fixed; z-index: 100; left: 0; top: 0; pointer-events: none; padding: 5px 11px; border-radius: 980px; font-size: 13px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); will-change: transform, opacity; }
.fly-chip.dr { background: var(--debit); }
.fly-chip.cr { background: var(--credit); }

/* 试算 */
.trial-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.trial-top .panel { padding: 30px 30px 26px; }
.trial-top .scale { max-width: 380px; }
.audit-cue .scale { max-width: 340px !important; }
.trial-top .panel h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }

/* 查错（黑色） */
.audit-board { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: start; }
.audit-panel { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--r-tile); padding: 30px; }
.audit-panel h3 { font-size: 19px; font-weight: 600; }
.audit-panel .small { color: var(--ink-2); }
.audit-table { width: 100%; min-width: 520px; font-size: 14px; }
.audit-table th { color: var(--ink-2); border-bottom-color: var(--line); padding: 10px 12px; }
.audit-table td { border-bottom-color: var(--line-soft); padding: 0; }
.audit-table tbody tr { cursor: pointer; transition: background-color var(--d-fast) var(--ease); }
.audit-table tbody tr:hover { background: #edf1f7; }
.audit-table tbody tr.selected { background: #e7f0fc; }
.audit-table tbody tr.fixed { background: rgba(29, 138, 62, .14); }
.audit-table tbody tr.inserted td { animation: row-insert .8s var(--ease-out) both; }
.audit-table td > .cell { display: block; padding: 11px 12px; }
.audit-table .rowbtn { all: unset; display: block; padding: 11px 12px; width: 100%; box-sizing: border-box; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.audit-table .rowbtn:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.audit-table td.num .cell { text-align: right; }
.audit-table .tag-new { font-size: 10px; color: var(--link); border: 1px solid var(--link); border-radius: 4px; padding: 0 4px; margin-left: 6px; vertical-align: 1px; }
.audit-scale .scale-labels strong { color: var(--ink); }
.audit-cue { text-align: center; margin: 8px 0 38px; }
.audit-cue .diff { font-size: clamp(54px, 9vw, 104px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--red); transition: color var(--d-slow) var(--ease); }
.audit-cue .diff.ok { color: var(--green); }
.audit-cue .diff.warn { color: var(--amber); }
.audit-cue p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 11px; background: #e8e8ed; }
.seg button { border: 0; background: none; color: var(--ink-2); border-radius: 8px; padding: 8px 6px; font-size: 13px; transition: background-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--link); box-shadow: 0 1px 4px rgba(0,0,0,.08); font-weight: 600; }
.audit-selected { margin: 18px 0 14px; padding: 14px 16px; border-radius: 12px; background: #e8e8ed; font-size: 14px; color: var(--ink-2); }
.audit-selected b { color: var(--ink); font-weight: 600; }
.audit-form { display: grid; gap: 14px; }
.hint-steps { display: flex; gap: 6px; }
.hint-steps i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.hint-steps i.used { background: var(--amber); }
.mode-pill { background: #e8e8ed; color: var(--ink-2); }

/* 红字划线更正 */
.strike { position: relative; display: inline-block; color: var(--ink-2); }
.strike::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(1); }
.js .strike.animate::after { animation: strike .5s var(--ease-out) both; }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.corrected { display: inline-block; margin-left: 8px; color: #23743c; font-weight: 600; }
.js .corrected.animate { animation: write-in .6s var(--ease-out) .35s both; }
@keyframes write-in { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* 报告 */
.report { background: #fff; border-radius: var(--r-tile); padding: 48px; position: relative; overflow: hidden; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.report-head h3 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; line-height: 1.1; margin-top: 4px; }
.student-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-top: 26px; }
.student-fields .input { min-height: 44px; font-size: 16px; }
.report-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 30px; border-top: 1px solid var(--line-soft); }
.report-metrics > div { padding: 22px 18px 4px 0; }
.report-metrics small { display: block; font-size: 12px; color: var(--ink-2); }
.report-metrics strong { display: block; font-size: 32px; font-weight: 600; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.report-metrics span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.issue-bars { display: grid; gap: 12px; margin-top: 30px; }
.issue-bar { display: grid; grid-template-columns: 96px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; }
.issue-bar .track { height: 8px; border-radius: 8px; background: var(--bg-alt); overflow: hidden; }
.issue-bar .track i { display: block; height: 100%; border-radius: 8px; background: var(--red); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 1s var(--ease-out); }
.issue-bar b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.report-advice { margin-top: 30px; padding: 22px 24px; border-radius: 16px; background: var(--bg-alt); }
.report-advice h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.report-advice p { color: var(--ink-2); }
.report-watermark { position: absolute; right: -40px; top: 46%; transform: rotate(-24deg); font-size: 64px; font-weight: 700; color: rgba(215, 0, 21, .08); white-space: nowrap; pointer-events: none; letter-spacing: .1em; }
.print-name { display: none; }


/* 基础课补充组件 */
.hero-pair { display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); align-items: center; gap: 12px; max-width: 860px; margin: 0 auto; background: var(--bg-alt); border-radius: 30px; padding: 44px 40px; }
.hero-pair .big-t { max-width: none; width: 100%; }
.hero-pair .t-name { font-size: 19px; }
.hero-pair .big-t .t-body { min-height: 120px; }
.hero-pair .big-t .t-side strong { font-size: 30px; }
.hero-pair .muted { color: transparent; }
.hero-pair .dec-red strong { color: var(--red); }
.hero-pair-mid { display: grid; justify-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.arrow-line { position: relative; display: block; width: 100%; height: 2px; background: linear-gradient(90deg, var(--line), var(--blue)); border-radius: 2px; transform-origin: right; }
.arrow-line::after { content: ""; position: absolute; left: -2px; top: -5px; border: 6px solid transparent; border-right: 9px solid var(--blue); border-left: 0; }
.js .arrow-line { animation: draw-left 1s var(--ease-out) .5s both; }
@keyframes draw-left { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.task-row { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.task-row li { background: #fff; border-radius: var(--r-card); padding: 22px 24px; font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.task-row li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; flex: none; }
.compare { display: grid; gap: 22px; }
.compare > div { background: #fff; border-radius: 16px; padding: 20px 22px; }
.compare-line { font-size: 19px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.compare .small { margin-top: 8px; }
b.red, .red { color: var(--red); }
b.green, .green-text { color: var(--green); }
.three-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 0; counter-reset: st; }
.three-steps li { position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.three-steps li:first-child { border-top: 0; }
.three-steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 600; color: var(--blue); }
.three-steps b { display: block; color: var(--ink); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.mini-trial { min-width: 0; font-size: 14px; background: #fff; border-radius: 14px; overflow: hidden; }
.mini-trial th, .mini-trial td { padding: 12px 14px; }
.mini-trial tr.omitted td { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--red); }
.mini-trial tfoot td { border-top: 2px solid var(--ink); }
.challenge { margin-top: 56px; padding: 32px; border-radius: var(--r-tile); background: var(--bg-alt); }
.challenge .q-text { font-size: 19px; font-weight: 600; margin-top: 4px; }
.compound-grid { display: grid; grid-template-columns: 30px minmax(0, 1fr) 150px; gap: 10px; align-items: center; margin-top: 18px; }
.compound-grid .select, .compound-grid .input { background-color: #fff; }
.question.done-first .q-text::after { content: "首次答对"; margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--green); vertical-align: 2px; }
.question.done-fixed .q-text::after { content: "经更正"; margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--amber); vertical-align: 2px; }
.entry-task.done-first .q-text::after { content: "首次正确"; margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--green); vertical-align: 2px; }
.entry-task.done-fixed .q-text::after { content: "经更正"; margin-left: 10px; font-size: 12px; font-weight: 600; color: var(--amber); vertical-align: 2px; }
@media (max-width: 860px) {
  .task-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .hero-pair { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 24px; gap: 18px; }
  .hero-pair-mid { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .hero-pair-mid .arrow-line { display: none; }
  .hero-pair-mid span:last-child { grid-column: 2; }
  .task-row li { padding: 16px; font-size: 15px; }
  .challenge { padding: 22px; }
  .compound-grid { grid-template-columns: 26px minmax(0, 1fr) 96px; }
}

/* ------------------------------------------------------------------ 响应式 */
@media (max-width: 1068px) {
  .feature { gap: 48px; }
  .case-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tiles, .tiles.three { grid-template-columns: 1fr; }
  .tile.span-2 { grid-column: auto; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 手机：视觉与当前步骤文字一起吸顶，步骤正文变为不可见的滚动刻度 */
  .feature { grid-template-columns: 1fr; padding: 64px 0; }
  .work-grid, .audit-board, .trial-top { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-head { display: block; }
  .stage-head .pill { margin-top: 16px; }
}
@media (max-width: 833px) {
  .gnav-links { position: absolute; top: var(--gnav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 24px; background: rgba(250, 250, 252, .98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 20px 30px rgba(0,0,0,.06); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease), visibility 0s linear var(--d-base); }
  .gnav-links a { font-size: 24px; font-weight: 600; opacity: 1; padding: 10px 0; }
  .gnav.open .gnav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .gnav-toggle { display: block; }
  .lnav-toggle { display: block; }
  .lnav-menu { position: absolute; top: var(--lnav-h); left: 0; right: 0; display: block; padding: 6px 22px 20px; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,.12); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease), visibility 0s linear var(--d-base); }
  .lnav.open .lnav-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .lnav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .lnav-links a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .lnav-links a.active::after { display: none; }
  .lnav-links a.active { color: var(--blue); }
  .lnav-menu .btn { margin-top: 16px; width: 100%; min-height: 44px; }
  .lnav-menu .lnav-status { display: block; margin-top: 12px; }
  .lnav-right { display: flex; align-items: center; gap: 4px; }
}
@media (max-width: 734px) {
  body { font-size: 17px; }
  .section { padding: 80px 0; }
  .section.tight { padding: 64px 0; }
  .stage { padding: 76px 0; }
  .hero { padding-top: 56px; }
  .hero-stage { margin-top: 48px; }
  .page-hero { padding: 52px 0 60px; }
  .lesson-page .page-hero, .workshop-page .page-hero { padding: 40px 0 44px; }
  .lesson-page .section { padding: 64px 0; }
  .workshop-page .stage { padding: 56px 0; }
  .workshop-page .stage-head { margin-bottom: 24px; }
  .section-head { margin-bottom: 36px; }
  .tile { padding: 34px 26px 30px; border-radius: 22px; }
  .panel { padding: 22px; border-radius: 22px; }
  .audit-panel { padding: 20px; border-radius: 22px; }
  .report { padding: 26px 22px; border-radius: 22px; }
  .voucher { padding: 22px 18px 20px; border-radius: 18px; }
  .voucher-grid { grid-template-columns: minmax(84px, 1.3fr) 1fr 1fr; }
  .voucher-grid > div:nth-child(4n+1) { display: none; }
  .voucher-grid > div:nth-child(4n+2) { padding-left: 0; }
  .voucher-grid .amt { font-size: 15px; }
  .ledger-board { padding: 18px 16px 0; border-radius: 20px 20px 0 0; }
  .case-tiles { grid-template-columns: 1fr; }
  .q-options { grid-template-columns: 1fr; }
  .q-options.two { grid-template-columns: 1fr 1fr; }
  .entry-fields { grid-template-columns: 1fr 1fr; }
  .entry-fields .btn { grid-column: 1 / -1; }
  .entry-fields.compound { grid-template-columns: 1fr 110px; }
  .student-fields { grid-template-columns: 1fr; }
  .t-board { gap: 14px 10px; }
  .t-side { font-size: 12px; padding: 6px 5px; }
  .specs { grid-template-columns: 1fr; }
  .spec { padding-right: 0; }
  .teacher-bar { border-radius: 22px; padding: 16px; flex-direction: column; }
  .issue-bar { grid-template-columns: 80px 1fr 32px; }
  .doc-rows { grid-template-columns: 72px 1fr; }
  .stamp { width: 74px; height: 74px; font-size: 15px; --stamp-x: 60%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .gnav, .lnav, .footer, .no-print, .page-hero, .stage:not(#report) { display: none !important; }
  body { background: #fff; }
  .stage, .stage.alt { padding: 0; background: #fff; }
  .report { box-shadow: none; }
  .student-fields .input::placeholder { color: transparent; }
  .report { padding: 0; border-radius: 0; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .student-fields .input { border: 0; border-bottom: 1px solid #000; border-radius: 0; padding: 4px 0; }
  .issue-bar .track { border: 1px solid #ccc; }
  .report-watermark { color: rgba(215, 0, 21, .18); }
}


/* ==== v4：识别度设计 ==== */
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-motion .intro-in, .no-motion .arrow-line { animation: none !important; }

/* 红色方印：品牌标记与过账章共用 */
.seal { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--red); color: #fff; font: 700 14px/1 "Songti SC","STSong","SimSun",serif; transform: rotate(-4deg); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.stamp { width: 96px; height: 96px; border-radius: 14px; font: 700 22px/1.1 "Songti SC","STSong","SimSun",serif; letter-spacing: .06em; transform: rotate(-9deg); }
.stamp::before { border-radius: 9px; border-width: 1.5px; }
@media (max-width: 734px) { .stamp { width: 76px; height: 76px; font-size: 17px; } }

/* 奶茶杯进度：每过账一笔，多一层；六笔做完，杯满账平 */
.cup { display: inline-block; width: var(--cup-w, 48px); color: var(--ink); flex: none; }
.cup svg { display: block; width: 100%; height: auto; overflow: visible; }
.cup .body { fill: rgba(255,255,255,.7); stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.cup .lid { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.cup .straw { stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; }
.cup .lyr { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; transition: transform .8s var(--ease-out), opacity .4s var(--ease); }
.cup .lyr.on { transform: none; opacity: 1; }
.cup .pearl { fill: #3a2a22; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.cup .pearl.on { transform: none; }
.cup.full .body { stroke: var(--green); }
.cup.pop { animation: cup-pop .6s cubic-bezier(.3,1.5,.5,1); }
@keyframes cup-pop { 0% { transform: scale(.9); } 100% { transform: none; } }
.lnav-meta { display: inline-flex; align-items: center; gap: 8px; }
.panel-head .cup-row { display: flex; align-items: center; gap: 14px; }
.done-card .cup { display: block; margin: 0 auto 10px; }
.home-board { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 44px; align-items: center; max-width: 980px; margin: 0 auto; }
.home-cup { text-align: center; }
.home-cup p { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 734px) { .home-board { grid-template-columns: 1fr; gap: 24px; } }

/* 红笔批改：划勾、圈出、批注 */
.pen-tick { margin-left: 8px; color: var(--red); font: 17px/1 "Kaiti SC","STKaiti","KaiTi","Songti SC",serif; }
.pen-wrap { position: relative; display: inline-block; padding: 1px 8px; margin: -1px -8px; }
.pen-wrap svg { position: absolute; left: -4px; top: -6px; width: calc(100% + 8px); height: calc(100% + 12px); overflow: visible; pointer-events: none; }
.pen-wrap path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .pen-wrap.animate path { animation: pen-draw .8s var(--ease-out) .45s both; }
@keyframes pen-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pen-note { margin-top: 18px; color: var(--red); font: 19px/1.55 "Kaiti SC","STKaiti","KaiTi","Songti SC",serif; transform: rotate(-1deg); transform-origin: left; }

/* v4.1：所有区块标题统一居中；内容（表格、表单、卡片）在居中容器内正常左对齐阅读 */
.stage-head { display: block; text-align: center; max-width: 760px; margin: 0 auto 48px; }
.stage-head .lead { margin-left: auto; margin-right: auto; }
.stage-head > .pill { margin-top: 18px; }
.specs .spec { text-align: center; padding-right: 0; }
.about-note { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
/* 教师工具折叠 + 演示提示条 */
.teacher-tools { margin-top: 28px; }
.teacher-tools summary { cursor: pointer; font-size: 14px; color: var(--ink-2); list-style: none; display: inline-block; }
.teacher-tools summary::-webkit-details-marker { display: none; }
.teacher-tools summary::after { content: " ›"; }
.teacher-tools[open] summary::after { content: " ⌄"; }
.teacher-tools .teacher-bar { margin-top: 14px; }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap; margin: -20px auto 36px; max-width: 760px; padding: 14px 20px; border-radius: 16px; background: #fff4e5; color: #7a3d00; font-size: 15px; text-align: center; }
.demo-banner .btn { background: #b25000; }
.demo-banner .btn:hover { background: #9a4500; }
.panel-head { flex-wrap: wrap; row-gap: 10px; }
.panel-head .pill { white-space: normal; }
@media (max-width: 734px) { .panel-head .progress-dots { display: none; } }

/* v4.2: page hierarchy, light audit, and optically centered report heading. */
.workshop-nav .nav-context { display: inline-block; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 12px; font-weight: 400; color: var(--ink-2); vertical-align: middle; }
.workshop-nav .lnav-links a.active { color: var(--link); font-weight: 600; }
.workshop-nav .lnav-links a.active::after { background: var(--blue); }
.audit-stage { background: var(--bg); }
.audit-table tbody tr.selected td:first-child { box-shadow: inset 3px 0 var(--blue); }
.audit-panel .input, .audit-panel .select { background-color: #fff; }
.audit-selected { background: #eaf0f8; }
.mode-pill { background: #eaf0f8; color: var(--link); }
.stage-head > div { width: 100%; }
#report .stage-head { width: 100%; max-width: 720px; }
#report .stage-head .eyebrow { margin-bottom: 16px; }
.report-title > span { display: block; width: fit-content; max-width: 100%; margin-inline: auto; position: relative; }
.report-title .hanging-stop { position: absolute; width: 1em; text-align: left; }
#report .stage-head .lead { max-width: 30em; margin: 22px auto 0; text-wrap: pretty; }
@media (max-width: 1068px) and (min-width: 735px) { .workshop-nav .nav-context { display: none; } .workshop-nav .lnav-links { gap: 14px; } .workshop-nav .lnav-menu { gap: 14px; } }
@media (max-width: 734px) { .workshop-nav .lnav-title { font-size: 18px; } .workshop-nav .nav-context { font-size: 11px; margin-left: 8px; padding-left: 8px; } #report .stage-head .lead { max-width: 28em; } }

/* v4.3: course map cards and section headings share one light, centered system. */
.tile.practice-tile, .section:not(.alt) .tile.practice-tile { background: #eaf2fc; color: var(--ink); }
.tile.practice-tile p { color: var(--ink-2); }
.tile.practice-tile .eyebrow, .tile.practice-tile .link-more { color: var(--link); }
.section-head.center, .stage-head { width: 100%; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center > .eyebrow, .stage-head .eyebrow { width: 100%; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center > .headline, .section-head.center > .title-2, .stage-head .title-2 { width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
@media (max-width: 734px) {
  .section-head.center > .headline { font-size: clamp(30px, 7.5vw, 42px); line-height: 1.15; }
  .stage-head .title-2 { font-size: clamp(28px, 7.3vw, 38px); }
}

/* v4.4: optical alignment for small labels above centered headings. */
.hero > .shell > .eyebrow,
.page-hero .eyebrow,
.section-head.center > .eyebrow,
.section > .shell.center > .eyebrow,
.stage-head .eyebrow,
.specs .spec small { position: relative; left: -7px; }
@media (max-width: 734px) {
  .hero > .shell > .eyebrow,
  .page-hero .eyebrow,
  .section-head.center > .eyebrow,
  .section > .shell.center > .eyebrow,
  .stage-head .eyebrow,
  .specs .spec small { left: -5px; }
}

/* 4.7 审查修订：准确数值、可回看单据与纸面更正示意 */
@keyframes value-highlight { from { background: #fff1b8; } to { background: transparent; } }
.value-updated { animation: value-highlight .7s ease-out; }
#tLeft .arrow, #tRight .arrow { transform: none; }
.doc-link { color:var(--blue); text-decoration:underline; text-underline-offset:4px; }
.scope-note, .correction-note { margin:0 0 24px; padding:16px 20px; border-left:3px solid var(--blue); background:rgba(128,128,128,.06); }
.document-archive { margin-top:24px; border-top:1px solid var(--line); padding-top:20px; }
.document-archive summary { cursor:pointer; font-weight:600; }
.document-list { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.document-dialog { width:min(680px, calc(100vw - 32px)); max-height:85vh; overflow:auto; border:1px solid var(--line); border-radius:20px; padding:28px; color:var(--ink); background:var(--paper, white); }
.document-dialog::backdrop { background:rgba(0,0,0,.45); }
.document-dialog p { margin:18px 0; }
.doc-link { display:block; padding:6px 0; background:none; border:0; font-size:12px; cursor:pointer; }
.ledger-correction { display:inline-flex; flex-direction:column; align-items:center; gap:5px; padding:8px 0; line-height:1.4; }
.ledger-correction .corrected { margin:0; color:inherit; }
.recorder-seal { color:var(--red); border:1px solid currentColor; padding:2px 4px; font-size:10px; }
.reflection-field { margin-top:24px; }
.reflection-field textarea { resize:vertical; min-height:110px; width:100%; line-height:1.6; }
.reflection-print { display:none; }
.equation-examples { margin-top:28px; }
@media print { .reflection-print { display:block; margin-top:20px; } .reflection-print p { white-space:pre-wrap; overflow-wrap:anywhere; } dialog { display:none !important; } }
@media (prefers-reduced-motion:reduce) { .value-updated { animation:none; } }
@media (min-width: 1000px) { .equation-examples { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* 4.8 · 会计等式的预测与揭示 */
.equation-lab { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:24px; align-items:stretch; margin-top:28px; }
.equation-lab-copy, .equation-board { padding:30px; border-radius:var(--r-tile); background:#fff; border:1px solid var(--line-soft); }
.equation-lab-copy h3 { font-size:clamp(22px,2.5vw,30px); line-height:1.2; margin:12px 0 16px; }
.equation-lab-copy > p:not(.eyebrow):not(.feedback) { color:var(--ink-2); }
.equation-choices { display:grid; gap:9px; margin-top:24px; }
.equation-choices button { text-align:left; padding:12px 16px; border:1px solid var(--line); border-radius:var(--r-ctl); background:#fff; transition:background-color .22s ease, border-color .22s ease, transform .22s ease; }
.equation-choices button:hover { transform:translateY(-2px); border-color:var(--blue); }
.equation-choices button.correct { background:var(--green-soft); border-color:var(--green); }
.equation-choices button.incorrect { background:var(--red-soft); border-color:var(--red); }
.equation-lab .feedback { margin-top:16px; }
.equation-board { display:flex; flex-direction:column; justify-content:center; gap:18px; background:#f5f9ff; }
.equation-board-row { display:grid; grid-template-columns:48px auto 14px 1fr; gap:8px; align-items:center; padding:18px; border-radius:16px; background:#fff; font-variant-numeric:tabular-nums; }
.equation-board-row span { font-size:13px; color:var(--ink-2); white-space:nowrap; }
.equation-board-row strong { font-size:clamp(14px,1.2vw,16px); white-space:nowrap; }
.equation-board-row b { color:var(--blue); }
.equation-board-row.after { border:2px solid var(--green); }
.equation-enter { animation:equation-rise .44s cubic-bezier(.22,1,.36,1) both; }
@keyframes equation-rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (max-width:860px) { .equation-lab { grid-template-columns:1fr; } }
@media (max-width:520px) { .equation-lab-copy,.equation-board { padding:22px; } .equation-board-row { grid-template-columns:1fr auto; } .equation-board-row strong { white-space:normal; } .equation-board-row span { grid-column:1 / -1; } }
@media (prefers-reduced-motion:reduce) { .equation-enter { animation:none; } .equation-choices button:hover { transform:none; } }

/* 4.9 · 保留原有动效，细化数字、过账、天平与红笔的过程 */
.number-roll { position:relative; overflow:hidden; vertical-align:bottom; }
.number-current { display:inline-block; }
.number-previous { position:absolute; inset:0; display:block; pointer-events:none; }
.fly-chip { padding:7px 13px; border:1px solid rgba(255,255,255,.65); box-shadow:0 4px 8px #00000012, 0 12px 24px #0000001c, inset 0 1px 0 #ffffff40; }
.fly-trail { position:fixed; inset:0; width:100vw; height:100vh; z-index:99; pointer-events:none; overflow:visible; color:var(--blue); }
.fly-trail.dr { color:var(--debit); }
.fly-trail.cr { color:var(--credit); }
.fly-trail path { fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-dasharray:1; }
.t-acct.flash .t-body { animation:account-land 1.1s ease-out both; }
.t-line.new { animation:ledger-arrive .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes account-land { 0%,25% { background:#e5f0ff; box-shadow:0 0 0 3px #0071e31a; } 100% { background:transparent; box-shadow:0 0 0 8px #0071e300; } }
@keyframes ledger-arrive { 0% { opacity:0; transform:translateY(-9px) scale(.94); } 65% { opacity:1; transform:translateY(1px) scale(1.015); } 100% { opacity:1; transform:none; } }
.scale .pan-l { transform-origin:90px 70px; transform:rotate(calc(-1 * var(--tilt))); }
.scale .pan-r { transform-origin:430px 70px; transform:rotate(calc(-1 * var(--tilt))); }
.scale-demo-steps { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin-top:24px; }
.scale-demo-steps span { padding:6px 9px; border-radius:8px; font-size:12px; color:var(--ink-2); background:#00000004; transition:color .3s, background .3s; }
.scale-demo-steps .active { color:var(--blue); background:#e8f2ff; }
.scale-demo-note { min-height:3.2em; max-width:36em; margin:14px auto 4px; }
.feature .scale-demo-note { font-size:14px; line-height:1.6; }
#ruleScale { scroll-margin-top:140px; }
.motion-replay { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 16px; color:var(--blue); background:transparent; border:1px solid #0071e326; border-radius:24px; font:inherit; font-size:13px; cursor:pointer; transition:background .2s, transform .2s; }
.motion-replay:hover:not(:disabled) { background:#e8f2ff; transform:translateY(-1px); }
.motion-replay:disabled { color:var(--ink-2); cursor:default; }
.account-switch .arrow { animation:arrow-breathe .55s cubic-bezier(.22,1,.36,1) both; }
@keyframes arrow-breathe { from { opacity:.2; transform:translateY(6px) scale(.85); } to { opacity:1; transform:none; } }
.correction-playing .pen-wrap svg { animation:correction-circle-exit .35s ease 1.4s both; }
@keyframes correction-circle-exit { 0% { opacity:1; } 100% { opacity:0; } }
.correction-playing .recorder-seal { animation:seal-imprint .4s cubic-bezier(.22,1,.36,1) 1.1s both; }
@keyframes seal-imprint { from { opacity:0; transform:translateY(-4px) scale(1.15) rotate(-5deg); } to { opacity:1; transform:none; } }
@media print {
  .number-previous,.fly-chip,.fly-trail,.motion-replay,.scale-demo-steps { display:none !important; }
  .number-current { transform:none !important; opacity:1 !important; }
}
@media (prefers-reduced-motion:reduce) {
  .t-acct.flash .t-body,.t-line.new,.account-switch .arrow,.correction-playing .recorder-seal { animation:none; }
  .correction-playing .pen-wrap svg,.fly-trail,.fly-chip { display:none; }
  .motion-replay:hover:not(:disabled) { transform:none; }
}

/* ==========================================================================
   v6 · 首页重做（延续 Apple 式美学：大标题、全宽交替分区、圆角磁贴、克制动效）
   新增：凭证演示舞台、滚动叙事“一笔业务的旅程”、六笔业务进度磁贴、黑色查错区
   ========================================================================== */

/* 渐变字：载入时轻轻扫过一次光泽 */
.gradient-text { background-size: 200% 100%; background-image: linear-gradient(90deg, #0071e3 0%, #8944ab 50%, #0071e3 100%); }
.js .gradient-text { animation: grad-sweep 2.4s var(--ease-out) .3s both; }
@keyframes grad-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.gradient-text.warm { background-image: linear-gradient(90deg, #ff453a 0%, #ff9f0a 50%, #ff453a 100%); }

/* ---------- 首屏：凭证演示舞台 ---------- */
.home-hero .hero-stage { margin-top: 56px; padding-bottom: 72px; }
.showcase { position: relative; margin: 0 auto; max-width: 980px; height: 470px; border-radius: 30px; background: radial-gradient(120% 90% at 70% 10%, #ffffff 0%, #f5f5f7 55%, #ececf0 100%); overflow: hidden; }
.sc-doc {
  position: absolute; left: 9%; top: 64px; width: 330px; padding: 22px 24px 18px;
  background: #fffdf8; border: 1px solid #ece4d3; border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.08);
  transform: rotate(-4deg); font-size: 14px;
}
.sc-doc-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px dashed #e1d6bf; }
.sc-doc-top b { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.sc-doc-top span { font-size: 12px; color: var(--ink-3); }
.sc-doc dl { margin: 0; display: grid; gap: 6px; }
.sc-doc dl div { display: grid; grid-template-columns: 44px 1fr; }
.sc-doc dt { color: var(--ink-2); }
.sc-doc dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-doc p { margin-top: 12px; padding-top: 10px; border-top: 1px solid #ece4d3; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); }
.sc-voucher {
  position: absolute; right: 8%; top: 118px; width: 470px; padding: 26px 28px 22px;
  background: #fff; border-radius: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 30px 70px rgba(0,0,0,.14);
  text-align: left;
}
.sc-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sc-head h2 { font-size: 21px; font-weight: 600; letter-spacing: .5em; margin-right: -.5em; }
.sc-head span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sc-memo { display: flex; gap: 14px; align-items: baseline; padding: 14px 0 10px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.sc-memo span, .sc-total > span:first-child { font-size: 12px; color: var(--ink-2); flex: none; }
.sc-memo b { font-weight: 600; }
.sc-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
.sc-row b { font-weight: 600; }
.sc-cr b { padding-left: 2em; }
.sc-row em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-dr em { color: var(--debit); }
.sc-cr em { color: var(--credit); }
.sc-total { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; }
.sc-eq { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sc-eq i { font-style: normal; font-weight: 600; color: var(--ink); }
.sc-stamp {
  position: absolute; right: 30px; bottom: -22px; padding: 9px 16px;
  border: 3px solid var(--red); border-radius: 10px; color: var(--red);
  font: 700 22px/1 "Songti SC", "STSong", "SimSun", serif; letter-spacing: .14em; white-space: nowrap;
  transform: rotate(-8deg); opacity: .88; pointer-events: none; background: rgba(255,255,255,.4);
}
.sc-stamp::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--red); border-radius: 6px; }

/* 舞台底部：Apple 式分页点 + 暂停键 */
.sc-bar { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.sc-dots { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 980px; background: rgba(210, 210, 215, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.sc-dots i { position: relative; width: 8px; height: 8px; border-radius: 8px; background: rgba(0,0,0,.42); overflow: hidden; transition: width .5s var(--ease); }
.sc-dots i.on { width: 44px; background: rgba(0,0,0,.18); }
.sc-dots i b { position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform-origin: left; transform: scaleX(0); }
.sc-dots i.done b { transform: none; }
.showcase.playing .sc-dots i.on b { animation: dot-fill 7.1s linear forwards; }
.showcase.sc-static .sc-dots i.on b { transform: none; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.sc-label { font-size: 12px; color: var(--ink-2); white-space: nowrap; min-width: 9.5em; }
.sc-pause { width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(210, 210, 215, .55); color: var(--ink); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background-color var(--d-fast) var(--ease); }
.sc-pause:hover { background: rgba(190, 190, 196, .7); }
.sc-pause svg { width: 12px; height: 12px; }
.sc-pause path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-pause .i-play { display: none; fill: currentColor; }
.sc-pause[aria-pressed="true"] .i-play { display: block; }
.sc-pause[aria-pressed="true"] .i-pause { display: none; }

/* 演示时序 */
.js .showcase.playing .sc-doc { opacity: 0; transform: translate(-30px, 16px) rotate(-9deg); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.js .showcase.playing .sc-memo b,
.js .showcase.playing .sc-row,
.js .showcase.playing .sc-eq { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.js .showcase.playing .sc-stamp { opacity: 0; transform: rotate(-8deg) scale(1.9); }
.js .showcase.playing.s-doc .sc-doc { opacity: 1; transform: rotate(-4deg); }
.js .showcase.playing.s-memo .sc-memo b,
.js .showcase.playing.s-dr .sc-dr,
.js .showcase.playing.s-cr .sc-cr,
.js .showcase.playing.s-total .sc-eq { opacity: 1; transform: none; }
.js .showcase.s-dr .sc-dr em, .js .showcase.s-cr .sc-cr em { animation: amt-reveal .7s var(--ease-out) .1s both; }
@keyframes amt-reveal { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.js .showcase.s-total .sc-eq i { animation: eq-flash 1.2s var(--ease) .25s; }
@keyframes eq-flash { 35% { color: var(--green); } }
.js .showcase.s-stamp .sc-stamp { animation: stamp-slam .5s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes stamp-slam { 0% { opacity: 0; transform: rotate(-8deg) scale(1.9); } 60% { opacity: .95; transform: rotate(-8deg) scale(.94); } 100% { opacity: .88; transform: rotate(-8deg) scale(1); } }
.js .showcase.s-stamp .sc-voucher { animation: thud .34s ease-out .26s; }
@keyframes thud { 40% { transform: translateY(3px) scale(.995); } }
.js .showcase.s-out .sc-voucher > *, .js .showcase.s-out .sc-doc { opacity: 0 !important; transition: opacity .45s var(--ease); }

/* ---------- 滚动叙事：一笔业务的旅程 ---------- */
.journey-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.jstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity var(--d-base) var(--ease); }
.jstep:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 80px; }
.jstep:last-child { min-height: 56vh; }
.jstep.active { opacity: 1; }
.jstep .eyebrow { font-size: 14px; }
.jstep h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 600; }
.jstep p:not(.eyebrow) { margin-top: 14px; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 24em; }
.journey-visual { position: sticky; top: calc(50vh - 230px); height: 460px; }
.jv-frame { position: relative; height: 100%; border-radius: 30px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.03), 0 30px 70px rgba(0,0,0,.08); overflow: hidden; }
.jv-progress { position: absolute; left: 32px; right: 32px; top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; z-index: 2; }
.jv-progress i { height: 4px; border-radius: 4px; background: var(--line-soft); transition: background-color var(--d-base) var(--ease); }
.journey-visual[data-step="1"] .jv-progress i:nth-child(-n+1),
.journey-visual[data-step="2"] .jv-progress i:nth-child(-n+2),
.journey-visual[data-step="3"] .jv-progress i:nth-child(-n+3),
.journey-visual[data-step="4"] .jv-progress i { background: var(--blue); }
.jv-layer { position: absolute; inset: 56px 32px 32px; display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .55s var(--ease), transform .7s var(--ease-out); pointer-events: none; }
.journey-visual[data-step="1"] [data-l="1"], .journey-visual[data-step="2"] [data-l="2"],
.journey-visual[data-step="3"] [data-l="3"], .journey-visual[data-step="4"] [data-l="4"] { opacity: 1; transform: none; }
html:not(.js) .jv-layer { position: relative; inset: auto; opacity: 1; transform: none; padding: 24px; }
html:not(.js) .journey-visual { position: static; height: auto; }

.jv-doc { width: 100%; max-width: 420px; padding: 24px 26px; background: #fffdf8; border: 1px solid #ece4d3; border-radius: 18px; font-size: 15px; }
.jv-doc-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px dashed #e1d6bf; }
.jv-doc-top b { font-size: 19px; font-weight: 600; letter-spacing: .08em; }
.jv-doc-top span { font-size: 12px; color: var(--ink-3); }
.jv-doc dl { margin: 0; display: grid; gap: 8px; }
.jv-doc dl div { display: grid; grid-template-columns: 60px 1fr; }
.jv-doc dt { color: var(--ink-2); }
.jv-doc dd { margin: 0; font-weight: 500; }
.jv-amt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ece4d3; }
.jv-amt span { font-weight: 600; letter-spacing: .04em; color: var(--ink-2); font-size: 14px; }
.jv-ring { position: relative; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 4px 10px; }
.jv-ring::after { content: ""; position: absolute; inset: -4px -6px; border: 2.5px solid var(--blue); border-radius: 999px; opacity: 0; transform: scale(1.25); }
.journey-visual[data-step="1"] .jv-ring::after { animation: ring-in .6s var(--ease-out) .45s forwards, ring-pulse 2.4s var(--ease) 1.1s infinite; }
@keyframes ring-in { to { opacity: 1; transform: none; } }
@keyframes ring-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 92, 185, .25); } 50% { box-shadow: 0 0 0 8px rgba(0, 92, 185, 0); } }

.jv-entry { width: 100%; max-width: 440px; display: grid; gap: 12px; }
.jv-entry-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 4px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--bg-alt); }
.jv-entry-row .side-tag { grid-row: span 2; width: 34px; height: 34px; font-size: 15px; border-radius: 10px; margin-right: 12px; }
.jv-entry-row b { font-size: 22px; font-weight: 600; }
.jv-entry-row small { grid-column: 2; font-size: 13px; color: var(--ink-2); }
.jv-entry-row em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--debit); }
.jv-entry-row.cr { margin-left: 32px; }
.jv-entry-row.cr em { color: var(--credit); }
.jv-entry-row { opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.journey-visual[data-step="2"] .jv-entry-row { opacity: 1; transform: none; transition-delay: .2s; }
.journey-visual[data-step="2"] .jv-entry-row.cr { transition-delay: .55s; }

.jv-ts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.jv-ts .t-name { font-size: 19px; padding-bottom: 10px; border-bottom-width: 3px; }
.jv-ts .t-body { min-height: 150px; }
.jv-ts .t-side { align-items: center !important; text-align: center !important; justify-content: flex-start; gap: 14px; padding-top: 14px; }
.jv-ts .t-side.dr { border-right-width: 3px; }
.jv-ts .t-side .lab { font-size: 12px; }
.jv-chip { display: inline-block; padding: 7px 14px; border-radius: 980px; color: #fff; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px rgba(0,0,0,.15); opacity: 0; transform: translateY(-40px) scale(.8); }
.jv-chip.dr { background: var(--debit); }
.jv-chip.cr { background: var(--credit); }
.journey-visual[data-step="3"] .jv-chip { animation: chip-drop .8s cubic-bezier(.3,1.35,.5,1) .3s forwards; }
.journey-visual[data-step="3"] .jv-chip.cr { animation-delay: .6s; }
@keyframes chip-drop { to { opacity: 1; transform: none; } }

.jv-check { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; text-align: center; width: 100%; max-width: 440px; }
.jv-check small { display: block; font-size: 13px; color: var(--ink-2); }
.jv-check strong { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.jv-eq { font-size: 44px; font-weight: 300; color: var(--ink-3); padding-bottom: 4px; }
.jv-ok { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 9px 18px; border-radius: 980px; background: var(--green-soft); color: var(--green); font-size: 15px; font-weight: 600; }
.jv-ok svg { width: 18px; height: 18px; }
.jv-ok path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; }
.journey-visual[data-step="4"] .jv-ok path { animation: check-draw .5s var(--ease-out) .6s forwards; }
.journey-visual[data-step="4"] .jv-eq { animation: eq-flash 1.2s var(--ease) .3s; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }

/* ---------- 六笔业务：进度磁贴 ---------- */
.cup-strip { display: flex; align-items: center; gap: 18px; max-width: 560px; margin: -12px auto 40px; padding: 14px 22px; border-radius: 20px; background: var(--bg-alt); }
.cup-strip-text { flex: 1; min-width: 0; }
.cup-strip-text b { display: block; font-size: 15px; font-weight: 600; }
.cup-meter { display: block; margin-top: 8px; height: 6px; border-radius: 6px; background: #e3e3e8; overflow: hidden; }
.cup-meter i { display: block; height: 100%; border-radius: 6px; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .3s; }
.cup-strip.is-in .cup-meter i, html:not(.js) .cup-meter i { transform: scaleX(var(--v, 0)); }
.cup-count { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.biz-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.biz { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 24px; background: var(--bg-alt); transition: transform var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease); }
@media (hover: hover) { .biz:hover { transform: scale(1.015); } }
.biz-no { font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.biz h3 { margin-top: 6px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.biz > p:not(.biz-no):not(.biz-amt) { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.biz-amt { margin-top: auto; padding-top: 22px; font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.biz-amt small { font-size: 17px; margin-right: 3px; color: var(--ink-2); vertical-align: 6px; }
.biz-state { position: absolute; right: 22px; top: 26px; padding: 4px 11px; border-radius: 980px; font-size: 12px; font-weight: 600; background: #e8e8ed; color: var(--ink-2); }
.biz.next .biz-state { background: #e8f1fd; color: var(--blue); }
.biz.next { box-shadow: inset 0 0 0 1.5px var(--blue); }
.biz.posted .biz-state { background: var(--green-soft); color: var(--green); }
.biz.posted .biz-state::before { content: "✓ "; }
.biz.posted .biz-amt { color: var(--ink-2); }

/* ---------- 黑色查错区 ---------- */
.audit-dark .headline { color: var(--dark-ink); }
.audit-dark .tile.dark { padding: 40px 40px 36px; }
.audit-dark .tile .eyebrow { color: var(--dark-ink-2); }
.err-fig { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; min-height: 170px; margin: 26px 0 6px; padding: 22px; border-radius: 20px; background: #000; }
.err-fix { display: inline-flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.err-new { font-size: 30px; font-weight: 600; color: #ff453a; line-height: 1.1; }
.err-old { position: relative; font-size: 30px; font-weight: 600; color: var(--dark-ink-2); line-height: 1.2; }
.err-old::after { content: ""; position: absolute; left: -5px; right: -5px; top: 54%; height: 2.5px; border-radius: 2px; background: #ff453a; transform-origin: left; }
.js .err-tile:not(.is-in) .err-old::after { transform: scaleX(0); }
.js .err-tile:not(.is-in) .err-new { opacity: 0; transform: translateY(8px); }
.js .err-tile.is-in .err-old::after { transition: transform .5s var(--ease-out) .5s; }
.js .err-tile.is-in .err-new { transition: opacity .5s var(--ease-out) 1s, transform .5s var(--ease-out) 1s; }
.err-math { display: flex; align-items: baseline; gap: 8px; color: var(--dark-ink-2); font-size: 15px; }
.err-math b { font-size: 40px; font-weight: 600; color: var(--dark-ink); font-variant-numeric: tabular-nums; }
.err-bars { display: grid; gap: 14px; width: 100%; max-width: 400px; }
.err-bars > div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; }
.err-bars small { font-size: 13px; color: var(--dark-ink-2); }
.err-bars .bar { display: flex; height: 14px; }
.err-bars .bar i { display: block; height: 100%; border-radius: 7px 0 0 7px; background: linear-gradient(90deg, #2997ff, #64d2ff); flex: 0 0 72%; transform-origin: left; }
.err-bars .bar i.gap { flex: 0 0 22%; background: none; border: 1.5px dashed rgba(255, 69, 58, .8); border-left: 0; border-radius: 0 7px 7px 0; }
.js .err-tile:not(.is-in) .err-bars .bar i:first-child { transform: scaleX(0); }
.js .err-tile.is-in .err-bars .bar i:first-child { transition: transform 1s var(--ease-out) .4s; }
.js .err-tile:not(.is-in) .err-bars .bar i.gap { opacity: 0; }
.js .err-tile.is-in .err-bars .bar i.gap { transition: opacity .5s var(--ease) 1.3s; }
.err-tag { width: 100%; text-align: center; font-size: 13px; color: #ff6961; margin-top: 4px !important; }

/* 基础课：等式实验的占位行 */
.equation-board-row.wait { border: 1.5px dashed var(--line); background: transparent; color: var(--ink-3); }
.equation-board-row.wait strong { color: var(--ink-3); font-weight: 500; }
.equation-board-row.after:not([hidden]) ~ .equation-board-row.wait { display: none; }
@media (min-width: 521px) { .equation-board-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .equation-board-row span { flex-basis: 100%; } .equation-board-row strong { white-space: normal; font-size: 17px; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1068px) {
  .sc-doc { left: 4%; }
  .sc-voucher { right: 4%; }
}
@media (max-width: 860px) {
  .showcase { height: 500px; }
  .sc-doc { left: 50%; top: 36px; width: min(330px, 78%); transform: translateX(-60%) rotate(-4deg); }
  .js .showcase.playing.s-doc .sc-doc { transform: translateX(-60%) rotate(-4deg); }
  .sc-voucher { left: 50%; right: auto; top: 150px; width: min(470px, 90%); transform: translateX(-50%); }
  .js .showcase.s-stamp .sc-voucher { animation: none; }
  .journey-grid { grid-template-columns: 1fr; gap: 0; }
  .journey-visual { order: -1; top: 8px; height: 330px; z-index: 2; }
  .journey-visual::before { content: ""; position: absolute; inset: -8px -22px -16px; background: var(--bg-alt); z-index: -1; }
  .jv-frame { border-radius: 24px; }
  .jv-layer { inset: 48px 20px 20px; }
  .jstep, .jstep:first-child, .jstep:last-child { min-height: 52vh; padding-top: 0; justify-content: center; }
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .home-hero .hero-stage { margin-top: 40px; padding-bottom: 48px; }
  .showcase { height: 460px; border-radius: 24px; }
  .sc-voucher { top: 136px; padding: 20px 18px 18px; border-radius: 18px; }
  .sc-head h2 { font-size: 18px; letter-spacing: .3em; margin-right: -.3em; }
  .sc-row { font-size: 16px; }
  .sc-stamp { right: 18px; font-size: 18px; padding: 7px 12px; }
  .sc-label { display: none; }
  .jv-doc { padding: 18px; font-size: 14px; }
  .jv-entry-row { padding: 14px 16px; }
  .jv-entry-row b { font-size: 18px; }
  .jv-entry-row em { font-size: 22px; }
  .jv-entry-row.cr { margin-left: 18px; }
  .jv-ts { gap: 14px; }
  .jv-ts .t-name { font-size: 16px; }
  .jv-ts .t-body { min-height: 110px; }
  .jv-chip { font-size: 15px; padding: 5px 10px; }
  .jstep p:not(.eyebrow) { font-size: 17px; }
  .biz-grid { grid-template-columns: 1fr; gap: 14px; }
  .biz { padding: 24px 22px 22px; border-radius: 20px; }
  .biz-amt { font-size: 30px; }
  .cup-strip { margin-top: -8px; padding: 12px 16px; gap: 14px; }
  .audit-dark .tile.dark { padding: 30px 22px 26px; }
  .err-fig { gap: 18px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .gradient-text { animation: none; }
  .jstep { opacity: 1; }
}
@media print { .showcase, .journey-visual { display: none; } }
@media (max-width: 860px) { .jstep, .jstep:first-child, .jstep:last-child { justify-content: flex-start; padding-top: 48px; min-height: 56vh; } }
.sc-doc dl div, .jv-doc dl div { display: flex; gap: 16px; }
.sc-doc dt, .jv-doc dt { flex: none; min-width: 3em; }
