.ai-layer,.receipt-start,.batch-path{padding:16px 20px;border-radius:10px;line-height:1.65}
.ai-layer{background:#164ac3;color:white;text-align:center}
.module-groups,.receipt-branches{display:grid;gap:14px;padding-top:18px;border-top:2px solid #b9cdea;margin-top:16px;position:relative}
.module-groups{grid-template-columns:repeat(4,minmax(0,1fr))}
.module-groups::before,.receipt-branches::before{content:"";position:absolute;bottom:100%;left:50%;height:16px;border-left:2px solid #b9cdea}
.batch-path,.erp-story .receipt-start{background:#eaf2ff;color:var(--ink);margin:16px 0;max-width:none}
.receipt-branches{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.module-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.module-groups,.receipt-branches{grid-template-columns:1fr}}
.handoff{max-width:1100px;margin:1.25rem 0}
.handoff>.handoff-node{max-width:740px;margin:auto}
.erp-story .handoff-edge,.erp-story .handoff-return{max-width:none;padding:8px 12px;color:#184582;line-height:1.6}
.handoff-edge{text-align:center;font-weight:600}
.handoff-edge span{display:block;font-size:1.55rem;line-height:1}
.handoff-return{border-left:3px solid #4675b9;background:#edf4ff}
.handoff-fork{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:2px solid #b9cdea;margin-top:18px}
.handoff-node .node-ai{border-top:1px solid var(--line);padding-top:10px}
.node-ai b{color:var(--blue)}
@media(max-width:650px){.handoff-fork{grid-template-columns:1fr}}
