:root {
  --job-ink: #101722;
  --job-text: #354052;
  --job-muted: #6b7585;
  --job-line: rgba(22, 35, 53, .1);
  --job-blue: #2478cf;
  --job-blue-soft: #e9f3fb;
  --job-paper: #f5f6f4;
  --job-card: #fff;
  --job-green: #169b70;
  --job-yellow: #e5b917;
  --job-purple: #7650d8;
  --job-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page-etl-job-canvas {
  margin: 0;
  overflow-x: clip;
  background: var(--job-paper);
  color: var(--job-ink);
  font-family: var(--font-brand);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.page-etl-job-canvas button,
.page-etl-job-canvas input { font: inherit; }
.page-etl-job-canvas button:focus-visible,
.page-etl-job-canvas a:focus-visible {
  outline: 2px solid var(--job-blue);
  outline-offset: 3px;
}
.page-etl-job-canvas .site-nav,
.page-etl-job-canvas .site-nav *,
.page-etl-job-canvas .site-footer,
.page-etl-job-canvas .site-footer * { font-family: var(--font-brand); }
.page-etl-job-canvas [hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.job-ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.job-ambient::before,
.job-ambient::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  filter: blur(78px);
}
.job-ambient::before {
  top: -280px;
  left: -180px;
  background: radial-gradient(circle, rgba(69, 151, 222, .2), transparent 67%);
}
.job-ambient::after {
  top: 36%;
  right: -310px;
  background: radial-gradient(circle, rgba(54, 181, 158, .12), transparent 68%);
}
.job-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}
.job-hero {
  padding: 156px 0 118px;
  text-align: center;
}
.job-eyebrow {
  margin: 0;
  color: var(--job-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.4;
}
.job-hero h1 {
  max-width: 940px;
  margin: 20px auto 0;
  font-size: clamp(50px, 6.2vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.job-hero-copy {
  max-width: 700px;
  margin: 26px auto 0;
  color: var(--job-text);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.72;
}
.job-builder {
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid rgba(26, 43, 64, .11);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(26, 43, 64, .13);
  text-align: left;
}
.job-builder-bar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--job-line);
  background: rgba(252, 252, 251, .96);
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8dce2; }
.window-dots i:first-child { background: #f26d63; }
.window-dots i:nth-child(2) { background: #f2c14e; }
.window-dots i:last-child { background: #5fc26d; }
.build-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.build-btn {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--job-line);
  border-radius: 999px;
  background: #fff;
  color: var(--job-ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.build-btn:hover { transform: translateY(-1px); border-color: rgba(36, 120, 207, .3); }
.build-btn[aria-pressed="true"] { border-color: var(--job-ink); background: var(--job-ink); color: #fff; }
.job-canvas-wrap { position: relative; background: #fbfcfd; }
.hawk-canvas-stage {
  width: 100%;
  height: 520px;
  touch-action: manipulation;
  background: #fbfcfd;
}
.hawk-canvas-stage canvas { display: block; }
.canvas-fallback {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--job-muted);
  font-size: 14px;
}

.product-section {
  position: relative;
  z-index: 1;
  padding: 122px 0;
  border-top: 1px solid rgba(26, 43, 64, .06);
}
.product-section:nth-of-type(odd) { background: rgba(255, 255, 255, .52); }
.product-section-ink {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(55, 135, 206, .22), transparent 33%),
    linear-gradient(145deg, #101722, #172231);
  color: #fff;
}
.product-section-output { background: linear-gradient(180deg, rgba(233, 241, 248, .56), rgba(255, 255, 255, .72)); }
.section-layout {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(560px, 1.24fr);
  align-items: center;
  gap: clamp(58px, 7vw, 112px);
}
.section-layout-reverse { grid-template-columns: minmax(560px, 1.24fr) minmax(280px, .76fr); }
.section-layout-reverse .section-copy { order: 2; }
.section-layout-reverse .product-surface { order: 1; }
.section-copy { max-width: 510px; }
.section-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 4.25vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.037em;
}
.section-copy > p:last-child {
  margin: 24px 0 0;
  color: var(--job-muted);
  font-size: 17px;
  line-height: 1.7;
}
.product-section-ink .section-copy > p:last-child { color: rgba(255, 255, 255, .68); }
.product-section-ink .job-eyebrow { color: #83b8e9; }
.product-surface {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(26, 43, 64, .11);
  border-radius: var(--job-radius);
  background: #fff;
  color: var(--job-ink);
  box-shadow: 0 24px 68px rgba(22, 35, 53, .1);
  transform: translateY(8px);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.product-surface.is-visible { transform: translateY(0); }
.product-surface:hover { box-shadow: 0 30px 82px rgba(22, 35, 53, .14); }
.surface-toolbar {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--job-line);
  background: #fbfcfd;
}
.surface-toolbar > div { display: flex; flex-direction: column; gap: 4px; }
.surface-toolbar strong { font-size: 15px; font-weight: 600; }
.surface-kicker {
  color: #8190a2;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
}
.surface-icon-button,
.compare-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--job-line);
  border-radius: 10px;
  background: #fff;
  color: var(--job-text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.surface-icon-button { width: 38px; padding: 0; font-size: 18px; }
.surface-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--job-line);
  color: var(--job-muted);
  font-size: 11px;
}
.surface-status strong { margin-left: auto; color: var(--job-text); }
.status-dot, .live-dot, .run-state-dot, .save-state i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22b785;
  box-shadow: 0 0 0 4px rgba(34, 183, 133, .1);
}

.source-workspace { display: grid; min-height: 440px; grid-template-columns: 230px 1fr; }
.source-surface .vc-section-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.connection-list { padding: 14px; border-right: 1px solid var(--job-line); background: #f7f9fb; }
.connection-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--job-ink);
  cursor: pointer;
  text-align: left;
}
.connection-item + .connection-item { margin-top: 6px; }
.connection-item.is-active { border-color: rgba(36, 120, 207, .16); background: #fff; box-shadow: 0 5px 18px rgba(30, 72, 112, .07); }
.connection-item > span:last-child { min-width: 0; }
.connection-item strong, .connection-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.connection-item strong { font-size: 11px; }
.connection-item small { margin-top: 4px; color: var(--job-muted); font-size: 9px; }
.db-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #ddecf7;
  color: #25648d;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}
.db-mark.crm { background: #e7e5f8; color: #6652b2; }
.schema-panel { padding: 18px 20px 24px; }
.tree-row {
  display: grid;
  width: 100%;
  min-height: 42px;
  grid-template-columns: 20px 26px 1fr auto;
  align-items: center;
  padding: 6px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--job-text);
  cursor: pointer;
  text-align: left;
}
.tree-row:hover, .tree-row.is-selected { background: var(--job-blue-soft); }
.tree-row strong { font-size: 12px; font-weight: 600; }
.tree-row small { color: var(--job-muted); font-size: 10px; }
.tree-chevron { color: #7d8da0; font-size: 14px; }
.tree-icon { color: #7e8ba0; font-size: 15px; }
.tree-icon.blue { color: var(--job-blue); }
.tree-indent { width: 20px; }
.tree-branch.is-collapsed { display: none; }
.column-list { margin: 4px 0 12px 56px; border-left: 1px solid #dce2e9; }
.column-list > div {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  min-height: 35px;
  padding: 5px 8px 5px 12px;
  color: var(--job-text);
}
.column-list strong { font-family: var(--font-mono); font-size: 10px; font-weight: 500; }
.column-list small { color: #8a95a4; font-family: var(--font-mono); font-size: 9px; }
.column-key { color: #d89b14; font-family: var(--font-mono); font-size: 8px; }

.components-surface { min-height: 520px; }
.surface-count {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--job-blue-soft);
  color: var(--job-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.component-workspace { display: grid; min-height: 445px; grid-template-columns: 1.12fr .88fr; }
.component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-right: 1px solid var(--job-line);
  background: #f8fafc;
}
.component-chip {
  --type-color: #7650d8;
  --type-wash: #eee8ff;
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
  color: var(--job-ink);
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.component-chip:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(22, 35, 53, .09); }
.component-chip.is-active { border-color: color-mix(in srgb, var(--type-color) 44%, transparent); box-shadow: 0 10px 28px color-mix(in srgb, var(--type-color) 13%, transparent); }
.component-chip strong { font-size: 11px; font-weight: 600; }
.component-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--type-wash);
  color: var(--type-color);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}
.type-filter { --type-color: #c69b09; --type-wash: #fff5c9; }
.type-rename { --type-color: #2478cf; --type-wash: #e4f1fc; }
.type-calc { --type-color: #19a765; --type-wash: #dcf7e9; }
.type-map { --type-color: #d35772; --type-wash: #fde6eb; }
.type-aggregate { --type-color: #2b94a6; --type-wash: #dff4f6; }
.component-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background-image: radial-gradient(rgba(34, 57, 80, .14) 1px, transparent 1px);
  background-size: 20px 20px;
}
.preview-label {
  margin-bottom: 28px;
  color: #8995a5;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .15em;
}
.component-preview-node {
  --type-color: #7650d8;
  --type-wash: #eee8ff;
  position: relative;
  display: flex;
  width: 154px;
  min-height: 168px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 2px solid var(--type-color);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 15px 30px color-mix(in srgb, var(--type-color) 17%, transparent);
}
.component-preview-node.type-filter { --type-color: #d0a709; --type-wash: #fff5c9; }
.component-preview-node.type-rename { --type-color: #2478cf; --type-wash: #e4f1fc; }
.component-preview-node.type-calc { --type-color: #19a765; --type-wash: #dcf7e9; }
.component-preview-node.type-map { --type-color: #d35772; --type-wash: #fde6eb; }
.component-preview-node.type-aggregate { --type-color: #2b94a6; --type-wash: #dff4f6; }
.preview-node-badge {
  position: absolute;
  top: -9px;
  left: -9px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--job-ink);
  color: #fff;
  font-size: 10px;
}
.preview-node-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 18px;
  background: var(--type-wash);
  color: var(--type-color);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
}
.component-preview-node strong { margin-top: 13px; font-size: 12px; }
.component-preview-node small { margin-top: 4px; color: var(--job-muted); font-size: 9px; }
.component-preview p { display: flex; gap: 9px; margin: 22px 0 0; color: var(--job-muted); font-size: 10px; }
.component-preview p strong { color: var(--job-ink); }

.settings-surface { min-height: 542px; }
.save-state { display: flex; align-items: center; gap: 8px; color: var(--job-green); font-size: 11px; font-weight: 600; }
.inspector-tabs, .workbench-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--job-line);
  background: #f8fafc;
}
.inspector-tabs button, .workbench-tabs button {
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--job-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}
.inspector-tabs button.is-active, .workbench-tabs button.is-active { background: #fff; color: var(--job-blue); box-shadow: 0 4px 14px rgba(22, 35, 53, .08); }
.settings-panel { padding: 22px; }
.settings-heading { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; margin-bottom: 20px; }
.settings-heading > div strong, .settings-heading > div small { display: block; }
.settings-heading > div strong { font-size: 13px; }
.settings-heading > div small { margin-top: 3px; color: var(--job-muted); font-size: 10px; }
.settings-node-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; font-size: 20px; font-weight: 600; }
.settings-node-icon.filter { background: #fff5c9; color: #c69b09; }
.settings-node-icon.join { background: #eee8ff; color: #7650d8; }
.node-state { padding: 6px 8px; border-radius: 999px; background: #e3f7ee; color: var(--job-green); font-family: var(--font-mono); font-size: 8px; font-weight: 600; }
.settings-panel label > span { display: block; margin-bottom: 7px; color: var(--job-muted); font-size: 10px; font-weight: 600; }
.settings-panel label button, .settings-panel label input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--job-line);
  border-radius: 10px;
  background: #fff;
  color: var(--job-text);
  text-align: left;
  font-size: 11px;
}
.settings-panel label button { display: flex; justify-content: space-between; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.condition-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 11px;
  border-radius: 10px;
  background: #f5f8fb;
}
.condition-row > span { padding: 5px 7px; border-radius: 6px; background: #e8edf3; color: var(--job-muted); font-family: var(--font-mono); font-size: 8px; }
.condition-row p { margin: 0; color: var(--job-text); font-size: 10px; }
.condition-row button { border: 0; background: transparent; color: #9aa4b2; cursor: pointer; }
.add-condition { margin-top: 14px; border: 0; background: transparent; color: var(--job-blue); cursor: pointer; font-size: 10px; font-weight: 600; }
.join-condition { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; margin-top: 18px; }
.join-condition > div { padding: 13px; border: 1px solid var(--job-line); border-radius: 10px; background: #f8fafc; }
.join-condition small, .join-condition strong { display: block; }
.join-condition small { color: var(--job-muted); font-size: 9px; }
.join-condition strong { margin-top: 5px; font-family: var(--font-mono); font-size: 10px; }
.join-condition > span { text-align: center; color: var(--job-purple); font-weight: 700; }
.settings-summary { display: grid; grid-template-columns: 1fr auto; gap: 5px; margin-top: 16px; padding: 13px; border-radius: 10px; background: #eef7ff; font-size: 10px; }
.settings-summary small { grid-column: 1 / -1; color: var(--job-muted); }

.workbench-surface { min-height: 520px; }
.workbench-head, .run-commandbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--job-line);
  background: #fbfcfd;
}
.workbench-head > div, .run-commandbar > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 9px; }
.workbench-head strong, .run-commandbar strong { font-size: 12px; }
.workbench-head small, .run-commandbar small { grid-column: 2; color: var(--job-muted); font-size: 9px; }
.workbench-head button, .run-commandbar button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--job-line);
  border-radius: 10px;
  background: #fff;
  color: var(--job-text);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}
.workbench-panel { min-height: 365px; }
.table-scroll { overflow-x: auto; }
.workbench-panel table { width: 100%; min-width: 680px; border-collapse: collapse; font-family: var(--font-mono); }
.workbench-panel th, .workbench-panel td { height: 54px; padding: 10px 13px; border-bottom: 1px solid var(--job-line); text-align: left; font-size: 9px; white-space: nowrap; }
.workbench-panel th { height: 46px; background: #f8fafc; color: #7d8998; font-weight: 600; }
.table-status { padding: 5px 7px; border-radius: 999px; background: #e2f7ed; color: var(--job-green); font-size: 8px; font-weight: 600; }
.table-footer { display: flex; justify-content: space-between; padding: 12px 14px; color: var(--job-muted); font-size: 9px; }
.sql-panel { padding: 21px; background: #111923; color: #d9e3ef; }
.code-lines { display: grid; grid-template-columns: 26px 1fr; row-gap: 7px; font-family: var(--font-mono); font-size: 10px; line-height: 1.6; }
.code-lines span:nth-child(odd) { color: #59687b; text-align: right; }
.code-lines span:nth-child(even) { padding-left: 12px; color: #dce7f3; }
.code-lines span:nth-child(2), .code-lines span:nth-child(8), .code-lines span:nth-child(10), .code-lines span:nth-child(14) { color: #75b9f2; }

.history-surface { min-height: 525px; }
.history-workspace { display: grid; min-height: 450px; grid-template-columns: .92fr 1.08fr; }
.version-list { padding: 15px; border-right: 1px solid var(--job-line); background: #f8fafc; }
.version-item {
  display: grid;
  width: 100%;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 14px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--job-text);
  cursor: pointer;
  text-align: left;
}
.version-item + .version-item { margin-top: 7px; }
.version-item.is-active { border-color: rgba(36, 120, 207, .17); background: #fff; box-shadow: 0 7px 20px rgba(22, 35, 53, .07); }
.version-dot { width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #aeb7c3; box-shadow: 0 0 0 1px #aeb7c3; }
.version-item.is-active .version-dot { background: var(--job-blue); box-shadow: 0 0 0 1px var(--job-blue); }
.version-item strong, .version-item small { display: block; }
.version-item strong { font-family: var(--font-mono); font-size: 11px; }
.version-item small { margin-top: 4px; color: var(--job-muted); font-size: 9px; }
.version-item time { color: #8d98a6; font-size: 9px; }
.version-detail { padding: 28px; }
.version-preview-head { display: flex; align-items: center; justify-content: space-between; }
.version-preview-head > span:first-child { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.version-current { padding: 5px 7px; border-radius: 999px; background: var(--job-blue-soft); color: var(--job-blue); font-family: var(--font-mono); font-size: 8px; font-weight: 600; }
.version-detail h3 { margin: 42px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.version-detail > p { margin: 8px 0 0; color: var(--job-muted); font-size: 11px; }
.version-change { margin-top: 25px; padding: 15px; border-radius: 12px; background: #f5f8fb; }
.version-change small, .version-change code { display: block; }
.version-change small { color: #8793a2; font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; }
.version-change code { margin-top: 10px; color: var(--job-green); font-family: var(--font-mono); font-size: 10px; }
.version-actions { display: flex; gap: 8px; margin-top: 25px; }
.version-actions button { min-height: 38px; padding: 9px 12px; border: 1px solid var(--job-line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 10px; font-weight: 600; }
.version-actions .restore-button { border-color: var(--job-ink); background: var(--job-ink); color: #fff; }

.output-surface { min-height: 500px; }
.run-commandbar button { border-color: var(--job-blue); background: var(--job-blue); color: #fff; }
.run-commandbar.is-running .run-state-dot { background: #2c91e8; animation: runPulse 1s ease infinite; }
.run-commandbar.is-complete .run-state-dot { background: var(--job-green); }
.output-tabs button span { margin-left: 4px; padding: 2px 5px; border-radius: 999px; background: #e9eef4; font-size: 8px; }
.console-panel { min-height: 340px; padding: 18px; background: #fff; }
.console-summary { display: flex; justify-content: space-between; padding: 6px 4px 15px; }
.console-summary strong { font-size: 12px; }
.console-summary span { color: #8793a2; font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; }
.log-row { display: grid; grid-template-columns: 66px 22px 1fr; align-items: center; gap: 6px; min-height: 55px; padding: 8px 4px; border-top: 1px solid var(--job-line); }
.log-row time, .log-row p, .log-row code { font-family: var(--font-mono); font-size: 9px; }
.log-row time { color: #8994a3; }
.log-row p { margin: 0; color: var(--job-text); }
.log-row code { color: var(--job-blue); }
.log-arrow { color: var(--job-blue); }
.log-check { color: var(--job-green); }
.empty-console { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-console > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: #e2f7ed; color: var(--job-green); font-size: 20px; }
.empty-console strong { margin-top: 14px; font-size: 13px; }
.empty-console p { max-width: 360px; margin: 7px 0 0; color: var(--job-muted); font-size: 10px; line-height: 1.6; }
.run-history-row { display: grid; grid-template-columns: 28px 55px 1fr auto; align-items: center; min-height: 68px; border-bottom: 1px solid var(--job-line); font-size: 10px; }
.run-history-row small { color: var(--job-muted); }
.history-success { color: var(--job-green); }
.history-muted { color: #9ca7b5; }

.next-section { padding: 132px 0 150px; text-align: center; }
.next-section h2 { max-width: 940px; margin: 18px auto 0; font-size: clamp(38px, 5vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.next-section h2:first-child { margin-top: 0; }
.next-section > p:not(.job-eyebrow) { max-width: 560px; margin: 22px auto 0; color: var(--job-muted); font-size: 16px; line-height: 1.7; }
.next-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.job-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; background: var(--job-ink); color: #fff; font-size: 13px; font-weight: 600; }
.job-cta-secondary { border: 1px solid var(--job-line); background: #fff; color: var(--job-ink); }

@keyframes runPulse { 50% { box-shadow: 0 0 0 7px rgba(44, 145, 232, 0); } }

@media (max-width: 980px) {
  .job-shell { width: min(100% - 40px, 760px); }
  .section-layout, .section-layout-reverse { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .section-layout-reverse .section-copy, .section-layout-reverse .product-surface { order: initial; }
  .section-copy { max-width: 640px; }
  .product-section { padding: 96px 0; }
  .hawk-canvas-stage { height: 470px; }
}

@media (max-width: 640px) {
  .job-shell { width: calc(100% - 32px); }
  .job-hero { padding: 126px 0 82px; }
  .job-hero h1 { font-size: clamp(44px, 13vw, 58px); line-height: 1.02; }
  .job-hero-copy { font-size: 15px; line-height: 1.68; }
  .job-builder { margin-top: 38px; border-radius: 20px; }
  .job-builder-bar { min-height: auto; flex-direction: column; align-items: flex-start; padding: 13px; }
  .build-actions { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .build-btn { min-width: 0; min-height: 38px; padding: 8px 5px; font-size: 10px; }
  .hawk-canvas-stage { height: 390px; }
  .product-section { padding: 78px 0; }
  .section-copy h2 { font-size: clamp(34px, 10vw, 44px); }
  .section-copy > p:last-child { margin-top: 18px; font-size: 15px; }
  .product-surface { border-radius: 17px; }
  .source-workspace, .component-workspace, .history-workspace { grid-template-columns: minmax(0, 1fr); }
  .connection-list { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--job-line); }
  .connection-item + .connection-item { margin: 0; }
  .connection-item { min-width: 0; padding: 8px; }
  .db-mark { width: 30px; height: 30px; }
  .source-workspace { min-height: 0; }
  .schema-panel { padding: 14px 12px 18px; }
  .column-list { margin-left: 38px; }
  .component-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--job-line); padding: 14px; }
  .component-chip { min-height: 72px; padding: 8px; }
  .component-icon { width: 34px; height: 34px; }
  .component-preview { min-height: 310px; }
  .settings-panel { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .join-condition { grid-template-columns: 1fr; gap: 7px; }
  .join-condition > span { transform: rotate(90deg); }
  .version-list { border-right: 0; border-bottom: 1px solid var(--job-line); }
  .version-detail { padding: 22px; }
  .version-detail h3 { margin-top: 28px; }
  .version-actions { flex-direction: column; }
  .version-actions button { width: 100%; }
  .workbench-head, .run-commandbar { align-items: flex-start; }
  .workbench-head > button, .run-commandbar > button { flex: 0 0 auto; }
  .workbench-panel { min-height: 330px; }
  .run-history-row { grid-template-columns: 24px 48px 1fr; }
  .run-history-row small { grid-column: 3; margin-top: -17px; }
  .log-row { grid-template-columns: 58px 18px 1fr; }
  .next-section { padding: 100px 0 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .product-surface { transform: none; }
}

.page-etl-job-canvas .source-surface .vc-section-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
