:root {
  --story-ink: #101823;
  --story-muted: #6f7c8f;
  --story-line: #dfe5ec;
  --story-blue: #267fd3;
  --story-purple: #7239ea;
  --story-yellow: #eab308;
  --story-green: #12a66a;
}

/* No min-height here: the two-column content lands around 850px on desktop, so a 980px
   floor padded both sections with ~127px of dead space and made the gaps around them
   read as 380-405px against the 245px every other section boundary uses. */
.product-section-execution,
.product-section-version {
  min-height: 0;
}

.story-layout {
  align-items: center;
  gap: clamp(56px, 7vw, 120px);
}

.execution-layout {
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.58fr);
}

.version-layout {
  grid-template-columns: minmax(0, 1.58fr) minmax(270px, .72fr);
}

.execution-facts,
.version-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.execution-facts {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.execution-facts span {
  min-width: 0;
  padding-inline: 12px;
}

.execution-facts span,
.version-summary span {
  min-width: 112px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 24, 35, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .66);
}

.execution-facts strong,
.version-summary b {
  display: block;
  color: var(--story-ink);
  font: 600 15px/1.2 "DM Mono", monospace;
}

.execution-facts small,
.version-summary small {
  display: block;
  margin-top: 5px;
  color: var(--story-muted);
  font-size: 11px;
}

.execution-surface,
.version-surface {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 35, .1);
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(26, 38, 52, .14), inset 0 1px 0 #fff;
}

.execution-surface {
  position: relative;
  background: #f8fafc;
}

.execution-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 3px;
  background: var(--story-blue);
  transform: scaleX(0);
  transform-origin: left;
  animation: executionProgress 7.2s cubic-bezier(.22, .72, .2, 1) infinite;
}

.execution-toolbar,
.version-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 24px;
  border-bottom: 1px solid var(--story-line);
  background: rgba(255, 255, 255, .94);
}

.execution-job-meta,
.execution-toolbar-status,
.version-file {
  display: flex;
  align-items: center;
  gap: 10px;
}

.execution-job-meta strong,
.version-file strong {
  color: var(--story-ink);
  font: 600 14px/1 "DM Mono", monospace;
}

.execution-job-meta > span:last-child,
.version-file small {
  color: var(--story-muted);
  font-size: 12px;
}

.execution-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--story-green);
  box-shadow: 0 0 0 5px rgba(18, 166, 106, .13);
  animation: statusPulse 1.8s cubic-bezier(.22, .72, .2, 1) infinite;
}

.execution-toolbar-status > span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #08784a;
  background: #dff7ed;
  font: 600 10px/1 "DM Mono", monospace;
  letter-spacing: .08em;
}

.execution-toolbar-status time {
  color: var(--story-ink);
  font: 500 12px/1 "DM Mono", monospace;
}

.execution-canvas {
  position: relative;
  padding: 42px 30px;
  background-color: #f8fafc;
  background-image: radial-gradient(circle, #d7dee7 1.2px, transparent 1.3px);
  background-size: 24px 24px;
}

.execution-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(142px, 1.25fr) 48px minmax(122px, 1fr) 48px minmax(122px, 1fr) 48px minmax(142px, 1.15fr);
  align-items: center;
  min-height: 260px;
}

.run-sources {
  display: grid;
  gap: 18px;
}

.run-node {
  --node-color: var(--story-blue);
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--node-color) 38%, #dfe5ec);
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 20px rgba(24, 39, 56, .08);
  animation: runNodeFocus 7.2s cubic-bezier(.22, .72, .2, 1) infinite;
  animation-delay: calc(var(--step) * .85s);
}

.run-node::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--node-color) 26%, transparent);
  animation: runNodeRing 7.2s cubic-bezier(.22, .72, .2, 1) infinite;
  animation-delay: calc(var(--step) * .85s);
  pointer-events: none;
}

.run-node-join { --node-color: var(--story-purple); }
.run-node-filter { --node-color: var(--story-yellow); }
.run-node-target { --node-color: var(--story-blue); }

.run-node-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--node-color);
  background: color-mix(in srgb, var(--node-color) 13%, white);
}

.run-node-icon svg {
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: currentColor;
}

.run-node-icon .join-secondary,
.run-node-icon .target-db-secondary {
  opacity: .24;
}

.run-node-icon .join-secondary {
  fill: #7e8299;
}

.run-node-icon .target-db-arrow {
  fill: #22a06b;
  transform: translate(-18px, -28px) scale(.72);
  transform-origin: center;
}

.run-database-icon {
  position: relative;
}

.run-database-icon i {
  position: absolute;
  width: 22px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.run-database-icon i:first-child { transform: translateY(-7px); }
.run-database-icon i:nth-child(2) { transform: translateY(0); }
.run-database-icon i:last-child { transform: translateY(7px); }

.run-node-text {
  min-width: 0;
}

.run-node-text small,
.run-node-text strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.run-node-text small {
  color: var(--node-color);
  font: 600 9px/1.2 "DM Mono", monospace;
  letter-spacing: .04em;
}

.run-node-text strong {
  margin-top: 5px;
  color: var(--story-ink);
  font-size: 12px;
}

.run-node-state {
  grid-column: 1 / -1;
  width: max-content;
  padding: 5px 7px;
  border-radius: 999px;
  color: #08784a;
  background: #dff7ed;
  font: 600 9px/1 "DM Mono", monospace;
}

.run-node-state-active {
  color: #165ea7;
  background: #e2effc;
}

.run-connector {
  position: relative;
  display: block;
  height: 2px;
  background: repeating-linear-gradient(90deg, #aab5c3 0 7px, transparent 7px 12px);
}

.run-connector i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--story-blue);
  box-shadow: 0 2px 6px rgba(38, 127, 211, .35);
  opacity: 0;
  animation: executionPacket 7.2s cubic-bezier(.22, .72, .2, 1) infinite;
  animation-delay: var(--packet-delay);
}

.execution-toolwindow {
  position: relative;
  z-index: 2;
  color: #d7e0eb;
  background: var(--story-ink);
}

.toolwindow-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.toolwindow-tabs span {
  padding: 9px 12px;
  color: #8290a3;
  font-size: 12px;
}

.toolwindow-tabs .is-active {
  color: #fff;
  border-radius: 9px;
  background: rgba(255, 255, 255, .09);
}

.toolwindow-tabs b {
  margin-left: 4px;
  color: #6fd2a5;
}

.toolwindow-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 182px;
}

.run-log {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.run-log p {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  margin: 0 0 12px;
  opacity: .28;
  font: 11px/1.45 "DM Mono", monospace;
  animation: logReveal 7.2s cubic-bezier(.22, .72, .2, 1) infinite;
  animation-delay: calc(var(--log-step) * .82s);
}

.run-log time { color: #647287; }
.run-log span { color: #c8d4e2; }

.run-metrics {
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0;
  padding: 20px;
}

.run-metrics div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.run-metrics dt {
  color: #7f8da0;
  font-size: 11px;
}

.run-metrics dd {
  margin: 0;
  color: #fff;
  font: 600 13px/1 "DM Mono", monospace;
}

.version-surface {
  background: #fff;
}

.version-file-icon {
  width: 20px;
  height: 24px;
  border: 1.5px solid var(--story-blue);
  border-radius: 5px;
  background: linear-gradient(135deg, transparent 0 55%, #e3f1ff 55% 100%);
}

.version-compare-badge {
  padding: 8px 11px;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  color: var(--story-ink);
  background: #f7f9fc;
  font: 600 11px/1 "DM Mono", monospace;
}

.version-compare-badge i {
  padding: 0 5px;
  color: var(--story-blue);
  font-style: normal;
}

.version-workbench {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 570px;
}

.version-rail {
  padding: 20px 16px;
  color: #d7e0eb;
  background: var(--story-ink);
}

.version-rail-title {
  margin-bottom: 18px;
  color: #6f7f93;
  font: 600 9px/1 "DM Mono", monospace;
  letter-spacing: .12em;
}

.version-entry {
  position: relative;
  padding: 13px 10px 14px 23px;
  border-left: 1px solid #334155;
  opacity: .62;
}

.version-entry.is-current {
  border-radius: 12px;
  border-left-color: var(--story-blue);
  opacity: 1;
  background: rgba(38, 127, 211, .12);
}

.version-dot {
  position: absolute;
  top: 17px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--story-ink);
  border-radius: 50%;
  background: #66758a;
}

.is-current .version-dot {
  background: #43a2ff;
  box-shadow: 0 0 0 4px rgba(67, 162, 255, .15);
}

.version-entry div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.version-entry strong {
  color: #fff;
  font: 600 12px/1 "DM Mono", monospace;
}

.version-entry small,
.version-entry p {
  color: #8190a3;
  font-size: 9px;
}

.version-entry p {
  margin: 8px 0 0;
  line-height: 1.35;
}

.version-main {
  min-width: 0;
  background: #f8fafc;
}

.version-stage {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  background-image: radial-gradient(circle, #d6dee8 1.1px, transparent 1.2px);
  background-size: 22px 22px;
}

.version-stage-caption {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-stage-caption span {
  color: var(--story-blue);
  font: 600 9px/1 "DM Mono", monospace;
  letter-spacing: .11em;
}

.version-stage-caption strong {
  color: var(--story-muted);
  font-size: 10px;
}

.version-edges {
  position: absolute;
  inset: 56px 3% 22px;
  width: 94%;
  height: calc(100% - 78px);
}

.version-edges path {
  fill: none;
  stroke: #aab6c5;
  stroke-width: 2;
  stroke-dasharray: 7 6;
  vector-effect: non-scaling-stroke;
}

.version-node {
  position: absolute;
  z-index: 2;
  width: 108px;
  padding: 12px;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 16px rgba(24, 39, 56, .08);
}

.version-node small,
.version-node strong {
  display: block;
}

.version-node small {
  color: var(--story-blue);
  font: 600 8px/1 "DM Mono", monospace;
}

.version-node strong {
  margin-top: 7px;
  overflow: hidden;
  color: var(--story-ink);
  font-size: 10px;
  text-overflow: ellipsis;
}

.version-node-source-a { top: 76px; left: 3%; }
.version-node-source-b { top: 210px; left: 3%; }
.version-node-join { top: 142px; left: 33%; border-color: rgba(114, 57, 234, .45); }
.version-node-filter { top: 142px; left: 58%; border-color: rgba(234, 179, 8, .5); }
.version-node-target { top: 142px; right: 3%; border-color: rgba(38, 127, 211, .45); }

.version-node-join small { color: var(--story-purple); }
.version-node-filter small { color: #a87000; }

.version-node.is-changed {
  box-shadow: 0 0 0 4px rgba(234, 179, 8, .12), 0 12px 24px rgba(24, 39, 56, .12);
  animation: changedNodePulse 4.8s cubic-bezier(.22, .72, .2, 1) infinite;
}

.version-change-tag {
  position: absolute;
  top: -10px;
  right: 8px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #725000;
  background: #fff0ba;
  font: 600 7px/1 "DM Mono", monospace;
  letter-spacing: .06em;
}

.version-scan {
  --scan-travel: min(35vw, 420px);
  position: absolute;
  top: 54px;
  bottom: 18px;
  left: 25%;
  z-index: 3;
  width: 1px;
  background: linear-gradient(transparent, rgba(38, 127, 211, .75), transparent);
  box-shadow: 12px 0 28px rgba(38, 127, 211, .16);
  animation: versionScan 6.4s cubic-bezier(.45, 0, .2, 1) infinite alternate;
  pointer-events: none;
}

.version-diff {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  min-height: 215px;
  color: #d7e0eb;
  background: var(--story-ink);
}

.version-diff-head {
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.version-diff-head span,
.version-diff-head small {
  display: block;
}

.version-diff-head span {
  color: #8da0b6;
  font: 600 9px/1 "DM Mono", monospace;
  letter-spacing: .1em;
}

.version-diff-head small {
  margin-top: 12px;
  color: #66758a;
  font-size: 10px;
  line-height: 1.5;
}

.version-code {
  display: grid;
  align-content: center;
  padding: 18px 22px;
  overflow: hidden;
  font: 10px/1.65 "DM Mono", monospace;
}

.version-code span {
  display: grid;
  grid-template-columns: 25px 18px minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  padding: 2px 8px;
  white-space: nowrap;
}

.version-code i {
  color: #506075;
  font-style: normal;
}

.version-code b {
  color: #8290a3;
  font-weight: 500;
}

.version-code .diff-context {
  color: #61acee;
}

.version-code .diff-removed {
  color: #ffb5ba;
  background: rgba(220, 70, 82, .13);
}

.version-code .diff-added {
  color: #91e0b8;
  background: rgba(18, 166, 106, .14);
}

.version-summary span {
  position: relative;
  padding-left: 32px;
}

.version-summary i {
  position: static;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.version-summary span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
}

.version-summary small {
  margin-top: 0;
  white-space: nowrap;
}

.summary-added { background: var(--story-green); }
.summary-changed { background: var(--story-yellow); }
.summary-removed { background: #d94d5c; }

@keyframes executionProgress {
  0% { transform: scaleX(0); opacity: .2; }
  78% { transform: scaleX(1); opacity: 1; }
  88%, 100% { transform: scaleX(1); opacity: 0; }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(.9); }
  50% { transform: scale(1.08); }
}

@keyframes runNodeFocus {
  0%, 12%, 100% { transform: translateY(0); }
  18% { transform: translateY(-3px); }
  25% { transform: translateY(0); }
}

@keyframes runNodeRing {
  0%, 10%, 30%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--node-color) 22%, transparent); }
  18% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--node-color) 13%, transparent); }
}

@keyframes executionPacket {
  0%, 8% { opacity: 0; transform: translateX(0) scale(.7); }
  12% { opacity: 1; }
  28% { opacity: 1; transform: translateX(38px) scale(1); }
  34%, 100% { opacity: 0; transform: translateX(38px) scale(.8); }
}

@keyframes logReveal {
  0%, 8% { opacity: .28; transform: translateY(3px); }
  15%, 72% { opacity: 1; transform: translateY(0); }
  88%, 100% { opacity: .28; transform: translateY(0); }
}

@keyframes changedNodePulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes versionScan {
  from { transform: translateX(0); opacity: .2; }
  18%, 82% { opacity: 1; }
  to { transform: translateX(var(--scan-travel)); opacity: .2; }
}

@keyframes executionPacketVertical {
  0%, 8% { opacity: 0; transform: translateY(0) scale(.7); }
  12% { opacity: 1; }
  28% { opacity: 1; transform: translateY(26px) scale(1); }
  34%, 100% { opacity: 0; transform: translateY(26px) scale(.8); }
}

@media (max-width: 1080px) {
  .product-section-execution,
  .product-section-version {
    min-height: auto;
    padding-block: 120px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .version-layout .version-surface { order: 2; }
  .version-layout .section-copy { order: 1; }
}

@media (max-width: 760px) {
  .product-section-execution,
  .product-section-version {
    padding-block: 88px;
  }

  .story-layout {
    gap: 48px;
  }

  .execution-surface,
  .version-surface {
    border-radius: 24px;
  }

  .execution-toolbar,
  .version-toolbar {
    min-height: 60px;
    padding-inline: 16px;
  }

  .execution-job-meta > span:last-child,
  .version-file small {
    display: none;
  }

  .execution-canvas {
    padding: 30px 22px;
  }

  .execution-flow {
    grid-template-columns: 1fr;
  }

  .run-connector {
    justify-self: center;
    width: 2px;
    height: 34px;
    background: repeating-linear-gradient(180deg, #aab5c3 0 7px, transparent 7px 12px);
  }

  .run-connector i {
    top: 0;
    left: -4px;
    animation-name: executionPacketVertical;
  }

  .toolwindow-content {
    grid-template-columns: 1fr;
  }

  .run-log {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .run-log p {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .run-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .run-metrics div {
    display: block;
  }

  .run-metrics dd {
    margin-top: 7px;
  }

  .version-workbench {
    grid-template-columns: 1fr;
  }

  .version-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(118px, 1fr));
    gap: 8px;
    overflow-x: auto;
  }

  .version-rail-title {
    display: none;
  }

  .version-entry {
    border-top: 1px solid #334155;
    border-left: 0;
  }

  .version-dot {
    top: -5px;
    left: 18px;
  }

  .version-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: auto;
    padding: 72px 18px 26px;
  }

  .version-stage-caption {
    right: 18px;
  }

  .version-edges,
  .version-scan {
    display: none;
  }

  .version-node {
    position: relative;
    inset: auto;
    width: auto;
  }

  .version-node-join,
  .version-node-filter,
  .version-node-target {
    grid-column: 1 / -1;
  }

  .version-diff {
    grid-template-columns: 1fr;
  }

  .version-diff-head {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .version-code {
    overflow-x: auto;
  }
}

@media (max-width: 460px) {
  .execution-facts span,
  .version-summary span {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .execution-toolbar-status time {
    display: none;
  }

  .run-log p {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .run-metrics {
    grid-template-columns: 1fr;
  }

  .version-compare-badge {
    font-size: 9px;
  }

  .version-stage-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .execution-progress,
  .execution-status-dot,
  .run-node,
  .run-node::before,
  .run-connector i,
  .run-log p,
  .version-node.is-changed,
  .version-scan {
    animation: none !important;
  }

  .execution-progress {
    transform: scaleX(1);
    opacity: 1;
  }

  .run-connector i,
  .run-log p {
    opacity: 1;
  }
}

/* Hawk application showcase primitives. Scoped to product surfaces. */
@font-face {
  font-family: "Hawk Font Awesome";
  src: url("./hawk-canvas/fa-solid-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

.hawk-product-ui {
  --hawk-primary: #1b84ff;
  --hawk-success: #17c653;
  --hawk-warning: #f6c000;
  --hawk-info: #7239ea;
  --hawk-danger: #f8285a;
  --hawk-gray-50: #f9f9f9;
  --hawk-gray-100: #f1f1f4;
  --hawk-gray-200: #dbdfe9;
  --hawk-gray-300: #b5b5c3;
  --hawk-gray-400: #7e8299;
  --hawk-gray-500: #5e6278;
  --hawk-gray-700: #181c32;
  --hawk-radius-sm: 6px;
  --hawk-radius: 10px;
  --hawk-radius-lg: 14px;
  --hawk-radius-xl: 18px;
  font-family: var(--font-brand);
}

.hawk-product-ui .surface-toolbar,
.hawk-product-ui.vc-canvas-shell .vc-commandbar,
.hawk-product-ui .execution-toolbar,
.hawk-product-ui .version-toolbar {
  border-color: var(--hawk-gray-200);
  background: rgba(255, 255, 255, .97);
}

.vc-sidebar-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--hawk-gray-200);
  background: var(--hawk-gray-50);
}

.vc-sidebar-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: var(--hawk-radius);
  background: transparent;
  color: var(--hawk-gray-400);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.vc-sidebar-tabs button.is-active {
  background: #fff;
  color: var(--hawk-primary);
  box-shadow: 0 3px 10px rgba(24, 28, 50, .08);
}

.hawk-product-ui .connection-item.is-active,
.hawk-product-ui .tree-row:hover,
.hawk-product-ui .tree-row.is-selected {
  border-color: rgba(27, 132, 255, .18);
  background: #eef6ff;
}

.hawk-product-ui [data-vc-tree-node="table"] { cursor: grab; }
.hawk-product-ui [data-vc-tree-node="table"]:active { cursor: grabbing; }

.vc-node-gallery .component-workspace {
  display: block;
  min-height: 0;
}

.vc-node-gallery .component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 18px;
  padding: 24px;
  border-right: 0;
  background-color: #f8fafc;
  background-image: radial-gradient(rgba(126, 130, 153, .22) 1px, transparent 1px);
  background-size: 20px 20px;
}

.vc-node-gallery .component-preview { display: none !important; }

.vc-node-gallery .component-chip {
  --node-color: var(--hawk-info);
  --node-wash: #f1eafe;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  overflow: visible;
  border: 1px solid var(--hawk-gray-200);
  border-radius: var(--hawk-radius-lg);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 7px 16px rgba(24, 28, 50, .08);
  text-align: left;
}

.vc-node-gallery .component-chip::before,
.vc-node-gallery .component-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--node-color);
  box-shadow: 0 1px 4px rgba(24, 28, 50, .2);
  transform: translateY(-50%);
}

.vc-node-gallery .component-chip::before { left: -6px; }
.vc-node-gallery .component-chip::after { right: -6px; }

.vc-node-gallery .component-chip:hover {
  border-color: color-mix(in srgb, var(--node-color) 45%, var(--hawk-gray-200));
  transform: translateY(-2px);
}

.vc-node-gallery .component-chip.is-active {
  border-color: var(--node-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--node-color) 12%, transparent), 0 9px 22px rgba(24, 28, 50, .12);
}

.vc-node-gallery .component-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--node-wash);
  color: var(--node-color);
  font-size: 17px;
}

.vc-node-gallery .component-icon::before {
  content: var(--fa);
  font-family: "Hawk Font Awesome";
  font-style: normal;
  font-weight: 900;
}

.vc-node-gallery .component-copy { min-width: 0; }

.vc-node-gallery .component-copy strong,
.vc-node-gallery .component-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vc-node-gallery .component-copy strong {
  color: var(--hawk-gray-700);
  font-size: 11px;
  font-weight: 600;
}

.vc-node-gallery .component-copy small {
  margin-top: 5px;
  color: var(--hawk-gray-400);
  font-family: var(--font-mono);
  font-size: 8px;
}

.vc-node-gallery .type-row { --node-color: #7239ea; --node-wash: #f1eafe; }
.vc-node-gallery .type-column { --node-color: #1b84ff; --node-wash: #eaf4ff; }
.vc-node-gallery .type-analytics { --node-color: #17c653; --node-wash: #e8f8f0; }
.vc-node-gallery .type-destination { --node-color: #485471; --node-wash: #edf0f5; }

.fa-filter { --fa: "\f0b0"; }
.fa-diagram-project { --fa: "\f542"; }
.fa-code-branch { --fa: "\f126"; }
.fa-object-group { --fa: "\f247"; }
.fa-list-check { --fa: "\f0ae"; }
.fa-arrow-down-wide-short { --fa: "\f160"; }
.fa-code { --fa: "\f121"; }
.fa-pencil { --fa: "\f303"; }
.fa-calculator { --fa: "\f1ec"; }
.fa-shuffle { --fa: "\f074"; }
.fa-wand-magic-sparkles { --fa: "\e2ca"; }
.fa-arrow-right-arrow-left { --fa: "\f0ec"; }
.fa-scissors { --fa: "\f0c4"; }
.fa-layer-group { --fa: "\f5fd"; }
.fa-ranking-star { --fa: "\e561"; }
.fa-arrows-left-right { --fa: "\f07e"; }
.fa-flag { --fa: "\f024"; }
.fa-recycle { --fa: "\f1b8"; }
.fa-download { --fa: "\f019"; }
.fa-right-left { --fa: "\f362"; }
.fa-eye { --fa: "\f06e"; }

.execution-progress {
  animation: none;
  transition: transform .28s ease;
}

.execution-surface .run-node,
.execution-surface .run-node::before,
.execution-surface .run-connector i,
.execution-surface .run-log p {
  animation: none;
}

.execution-surface [data-run-state="queued"] {
  opacity: .48;
  filter: saturate(.65);
}

.execution-surface [data-run-state="running"] {
  border-color: var(--hawk-primary);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(27, 132, 255, .12), 0 10px 24px rgba(24, 28, 50, .12);
}

.execution-surface [data-run-state="completed"] {
  border-color: rgba(23, 198, 83, .52);
  opacity: 1;
}

.execution-surface [data-run-state="queued"] .run-node-state {
  color: var(--hawk-gray-500);
  background: var(--hawk-gray-100);
}

.execution-surface [data-run-state="running"] .run-node-state {
  color: #056ee9;
  background: #eaf4ff;
}

.execution-surface [data-run-state="completed"] .run-node-state {
  color: #087d39;
  background: #e8f8f0;
}

.execution-surface [data-run-visible="false"] {
  opacity: .24;
  transform: translateY(3px);
}

.execution-surface [data-run-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}

.vc-replay-button {
  margin-left: auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--hawk-gray-200);
  border-radius: 999px;
  background: #fff;
  color: var(--hawk-gray-700);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.toolwindow-tabs button {
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #8290a3;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.toolwindow-tabs button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.hawk-tab-empty,
.hawk-sql-panel {
  grid-column: 1 / -1;
  margin: 0;
}

.hawk-tab-empty {
  display: grid;
  min-height: 182px;
  place-items: center;
  color: #7f8da0;
  font-size: 11px;
}

.hawk-sql-panel {
  min-height: 182px;
  padding: 20px;
  overflow: auto;
  color: #75b9f2;
  background: #101823;
  font: 10px/1.7 var(--font-mono);
}

.vc-compare-surface {
  --compare-position: 50%;
  touch-action: none;
}

.vc-compare-layer,
.vc-compare-clip {
  position: absolute;
  inset: 0;
}

.vc-compare-layer {
  z-index: 1;
  pointer-events: none;
}

.vc-compare-clip {
  right: auto;
  z-index: 2;
  width: var(--compare-position);
  overflow: hidden;
}

.vc-compare-layer-previous {
  background-color: #f8fafc;
  background-image: radial-gradient(circle, #d6dee8 1.1px, transparent 1.2px);
  background-size: 22px 22px;
}

.vc-compare-divider.version-scan {
  display: block;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 5;
  width: 2px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(24, 28, 50, .13), 0 0 18px rgba(24, 28, 50, .24);
  animation: none;
  transform: translateX(-1px);
}

.vc-compare-handle {
  position: absolute;
  top: 50%;
  left: var(--compare-position);
  z-index: 7;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(24, 28, 50, .82);
  color: #fff;
  box-shadow: 0 7px 20px rgba(24, 28, 50, .28);
  cursor: ew-resize;
  transform: translate(-50%, -50%);
  touch-action: none;
}

.vc-compare-handle[data-dragging="true"] { cursor: grabbing; }
.vc-compare-handle span { font-size: 19px; line-height: 1; }

.vc-compare-handle:focus-visible {
  outline: 3px solid rgba(27, 132, 255, .45);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .vc-node-gallery .component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vc-sidebar-tabs { padding-inline: 10px; }

  .vc-node-gallery .component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 15px;
    padding: 18px;
  }

  .vc-compare-surface.version-stage {
    display: block;
    min-height: 500px;
    padding: 0;
  }

  .vc-compare-surface .version-edges { display: none; }

  .vc-compare-surface .version-node {
    position: absolute;
    inset: auto;
    width: 112px;
    transform: none;
  }

  .vc-compare-surface .version-node-source-a {
    top: 74px;
    left: 14px;
    width: calc(50% - 22px);
  }

  .vc-compare-surface .version-node-source-b {
    top: 74px;
    right: 14px;
    left: auto;
    width: calc(50% - 22px);
  }

  .vc-compare-surface .version-node-join {
    top: 178px;
    left: 50%;
    transform: translateX(-50%);
  }

  .vc-compare-surface .version-node-filter {
    top: 282px;
    left: 50%;
    transform: translateX(-50%);
  }

  .vc-compare-surface .version-node-target {
    top: 386px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .vc-compare-divider.version-scan { display: block; }

  .vc-compare-handle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 460px) {
  .vc-node-gallery .component-grid { grid-template-columns: 1fr; }
  .vc-node-gallery .component-chip { min-height: 70px; }
  .vc-sidebar-tabs button { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .execution-progress,
  .execution-surface [data-run-visible] {
    transition: none;
  }
}
