/* Lead workflow "Try it" page: page frame (Matt's world), clinic form + reply (clinic world), run panel. */

:root {
  /* Matt's world */
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --tray: #ECE9E1;
  --ink: #16150F;
  --ink-2: #5B5850;
  --ink-3: #8C887E;
  --line: #DEDAD0;
  --edge: #CFCABD;
  --signal: #F04D1A;
  --signal-12: rgb(240 77 26 / .12);
  --ok: #1E7A4A;
  --warn: #B7791F;
  --err: #B42318;

  /* Clinic world (light only) */
  --c-bg: #F7F3EE;
  --c-surface: #FFFFFF;
  --c-blush: #EBDDD3;
  --c-text: #2B2420;
  --c-text-2: #6E625A;
  --c-line: #E3D9D0;
  --c-primary: #1F3B36;
  --c-primary-hover: #2B4D47;
  --c-primary-soft: #DCE6E2;
  --c-accent: #A8673F;

  /* Score badges */
  --hot-bg: #F3E3D8;  --hot-fg: #8A4F2C;
  --warm-bg: #F2EAD3; --warm-fg: #7A5B12;
  --cold-bg: #E6E8EA; --cold-fg: #4A535C;

  --sh-1: 0 1px 2px rgb(22 21 15 / .06);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --serif: "Newsreader", Georgia, serif;
  --c-sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E0C;
    --surface: #171714;
    --tray: #1F1F1B;
    --ink: #EEECE6;
    --ink-2: #A8A59C;
    --ink-3: #75726A;
    --line: #2C2B26;
    --edge: #3A3933;
    --signal: #FF6236;
    --signal-12: rgb(255 98 54 / .12);
    --ok: #3FB97A;
    --warn: #E0A23B;
    --err: #F0614F;
    --sh-1: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/26px var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms;
}
a:hover { color: var(--signal); }
svg { flex: none; }
svg[viewBox="0 0 24 24"] {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-2); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 8px; padding-bottom: 8px; }
.topbar .sep { color: var(--ink-3); }
.topbar a { color: var(--ink); }
.topbar a:hover { color: var(--signal); }
@media (max-width: 640px) { /* two clean lines on phone: no dangling "·" */
  .topbar .wrap > :nth-child(4) { display: none; }
  .topbar .wrap > :last-child { flex-basis: 100%; }
}

/* ---------- Intro ---------- */
.intro { padding-top: 64px; padding-bottom: 40px; }
.eyebrow {
  margin: 0 0 16px;
  font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
h1 {
  margin: 0; max-width: 21ch;
  font-weight: 600; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.025em;
}
.lede { margin: 16px 0 0; max-width: 62ch; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chip-mono {
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  font: 400 12px/16px var(--mono); color: var(--ink-2);
}

/* ---------- 5/7 layout ---------- */
.demo {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start;
  padding-bottom: 96px;
}
.demo-left { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.demo-right { grid-column: span 7; min-width: 0; }

/* ---------- Clinic form ---------- */
.clinic { font-family: var(--c-sans); color: var(--c-text); }
.c-card {
  margin: 0; padding: 24px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--sh-1);
}
.c-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.c-brand { margin: 0; font: 400 20px/22px var(--serif); letter-spacing: -.01em; }
.c-brand small {
  display: block; margin-top: 2px;
  font: 500 10.5px/14px var(--c-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-2);
}
.textbtn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 13px/20px var(--c-sans); color: var(--c-text);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: color 120ms;
}
.textbtn:hover { color: var(--c-accent); }
.textbtn:disabled { opacity: .5; cursor: default; }
.c-title { margin: 0 0 4px; font: 400 28px/34px var(--serif); letter-spacing: -.015em; }
.c-sub { margin: 0 0 20px; font-size: 14px; line-height: 20px; color: var(--c-text-2); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; transition: opacity 200ms; }
fieldset:disabled { opacity: .6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 13px; line-height: 18px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--c-text-2); }
.clinic input[type=text], .clinic input[type=email], .clinic input[type=tel], .clinic select, .clinic textarea {
  width: 100%; padding: 9px 12px;
  font: 400 15px/22px var(--c-sans); color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 6px;
  transition: border-color 120ms, box-shadow 120ms;
  -webkit-appearance: none; appearance: none;
}
.clinic input:focus, .clinic select:focus, .clinic textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft);
}
.clinic textarea { resize: vertical; min-height: 104px; }
.select { position: relative; display: block; }
.select select { padding-right: 36px; cursor: pointer; }
.select select:invalid { color: var(--c-text-2); }
.select svg { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; color: var(--c-text-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--c-text-2); cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--c-primary); flex: none; }
.c-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  font: 600 15px/20px var(--c-sans); color: #fff;
  background: var(--c-primary); border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 120ms;
}
.btn-primary:hover { background: var(--c-primary-hover); }
.btn-primary:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.btn-primary:disabled { cursor: default; background: var(--c-primary); }
.btn-spin {
  display: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .35); border-top-color: #fff;
  animation: spin 800ms linear infinite;
}
.btn-primary.is-busy .btn-spin { display: inline-block; }

/* ---------- Reply card ---------- */
.reply { opacity: 0; transform: translateY(12px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.reply.is-in { opacity: 1; transform: none; }
.reply[hidden] { display: none; }
.reply-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.reply-from { margin: 0; font: 500 18px/24px var(--serif); }
.reply-tag { font: 500 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-2); }
.reply-meta { margin: 2px 0 14px; font-size: 13px; line-height: 18px; color: var(--c-text-2); }
.reply-text { margin: 0; font-size: 16px; line-height: 26px; white-space: pre-line; min-height: 26px; }
.caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em;
  background: var(--c-text); animation: blink 1s steps(1) infinite;
}
.caret[hidden] { display: none; }
.r-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.r-chips:empty { display: none; }
.r-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font: 500 12px/16px var(--mono); color: var(--c-text);
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 6px;
  opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.r-chip svg { width: 14px; height: 14px; color: var(--c-primary); }
.r-chip.is-in { opacity: 1; transform: none; }
.r-chip--Hot  { background: var(--hot-bg);  color: var(--hot-fg);  border-color: transparent; }
.r-chip--Warm { background: var(--warm-bg); color: var(--warm-fg); border-color: transparent; }
.r-chip--Cold { background: var(--cold-bg); color: var(--cold-fg); border-color: transparent; }

/* ---------- Run panel ---------- */
.rp { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-1); overflow: hidden; }
.rp-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  min-height: 56px; padding: 10px 16px 10px 20px; border-bottom: 1px solid var(--line);
}
.rp-id { font: 500 13px/20px var(--mono); }
.rp-time { font: 400 13px/20px var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dotsep { color: var(--ink-3); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 3px 10px 3px 8px;
  font: 500 12px/16px var(--mono); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
}
.pill .pdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill svg { width: 12px; height: 12px; stroke-width: 2; }
.pill[data-s=running] { color: var(--ink); border-color: var(--signal); }
.pill[data-s=running] .pdot { background: var(--signal); animation: pulse 1.2s var(--ease-io) infinite; }
.pill[data-s=ok] { color: var(--ok); border-color: currentColor; }
.pill[data-s=failed] { color: var(--err); border-color: currentColor; }
.rp-head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mode {
  padding: 3px 8px; border: 1px dashed var(--edge); border-radius: 6px;
  font: 500 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.mode[data-mode=live] { border-style: solid; border-color: var(--ink); color: var(--ink); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  font: 500 13px/18px var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
  transition: border-color 120ms;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost svg { width: 14px; height: 14px; }
.btn-ghost[hidden] { display: none; }

.rp-note {
  display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 20px;
  font-size: 14px; line-height: 20px; color: var(--ink-2); border-bottom: 1px solid var(--line);
}
.rp-note[hidden] { display: none; }
.rp-note .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--ink-3); }
.rp-note[data-kind=busy] .ico { color: var(--warn); }
.rp-note[data-kind=error] .ico { color: var(--err); }

/* Canvas */
.canvas {
  position: relative; padding: 32px 24px 36px;
  background: var(--tray) radial-gradient(var(--line) 1px, transparent 1px) 0 0 / 16px 16px;
}
.edges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.edge-base { fill: none; stroke: var(--edge); stroke-width: 1.5; }
.edge-over { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; transition: stroke 200ms, opacity 200ms; }
.edge-over.is-drawing { opacity: 1; transition: none; }
.edge-over.is-done { stroke: var(--ok); opacity: .4; }
.edge-dot { fill: var(--signal); opacity: 0; }
.edge-dot.is-on { opacity: 1; }

.chain { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; }

/* Node */
.node {
  position: relative; width: 280px; max-width: 100%; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 200ms, box-shadow 200ms;
}
.node-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.node-icon {
  position: relative; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 6px; background: var(--tray); color: var(--ink-3); transition: color 200ms;
}
.node-icon > svg { width: 16px; height: 16px; transition: opacity 120ms; }
.spinner {
  position: absolute; left: 7px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--line); border-top-color: var(--signal);
  opacity: 0; animation: spin 800ms linear infinite;
}
.node-meta { min-width: 0; }
.node-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px;
  font: 500 10.5px/14px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.node-tag { padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.node-name {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 600 14px/20px var(--sans); color: var(--ink-3); transition: color 200ms;
}
.node-status { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.node-mark { width: 16px; height: 16px; }
.mk { display: none; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; }
.mk svg { width: 10px; height: 10px; stroke-width: 2.5; }
.mk-ok { background: var(--ok); }
.mk-err { background: var(--err); }
.node-dur { min-width: 46px; text-align: right; font: 400 12px/16px var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }

.node-out { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.node-out > div { min-height: 0; overflow: hidden; }
.out-line {
  display: flex; gap: 8px; align-items: baseline; margin: 8px 0 0; padding-top: 8px;
  border-top: 1px dashed var(--line);
  font: 400 12px/16px var(--mono); color: var(--ink-2);
  opacity: 0; transition: opacity 200ms 60ms;
}
.out-k { color: var(--ink-3); }
.out-text { min-width: 0; flex: 1; }
.shimmer {
  display: block; height: 8px; margin-top: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--tray) 0%, var(--line) 50%, var(--tray) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

.node.is-open .node-out { grid-template-rows: 1fr; }
.node.is-open .out-line { opacity: 1; }

.node[data-state=running] {
  border-color: var(--signal);
  box-shadow: 0 0 0 .5px var(--signal), 0 0 0 4px var(--signal-12);
}
.node[data-state=running] .node-icon > svg { opacity: 0; }
.node[data-state=running] .spinner { opacity: 1; }
.node[data-state=running] .node-name,
.node[data-state=done] .node-name,
.node[data-state=failed] .node-name { color: var(--ink); }
.node[data-state=running] .node-dur { color: var(--ink); }
.node[data-state=done] .node-icon,
.node[data-state=done] .node-dur { color: var(--ink-2); }
.node[data-state=done] .mk-ok { display: grid; animation: pop 240ms var(--ease-back); }
.node[data-state=failed] { border-color: var(--err); }
.node[data-state=failed] .mk-err { display: grid; animation: pop 240ms var(--ease-back); }
.node[data-state=failed] .node-icon { color: var(--err); }
.node[data-state=failed] .out-text { color: var(--warn); }
.node[data-state=skipped] { border-style: dashed; }

/* Waterfall */
.wf { padding: 16px 20px 18px; border-top: 1px solid var(--line); }
.wf[hidden] { display: none; }
.wf-head {
  display: flex; justify-content: space-between; gap: 12px;
  font: 500 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.wf-grid {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 64px; column-gap: 12px; row-gap: 6px;
  align-items: center; margin-top: 12px;
}
.wf-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12px/16px var(--mono); color: var(--ink-2); }
.wf-track { position: relative; height: 10px; }
.wf-bar {
  position: absolute; top: 1px; height: 8px; min-width: 2px; width: 0; border-radius: 2px;
  background: var(--ink); transition: width 400ms var(--ease-out);
}
.wf-bar.is-skipped { background: var(--ink-3); }
.wf-ms { text-align: right; font: 400 12px/16px var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wf-axis { grid-column: 2; position: relative; height: 18px; margin-top: 2px; border-top: 1px solid var(--line); }
.wf-tick { position: absolute; top: 3px; transform: translateX(-50%); font: 400 11px/14px var(--mono); color: var(--ink-3); white-space: nowrap; }
.wf-tick:first-child { transform: none; }
.wf-tick:last-child { transform: translateX(-100%); }

/* ---------- What just happened ---------- */
.explain { padding-bottom: 128px; }
.explain h2 { margin: 0 0 24px; font-weight: 600; font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
.steps-list { margin: 0; max-width: 880px; }
.steps-list > div {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.steps-list > div:last-child { border-bottom: 1px solid var(--line); }
.steps-list dt { font: 500 13px/26px var(--mono); color: var(--ink); }
.steps-list dd { margin: 0; color: var(--ink-2); }
.sop { margin: 24px 0 0; color: var(--ink-2); }
.sop a { color: var(--ink); }
.sop a:hover { color: var(--signal); }

/* ---------- Footer: links to the other demos ---------- */
.more { border-top: 1px solid var(--line); }
.more-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding-top: 24px; padding-bottom: 32px; }
.more-label { font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.more a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line); transition: color 120ms; }
.more a:hover { color: var(--signal); text-decoration-color: currentColor; }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.6); } to { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-left, .demo-right { grid-column: auto; }
  .demo-left { max-width: 640px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .intro { padding-top: 40px; padding-bottom: 32px; }
  .demo { padding-bottom: 64px; }
  .explain { padding-bottom: 64px; }
  .c-card { padding: 20px; }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .canvas { padding: 24px 12px 28px; }
  .rp-head { padding-left: 16px; }
  .rp-note { padding: 10px 16px; }
  .wf { padding: 14px 16px 16px; }
  .wf-grid { grid-template-columns: 76px minmax(0, 1fr) 56px; column-gap: 8px; }
  .steps-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Loop mode (S4: the portfolio home's demo tray) ----------
   Additive: every rule matches only .rp[data-mode="loop"], so the Try-it page is unchanged. Compact spacing, no
   note, waterfall or "Run again", and each node's output line keeps its space from the start, so the panel's
   height never changes while the recorded run loops. */
.rp[data-mode="loop"] .rp-note,
.rp[data-mode="loop"] .wf,
.rp[data-mode="loop"] .btn-ghost { display: none; }
.rp[data-mode="loop"] .rp-head { min-height: 48px; padding: 8px 14px 8px 16px; }
/* Six nodes in one column (it was five rows): tighter gaps and node padding, a slightly wider node so "Scheduled · runs
   after the reply" stays on one line, and the tray ends up the same height it was (610 px canvas at desktop width). */
.rp[data-mode="loop"] .canvas { padding: 24px 16px 27px; }
.rp[data-mode="loop"] .chain { gap: 15px; }
.rp[data-mode="loop"] .node { width: 300px; padding: 6px 12px; }
.rp[data-mode="loop"] .node-out { grid-template-rows: 1fr; transition: none; }
.rp[data-mode="loop"] .out-line { margin-top: 6px; padding-top: 6px; }
/* A line that wraps once filled ("82 · Hot · intent: …") gets its second line up front. */
.rp[data-mode="loop"] .node[data-id="ai_scoring"] .out-text { min-height: 32px; }
@media (max-width: 640px) {
  .rp[data-mode="loop"] .rp-head { padding-left: 12px; padding-right: 10px; }
  .rp[data-mode="loop"] .canvas { padding: 20px 10px 23px; }
  .rp[data-mode="loop"] .chain { gap: 19px; }
  .rp[data-mode="loop"] .node[data-id="follow_up"] .out-text { min-height: 32px; } /* narrow phones wrap it */
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .spinner, .btn-spin, .pill[data-s=running] .pdot, .shimmer, .caret { animation: none; }
  .node[data-state=done] .mk-ok, .node[data-state=failed] .mk-err { animation: none; }
  .node { transition: border-color 120ms, box-shadow 120ms; }
  .node-out { transition: none; }
  .out-line { transition: opacity 120ms; }
  .reply, .r-chip { transform: none; transition: opacity 120ms; }
  .wf-bar { transition: none; }
  .edge-over { transition: stroke 120ms, opacity 120ms; }
}
