/* 办理流程左边填空：?flow=a 示意图 / ?flow=b 大号步骤数字 */
/* ---- A：每步配示意小窗；只有当前这一步显示，离开就藏起来；内容依次浮现 ---- */
html.flow-a .steps2 { gap: 96px; }
.mk { width: 380px; max-width: 100%; margin: 26px 0 0 auto; text-align: left; font-size: 13px; color: #4e5969;
  opacity: 0; transform: translateY(28px); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.st.on .mk { opacity: 1; transform: none; }
.mk .it { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s ease; }
.st.on .mk .it { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.mkc { background: #fff; border: 1px solid #e6ebf5; border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -12px rgba(41, 105, 255, .16); }
.mk .hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mk .hd b { font-size: 14px; color: #1d2129; font-weight: 600; }
.mk .chip { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #e8f0ff; color: #2457e6; }
.mk .chip.g { background: #e8f8ee; color: #1a9a55; }
.mk .sec { margin-top: 14px; font-size: 12px; font-weight: 600; color: #86909c; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.mk .sec::after { content: ""; flex: 1; height: 1px; background: #eef1f6; }
.mk .fld { margin-top: 9px; }
.mk .fld span { display: block; font-size: 12px; color: #86909c; margin-bottom: 4px; }
.mk .fld div { border: 1px solid #e5e9f2; border-radius: 9px; padding: 7px 11px; color: #1d2129; font-size: 13px; background: #fafbfe; }
.mk .fld div.focus { border-color: #2969ff; box-shadow: 0 0 0 3px rgba(41, 105, 255, .12); background: #fff; }
.mk .fld div.focus::after { content: ""; display: inline-block; width: 1.5px; height: 14px; background: #2969ff; margin-left: 2px; vertical-align: -2px; animation: mk-blink 1s steps(1) infinite; }
@keyframes mk-blink { 50% { opacity: 0; } }
.mk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mk .ok { color: #1a9a55; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.mk .ok svg { width: 14px; height: 14px; stroke-width: 2.4; }
.mk .ic { width: 30px; height: 30px; border-radius: 8px; background: #eef3ff; display: grid; place-items: center; color: #2969ff; flex: none; }
.mk .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f2f7; }
.mk .row b { color: #1d2129; font-weight: 500; flex: 1; min-width: 0; }
.mk .row b small { display: block; color: #86909c; font-weight: 400; font-size: 11.5px; margin-top: 1px; }
.mk .row .dl { color: #2969ff; }
.mk .up { margin-top: 10px; display: flex; align-items: center; gap: 10px; border: 1px dashed #cfd8ea; border-radius: 10px; padding: 8px 11px; }
.mk .up b { color: #1d2129; font-weight: 500; flex: 1; }
.mk .who { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.mk .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #2969ff, #4d55f6); color: #fff; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 600; }
.mk .who b { display: block; color: #1d2129; font-weight: 600; font-size: 13.5px; }
.mk .who small { font-size: 12px; color: #86909c; }
.mk .who .pct { margin-left: auto; font-size: 12px; color: #2457e6; background: #e8f0ff; border-radius: 6px; padding: 2px 8px; }
.mk .sv { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #86909c; }
.mk .sv .bar { flex: 1; height: 6px; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.mk .sv .bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #2969ff, #4d55f6); transition: width .2s; }
.st.on .mk .sv .bar i { width: var(--w); transition: width 1.1s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0s) + .2s); }
/* 第 2 步：两张文件 + 下载清单 */
.mk2 .papers { position: relative; height: 196px; }
.mk2 .pp { position: absolute; width: 260px; background: #fff; border: 1px solid #e6ebf5; border-radius: 6px; padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 16px 34px -12px rgba(41, 105, 255, .22); }
.mk2 .pp.b { right: 96px; top: 4px; }
.mk2 .pp.f { right: 4px; top: 30px; }
.st.on .mk2 .pp.b { transform: rotate(-4deg); } .st.on .mk2 .pp.f { transform: rotate(2deg); }
.mk2 .k { font-size: 10px; letter-spacing: .08em; color: #86909c; font-weight: 600; }
.mk2 .t { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: #1d2129; margin: 6px 0 10px; }
.mk2 .ln { height: 6px; border-radius: 3px; background: #edf0f6; margin-top: 7px; }
.mk2 .ln.m { width: 80%; } .mk2 .ln.s { width: 55%; }
.mk2 .ein { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; background: #f3f6ff; border-radius: 8px; }
.mk2 .ein span { font-size: 11px; color: #86909c; font-weight: 600; letter-spacing: .06em; }
.mk2 .ein b { font-size: 16px; color: #2457e6; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mk2 .stp { position: absolute; right: 12px; bottom: 14px; border: 2px solid rgba(41, 105, 255, .55); color: rgba(41, 105, 255, .75); border-radius: 6px;
  padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; transform: rotate(-8deg) scale(1.6); opacity: 0; transition: all .2s; }
.st.on .mk2 .stp { opacity: 1; transform: rotate(-8deg) scale(1); transition: all .35s cubic-bezier(.3, 1.6, .5, 1) 1s; }
.mk2 .mkc { margin-top: 8px; }
/* 第 3 步：客户经理消息 */
.mk3 .bub { margin: 10px 0 0 42px; background: #f3f6ff; border-radius: 4px 12px 12px 12px; padding: 9px 12px; color: #1d2129; line-height: 1.6; }
.mk3 .lk { margin: 8px 0 0 42px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d6e2ff; color: #2457e6; border-radius: 8px; padding: 6px 10px; font-weight: 500; }
.mk3 ol { list-style: none; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef1f6; display: flex; justify-content: space-between; gap: 8px; }
.mk3 ol li { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #1d2129; }
.mk3 ol li i { width: 16px; height: 16px; border-radius: 50%; background: #2969ff; color: #fff; display: grid; place-items: center; }
.mk3 ol li i svg { width: 11px; height: 11px; stroke-width: 3; }
.mk3 ol li.now i { background: #fff; border: 2px solid #2969ff; }
.mk3 ol li.now { color: #2457e6; font-weight: 500; }
/* 第 4 步：交付开关 */
.mk .row em { font-style: normal; color: #1d2129; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.mk .row em i { width: 28px; height: 16px; border-radius: 999px; background: #d5dbe6; position: relative; transition: background .2s; }
.mk .row em i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .2s; }
.st.on .mk .row em i { background: #2969ff; transition: background .3s calc(var(--d, 0s) + .3s); }
.st.on .mk .row em i::after { left: 14px; transition: left .3s calc(var(--d, 0s) + .3s); }
.mk4 .qa { margin-top: 10px; background: linear-gradient(135deg, #eef3ff, #f3f0ff); border-radius: 12px; padding: 11px 13px; }
.mk4 .qa .t { display: flex; align-items: center; gap: 7px; color: #2457e6; font-weight: 600; }
.mk4 .qa .t small { margin-left: auto; color: #86909c; font-weight: 400; font-size: 12px; }
.mk4 .qa .sv { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .mk, .mk *, .mk *::after { transition: none !important; } }

/* ---- B：大号步骤数字 + 标题跟随 ---- */
html.flow-b .st-l { position: sticky; top: 120px; }
.bn { font-size: 120px; line-height: .9; font-weight: 700; letter-spacing: -.04em; margin-bottom: 18px; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, rgba(41, 105, 255, .16), rgba(77, 85, 246, .03)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: all .4s; }
.st.on .bn { background-image: linear-gradient(180deg, rgba(41, 105, 255, .9), rgba(77, 85, 246, .25)); }
.btm { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #86909c; background: #f4f6fb; border-radius: 999px; padding: 6px 14px; transition: all .3s; }
.btm svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.st.on .btm { color: #2457e6; background: #e8f0ff; }
html.flow-b .st-l .badge { display: none; }

@media (max-width: 860px) { .mk, .bn, .btm { display: none; } html.flow-b .st-l { position: static; } }
@media (prefers-reduced-motion: reduce) { .mk .fld div.focus::after { animation: none; } }
