.automation-v5-ready>.automation-runtime-flow,.automation-v5-ready>.automation-value-chain-v2,.automation-v5-ready>.automation-value-chain-v3,.automation-v5-ready>.automation-value-chain-v4{display:none!important}
.automation-value-chain-v5{position:relative;margin:16px 0;padding:22px;overflow:hidden}
.v5-discovery-section{overflow:visible}
.v5-discovery-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(560px,1.55fr);gap:18px;align-items:stretch}
.v5-path{position:relative;min-width:0;padding:16px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:#0b1014}
.v5-path-label{margin-bottom:12px;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.08em}
.v5-live-path{display:flex;flex-direction:column}
.v5-live-path>.v4-node{max-width:360px}
.v5-live-path>.v5-down-arrow{margin-top:auto;padding-top:24px}
.v5-social-path{display:flex;flex-direction:column;align-items:stretch}
.v5-social-radar{width:min(100%,360px);align-self:flex-start}
.v5-recovery-gateway{width:min(100%,560px);align-self:center}
.v5-recovery-gateway>.v4-node{padding:16px 18px;border-width:1px}
.v5-recovery-gateway>.v4-node>strong{font-size:15px}
.v5-recovery-gateway>.v4-node>b{font-size:20px}
.v5-down-arrow{display:flex;flex-direction:column;align-items:center;min-height:56px;padding:8px 0 4px}
.v5-down-arrow>span{position:relative;width:2px;flex:1;min-height:28px;background:rgba(114,230,166,.48)}
.v5-down-arrow>span:after{content:'';position:absolute;left:50%;bottom:-1px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateX(-50%) rotate(45deg);color:var(--good)}
.v5-down-arrow small{display:block;margin-top:6px;color:var(--muted);font-size:7px;text-align:center}
.v5-down-arrow.tone-paid>span{background:rgba(255,187,88,.52)}
.v5-down-arrow.tone-paid>span:after{color:#ffc66d}
.v5-down-arrow.tone-blocked{opacity:.28}
.v5-route-caption{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin:7px 0 10px}
.v5-route-caption span{height:1px;background:rgba(114,230,166,.25)}
.v5-route-caption strong{color:var(--muted);font-size:7px;letter-spacing:.08em;white-space:nowrap}
.v5-route-caption.blocked{opacity:.25}
.v5-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v5-source-route{position:relative;padding:11px;border:1px solid rgba(114,230,166,.13);border-radius:11px;background:rgba(114,230,166,.018)}
.v5-source-route.blocked{opacity:.4;filter:saturate(.35)}
.v5-source-grid.downstream-blocked{opacity:.25;pointer-events:none}
.v5-source-label{display:block;margin-bottom:7px;color:var(--muted);font-size:7px;font-weight:800;letter-spacing:.07em}
.v5-source-route>.v5-down-arrow{min-height:44px;padding-bottom:0}
.v5-source-route>.v5-down-arrow>span{min-height:20px}
.v5-converge{position:relative;height:74px;margin:0 8%}
.v5-converge i{position:absolute;display:block;background:rgba(114,230,166,.48)}
.v5-converge .live{left:17%;top:0;width:2px;height:24px}
.v5-converge .social-left{right:26%;top:0;width:2px;height:24px}
.v5-converge .social-right{right:10%;top:0;width:2px;height:24px}
.v5-converge .bar{left:17%;right:10%;top:23px;height:2px}
.v5-converge .down{left:50%;top:23px;width:2px;height:34px}
.v5-converge .down:after{content:'';position:absolute;left:50%;bottom:-1px;width:8px;height:8px;border-right:2px solid var(--good);border-bottom:2px solid var(--good);transform:translateX(-50%) rotate(45deg)}
.v5-converge>span{position:absolute;left:50%;top:36px;transform:translateX(-50%);padding:0 8px;background:#0d1216;color:var(--muted);font-size:7px;white-space:nowrap}
.v5-converge.social-blocked .social-left,.v5-converge.social-blocked .social-right{background:rgba(130,140,148,.2)}
.v5-converge.social-blocked .bar{background:linear-gradient(90deg,rgba(114,230,166,.48) 0 45%,rgba(130,140,148,.18) 45% 100%)}

/* Desktop discovery map: two equal intake lanes, compact Social processing,
   and one continuous collector bus into the shared Moment object. */
@media(min-width:1251px){
  .v5-discovery-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:stretch}

  /* One shared visual discovery surface: lane wrappers provide layout only. */
  .v5-live-path,.v5-social-path{border-color:transparent;background:transparent;padding:16px 0 0;border-radius:0}
  .v5-live-path{border-right:1px solid rgba(255,255,255,.045)}

  .v5-live-path>.v4-node{width:320px;max-width:320px;align-self:center}
  .v5-live-path>.v5-down-arrow{margin-top:0;flex:1;min-height:300px;padding:28px 0 0}
  .v5-live-path>.v5-down-arrow>span{min-height:260px}
  .v5-live-path>.v5-down-arrow>span:after{display:none}
  .v5-live-path>.v5-down-arrow small{display:none}

  .v5-social-radar{align-self:center;width:320px}
  .v5-recovery-gateway{width:400px;align-self:center}
  .v5-recovery-gateway>.v4-node{padding:14px 16px}
  .v5-recovery-gateway>.v4-node>strong{font-size:14px}
  .v5-recovery-gateway>.v4-node>b{font-size:18px}

  .v5-route-caption{width:min(100%,558px);align-self:center;margin:7px 0 10px}

  /* Route wrappers span the Social half so their connector centers land exactly
     on the global 62.5% / 87.5% collector positions. The cards stay compact. */
  .v5-source-grid{width:100%;align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;gap:0}
  .v5-source-route{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;padding:10px 8px 0;border-color:transparent;background:transparent;border-radius:0}
  .v5-source-route+.v5-source-route{border-left:1px solid rgba(255,255,255,.035)}
  .v5-source-label{width:min(100%,270px)}
  .v5-source-route>.v4-mini{width:min(100%,270px);min-width:0}
  .v5-source-route>.v5-down-arrow{width:100%;flex:1;min-height:62px;margin-bottom:0;padding:12px 0 0}
  .v5-source-route>.v5-down-arrow>span{min-height:48px}
  .v5-source-route>.v5-down-arrow>span:after{display:none}
  .v5-source-route>.v5-down-arrow small{display:none}

  /* Global collector: live enters at 25%, the two Social routes at 62.5/87.5%.
     All stems touch the same bus, and the Moment drop is centered at 50%. */
  .v5-converge{height:62px;margin:0;position:relative}
  .v5-converge .live{left:25%;right:auto;top:0;width:2px;height:24px}
  .v5-converge .social-left{left:62.5%;right:auto;top:0;width:2px;height:24px}
  .v5-converge .social-right{left:87.5%;right:auto;top:0;width:2px;height:24px}
  .v5-converge .bar{left:25%;right:12.5%;top:23px;height:2px}
  .v5-converge .down{left:50%;top:23px;width:2px;height:34px}
  .v5-converge>span{display:none}

  .v5-converge.social-blocked .social-left,.v5-converge.social-blocked .social-right{background:rgba(130,140,148,.2)}
  .v5-converge.social-blocked .bar{background:linear-gradient(90deg,rgba(114,230,166,.48) 0 60%,rgba(130,140,148,.18) 60% 100%)}
  .v5-discovery-section:has(.v5-source-route.piecewise.blocked) .v5-converge .social-right{background:rgba(130,140,148,.2)}
}

@media(max-width:1250px){.v5-discovery-grid{grid-template-columns:1fr}.v5-live-path>.v4-node,.v5-social-radar,.v5-recovery-gateway{width:100%;max-width:none}.v5-live-path>.v5-down-arrow{margin-top:12px}.v5-converge{margin:0 14%}.v5-converge .live{left:25%}.v5-converge .social-left{right:35%}.v5-converge .social-right{right:15%}.v5-converge .bar{left:25%;right:15%}}
@media(max-width:720px){.automation-value-chain-v5{padding:14px}.v5-path{padding:12px}.v5-source-grid{grid-template-columns:1fr}.v5-route-caption{grid-template-columns:1fr}.v5-route-caption span{display:none}.v5-route-caption strong{text-align:center;white-space:normal}.v5-converge{margin:0 5%}.v5-converge .live{left:15%}.v5-converge .social-left{right:35%}.v5-converge .social-right{right:15%}.v5-converge .bar{left:15%;right:15%}.v5-converge>span{white-space:normal;width:220px;text-align:center}}
