/* ============================================================
   ZDR beam — "Zero Data Retention" hero animation
   A document of context travels from beside Wisbid to the model
   provider and fades; the response emerges at the provider and
   returns to Wisbid. The document never overlaps the endpoints.
   The governance panel (.gv-visual) is the only frame.
   ============================================================ */
.zb-wrap { position: absolute; inset: 0; font-family: var(--wb-font-sans); }
.zb-card { position: absolute; inset: 0; }
.zb-stage { position: absolute; inset: 0; overflow: hidden; }
.zb-scene {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4%, 32px);
}

/* ---------- the two endpoints ---------- */
.zb-lane {
  position: relative;
  width: min(440px, 100%);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.zb-rail {
  position: absolute; top: 22px; left: 80px; right: 80px; height: 0;
  border-top: 1.5px dashed var(--wb-border);
  z-index: 1;
}
.zb-node {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  width: 116px;
}
.zb-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--wb-ink-0, #fff); border: 1px solid var(--wb-border);
  box-shadow: 0 6px 16px -12px rgba(11, 31, 59, 0.3);
  color: var(--wb-ink-500);
}
.zb-ico img { width: 28px; height: 28px; }
.zb-node-label { font: 600 12px/1.25 var(--wb-font-sans); color: var(--wb-navy-900); text-align: center; }

.zb-store {
  display: inline-flex; align-items: center; gap: 5px;
  font: 600 9.5px/1 var(--wb-font-sans); letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--wb-ink-500);
  background: var(--wb-ink-50);
  border: 1px solid var(--wb-border); border-radius: 999px;
  padding: 4px 9px;
}
.zb-store svg { display: block; flex-shrink: 0; color: var(--wb-ink-400); }

/* ---------- travelling document ---------- */
.zb-doc { position: absolute; top: 0; left: 0; z-index: 3; width: 38px; height: 46px; will-change: transform, opacity; }
.zb-doc-card {
  position: relative; width: 38px; height: 46px;
  background: var(--wb-ink-0, #fff);
  border: 1px solid var(--wb-border); border-radius: 7px;
  box-shadow: 0 10px 20px -12px rgba(11, 31, 59, 0.3);
  overflow: hidden;
  padding: 11px 7px 7px;
}
.zb-doc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--wb-navy-500);
  transition: background 280ms var(--wb-ease-out);
}
.zb-doc.is-ans .zb-doc-card::before { background: var(--wb-success-500); }
.zb-doc-line { height: 3px; border-radius: 2px; background: var(--wb-ink-150); margin-bottom: 4px; }
.zb-doc-line.w1 { width: 100%; }
.zb-doc-line.w2 { width: 78%; }
.zb-doc-line.w3 { width: 56%; }

@media (max-width: 480px) {
  .zb-lane { width: 100%; }
  .zb-node { width: 104px; }
  .zb-rail { left: 72px; right: 72px; }
}
