/* ============================================================
   Agentic protocol authoring — scripted chat demo
   Self-contained: uses only tokens already defined in style.css.
   ============================================================ */

.cd-demo {
  --cd-well-buffer: rgba(255,255,255,0.05);
  --cd-well-vehicle: rgba(194,200,222,0.5);
  --cd-well-positive: var(--c-rose);
  --cd-well-untreated: rgba(255,255,255,0.14);
  --cd-well-drug-1: rgba(47,224,201,0.28);
  --cd-well-drug-2: rgba(47,224,201,0.5);
  --cd-well-drug-3: rgba(47,224,201,0.75);
  --cd-well-drug-4: #2fe0c9;

  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ---------- topbar ---------- */
.cd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-1);
}
.cd-wordmark { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.cd-wordmark-word { white-space: nowrap; }
.cd-word-fl { color: #5b79f7; }
.cd-word-os { color: #00c1b9; }
.cd-topbar-sub { font-weight: 500; color: var(--c-ink-3); font-size: 13px; }
.cd-topbar-right { display: flex; align-items: center; gap: 10px; }
.cd-sim-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--c-ink-3); }
.cd-sim-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-teal); box-shadow: 0 0 0 3px rgba(47,224,201,0.16); }
.cd-icon-btn {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line-2);
  background: var(--c-surface-2);
  color: var(--c-ink-2);
  border-radius: var(--r-sm);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cd-icon-btn:hover { color: var(--c-ink); border-color: var(--c-teal); }
.cd-icon-btn.cd-disabled { opacity: 0.35; cursor: default; pointer-events: none; }

/* ---------- layout ---------- */
.cd-main {
  display: flex;
  align-items: stretch;
  min-height: 0;
}
.cd-chat-panel {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  /* clamped to whatever's left of the viewport once the nav, section
     header, step summary, topbar and footer have taken their share, so
     the whole demo section fits in one screen without a page scroll. */
  height: clamp(250px, calc(100vh - 522px), 560px);
  display: flex;
  flex-direction: column;
}
.cd-transcript {
  position: relative;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
}
.cd-step-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Reserves the full chat-window height for whichever step is current, so
   its prompt can always be scrolled flush to the top the instant it's
   appended — otherwise the browser clamps the scroll short because there
   isn't yet enough real content below it to justify scrolling that far. */
.cd-step-group:last-child {
  min-height: 100%;
}
.cd-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 6px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47,224,201,0.35);
  background: rgba(10,13,24,0.85);
  backdrop-filter: blur(4px);
  color: var(--c-teal-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 4;
}
.cd-scroll-hint.cd-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cd-scroll-hint.cd-final { border-color: rgba(47,224,201,0.55); background: rgba(47,224,201,0.1); }
.cd-scroll-hint i { font-style: normal; display: inline-block; animation: cdHintBounce 1.4s ease-in-out infinite; }
/* once the whole conversation has played out, let scroll gestures chain
   through to the rest of the page instead of stopping at this panel. */
.cd-transcript.cd-finished { overscroll-behavior: auto; }
@keyframes cdHintBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) {
  .cd-scroll-hint i { animation: none; }
}

.cd-footer {
  padding: 5px 18px;
  border-top: 1px solid var(--c-line);
  font-size: 10.5px;
  color: var(--c-ink-4);
  background: var(--c-bg-1);
}

@media (max-width: 480px) {
  .cd-chat-panel { height: clamp(320px, calc(100vh - 330px), 460px); }
  .cd-transcript { padding: 12px; }
}

/* ---------- chat messages ---------- */
.cd-msg { display: flex; align-items: flex-start; gap: 10px; max-width: 100%; }
.cd-msg-user { justify-content: flex-end; }
.cd-avatar {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  border: 1px solid var(--c-line-2); color: var(--c-ink-3);
}
.cd-bubble {
  max-width: min(560px, 86%);
  padding: 10px 14px;
  border-radius: var(--r-lg);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.cd-bubble-user { background: var(--c-surface-2); color: var(--c-ink-2); border: 1px solid var(--c-line-2); border-top-right-radius: 3px; }
.cd-bubble-assistant { background: rgba(47,224,201,0.06); color: var(--c-ink); border: 1px solid rgba(47,224,201,0.18); border-top-left-radius: 3px; }
.cd-bubble-text { white-space: pre-wrap; }
.cd-typing::after {
  content: '';
  display: inline-block;
  width: 6px; height: 12px;
  margin-left: 1px;
  background: var(--c-teal-soft);
  vertical-align: -2px;
  animation: cdCaretBlink 0.9s step-end infinite;
}
@keyframes cdCaretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cd-fade-in { animation: cdFadeIn 0.2s ease both; }
@keyframes cdFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cd-thinking { display: none; align-items: center; gap: 3px; height: 16px; }
.cd-thinking.cd-visible { display: inline-flex; }
.cd-thinking i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--c-teal-soft);
  animation: cdThinkBounce 1s ease-in-out infinite;
}
.cd-thinking i:nth-child(2) { animation-delay: 0.15s; }
.cd-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cdThinkBounce { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* ---------- card shell ---------- */
.cd-card {
  align-self: flex-start;
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  padding: 13px 15px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cd-card.cd-card-in { opacity: 1; transform: translateY(0); }
.cd-card-headrow { display: flex; align-items: center; margin-bottom: 3px; }
.cd-card-type { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-teal-soft); }
.cd-card-title { font-size: 13.5px; font-weight: 600; color: var(--c-ink); margin-bottom: 10px; }
.cd-card-footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cd-card-footer-wrap { border-top: 1px solid var(--c-line); padding-top: 12px; }

.cd-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--c-line-2); color: var(--c-ink-3);
  background: var(--c-surface);
}
.cd-chip-ok { color: var(--c-teal-soft); border-color: rgba(47,224,201,0.3); }
.cd-chip-warn { color: var(--c-amber); border-color: rgba(240,179,62,0.3); }
.cd-chip-source { color: var(--c-ink-3); }
.cd-chip-inv { color: var(--c-ink-3); }
.cd-warn-glyph { color: var(--c-amber); margin-right: 2px; }

/* ---------- digest card ---------- */
.cd-digest-rows { display: flex; flex-direction: column; gap: 8px; }
.cd-digest-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 10px;
  font-size: 12.5px; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.cd-digest-row.cd-in { opacity: 1; transform: translateY(0); }
.cd-digest-key { color: var(--c-ink-4); font-family: var(--font-mono); font-size: 11px; }
.cd-digest-val { color: var(--c-ink-2); }
.cd-digest-missing { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 8px; }
.cd-digest-missing-head { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-amber); margin-bottom: 2px; }
.cd-digest-missing-row { grid-template-columns: 18px 1fr; }

/* ---------- plate card ---------- */
.cd-plate-gridwrap { overflow-x: auto; }
.cd-plate-svg { width: auto; max-width: 100%; height: 200px; display: block; margin: 0 auto; }
.cd-plate-axis { font-family: var(--font-mono); font-size: 6px; fill: var(--c-ink-4); }
.cd-plate-axis-row { text-anchor: end; }
.cd-well { opacity: 0; transform-origin: center; transition: opacity 0.35s var(--ease); }
.cd-well.cd-in { opacity: 1; }
.cd-well-buffer { stroke: var(--c-line); stroke-width: 0.5; }
.cd-plate-callouts { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.cd-plate-callout {
  font-size: 12px; color: var(--c-ink-3);
  padding-left: 14px; position: relative;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cd-plate-callout.cd-in { opacity: 1; transform: translateX(0); }
.cd-plate-callout::before { content: '›'; position: absolute; left: 0; color: var(--c-teal-soft); }
.cd-plate-legend { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--c-line); }
.cd-plate-swatches { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 8px; }
.cd-plate-swatch { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--c-ink-3); }
.cd-swatch-dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cd-swatch-drug { background: linear-gradient(90deg, var(--cd-well-drug-1), var(--cd-well-drug-4)); }
.cd-plate-druglist { font-size: 11px; color: var(--c-ink-4); line-height: 1.6; }

/* ---------- protocol card ---------- */
.cd-protocol-list { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.cd-protocol-row {
  display: flex; gap: 10px; list-style: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cd-protocol-row.cd-in { opacity: 1; transform: translateY(0); }
.cd-protocol-num {
  flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: var(--c-surface); border: 1px solid var(--c-line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--c-ink-3);
}
.cd-protocol-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.cd-protocol-action { font-size: 12.5px; color: var(--c-ink-2); }
.cd-protocol-warn { color: var(--c-amber); }
.cd-protocol-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--c-ink-3);
  border: 1px solid var(--c-line-2); border-radius: 999px; padding: 3px 9px 3px 7px;
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.cd-badge.cd-in { opacity: 1; transform: scale(1); }
.cd-badge-ic { width: 11px; height: 11px; }

/* ---------- simulation card / gantt ---------- */
.cd-gantt-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.cd-gantt-clock { font-family: var(--font-mono); font-size: 13px; color: var(--c-ink); font-weight: 600; }
.cd-gantt-head-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cd-gantt-speed { font-family: var(--font-mono); font-size: 10.5px; color: var(--c-teal-soft); border: 1px solid rgba(47,224,201,0.3); border-radius: 999px; padding: 2px 8px; }
.cd-gantt-legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--c-ink-4); }
.cd-gantt-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cd-gantt-legend-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.cd-gantt-legend-executing { background: var(--c-teal); }
.cd-gantt-legend-completed { background: var(--c-line-2); }
.cd-gantt-legend-conflict { color: var(--c-amber); font-size: 10px; font-style: normal; }
.cd-gantt-axis {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--c-ink-4);
  padding-left: 128px; margin-bottom: 10px;
}
.cd-gantt-lanes { display: flex; flex-direction: column; gap: 34px; position: relative; padding-top: 4px; }
.cd-gantt-lane { display: flex; align-items: center; gap: 10px; }
.cd-gantt-lane-label { flex: 0 0 118px; font-family: var(--font-mono); font-size: 10.5px; color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-gantt-lane-track { flex: 1; height: 18px; background: var(--c-surface); border-radius: 5px; position: relative; overflow: visible; }
.cd-gantt-block {
  position: absolute; top: 0; height: 18px; border-radius: 4px;
  background: var(--c-teal); border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(47,224,201,0.3);
  opacity: 0; transition: opacity 0.25s var(--ease), background-color 0.5s ease, box-shadow 0.5s ease;
}
.cd-gantt-block.visible { opacity: 1; }
.cd-gantt-block.is-completed { background: var(--c-line-2); box-shadow: none; }
.cd-gantt-subbar { position: absolute; left: 0; right: 0; height: 1px; background: rgba(0,0,0,0.12); }
.cd-gantt-block.is-completed .cd-gantt-subbar { background: rgba(255,255,255,0.08); }
.cd-gantt-playhead {
  position: absolute; top: -4px; bottom: -4px; width: 1.5px;
  background: var(--c-iris-soft); box-shadow: 0 0 6px rgba(193,88,240,0.6);
  left: 0; pointer-events: none; z-index: 2;
}
.cd-gantt-conflict {
  position: absolute; top: -26px; transform: translateX(-50%);
  opacity: 0; transition: opacity 0.2s;
  display: flex; flex-direction: column; align-items: center; z-index: 3;
}
.cd-gantt-conflict.visible { opacity: 1; }
.cd-gantt-conflict-dot { color: var(--c-amber); font-size: 12px; }
.cd-gantt-conflict-tip {
  font-family: var(--font-mono); font-size: 9.5px; color: var(--c-amber);
  white-space: nowrap; background: var(--c-bg-1); border: 1px solid rgba(240,179,62,0.3);
  border-radius: 4px; padding: 2px 7px; margin-top: 3px;
}
.cd-gantt-conflict.resolved .cd-gantt-conflict-dot { color: var(--c-teal-soft); }
.cd-gantt-conflict.resolved .cd-gantt-conflict-dot::after { content: ' ✓'; }
.cd-gantt-conflict.resolved .cd-gantt-conflict-tip { color: var(--c-teal-soft); border-color: rgba(47,224,201,0.3); }
.cd-gantt-results {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--c-line);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cd-gantt-results.visible { opacity: 1; transform: translateY(0); }
.cd-gantt-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.cd-gantt-metric { display: flex; flex-direction: column; gap: 3px; }
.cd-gantt-metric-val { font-family: var(--font-mono); font-size: 16px; color: var(--c-ink); font-weight: 600; }
.cd-gantt-metric-label { font-size: 11px; color: var(--c-ink-4); }
.cd-gantt-confidence { margin-top: 12px; font-size: 12px; color: var(--c-teal-soft); }
@media (max-width: 640px) {
  .cd-gantt-axis { padding-left: 88px; }
  .cd-gantt-lane-label { flex-basis: 78px; font-size: 9.5px; }
  .cd-gantt-legend { display: none; }
  .cd-gantt-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- run request card ---------- */
.cd-run-rows { display: flex; flex-direction: column; gap: 10px; }
.cd-run-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center;
  font-size: 12.5px; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transition-delay: calc(var(--i) * 80ms);
}
.cd-run-row.cd-in { opacity: 1; transform: translateY(0); }
.cd-run-approver { grid-template-columns: 28px 1fr; }
.cd-run-approver-body { display: flex; flex-direction: column; gap: 4px; }
.cd-run-approver-name { color: var(--c-ink-2); }
.cd-status-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--c-amber); width: fit-content; }
.cd-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-amber); animation: cdPulse 1.6s ease-in-out infinite; }
@keyframes cdPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.cd-run-audit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.cd-run-audit-arrow { color: var(--c-ink-4); font-size: 11px; }
.cd-run-audit-chip { opacity: 0.3; transition: opacity 0.3s var(--ease); }
.cd-run-audit-chip.cd-in { opacity: 1; }
.cd-run-btn {
  margin-top: 16px; width: 100%; padding: 10px; border-radius: var(--r-md);
  border: 1px solid rgba(47,224,201,0.3); background: rgba(47,224,201,0.1);
  color: var(--c-teal-soft); font-size: 13px; font-weight: 600; cursor: default;
}

/* ---------- time-jump divider ---------- */
.cd-time-jump {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--c-ink-4);
  opacity: 0;
  animation: cdFadeIn 0.5s var(--ease) forwards;
}

/* ---------- run-vs-simulation card ---------- */
.cd-runvs-metrics { display: flex; flex-direction: column; gap: 6px; }
.cd-runvs-metric-row {
  display: grid; grid-template-columns: 90px 1fr 1fr; gap: 8px; align-items: baseline;
  font-size: 12px; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transition-delay: calc(var(--i) * 90ms);
}
.cd-runvs-metric-row.cd-in { opacity: 1; transform: translateY(0); }
.cd-runvs-metric-head {
  opacity: 1 !important; transform: none !important;
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--c-ink-4);
}
.cd-runvs-predicted { color: var(--c-ink-3); }
.cd-runvs-observed { color: var(--c-ink); font-weight: 600; }
.cd-runvs-chart-wrap {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--c-line);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cd-runvs-chart-wrap.cd-in { opacity: 1; transform: translateY(0); }
.cd-runvs-chart-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--c-ink-3); margin-bottom: 4px; }
.cd-runvs-chart { width: 100%; height: 100px; display: block; }
.cd-runvs-axis { stroke: var(--c-line-2); stroke-width: 1; }
.cd-runvs-axis-label { font-family: var(--font-mono); font-size: 8px; fill: var(--c-ink-4); }
.cd-runvs-sim-line { fill: none; stroke: var(--c-teal-soft); stroke-width: 1.6; stroke-dasharray: 3 3; }
.cd-runvs-observed-dot { fill: var(--c-iris-soft); stroke: var(--c-bg); stroke-width: 1; }
.cd-runvs-observed-dot.cd-runvs-dev { fill: var(--c-rose); r: 4.4; }
.cd-runvs-chart-legend { display: flex; gap: 14px; margin-top: 6px; font-size: 10.5px; color: var(--c-ink-4); }
.cd-runvs-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cd-runvs-swatch { width: 10px; height: 2px; display: inline-block; border-radius: 1px; }
.cd-runvs-swatch-line { background: var(--c-teal-soft); }
.cd-runvs-swatch-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-iris-soft); }
.cd-runvs-anomaly {
  margin-top: 12px; padding: 9px 11px; border-radius: var(--r-md);
  border: 1px solid rgba(240,179,62,0.3); background: rgba(240,179,62,0.06);
  font-size: 12px; line-height: 1.55; color: var(--c-ink-2); display: flex; gap: 7px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cd-runvs-anomaly.cd-in { opacity: 1; transform: translateY(0); }
.cd-runvs-proposal {
  margin-top: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cd-runvs-proposal.cd-in { opacity: 1; transform: translateY(0); }
.cd-runvs-proposal p { font-size: 12px; line-height: 1.55; color: var(--c-ink-2); margin: 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cd-card, .cd-digest-row, .cd-well, .cd-plate-callout, .cd-protocol-row, .cd-badge,
  .cd-gantt-block, .cd-gantt-results, .cd-run-row, .cd-run-audit-chip,
  .cd-runvs-metric-row, .cd-runvs-chart-wrap, .cd-runvs-anomaly, .cd-runvs-proposal {
    transition-duration: 0.001ms !important;
  }
  .cd-status-dot { animation: none; opacity: 0.9; }
  .cd-time-jump { animation: none; opacity: 1; }
}
