/* 益丰 Agentic SOP · 页面样式（叠加在主站 styles.css 之上；原型通用部分与排班页一致） */
.sp { --yf: #00a870; }
.sp .eyebrow { color: var(--yf); }
.sp .hero .eyebrow { color: #34d399; }
#sopFlow { position: absolute; inset: 0; width: 100%; height: 100%; }
.facts { grid-template-columns: repeat(4, 1fr) !important; }
.sp .pains { grid-template-columns: repeat(4, 1fr); }
.pain b { margin-top: 0 !important; }

/* 痛点：散落的资料汇成一份 SOP */
.scatter { position: relative; height: 260px; max-width: 860px; margin: 40px auto 0; background: #fff; border-radius: 28px; overflow: hidden; }
.scatter span { position: absolute; left: var(--x); top: var(--y); transform: translate(-0%, -50%); font-size: 13px; font-weight: 600; color: #3a3a3c; background: #f2f2f7; border-radius: 980px; padding: 6px 12px; white-space: nowrap;
  transition: left 1.1s cubic-bezier(.5,0,.2,1), top 1.1s cubic-bezier(.5,0,.2,1), opacity .6s, transform 1.1s; transition-delay: calc(var(--d) + .6s); }
.scatter.in span { left: 50%; top: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.sc-doc { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.7); background: var(--yf); color: #fff; font-size: 17px; padding: 14px 22px; border-radius: 14px; opacity: 0; transition: all .6s var(--ease) 2.6s; box-shadow: 0 16px 36px -12px rgba(0,168,112,.6); }
.scatter.in .sc-doc { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 机制 */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.s4 { background: var(--bg-light); border-radius: var(--radius); padding: 20px; }
.s4 svg { width: 100%; height: auto; display: block; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 12px; }
.s-n { font-size: 12px; font-weight: 700; color: var(--yf); } .s4 h3 { font-size: 19px; margin: 2px 0 6px; } .s4 p:last-child { font-size: 14px; color: var(--ink-2); }
.s-doc { fill: #c9dcf5; animation: sDrop 3s infinite both; } .s-doc.d2 { fill: #ffd28a; animation-delay: .3s; } .s-doc.d3 { fill: #c4b5fd; animation-delay: .6s; }
@keyframes sDrop { 0% { transform: translateY(-10px); opacity: 0; } 20%, 80% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.s-q { fill: #eaf1ff; } .s-a { fill: #e6f6f0; } .s-dot { fill: #00a870; animation: sDot 1.2s infinite; } .s-dot.d2 { animation-delay: .2s; } .s-dot.d3 { animation-delay: .4s; }
@keyframes sDot { 50% { opacity: .2; } }
.s-paper { fill: #fff; stroke: #d2d2d7; } .s-line { fill: #00a870; transform-box: fill-box; transform-origin: left; animation: sLine 3s infinite both; } .s-line.d2 { animation-delay: .3s; fill: #c7c7cc; } .s-line.d3 { animation-delay: .6s; fill: #c7c7cc; }
@keyframes sLine { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
.s-bar { fill: #00a870; transform-box: fill-box; transform-origin: left; animation: sLine 3s infinite both; } .s-bar.d2 { fill: #2b6cf6; animation-delay: .2s; } .s-bar.d3 { animation-delay: .4s; } .s-bar.d4 { fill: #f59e0b; animation-delay: .6s; }
.secs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.secs span { font-size: 13px; color: var(--ink-2); margin-right: 4px; }
.secs i { font-style: normal; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 980px; background: #e6f6f0; color: #047857; opacity: 0; transform: translateY(6px); transition: all .4s; }
.secs.in i { opacity: 1; transform: none; } .secs i:nth-of-type(2) { transition-delay: .08s; } .secs i:nth-of-type(3) { transition-delay: .16s; } .secs i:nth-of-type(4) { transition-delay: .24s; } .secs i:nth-of-type(5) { transition-delay: .32s; } .secs i:nth-of-type(6) { transition-delay: .4s; } .secs i:nth-of-type(7) { transition-delay: .48s; }

/* 原型工作台 */
.app-ctl .seg { flex-wrap: wrap; }
.comp { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.comp div { width: 140px; height: 8px; border-radius: 4px; background: #eef0f3; overflow: hidden; }
.comp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00a870, #34d399); transition: width .6s var(--ease); }
.comp b { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 40px; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 14px 20px 0; border-radius: 12px; overflow: hidden; background: #f2f2f7; }
.stepper li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; position: relative; }
.stepper li b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #d2d2d7; color: #fff; }
.stepper li.done b { background: #00a870; } .stepper li.done { color: #047857; }
.stepper li.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); } .stepper li.on b { background: var(--ink); }
.stage { padding: 18px 20px; min-height: 440px; }
.col2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.st-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.muted-s { font-size: 12px; color: var(--ink-2); }
.go { background: var(--yf); color: #fff; font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 980px; }
.go:hover { background: #008a5c; } .go:disabled { opacity: .45; cursor: not-allowed; }
.go.wide { width: 100%; margin-top: 14px; padding: 11px; }
.ghost { font-size: 12.5px; padding: 6px 12px; border-radius: 980px; border: 1px solid #d2d2d7; background: #fff; }
.ghost:disabled { opacity: .45; }
.mats { display: grid; gap: 8px; }
.mats li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; background: #f7f8fa; border-radius: 12px; padding: 10px 12px; animation: fadeUp .45s var(--ease) both; animation-delay: var(--d); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: #2b6cf6; }
.ic.k-ppt { background: #f97316; } .ic.k-audio { background: #8b5cf6; } .ic.k-img { background: #0ea5e9; } .ic.k-chat { background: #22c55e; } .ic.k-video { background: #ef4444; }
.mats b { font-size: 13px; } .mats small { display: block; font-size: 11.5px; color: var(--ink-2); }
.mats p { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.mats p span { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: #fff; border: 1px solid #e5e8ec; }
.secl { display: grid; gap: 6px; }
.secl li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; transition: background .4s; }
.secl li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; }
.secl li.ok { background: #f0faf6; } .secl li.ok i { background: #00a870; }
.secl li.gap { background: #fff7eb; } .secl li.gap i { background: #f59e0b; }
.secl li span { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.secl li.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: #bbf7d0; } 100% { background: #f0faf6; } }
.chat { background: #f7f8fa; border-radius: 14px; padding: 14px; height: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.chat .ai { align-self: flex-start; max-width: 92%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); animation: fadeUp .35s var(--ease); }
.chat .ai b { display: block; font-size: 13.5px; } .chat .ai small { display: block; color: #8a929e; font-size: 11.5px; margin-top: 3px; }
.chat .me { align-self: flex-end; max-width: 80%; background: var(--yf); color: #fff; border-radius: 14px 14px 4px 14px; padding: 8px 12px; font-size: 13px; animation: fadeUp .3s var(--ease); }
.chat .ack { align-self: center; font-size: 11px; color: #047857; background: #e6f6f0; padding: 2px 10px; border-radius: 980px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.opts button { font-size: 12.5px; padding: 6px 12px; border-radius: 980px; background: #e6f6f0; color: #047857; text-align: left; }
.opts button:hover { background: #ccefe0; }
.opts input { flex: 1 1 100%; height: 32px; border: 1px solid #d2d2d7; border-radius: 980px; padding: 0 12px; font: inherit; font-size: 12.5px; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #aab1bb; margin-right: 3px; animation: sDot 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
.doc { background: #fff; border: 1px solid #ececf0; border-radius: 14px; padding: 20px 24px; max-height: 520px; overflow-y: auto; font-size: 13.5px; line-height: 1.7; }
.dp { animation: fadeUp .4s var(--ease); }
.doc-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.doc-h b { font-size: 19px; } .doc-h small { display: block; color: var(--ink-2); font-size: 12px; }
.tag-d { font-size: 11.5px; color: var(--ink-2); align-self: flex-end; }
.doc h4 { font-size: 14.5px; margin: 16px 0 6px; display: flex; align-items: center; gap: 6px; }
.doc ul, .doc ol { padding-left: 20px; } .doc ul { list-style: disc; } .doc ol { list-style: decimal; }
.src { font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 4px; }
.src.m { background: #eaf1ff; color: #2b6cf6; } .src.q { background: #e6f6f0; color: #047857; } .src.l { background: #f1ebff; color: #8b5cf6; }
.flow-svg { width: 100%; height: auto; display: block; margin: 4px 0 8px; }
.flow-svg text { font-family: var(--font); font-size: 13px; font-weight: 600; text-anchor: middle; fill: var(--ink); }
.flow-svg rect { fill: #e6f6f0; stroke: #00a870; } .flow-svg rect.ex { fill: #fff4e0; stroke: #f59e0b; } .flow-svg .ext { font-size: 11.5px; fill: #b45309; }
.flow-svg .fl { stroke: #8a929e; stroke-width: 1.5; }
.flow-svg .fs { animation: fadeUp .4s var(--ease) both; animation-delay: var(--d); }
.dt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dt th { text-align: left; background: #f7f8fa; padding: 7px 8px; font-weight: 600; color: var(--ink-2); }
.dt td { padding: 7px 8px; border-top: 1px solid #f2f2f7; vertical-align: top; }
.note-q { font-size: 12.5px; color: #047857; margin-top: 6px; }
.warn { font-size: 11.5px; color: #b45309; margin-top: 4px; }
.quiz { margin-top: 6px; }
.doc-f { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; flex-wrap: wrap; }
.score { display: flex; align-items: center; gap: 18px; background: #f7f8fa; border-radius: 16px; padding: 16px; }
.score svg { width: 110px; height: 110px; transform: rotate(-90deg); flex: none; }
.sc-bg { fill: none; stroke: #e5e8ec; stroke-width: 10; } .sc-fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); }
.score b { display: block; font-size: 40px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .score span { font-size: 13px; color: var(--ink-2); }
.dims { margin-top: 14px; display: grid; gap: 10px; }
.dims li { display: grid; grid-template-columns: 64px 1fr 32px; align-items: center; gap: 10px; font-size: 13px; }
.dims div { height: 10px; border-radius: 5px; background: #eef0f3; overflow: hidden; } .dims i { display: block; height: 100%; border-radius: 5px; transition: width .6s var(--ease); }
.dims b { text-align: right; font-variant-numeric: tabular-nums; }
.issues { display: grid; gap: 8px; }
.issues li { background: #fff7eb; border-radius: 12px; padding: 12px; position: relative; transition: background .4s; }
.issues li.fixed { background: #f0faf6; }
.issues .dim { font-size: 11px; font-weight: 600; color: #b45309; } .issues li.fixed .dim { color: #047857; }
.issues b { display: block; font-size: 13.5px; margin: 2px 0; } .issues p { font-size: 12.5px; color: var(--ink-2); }
.issues .ghost { margin-top: 8px; } .issues em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12px; color: #047857; font-weight: 600; }

/* HR 看板 */
.bkpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; text-align: center; }
.bkpis b { display: block; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; } .bkpis span { font-size: 14px; color: var(--ink-2); }
.board { max-width: 900px; margin: 40px auto 0; background: var(--bg-light); border-radius: 24px; padding: 22px 24px; }
.bd-lg { display: flex; gap: 16px; justify-content: flex-end; font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.bd-lg span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.bd-lg .l1::before { background: #00a870; } .bd-lg .l2::before { background: #2b6cf6; } .bd-lg .l3::before { background: #f59e0b; } .bd-lg .l4::before { background: #d2d2d7; }
.bd-row { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 12px; padding: 7px 0; }
.bd-row span { font-size: 13.5px; font-weight: 600; } .bd-row > b { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.bd-bar { display: flex; height: 18px; border-radius: 6px; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); }
.bd-bar.bd-in { clip-path: inset(0 0 0 0); }
.bd-bar .b1 { background: #00a870; } .bd-bar .b2 { background: #2b6cf6; } .bd-bar .b3 { background: #f59e0b; } .bd-bar .b4 { background: #d2d2d7; }
.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; }
.sp .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); }

/* 落地路径 */
.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) {
  .steps4, .guards { grid-template-columns: repeat(2, 1fr); }
  .col2 { grid-template-columns: 1fr; }
}
@media (max-width: 833px) {
  .sp .pains { grid-template-columns: 1fr 1fr; }
  .bkpis { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .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; }
  .stepper li { font-size: 12px; flex-direction: column; gap: 3px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: repeat(2, 1fr) !important; }
  .steps4, .guards { grid-template-columns: 1fr; }
  .app { margin-left: -6px; margin-right: -6px; border-radius: 18px; }
  .app-ctl { padding: 14px 12px 0; } .app-ctl .seg { width: 100%; border-radius: 14px; } .app-ctl .seg button { flex: 1 1 100%; font-size: 12.5px; border-radius: 10px; padding: 7px 8px; }
  .comp { width: 100%; } .comp div { flex: 1; }
  .stepper { margin: 12px 12px 0; }
  .stage { padding: 14px 12px; }
  .chat { height: 360px; }
  .doc { padding: 14px; }
  .dt { font-size: 11.5px; } .dt th:nth-child(4), .dt td:nth-child(4) { display: none; }
  .scatter { height: 220px; } .scatter span { font-size: 11.5px; }
  .bd-row { grid-template-columns: 76px 1fr 56px; } .bd-row span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scatter span { opacity: 0; } .sc-doc { opacity: 1; transform: translate(-50%, -50%); }
  .bd-bar { clip-path: none; } .secs i { opacity: 1; transform: none; }
  .pl-line i { width: 100%; }
}
