/* Bidding intelligence agent: business signals → evidence → collaborative action → learning.
   Kept separate from the finance scene; the host owns phase and visibility. */
.pv-bidding{--pv-ink:#17375f;--pv-muted:#5e7491;--pv-rule:#dbe6f6;--pv-caption-bg:#fff;background:#f6faff}
.pv-bidding .pv-agent-svg{display:block;width:100%;height:100%;overflow:hidden}
.pv-bidding .pv-agent-svg text{font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif;font-weight:500}
.pv-bidding .pa-title{font-size:27px;fill:#133b6b;letter-spacing:1px}
.pv-bidding .pa-subtitle{font-size:24px;fill:#647f9f;letter-spacing:0}
.pv-bidding .pa-core-title{font-size:25px;fill:#134b99;letter-spacing:.3px;font-weight:600}
.pv-bidding .pa-caption{font-size:25px;fill:#526f94;letter-spacing:1px;opacity:0;transition:opacity .5s ease}
.pv-bidding .pa-caption-0{opacity:1}
.pv-bidding[data-phase="1"] .pa-caption-0,.pv-bidding[data-phase="2"] .pa-caption-0,.pv-bidding[data-phase="3"] .pa-caption-0{opacity:0}
.pv-bidding[data-phase="1"] .pa-caption-1,.pv-bidding[data-phase="2"] .pa-caption-2,.pv-bidding[data-phase="3"] .pa-caption-3{opacity:1}
.pv-bidding .pa-card-panel{fill:#ffffff;stroke:#dce7f5;stroke-width:1.3;transition:fill .7s,stroke .7s,stroke-width .7s}
.pv-bidding .pa-loop{stroke:#c5d8ee;stroke-width:1.5;transition:stroke .6s,stroke-width .6s}
.pv-bidding .pa-spoke{stroke:#c2d7f0;stroke-width:1.5;transition:stroke .6s}
.pv-bidding .pa-loop-flow{stroke:#d3ae64;stroke-width:3;stroke-dasharray:10 270;stroke-dashoffset:280;opacity:0;animation:pa-orbit-flow 2.6s linear infinite;transition:opacity .5s}
.pv-bidding .pa-spoke-flow{stroke:#1769ef;stroke-width:3;stroke-dasharray:10 150;stroke-dashoffset:160;opacity:0;animation:pa-spoke-flow 1.7s linear infinite;transition:opacity .5s}
.pv-bidding[data-phase="0"] .pa-card-0 .pa-card-panel,.pv-bidding[data-phase="1"] .pa-card-1 .pa-card-panel,.pv-bidding[data-phase="2"] .pa-card-2 .pa-card-panel,.pv-bidding[data-phase="3"] .pa-card-3 .pa-card-panel{fill:#f5f9ff;stroke:#77a9ec;stroke-width:2}
.pv-bidding[data-phase="0"] .pa-loop-0,.pv-bidding[data-phase="1"] .pa-loop-1,.pv-bidding[data-phase="2"] .pa-loop-2,.pv-bidding[data-phase="3"] .pa-loop-3{stroke:#a4bee2;stroke-width:2}
.pv-bidding[data-phase="0"] .pa-flow-0,.pv-bidding[data-phase="1"] .pa-flow-1,.pv-bidding[data-phase="2"] .pa-flow-2,.pv-bidding[data-phase="3"] .pa-flow-3,.pv-bidding[data-phase="0"] .pa-spoke-flow-0,.pv-bidding[data-phase="1"] .pa-spoke-flow-1,.pv-bidding[data-phase="2"] .pa-spoke-flow-2,.pv-bidding[data-phase="3"] .pa-spoke-flow-3{opacity:1}
.pv-bidding .pa-core-halo{transform-box:fill-box;transform-origin:center;animation:pa-core-breathe 3.4s ease-in-out infinite}
.pv-bidding .pa-core-signal{animation:pa-signal-glow 2.7s ease-in-out infinite}
.pv-bidding .pa-lead-scan{opacity:0;animation:pa-scan-leads 2.9s ease-in-out infinite;transition:opacity .4s}.pv-bidding[data-phase="0"] .pa-lead-scan{opacity:1}
.pv-bidding[data-phase="0"] .pa-radar-dot{animation:pa-signal-glow 1.5s ease-in-out infinite}
.pv-bidding .pa-evidence{transform-box:fill-box;transform-origin:center;transition:opacity .5s}
.pv-bidding[data-phase="1"] .pa-evidence{animation:pa-evidence-gather 1s cubic-bezier(.22,.61,.36,1) both}.pv-bidding[data-phase="1"] .pa-evidence-2{animation-delay:.2s}.pv-bidding[data-phase="1"] .pa-evidence-3{animation-delay:.4s}
.pv-bidding .pa-task-check{stroke-dasharray:20;stroke-dashoffset:0}.pv-bidding[data-phase="2"] .pa-task-check{animation:pa-confirm 1s .8s ease both}
.pv-bidding .pa-task-arrow{transform-box:fill-box;transform-origin:center}.pv-bidding[data-phase="2"] .pa-task-arrow{animation:pa-dispatch 1.7s ease-in-out infinite}
.pv-bidding .pa-refresh-spin{transform-box:fill-box;transform-origin:center}.pv-bidding[data-phase="3"] .pa-refresh-spin{animation:pa-refresh-turn 2.8s ease-in-out infinite}
.pv-bidding .pa-result-bars rect{transform-box:fill-box;transform-origin:center bottom}.pv-bidding[data-phase="3"] .pa-result-bars rect{animation:pa-feedback 1s cubic-bezier(.22,.61,.36,1) both}.pv-bidding[data-phase="3"] .pa-result-bars rect:nth-child(2){animation-delay:.15s}.pv-bidding[data-phase="3"] .pa-result-bars rect:nth-child(3){animation-delay:.3s}
.pv-bidding[data-phase="3"] .pa-profile-return{stroke-dasharray:8 4;animation:pa-return 1s linear infinite}
@keyframes pa-orbit-flow{to{stroke-dashoffset:0}}
@keyframes pa-spoke-flow{to{stroke-dashoffset:0}}
@keyframes pa-core-breathe{0%,100%{transform:scale(.97);opacity:.65}50%{transform:scale(1.045);opacity:1}}
@keyframes pa-signal-glow{0%,100%{opacity:.65}50%{opacity:1}}
@keyframes pa-scan-leads{0%{transform:translateX(-42px)}70%,100%{transform:translateX(157px)}}
@keyframes pa-evidence-gather{from{opacity:.15;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes pa-confirm{from{stroke-dashoffset:20}to{stroke-dashoffset:0}}
@keyframes pa-dispatch{0%,100%{transform:translateX(0);opacity:.7}50%{transform:translateX(5px);opacity:1}}
@keyframes pa-refresh-turn{0%,20%{transform:rotate(0deg)}80%,100%{transform:rotate(360deg)}}
@keyframes pa-feedback{from{transform:scaleY(.4);opacity:.4}to{transform:scaleY(1);opacity:1}}
@keyframes pa-return{to{stroke-dashoffset:-12}}
.pv-bidding[data-running="false"] .pv-agent-svg *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 .pv-bidding .pv-agent-svg *{animation:none!important;transition:none!important}
 .pv-bidding .pa-lead-scan,.pv-bidding .pa-loop-flow,.pv-bidding .pa-spoke-flow{display:none}
 .pv-bidding .pa-card-panel{fill:#fff!important;stroke:#dce7f5!important;stroke-width:1.3!important}
 .pv-bidding .pa-card-3 .pa-card-panel{fill:#f5f9ff!important;stroke:#77a9ec!important;stroke-width:2!important}
 .pv-bidding .pa-caption{opacity:0!important}.pv-bidding .pa-caption-3{opacity:1!important}
 .pv-bidding .pa-task-check{stroke-dashoffset:0}.pv-bidding .pa-evidence{opacity:1}
}
