/* ============================================================
   WEBVERSE LANDING CHAPTER 02 (Flows) & CHAPTER 03 (Builder)
   Scoped strictly under .st .wv-flows-* and .st .wv-builder-*
   ============================================================ */

/* ------------------------------------------------------------
   Chapter 02 Slide A: Cross-App Flow Rows (Connected)
   ------------------------------------------------------------ */
.st .wv-flows-vis1 {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.st .wv-flows-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.st .wv-flows-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  --md: 10;
  --tiltY: 4deg;
  --tiltX: 3deg;
  --tx: 32px;
  --ty0: 24px;
}

.st .wv-flows-row:nth-child(1) {
  --ddx: -4px;
  --ddy: -6px;
  --drot: 0.8deg;
}

.st .wv-flows-row:nth-child(2) {
  --ddx: 6px;
  --ddy: 4px;
  --drot: -0.6deg;
}

.st .wv-flows-row:nth-child(3) {
  --ddx: -3px;
  --ddy: 8px;
  --drot: 0.5deg;
}

.st .wv-flows-node {
  flex: 1;
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 16px;
  box-shadow: 4px 4px 0 #17151f;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.st .wv-flows-node:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 #17151f;
}

.st .wv-flows-node-src {
  border-left: 5px solid #5b8cff;
}

.st .wv-flows-node-dst {
  border-left: 5px solid #7c3aed;
}

.st .wv-flows-app-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f4f1ec;
  border: 1px solid #17151f;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #17151f;
}

.st .wv-flows-node-src .wv-flows-app-badge {
  background: #eef4ff;
  border-color: #5b8cff;
  color: #2563eb;
}

.st .wv-flows-node-dst .wv-flows-app-badge {
  background: #ede9fe;
  border-color: #7c3aed;
  color: #6d28d9;
}

.st .wv-flows-event {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  color: #17151f;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-flows-code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #58536e;
  background: #f7f6fb;
  border: 1px solid #e5e2f0;
  border-radius: 5px;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-flows-conn {
  position: relative;
  width: 90px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st .wv-flows-conn-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.st .wv-flows-line-bg {
  stroke: #dcd9e8;
  stroke-width: 2;
  stroke-linecap: round;
}

.st .wv-flows-line-pulse {
  stroke: #7c3aed;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 16;
  animation: wv-flows-line-pulse-kf 1.6s linear infinite;
  stroke-dashoffset: calc(var(--dw) * -60px);
}

@keyframes wv-flows-line-pulse-kf {
  to {
    stroke-dashoffset: -24px;
  }
}

.st .wv-flows-dot {
  fill: #5b8cff;
  stroke: #17151f;
  stroke-width: 1.5;
}

.st .wv-flows-arrow {
  fill: #7c3aed;
  stroke: #17151f;
  stroke-width: 1.5;
}

.st .wv-flows-trigger-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 99px;
  background: #ede9fe;
  border: 1px solid #7c3aed;
  color: #6d28d9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(124, 58, 237, 0.15);
}

/* ------------------------------------------------------------
   Chapter 02 Slide B: Verified Math & Depreciation
   ------------------------------------------------------------ */
.st .wv-flows-vis2 {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.st .wv-flows-asset-card {
  width: 100%;
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 20px;
  box-shadow: 6px 6px 0 #17151f;
  overflow: hidden;
  --md: 12;
  --tiltY: 5deg;
  --tiltX: 4deg;
  --tx: -30px;
  --ty0: 25px;
  --rin: -1.5deg;
}

.st .wv-flows-asset-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: #f7f6fb;
  border-bottom: 2px solid #17151f;
}

.st .wv-flows-asset-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 750;
  color: #7c3aed;
  background: #ede9fe;
  border: 1.5px solid #7c3aed;
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.02em;
}

.st .wv-flows-asset-rule {
  font-size: 12px;
  font-weight: 700;
  color: #4b4668;
  letter-spacing: 0.01em;
}

.st .wv-flows-values-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 12px;
}

.st .wv-flows-val-box {
  flex: 1;
  background: #faf9fd;
  border: 1.5px solid #17151f;
  border-radius: 12px;
  box-shadow: 3px 3px 0 #17151f;
  padding: 9px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.st .wv-flows-val-target {
  background: #f5f3ff;
  border-color: #7c3aed;
  box-shadow: 3px 3px 0 #7c3aed;
}

.st .wv-flows-val-lbl {
  font-size: 13.5px;
  font-weight: 800;
  color: #17151f;
  letter-spacing: -0.01em;
}

.st .wv-flows-val-target .wv-flows-val-lbl {
  color: #6d28d9;
}

.st .wv-flows-val-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #7b7694;
}

.st .wv-flows-rate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #eef4ff;
  border: 1.5px dashed #5b8cff;
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 750;
  flex-shrink: 0;
}

.st .wv-flows-dur {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
}

.st .wv-flows-counter-shelf {
  margin: 6px 18px 14px;
  padding: 10px 16px;
  background: #17151f;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.st .wv-flows-counter-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 0.02em;
}

.st .wv-flows-roller-window {
  height: 28px;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  background: #231f33;
  padding: 0 10px;
  border: 1px solid #3b3558;
}

.st .wv-flows-roller-reel {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(clamp(0, calc((var(--dw) - 0.08) / 0.78), 1) * -140px));
  transition: transform 0.06s linear;
}

.st .wv-flows-roller-reel span {
  height: 28px;
  line-height: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e2e0ea;
  text-align: right;
}

.st .wv-flows-target-num {
  color: #ffd23f !important;
}

.st .wv-flows-decay-wrap {
  padding: 0 18px 10px;
}

.st .wv-flows-decay-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.st .wv-flows-grid-axis {
  stroke: #e2dfec;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.st .wv-flows-decay-track {
  stroke: #d0cce0;
  stroke-width: 2;
  stroke-dasharray: 4 4;
}

.st .wv-flows-decay-live {
  stroke: #7c3aed;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - clamp(0, calc((var(--dw) - 0.08) / 0.78), 1) * 100);
}

.st .wv-flows-decay-marker {
  fill: #ffd23f;
  stroke: #17151f;
  stroke-width: 2;
  transform: translate(
    calc(clamp(0, calc((var(--dw) - 0.08) / 0.78), 1) * 300px),
    calc(clamp(0, calc((var(--dw) - 0.08) / 0.78), 1) * 60px)
  );
  transition: transform 0.06s linear;
}

.st .wv-flows-axis-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  fill: #78738f;
}

.st .wv-flows-caption {
  padding: 10px 18px;
  background: #f7f6fb;
  border-top: 1.5px solid #ece9f3;
  font-size: 12px;
  font-weight: 600;
  color: #635f75;
  text-align: center;
  line-height: 1.4;
}

/* ------------------------------------------------------------
   Chapter 03 Slide A: Config-Driven Forms & Chip Cloud (Build)
   ------------------------------------------------------------ */
.st .wv-builder-vis1 {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.st .wv-builder-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  width: 100%;
  --md: 8;
  --ty0: -18px;
}

.st .wv-builder-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  background: #ffffff;
  border: 1.5px solid #17151f;
  box-shadow: 2px 2px 0 #17151f;
  color: #17151f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.st .wv-builder-chip:hover {
  transform: translateY(-2px);
  background: #ede9fe;
  color: #6d28d9;
}

.st .wv-builder-chip:nth-child(3n+1) {
  background: #fdfaf6;
}

.st .wv-builder-chip:nth-child(3n+2) {
  background: #f4f8ff;
}

.st .wv-builder-chip:nth-child(3n) {
  background: #faf5ff;
}

.st .wv-builder-form-card {
  width: 100%;
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 20px;
  box-shadow: 6px 6px 0 #17151f;
  overflow: visible;
  --md: 12;
  --tiltY: 4deg;
  --tiltX: 3deg;
  --tx: 30px;
  --ty0: 25px;
}

.st .wv-builder-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #17151f;
  color: #ffffff;
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
}

.st .wv-builder-schema-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 750;
  color: #ffd23f;
  letter-spacing: 0.01em;
}

.st .wv-builder-role-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid #7c3aed;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.st .wv-builder-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  padding: 18px 20px 20px;
}

.st .wv-builder-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.st .wv-builder-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 750;
  color: #17151f;
  letter-spacing: -0.01em;
}

.st .wv-builder-ftype {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: #6d28d9;
  background: #ede9fe;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 4px;
  padding: 1px 5px;
  text-transform: lowercase;
}

.st .wv-builder-input {
  border: 1.5px solid #17151f;
  border-radius: 8px;
  background: #faf9fd;
  padding: 7px 11px;
  font-size: 13px;
  color: #17151f;
  font-weight: 600;
  box-shadow: 2px 2px 0 rgba(23, 21, 31, 0.08);
  min-height: 34px;
  display: flex;
  align-items: center;
}

.st .wv-builder-file {
  background: #f5f3ff;
  border-style: dashed;
  border-color: #7c3aed;
  color: #6d28d9;
  font-weight: 600;
}

.st .wv-builder-field-auto {
  z-index: 5;
}

.st .wv-builder-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 3px;
  background: #ffffff;
  border: 2px solid #17151f;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #17151f;
  z-index: 20;
  overflow: hidden;
}

.st .wv-builder-drop-item {
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #17151f;
  border-bottom: 1px solid #f1eff7;
  background: #ffffff;
  transition: background 0.1s ease;
}

.st .wv-builder-drop-item:last-child {
  border-bottom: none;
}

.st .wv-builder-drop-item:first-child {
  background: #ede9fe;
  color: #6d28d9;
}

.st .wv-builder-drop-item:hover {
  background: #ede9fe;
  color: #6d28d9;
}

.st .wv-builder-field-sw {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #f7f6fb;
  border: 1.5px solid #17151f;
  border-radius: 8px;
  box-shadow: 2px 2px 0 rgba(23, 21, 31, 0.08);
}

.st .wv-builder-field-sw label {
  margin: 0;
  gap: 8px;
}

.st .wv-builder-switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 99px;
  background: #e2e0ea;
  border: 1.5px solid #17151f;
  display: inline-flex;
  align-items: center;
  padding: 1px;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.st .wv-builder-switch.on {
  background: #7c3aed;
}

.st .wv-builder-switch i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #17151f;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}

.st .wv-builder-switch.on i {
  transform: translateX(16px);
}

/* ------------------------------------------------------------
   Chapter 03 Slide B: Kanban Boards & Configured Charts
   ------------------------------------------------------------ */
.st .wv-builder-vis2 {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.st .wv-builder-split {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.st .wv-builder-kanban-box {
  width: 100%;
  background: #ffffff;
  color: #17151f;
  border: 2px solid #17151f;
  border-radius: 18px;
  box-shadow: 6px 6px 0 #17151f;
  overflow: hidden;
  --md: 12;
  --tiltY: -4deg;
  --tiltX: 3deg;
  --tx: -30px;
  --ty0: 25px;
}

.st .wv-builder-kanban-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #f7f6fb;
  border-bottom: 2px solid #17151f;
}

.st .wv-builder-kanban-title {
  font-size: 14px;
  font-weight: 750;
  color: #17151f;
  letter-spacing: -0.01em;
}

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

.st .wv-builder-kanban-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 12px 10px 14px;
  background: #faf9fd;
}

.st .wv-builder-kcol {
  background: #f0edf6;
  border-radius: 8px;
  padding: 6px 4px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2dfec;
}

.st .wv-builder-kcol-new { border-top: 3px solid #6b7280; }
.st .wv-builder-kcol-qualified { border-top: 3px solid #5b8cff; }
.st .wv-builder-kcol-proposal { border-top: 3px solid #f59e0b; }
.st .wv-builder-kcol-negotiation { border-top: 3px solid #7c3aed; }
.st .wv-builder-kcol-won { border-top: 3px solid #10b981; background: #eaf8f0; }
.st .wv-builder-kcol-lost { border-top: 3px solid #ef4444; }

.st .wv-builder-kcol-lbl {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #645f78;
  margin-bottom: 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-builder-kcol-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.st .wv-builder-kcard {
  background: #ffffff;
  border: 1.5px solid #17151f;
  border-radius: 6px;
  box-shadow: 2px 2px 0 #17151f;
  padding: 6px 3px;
  font-size: 10px;
  font-weight: 750;
  color: #17151f;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st .wv-builder-card-slide {
  border-color: #f59e0b;
  background: #fffbeb;
  transform: translateY(calc(clamp(0, calc((var(--dw) - 0.1) / 0.6), 1) * 8px));
  transition: transform 0.08s linear;
}

.st .wv-builder-kcard-won {
  background: #10b981;
  color: #ffffff;
  border-color: #047857;
  box-shadow: 2px 2px 0 #047857;
}

.st .wv-builder-charts-box {
  width: 100%;
  background: #17151f;
  color: #ffffff;
  border: 2px solid #17151f;
  border-radius: 18px;
  box-shadow: 6px 6px 0 #17151f;
  padding: 14px 18px 16px;
  --md: 10;
  --tiltY: 4deg;
  --tiltX: 3deg;
  --tx: 30px;
  --ty0: 25px;
}

.st .wv-builder-types-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: auto;
}

.st .wv-builder-mono-type {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #9d97b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 2px 8px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.st .wv-builder-mono-type:first-child {
  color: #ffd23f;
  background: rgba(255, 210, 63, 0.15);
  border-color: #ffd23f;
}

.st .wv-builder-chart-duo {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.st .wv-builder-donut-wrap {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.st .wv-builder-donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.st .wv-builder-donut-bg {
  fill: none;
  stroke: #2a263d;
  stroke-width: 15;
}

.st .wv-builder-donut-seg1 {
  fill: none;
  stroke: #7c3aed;
  stroke-width: 15;
  stroke-dasharray: 48 100;
  stroke-dashoffset: 0;
  stroke-linecap: round;
}

.st .wv-builder-donut-seg2 {
  fill: none;
  stroke: #5b8cff;
  stroke-width: 15;
  stroke-dasharray: 32 100;
  stroke-dashoffset: -52;
  stroke-linecap: round;
}

.st .wv-builder-donut-stat {
  fill: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  transform: rotate(90deg);
  transform-origin: 50px 50px;
}

.st .wv-builder-bar-wrap {
  width: 130px;
  height: 80px;
  flex-shrink: 0;
}

.st .wv-builder-bar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.st .wv-builder-bar {
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - clamp(0, calc((var(--dw) - 0.05) / 0.75), 1) * 100);
}

.st .wv-builder-b1 { stroke: #5b8cff; }
.st .wv-builder-b2 { stroke: #7c3aed; }
.st .wv-builder-b3 { stroke: #a855f7; }
.st .wv-builder-b4 { stroke: #ffd23f; }

.st .wv-builder-bar-axis {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------
   Responsive Styles for Mobile (390px to 800px)
   ------------------------------------------------------------ */
@media (max-width: 800px) {
  .st .wv-flows-vis1,
  .st .wv-flows-vis2,
  .st .wv-builder-vis1,
  .st .wv-builder-vis2 {
    max-width: 100%;
  }

  /* Slide 1: Flows Stack */
  .st .wv-flows-row {
    gap: 8px;
  }

  .st .wv-flows-node {
    padding: 9px 10px;
    border-radius: 12px;
  }

  .st .wv-flows-event {
    font-size: 12.5px;
  }

  .st .wv-flows-code {
    font-size: 10px;
    padding: 1px 4px;
  }

  .st .wv-flows-conn {
    width: 54px;
  }

  .st .wv-flows-trigger-tag {
    font-size: 8.5px;
    padding: 0 4px;
    top: -10px;
  }

  /* Slide 2: Asset Depreciation Card */
  .st .wv-flows-asset-card {
    border-radius: 16px;
  }

  .st .wv-flows-asset-hd {
    padding: 10px 14px;
  }

  .st .wv-flows-values-row {
    padding: 12px 14px 10px;
    gap: 6px;
  }

  .st .wv-flows-val-lbl {
    font-size: 12px;
  }

  .st .wv-flows-val-sub {
    font-size: 9.5px;
  }

  .st .wv-flows-rate-box {
    padding: 4px 6px;
    font-size: 10.5px;
  }

  .st .wv-flows-counter-shelf {
    margin: 4px 14px 10px;
    padding: 8px 12px;
  }

  .st .wv-flows-counter-lbl {
    font-size: 11px;
  }

  .st .wv-flows-roller-window {
    height: 24px;
    padding: 0 6px;
  }

  .st .wv-flows-roller-reel span {
    height: 24px;
    line-height: 24px;
    font-size: 13px;
  }

  .st .wv-flows-roller-reel {
    transform: translateY(calc(clamp(0, calc((var(--dw) - 0.08) / 0.78), 1) * -120px));
  }

  /* Slide 3: Builder Forms */
  .st .wv-builder-form-fields {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }

  .st .wv-builder-field-sw {
    grid-column: span 1;
  }

  .st .wv-builder-form-card {
    border-radius: 16px;
  }

  /* Slide 4: Kanban & Charts */
  .st .wv-builder-kanban-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: repeat(6, minmax(78px, 1fr));
    gap: 6px;
    padding: 10px 8px;
  }

  .st .wv-builder-kcol {
    min-height: 80px;
  }

  .st .wv-builder-kcard {
    font-size: 9.5px;
  }

  .st .wv-builder-charts-box {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .st .wv-builder-donut-wrap {
    width: 75px;
    height: 75px;
  }

  .st .wv-builder-bar-wrap {
    width: 110px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .st .wv-flows-row {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .st .wv-flows-conn {
    width: 100%;
    height: 28px;
  }

  .st .wv-flows-conn-svg {
    transform: rotate(90deg);
    width: 24px;
    height: 48px;
  }

  .st .wv-flows-trigger-tag {
    top: 50%;
    left: auto;
    right: calc(50% + 22px);
    transform: translateY(-50%);
  }

  .st .wv-flows-values-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .st .wv-flows-rate-box {
    align-self: center;
  }
}

/* ------------------------------------------------------------
   Accessibility: Prefers-Reduced-Motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .st .wv-flows-line-pulse {
    animation: none;
    stroke-dashoffset: 0;
  }

  .st .wv-flows-roller-reel {
    transform: translateY(-140px) !important;
  }

  .st .wv-flows-decay-live {
    stroke-dashoffset: 0 !important;
  }

  .st .wv-flows-decay-marker {
    transform: translate(300px, 60px) !important;
  }

  .st .wv-builder-bar {
    stroke-dashoffset: 0 !important;
  }

  .st .wv-builder-card-slide {
    transform: none !important;
  }
}
