/* ============================================================
   WEBVERSE LANDING CHAPTER 04 (Automate) & CHAPTER 05 (Orbit)
   Scoped strictly under .st .wv-aut-* and .st .wv-orb-*
   ============================================================ */

/* ------------------------------------------------------------
   CHAPTER 04: AUTOMATE
   Slide 04A: Pipeline Vignette (Trigger Engine V2)
   ------------------------------------------------------------ */

.st .wv-aut-canvas {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 20px;
  box-shadow: 6px 6px 0 #17151f;
  overflow: hidden;
  margin: 0 auto;
  --md: 14;
  --tx: 32px;
  --ty0: 26px;
  --rin: -2deg;
  --tiltY: 7deg;
  --tiltX: 4deg;
  --ddx: 5px;
  --ddy: -6px;
  --drot: 0.6deg;
  transition: box-shadow 0.25s var(--ease), translate 0.25s var(--ease);
}

.st .wv-aut-canvas:hover {
  translate: 0 -3px;
  box-shadow: 8px 8px 0 #17151f;
}

.st .wv-aut-canvas-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #f8f7fc;
  border-bottom: 2px solid #17151f;
}

.st .wv-aut-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: wv-aut-pulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes wv-aut-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.st .wv-aut-canvas-title {
  font-weight: 780;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: #17151f;
}

.st .wv-aut-canvas-badge {
  margin-left: auto;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  background: #ede9fe;
  border: 1.5px solid #7c3aed;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st .wv-aut-canvas-body {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 140px 28px 1fr;
  align-items: center;
  gap: 12px;
  background: #ffffff;
}

.st .wv-aut-col-triggers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st .wv-aut-section-lbl {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #726e85;
}

.st .wv-aut-trig-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.st .wv-aut-trig-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #fbfafc;
  border: 1.5px solid #17151f;
  box-shadow: 2px 2px 0 #17151f;
  font-size: 12px;
  font-weight: 700;
  color: #17151f;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform: translate3d(calc(clamp(0, calc((var(--dw) - var(--ti, 0) * 0.12) * 5), 1) * 2px), 0, 0);
}

.st .wv-aut-trig-chip:hover {
  background: #ede9fe;
  border-color: #7c3aed;
  translate: 2px 0;
  box-shadow: 3px 3px 0 #7c3aed;
}

.st .wv-aut-trig-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c3aed;
  border: 1px solid #17151f;
  flex-shrink: 0;
}

.st .wv-aut-trig-chip:nth-child(2) .wv-aut-trig-bullet {
  background: #5b8cff;
}

.st .wv-aut-trig-chip:nth-child(3) .wv-aut-trig-bullet {
  background: #10b981;
}

.st .wv-aut-trig-chip:nth-child(4) .wv-aut-trig-bullet {
  background: #ffd23f;
}

.st .wv-aut-trig-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.st .wv-aut-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  transform: translate3d(calc(var(--dw) * 4px), 0, 0);
  transition: transform 0.12s linear;
}

.st .wv-aut-col-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.st .wv-aut-step-chain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.st .wv-aut-step-card {
  background: #fbfafc;
  border: 1.5px solid #17151f;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 2px 2px 0 #17151f;
  transition: translate 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transform: translate3d(0, calc((1 - clamp(0, calc((var(--dw) - var(--si, 0) * 0.08) * 5), 1)) * 4px), 0);
}

.st .wv-aut-step-card:hover {
  translate: 0 -2px;
  box-shadow: 3px 3px 0 #7c3aed;
  background: #ffffff;
}

.st .wv-aut-step-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.st .wv-aut-step-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
  color: #7c3aed;
  background: #ede9fe;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.st .wv-aut-step-kind {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: #6d6980;
  background: #f0eff5;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-aut-step-title {
  font-size: 12.5px;
  font-weight: 780;
  color: #17151f;
  letter-spacing: -0.01em;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-aut-step-detail {
  font-size: 11px;
  color: #635f75;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-aut-step-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding-top: 4px;
  border-top: 1px dashed #ece9f3;
  font-size: 10px;
  font-weight: 750;
  color: #047857;
}

.st .wv-aut-step-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #059669;
  font-size: 9px;
  line-height: 1;
  color: #047857;
}

.st .wv-aut-step-status-text {
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 9.5px;
}

.st .wv-aut-caption {
  padding: 10px 18px 12px;
  background: #f8f7fc;
  border-top: 1.5px solid #ece9f3;
  font-size: 11.5px;
  color: #635f75;
  font-style: italic;
  text-align: center;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------
   Slide 04B: India Paperwork Vignette (Validators & Sequences)
   ------------------------------------------------------------ */

.st .wv-aut-india-grid {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: start;
  margin: 0 auto;
  --md: 14;
  --tx: -32px;
  --ty0: 24px;
  --rin: 2deg;
  --tiltY: -6deg;
  --tiltX: 4deg;
  --ddx: -5px;
  --ddy: -5px;
  --drot: -0.5deg;
}

.st .wv-aut-form-card {
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 18px;
  box-shadow: 6px 6px 0 #17151f;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s var(--ease), translate 0.25s var(--ease);
}

.st .wv-aut-form-card:hover {
  translate: 0 -3px;
  box-shadow: 8px 8px 0 #17151f;
}

.st .wv-aut-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.st .wv-aut-card-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 750;
  color: #7c3aed;
  background: #ede9fe;
  border: 1px solid #7c3aed;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.st .wv-aut-card-tag {
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #726e85;
  background: #f1eff7;
  border: 1px solid #ece9f3;
  padding: 2px 7px;
  border-radius: 99px;
}

.st .wv-aut-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.st .wv-aut-form-label {
  font-size: 12px;
  font-weight: 750;
  color: #3b374d;
  letter-spacing: -0.01em;
}

.st .wv-aut-input-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #faf9fd;
  border: 1.5px solid #17151f;
  box-shadow: 2px 2px 0 #17151f;
}

.st .wv-aut-input-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 780;
  color: #17151f;
  letter-spacing: 0.05em;
}

.st .wv-aut-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #ecfdf5;
  border: 1.5px solid #059669;
  color: #047857;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.15);
}

.st .wv-aut-tick {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
}

.st .wv-aut-statutory-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.st .wv-aut-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f9f8fc;
  border: 1px solid #ece9f3;
  font-size: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.st .wv-aut-stat-item:hover {
  background: #ffffff;
  border-color: #7c3aed;
}

.st .wv-aut-stat-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 750;
  color: #7c3aed;
  background: #ede9fe;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.st .wv-aut-stat-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #17151f;
  letter-spacing: 0.03em;
}

.st .wv-aut-stat-tick {
  margin-left: auto;
  color: #059669;
  font-weight: 800;
  font-size: 12px;
}

.st .wv-aut-ex-tag {
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
  color: #88849b;
  background: #eceaf3;
  padding: 1px 5px;
  border-radius: 4px;
}

.st .wv-aut-form-note {
  font-size: 11px;
  color: #635f75;
  line-height: 1.4;
  padding-top: 8px;
  border-top: 1px dashed #ece9f3;
  font-style: italic;
}

.st .wv-aut-stub-card {
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 18px;
  box-shadow: 6px 6px 0 #17151f;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s var(--ease), translate 0.25s var(--ease);
}

.st .wv-aut-stub-card:hover {
  translate: 0 -3px;
  box-shadow: 8px 8px 0 #17151f;
}

.st .wv-aut-stub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.st .wv-aut-ticket-stub {
  position: relative;
  background: #fbfafc;
  border: 2px dashed #7c3aed;
  border-radius: 14px;
  padding: 22px 14px;
  overflow: hidden;
}

.st .wv-aut-ticket-notch {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border: 2px solid #17151f;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.st .wv-aut-ticket-notch.top {
  top: -12px;
}

.st .wv-aut-ticket-notch.btm {
  bottom: -12px;
}

.st .wv-aut-ticket-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}

.st .wv-aut-ticket-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7c3aed;
  text-transform: uppercase;
}

.st .wv-aut-ticket-seq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #17151f;
  box-shadow: 2px 2px 0 #17151f;
  margin: 4px 0;
}

.st .wv-aut-seq-old {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #8e8aa0;
  text-decoration: line-through;
}

.st .wv-aut-seq-arrow {
  font-weight: 800;
  color: #7c3aed;
  font-size: 14px;
  transform: translate3d(calc(var(--dw) * 3px), 0, 0);
  transition: transform 0.12s linear;
}

.st .wv-aut-seq-new {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid #059669;
}

.st .wv-aut-ticket-info {
  font-size: 11px;
  color: #57536a;
  line-height: 1.35;
  max-width: 190px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   CHAPTER 05: ORBIT
   Slide 05A: Orbit Admin Workspace (Chat & Queries)
   ------------------------------------------------------------ */

.st .wv-orb-chat-win {
  width: 100%;
  max-width: 600px;
  background: #13111d;
  color: #ffffff;
  border: 2px solid #28243e;
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin: 0 auto;
  --md: 14;
  --tx: 35px;
  --ty0: 24px;
  --rin: -2deg;
  --tiltY: 7deg;
  --tiltX: 4deg;
  --ddx: 5px;
  --ddy: -5px;
  --drot: 0.5deg;
  transition: box-shadow 0.25s var(--ease), translate 0.25s var(--ease);
}

.st .wv-orb-chat-win:hover {
  translate: 0 -3px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7);
}

.st .wv-orb-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #1b182a;
  border-bottom: 2px solid #28243e;
}

.st .wv-orb-win-dots {
  display: flex;
  gap: 6px;
}

.st .wv-orb-win-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.st .wv-orb-win-dots i:nth-child(1) { background: #ff5f56; }
.st .wv-orb-win-dots i:nth-child(2) { background: #ffbd2e; }
.st .wv-orb-win-dots i:nth-child(3) { background: #27c93f; }

.st .wv-orb-win-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #c4b5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.st .wv-orb-win-role {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 5px;
  background: #7c3aed;
  color: #ffffff;
}

.st .wv-orb-chat-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #13111d;
}

.st .wv-orb-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.st .wv-orb-msg.user {
  align-items: flex-end;
}

.st .wv-orb-msg.ai {
  align-items: flex-start;
  width: 100%;
}

.st .wv-orb-msg-author {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
  color: #8e8aa4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.st .wv-orb-msg.user .wv-orb-msg-bubble {
  background: #231f38;
  color: #ffffff;
  border: 1.5px solid #3b3558;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  font-size: 13.5px;
  max-width: 82%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.01em;
}

.st .wv-orb-msg.ai .wv-orb-msg-bubble {
  background: #181526;
  color: #e5e3f0;
  border: 1.5px solid #28243e;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 16px;
  font-size: 13px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.st .wv-orb-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: 2px;
}

.st .wv-orb-tool-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(91, 140, 255, 0.12);
  border: 1px solid rgba(91, 140, 255, 0.35);
  color: #5b8cff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
}

.st .wv-orb-tool-pill code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.st .wv-orb-msg-text {
  font-size: 13px;
  line-height: 1.45;
  color: #d6d3e8;
  margin-bottom: 8px;
}

.st .wv-orb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #28243e;
  background: #110f1a;
  margin-top: 6px;
}

.st .wv-orb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.st .wv-orb-table th {
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8e8aa4;
  background: #1a1727;
  border-bottom: 1px solid #28243e;
  white-space: nowrap;
}

.st .wv-orb-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #1e1b2e;
  color: #e2e0f0;
  white-space: nowrap;
  vertical-align: middle;
}

.st .wv-orb-table tr:last-child td {
  border-bottom: none;
}

.st .wv-orb-table tr:hover td {
  background: rgba(124, 58, 237, 0.08);
}

.st .wv-orb-stage-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid #7c3aed;
  color: #c4b5fd;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.st .wv-orb-table-caption {
  padding: 6px 10px;
  font-size: 10.5px;
  color: #726e88;
  font-style: italic;
  border-top: 1px dashed #231f38;
  background: #0f0d17;
}

.st .wv-orb-second-moment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1.5px dashed #7c3aed;
  margin-top: 4px;
}

.st .wv-orb-moment-text {
  font-size: 12px;
  color: #c4b5fd;
  font-weight: 600;
  line-height: 1.35;
  flex: 1 1 200px;
}

.st .wv-orb-moment-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.st .wv-orb-moment-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #17151f;
}

.st .wv-orb-moment-badge.plan {
  background: #5b8cff;
  color: #0e0e12;
}

.st .wv-orb-moment-badge.dry {
  background: #ffd23f;
  color: #17151f;
}

/* ------------------------------------------------------------
   Slide 05B: Model Context Protocol (McpHubVignette)
   ------------------------------------------------------------ */

.st .wv-orb-hub-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  --md: 16;
  --tx: -30px;
  --ty0: 24px;
  --rin: 3deg;
  --tiltY: -8deg;
  --tiltX: 6deg;
  --ddx: -6px;
  --ddy: 4px;
  --drot: -0.5deg;
  --hub-rad: 170px;
}

.st .wv-orb-hub-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #7c3aed;
  pointer-events: none;
  transform: rotate(calc(var(--dw) * 25deg));
  transition: transform 0.1s linear;
}

.st .wv-orb-hub-center {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.st .wv-orb-hub-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a224a, #13111d);
  border: 2.5px solid #7c3aed;
  box-shadow: 0 0 calc(20px + var(--dw) * 20px) rgba(124, 58, 237, 0.45), inset 0 0 16px rgba(124, 58, 237, 0.3);
  color: #ffffff;
  padding: 10px;
  transition: box-shadow 0.2s ease, transform 0.25s var(--ease);
}

.st .wv-orb-hub-core:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.65), inset 0 0 20px rgba(124, 58, 237, 0.4);
}

.st .wv-orb-hub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  margin-bottom: 3px;
  animation: wv-orb-core-pulse 2s ease infinite;
}

@keyframes wv-orb-core-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.8;
  }
}

.st .wv-orb-hub-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.1;
}

.st .wv-orb-hub-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.st .wv-orb-orbit-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.st .wv-orb-tool-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  --cur-ang: calc(var(--ang, 0deg) + var(--dw) * 36deg);
  transform: rotate(var(--cur-ang)) translate(var(--hub-rad)) rotate(calc(-1 * var(--cur-ang)));
  transition: transform 0.1s linear;
}

.st .wv-orb-tool-orbit .wv-orb-tool-pill {
  pointer-events: auto;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #181527;
  border: 1.5px solid #3b3558;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(124, 58, 237, 0.15);
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.st .wv-orb-tool-orbit .wv-orb-tool-pill:hover {
  border-color: #7c3aed;
  background: #231f38;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4), 0 0 12px rgba(124, 58, 237, 0.3);
  transform: translate(-50%, -50%) scale(1.06);
}

.st .wv-orb-tool-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
  color: #e2e0f0;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------
   Responsive Adjustments (Mobile 800px down to 390px)
   ------------------------------------------------------------ */

@media (max-width: 800px) {
  /* Pipeline Vignette */
  .st .wv-aut-canvas {
    max-width: 100%;
  }

  .st .wv-aut-canvas-head {
    padding: 10px 14px;
  }

  .st .wv-aut-canvas-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .st .wv-aut-trig-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .st .wv-aut-flow-arrow {
    transform: rotate(90deg) translate3d(calc(var(--dw) * 4px), 0, 0);
    margin: 2px 0;
  }

  .st .wv-aut-step-chain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .st .wv-aut-step-card {
    padding: 7px 8px;
  }

  .st .wv-aut-step-title {
    font-size: 11.5px;
  }

  .st .wv-aut-caption {
    padding: 8px 12px 10px;
    font-size: 10.5px;
  }

  /* India Paperwork Vignette */
  .st .wv-aut-india-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 14px;
  }

  .st .wv-aut-form-card,
  .st .wv-aut-stub-card {
    padding: 14px;
  }

  .st .wv-aut-input-val {
    font-size: 12px;
  }

  .st .wv-aut-stat-val {
    font-size: 11.5px;
  }

  .st .wv-aut-ticket-seq {
    padding: 6px 10px;
  }

  .st .wv-aut-seq-old,
  .st .wv-aut-seq-new {
    font-size: 12px;
  }

  /* Orbit Chat Vignette */
  .st .wv-orb-chat-win {
    max-width: 100%;
  }

  .st .wv-orb-win-bar {
    padding: 10px 14px;
  }

  .st .wv-orb-chat-body {
    padding: 14px 12px;
    gap: 10px;
  }

  .st .wv-orb-msg.user .wv-orb-msg-bubble {
    max-width: 90%;
    font-size: 12.5px;
    padding: 8px 12px;
  }

  .st .wv-orb-msg.ai .wv-orb-msg-bubble {
    font-size: 12px;
    padding: 10px 12px;
  }

  .st .wv-orb-table {
    font-size: 11px;
  }

  .st .wv-orb-table th,
  .st .wv-orb-table td {
    padding: 6px 7px;
  }

  .st .wv-orb-second-moment {
    padding: 9px 10px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* McpHub Vignette */
  .st .wv-orb-hub-wrap {
    width: min(340px, 92vw);
    height: min(340px, 92vw);
    --hub-rad: clamp(100px, 28vw, 125px);
  }

  .st .wv-orb-hub-core {
    width: 96px;
    height: 96px;
    padding: 6px;
  }

  .st .wv-orb-hub-name {
    font-size: 13px;
  }

  .st .wv-orb-hub-sub {
    font-size: 8.5px;
  }

  .st .wv-orb-tool-orbit .wv-orb-tool-pill {
    padding: 3px 7px;
  }

  .st .wv-orb-tool-name {
    font-size: 9.5px;
  }
}

/* ------------------------------------------------------------
   Prefers Reduced Motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .st .wv-aut-live-dot,
  .st .wv-orb-hub-dot {
    animation: none;
  }

  .st .wv-aut-flow-arrow,
  .st .wv-aut-seq-arrow,
  .st .wv-orb-hub-rings {
    transform: none;
    transition: none;
  }

  .st .wv-aut-trig-chip,
  .st .wv-aut-step-card {
    transform: none;
  }

  .st .wv-orb-tool-orbit {
    --cur-ang: var(--ang, 0deg);
    transform: rotate(var(--cur-ang)) translate(var(--hub-rad)) rotate(calc(-1 * var(--cur-ang)));
    transition: none;
  }
}
