/* 益丰智能审单 MVP · 页面样式（叠加在主站 styles.css 之上；原型通用部分与排班页一致） */
.au { --yf: #00a870; --hum: #2b6cf6; --ret: #f59e0b; }
.au .eyebrow { color: var(--yf); }
.au .hero .eyebrow { color: #34d399; }
#docFlow { position: absolute; inset: 0; width: 100%; height: 100%; }
.facts { grid-template-columns: repeat(4, 1fr) !important; }
.au .pains { grid-template-columns: repeat(4, 1fr); }

/* 痛点：一天的待审单据 */
.night { max-width: 860px; margin: 56px auto 0; background: #fff; border-radius: 28px; padding: 22px 20px 14px; }
.night svg { width: 100%; height: auto; display: block; }
.night text { font-family: var(--font); font-size: 11px; fill: #8a929e; }
.night .nb { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .6s var(--ease); transition-delay: var(--d); }
.night.in .nb { transform: none; }
.night figcaption { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.pi { display: block; width: 44px; height: 32px; overflow: visible; }
.pp-a { fill: #ff9f0a; animation: ppDrop 2.4s infinite var(--ease); } .pp-a.d2 { animation-delay: .2s; fill: #ffb340; } .pp-a.d3 { animation-delay: .4s; fill: #ffd28a; }
@keyframes ppDrop { 0% { transform: translateY(-6px); opacity: 0; } 25%, 80% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.pp-b { fill: #0071e3; animation: ppPulse 1.8s infinite; } .pp-b.d2 { fill: #bf5af2; animation-delay: .3s; } .pp-b.d3 { fill: #ff9f0a; animation-delay: .6s; }
@keyframes ppPulse { 50% { transform: translateY(-4px); } }
.pp-c { fill: none; stroke: #0071e3; stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 16px 16px; animation: ppSpin 1.6s linear infinite; } .pp-c2 { fill: none; stroke: #0071e3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
@keyframes ppSpin { to { transform: rotate(360deg); } }
.pp-d { fill: #f2f2f7; stroke: #c7c7cc; } .pp-e { stroke: #c7c7cc; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 3; animation: ppFade 2s infinite; }
@keyframes ppFade { 50% { opacity: .2; } }

/* 机制：分流图 */
.route { margin: 56px auto 0; max-width: 960px; background: var(--bg-light); border-radius: 28px; padding: 22px; }
.route svg { width: 100%; height: auto; display: block; }
.route text { font-family: var(--font); text-anchor: middle; }
.r-t { font-size: 15px; font-weight: 700; fill: var(--ink); } .r-s { font-size: 11.5px; fill: #8a929e; } .r-c { font-size: 12px; font-weight: 600; fill: var(--ink); } .r-l { font-size: 11px; font-weight: 600; }
.r-doc { fill: #fff; stroke: #c7c7cc; } .r-box { fill: #fff; stroke: #d2d2d7; }
.c-rule { fill: #e6f6f0; stroke: #00a870; } .c-judge { fill: #eaf1ff; stroke: #2b6cf6; }
.r-path { fill: none; stroke: #c7c7cc; stroke-width: 2; stroke-dasharray: 5 5; }
.o-pass { fill: #e6f6f0; stroke: #00a870; } .o-ret { fill: #fff4e0; stroke: #f59e0b; } .o-hum { fill: #eaf1ff; stroke: #2b6cf6; }
.r-chips rect { animation: chipOn 3.2s infinite; } .r-chips rect:nth-of-type(2) { animation-delay: .2s; } .r-chips rect:nth-of-type(3) { animation-delay: .4s; } .r-chips rect:nth-of-type(4) { animation-delay: .6s; } .r-chips rect:nth-of-type(5) { animation-delay: .8s; } .r-chips rect:nth-of-type(6) { animation-delay: 1s; }
@keyframes chipOn { 0%, 20%, 100% { stroke-width: 1; } 10% { stroke-width: 3; } }
.trio3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.trio3 > div { background: var(--bg-light); border-radius: 20px; padding: 22px; }
.trio3 b { font-size: 17px; } .trio3 p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* MVP 工作台 */
.akpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #ececf0; margin-top: 16px; border-top: 1px solid #ececf0; border-bottom: 1px solid #ececf0; }
.akpis > div { background: #fff; padding: 12px 18px; }
.akpis span { display: block; font-size: 12px; color: var(--ink-2); }
.akpis b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.akpis .g b { color: #008a5c; } .akpis .o b { color: #b45309; } .akpis .b b { color: var(--hum); } .akpis .t b { color: var(--ink); }
.split { display: flex; height: 6px; background: #eef0f3; }
.split i { display: block; height: 100%; width: 0; transition: width .5s var(--ease); }
.sp-p { background: #00a870; } .sp-r { background: #f59e0b; } .sp-h { background: #2b6cf6; }
.pane { display: grid; grid-template-columns: 330px 1fr; min-height: 520px; }
.pane[hidden] { display: none; }
#paneCfg { grid-template-columns: 1fr; }
.queue { border-right: 1px solid #ececf0; display: flex; flex-direction: column; min-height: 0; }
.q-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: 13px; font-weight: 600; }
.go { background: var(--yf); color: #fff; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 980px; }
.go:hover { background: #008a5c; } .go:disabled { opacity: .5; }
.q-f { display: flex; gap: 6px; padding: 0 14px 10px; flex-wrap: wrap; }
.q-f button { font-size: 12px; padding: 4px 10px; border-radius: 980px; background: #f2f2f7; color: var(--ink-2); }
.q-f button.on { background: var(--ink); color: #fff; }
#qList { overflow-y: auto; max-height: 470px; }
#qList li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 14px; border-top: 1px solid #f2f2f7; cursor: pointer; transition: background .15s; }
#qList li:hover { background: #fafbfc; } #qList li.sel { background: #f0faf6; box-shadow: inset 3px 0 0 var(--yf); }
#qList li b { font-size: 13px; } #qList li span { font-size: 11.5px; color: var(--ink-2); grid-column: 1; }
#qList li em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; }
.st { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 980px; white-space: nowrap; }
.st.wait { background: #f2f2f7; color: #8a929e; } .st.run { background: #f2f2f7; color: #8a929e; animation: ppFade 1s infinite; }
.st.pass { background: #e6f6f0; color: #008a5c; } .st.return { background: #fff4e0; color: #b45309; } .st.human { background: #eaf1ff; color: var(--hum); }
.st.done { background: #1f2329; color: #fff; }
.detail { padding: 18px 22px; overflow-y: auto; max-height: 560px; }
.d-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.d-h h3 { font-size: 19px; } .d-h span { font-size: 12.5px; color: var(--ink-2); }
.d-kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 16px; }
.d-kv div { background: #f7f8fa; border-radius: 10px; padding: 8px 10px; } .d-kv span { display: block; font-size: 11px; color: #8a929e; } .d-kv b { font-size: 14px; }
.ck { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid #f2f2f7; font-size: 13px; animation: ckIn .35s var(--ease) both; animation-delay: var(--d); }
@keyframes ckIn { from { opacity: 0; transform: translateX(-6px); } }
.ck i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.ck i.pass { background: #00a870; } .ck i.fail { background: #f59e0b; } .ck i.unsure { background: var(--hum); } .ck i.failme { background: #ef4444; }
.ck b { display: block; } .ck small { color: var(--ink-2); font-size: 12px; } .ck .k { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.ck .k.rule { background: #e6f6f0; color: #008a5c; } .ck .k.judge { background: #eaf1ff; color: var(--hum); }
.verdict { margin-top: 14px; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; }
.verdict.pass { background: #e6f6f0; } .verdict.return { background: #fff4e0; } .verdict.human { background: #eaf1ff; }
.verdict b.t { display: block; font-size: 15px; margin-bottom: 4px; }
.acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.acts button { font-size: 13px; padding: 7px 16px; border-radius: 980px; border: 1px solid #d2d2d7; background: #fff; }
.acts button.ok { background: var(--yf); border-color: var(--yf); color: #fff; font-weight: 600; }
.acts input { flex: 1; min-width: 160px; height: 34px; border: 1px solid #d2d2d7; border-radius: 980px; padding: 0 14px; font: inherit; font-size: 13px; }
.empty-d { display: grid; place-items: center; height: 100%; color: #8a929e; font-size: 14px; text-align: center; padding: 40px; }
.cfg { padding: 16px 22px 18px; }
.nl { background: linear-gradient(135deg, #effaf5, #eef4ff); border-radius: 16px; padding: 14px 16px; }
.nl label { font-size: 13px; font-weight: 600; }
.nl-row { display: flex; gap: 8px; margin-top: 8px; }
.nl-row input { flex: 1; height: 36px; border: 1px solid #d2d2d7; border-radius: 980px; padding: 0 14px; font: inherit; font-size: 13px; background: #fff; }
.nl-ex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nl-ex button { font-size: 12px; padding: 4px 10px; border-radius: 980px; background: rgba(255,255,255,.8); color: var(--ink-2); }
.nl-out:empty { display: none; }
.nl-out { margin-top: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.7; animation: ckIn .35s var(--ease); }
.nl-out code { font-family: "SF Mono", Menlo, monospace; font-size: 12px; color: #8b5cf6; }
.ck-list { margin-top: 14px; }
.ck-list li { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #f2f2f7; }
.ck-list li.new { animation: ckNew 1.6s var(--ease); }
@keyframes ckNew { 0% { background: #e6f6f0; } 100% { background: transparent; } }
.ck-list b { font-size: 14px; } .ck-list small { display: block; color: var(--ink-2); font-size: 12px; }
.ck-list .pv { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.ck-list .pv input { width: 70px; height: 30px; border: 1px solid #d2d2d7; border-radius: 8px; text-align: right; padding: 0 8px; font: inherit; }
.ck-list select { height: 30px; border: 1px solid #d2d2d7; border-radius: 8px; font: inherit; font-size: 12px; padding: 0 6px; background: #fff; }
.sw { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #d2d2d7; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sw.on { background: var(--yf); } .sw.on::after { transform: translateX(16px); }
.cfg-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.muted-s { font-size: 12px; color: var(--ink-2); }
.guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.guards > div { background: #fff; border-radius: 18px; padding: 18px; }
.guards b { font-size: 15px; } .guards p { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.au .footer { padding: 26px 0; }
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; text-align: center; }
.facts b { display: block; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.facts span { font-size: 13px; color: var(--ink-2); }

.pains { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.pain { background: #fff; border-radius: 18px; padding: 20px 18px; }
.pain b { display: block; font-size: 16px; margin: 12px 0 4px; }
.pain p { font-size: 13px; color: var(--ink-2); }
.pains .reveal:nth-child(2) { transition-delay: .06s; } .pains .reveal:nth-child(3) { transition-delay: .12s; }
.pains .reveal:nth-child(4) { transition-delay: .18s; } .pains .reveal:nth-child(5) { transition-delay: .24s; }


/* 原型应用 */
.app { margin-top: 56px; background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #ececf0; background: #fbfbfd; }
.dots3 { display: flex; gap: 6px; } .dots3 i { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e8; }
.app-bar em { font-style: normal; font-size: 13px; font-weight: 600; }
.app-tag { margin-left: auto; font-size: 11px; color: var(--ink-2); background: var(--bg-light); padding: 3px 9px; border-radius: 980px; }
.app-ctl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 0; }
.app-ctl .seg { margin: 0; }
.mode { display: flex; gap: 8px; }
.mode button { padding: 8px 16px; border-radius: 980px; font-size: 14px; border: 1px solid var(--line); color: var(--ink-2); transition: all .3s; }
.mode button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.mode button.go { background: var(--yf); border-color: var(--yf); color: #fff; font-weight: 600; }
.mode button.go[aria-pressed="true"] { box-shadow: 0 0 0 4px rgba(0,168,112,.2); }
.mode button.go.busy { opacity: .7; }

.agent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 20px 18px; background: #fbfbfd; border-top: 1px solid #ececf0; }
.agent-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #00a870, #0071e3); }
.agent p { font-size: 14px; line-height: 1.55; padding-top: 4px; }
.agent p b { color: var(--yf); }
.agent p small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-2); }

/* 效益测算 */
.bcalc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 56px; background: #fff; border-radius: 28px; padding: 28px; }
.b-rows { display: grid; gap: 22px; align-content: center; }
.br { display: grid; gap: 8px; cursor: pointer; }
.br-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.br-h b { font-size: 17px; }
.br-h em { font-style: normal; font-size: 14px; color: var(--yf); white-space: nowrap; }
.br-h output { font-weight: 700; font-variant-numeric: tabular-nums; }
.br-base { font-size: 12px; color: var(--ink-2); }
.br input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #00a870 var(--p, 50%), #e5e5ea var(--p, 50%)); outline: none; }
.br input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.br input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.br input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgba(0,168,112,.35); }
.b-out { display: grid; gap: 12px; }
.b-card { background: var(--bg-light); border-radius: 18px; padding: 16px 20px; }
.b-card span { display: block; font-size: 13px; color: var(--ink-2); }
.b-card b { font-size: 40px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.b-card em { font-style: normal; font-size: 14px; color: var(--ink-2); margin-left: 4px; }
.b-card p { font-size: 13px; color: var(--ink-2); }
.b-card.ph b { color: var(--ph); }
.b-bar { height: 6px; border-radius: 3px; background: #e5e5ea; margin-top: 8px; overflow: hidden; }
.b-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00a870, #34d399); transition: width .5s var(--ease); }

/* 落地路径 */
.pl { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.pl-line { position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--line); }
.pl-line i { position: absolute; inset: 0; width: 0; background: var(--yf); transition: width 2s var(--ease) .3s; }
.pl.in .pl-line i { width: 100%; }
.pl-st { position: relative; text-align: center; padding: 30px 8px 0; }
.pl-st::before { content: ""; position: absolute; top: 2px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: all .4s; transition-delay: calc(.3s + var(--i) * .55s); }
.pl.in .pl-st::before { background: var(--yf); border-color: var(--yf); }
.pl-st b { display: block; font-size: 17px; }
.pl-st span { font-size: 13px; color: var(--ink-2); }
.cohort { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 640px; margin: 48px auto 0; }
.cohort div { background: var(--bg-light); border-radius: 18px; padding: 18px; text-align: center; }
.cohort b { display: block; font-size: 36px; letter-spacing: -.02em; color: var(--yf); }
.cohort span { font-size: 13px; color: var(--ink-2); }
.rs .footer a { display: inline; margin-right: 16px; color: var(--blue-link); }


/* ---------- 响应式 ---------- */
@media (max-width: 1068px) {
  .pane { grid-template-columns: 280px 1fr; }
  .guards { grid-template-columns: repeat(2, 1fr); }
  .d-kv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 833px) {
  .au .pains { grid-template-columns: 1fr 1fr; }
  .bcalc { grid-template-columns: 1fr; }
  .trio3 { grid-template-columns: 1fr; }
  .pane { grid-template-columns: 1fr; }
  .queue { border-right: 0; border-bottom: 1px solid #ececf0; }
  #qList { max-height: 300px; }
  .akpis { grid-template-columns: repeat(3, 1fr); }
  .pl { grid-template-columns: 1fr; gap: 18px; padding-left: 8px; }
  .pl-line { left: 16px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .pl-line i { width: 100%; height: 0; transition-property: height; }
  .pl.in .pl-line i { height: 100%; }
  .pl-st { text-align: left; padding: 0 0 0 36px; }
  .pl-st::before { left: 8px; margin-left: 0; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: repeat(2, 1fr) !important; }
  .pains { grid-template-columns: 1fr 1fr; }
  .app { margin-left: -6px; margin-right: -6px; border-radius: 18px; }
  .app-ctl { padding: 14px 12px 0; }
  .app-ctl .seg { width: 100%; } .app-ctl .seg button { flex: 1; padding: 8px 4px; font-size: 13px; }
  .mode { width: 100%; } .mode button { flex: 1; }
  .akpis { grid-template-columns: repeat(2, 1fr); } .akpis .t { grid-column: 1 / -1; }
  .akpis b { font-size: 21px; }
  .detail, .cfg { padding: 14px 12px; }
  .ck-list li { grid-template-columns: 40px 1fr; } .ck-list .pv, .ck-list select { grid-column: 2; }
  .guards { grid-template-columns: 1fr; }
  .route { padding: 8px; border-radius: 18px; }
  .route .r-s, .route .r-l { font-size: 14px; }
  .bcalc { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .night .nb { transform: none; }
  .pl-line i { width: 100%; }
}
