/* Override --dbpm-line, --dbpm-accent and --dbpm-size on a process container. */
.dbpm-control {
  --dbpm-duration: 880ms;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--dbpm-size, 64px);
  height: var(--dbpm-size, 64px);
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px;
  color: var(--dbpm-line, #1682b2);
  background: transparent;
  box-shadow: none;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}
button.dbpm-control { cursor: pointer; appearance: none; }
button.dbpm-control:focus-visible { outline: 2px solid var(--dbpm-line, #1682b2); outline-offset: 5px; }
.dbpm-control .dbpm-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.dbpm-svg .dbpm-accent { stroke: var(--dbpm-accent, #df9c53); }
.dbpm-svg .dbpm-surface { fill: var(--dbpm-surface, #fff); }
.dbpm-svg .dbpm-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.dbpm-svg .dbpm-training-arm { transform-origin: 41px 51px; }
.dbpm-svg .dbpm-service-headset { transform-origin: 39px 25px; }
.dbpm-svg .dbpm-operation-complete { transform-origin: 47px 47px; }
/* Glyph and text read different local surfaces: blue circle, pale outer copy. */
.dbpm-control { transform:none!important;translate:none!important; }
.dbpm-control[data-dbpm-surface="light"] { --dbpm-line:#0068b7;--dbpm-accent:#bd7e35;--dbpm-surface:#eef5fa;color:#0068b7!important; }
.dbpm-control[data-dbpm-surface="dark"] { --dbpm-line:#fff;--dbpm-accent:#ffd197;--dbpm-surface:#0068b7;color:#fff!important; }
.dbpm-control[data-dbpm-surface] .dbpm-svg { color:inherit!important;stroke:currentColor; }
.dbpm-node.dbpm-tone-light { --dbpm-text-ink:#123653; }
.dbpm-node.dbpm-tone-dark { --dbpm-text-ink:#fff; }
.dbpm-node :is(h3,.fsvc-step-title,.fsvc-step-copy,p) { color:var(--dbpm-text-ink,#123653)!important;text-shadow:none; }
.dbpm-node:is(.dbpm-active,.dbpm-engaged) :is(h3,.fsvc-step-title) { text-decoration:underline;text-decoration-color:#0068b7;text-decoration-thickness:1px;text-underline-offset:.32em; }
.dbpm-node.dbpm-tone-dark:is(.dbpm-active,.dbpm-engaged) :is(h3,.fsvc-step-title) { text-decoration-color:#a8deff; }
.dbpm-node.dbpm-engaged :is([data-process-icon],.fsvc-step-picture,.adv13-flow-icon) { background:#0068b7!important;border-color:#0068b7!important;box-shadow:0 0 0 4px #158dcf18; }
.dbpm-node :is([data-process-icon],.fsvc-step-picture,.adv13-flow-icon) { transition:box-shadow 180ms ease!important; }
.dbpm-node[data-dbt-expand] { background:transparent!important;box-shadow:none!important; }
.dbpm-node:focus-visible,.dbpm-control:focus-visible { outline:2px solid #0068b7;outline-offset:5px; }
.dbpm-control[data-dbpm-surface="dark"]:focus-visible { outline-color:#ffd197; }
.adv13-flow-icon::after { animation:none!important;transform:rotate(0);transition:transform 300ms cubic-bezier(.22,.8,.25,1),border-color 180ms; }
.dbpm-node.dbpm-engaged .adv13-flow-icon::after { transform:rotate(28deg);border-top-color:#d8f1ff;border-left-color:#d8f1ff; }
.adv13-flow-icon.dbt-is-offscreen::after { transition:none!important;transform:none!important; }

.dbpm-is-playing .dbpm-research-lines { animation: dbpm-record var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-research-lens { animation: dbpm-research-search var(--dbpm-duration) cubic-bezier(.2, 0, .2, 1) both; }
.dbpm-is-playing .dbpm-research-focus { animation: dbpm-research-found var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-staffing-record { animation: dbpm-record var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-staffing-person { animation: dbpm-candidate var(--dbpm-duration) cubic-bezier(.2, 0, .2, 1) both; }
.dbpm-is-playing .dbpm-staffing-check { animation: dbpm-confirm var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-training-chart { animation: dbpm-teach var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-training-arm { animation: dbpm-teacher-point var(--dbpm-duration) ease-in-out both; }
.dbpm-is-playing .dbpm-training-team { animation: dbpm-learners var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-operation-first { animation: dbpm-task-one var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-operation-second { animation: dbpm-task-two var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-operation-third { animation: dbpm-task-three var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-operation-complete { animation: dbpm-completed var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-service-headset { animation: dbpm-listen var(--dbpm-duration) ease-in-out both; }
.dbpm-is-playing .dbpm-service-reply { animation: dbpm-response var(--dbpm-duration) ease-out both; }
.dbpm-is-playing .dbpm-service-check { animation: dbpm-confirm var(--dbpm-duration) ease-out both; }

@keyframes dbpm-record {
  0% { opacity: .35; transform: translateY(2px); }
  30%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes dbpm-research-search {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-4px, -3px); }
  60% { transform: translate(2px, -1px); }
  82% { transform: translate(0, 0); }
}
@keyframes dbpm-research-found {
  0%, 55% { opacity: .2; }
  78%, 100% { opacity: 1; }
}
@keyframes dbpm-candidate {
  0%, 12% { opacity: .2; transform: translateX(7px); }
  50%, 100% { opacity: 1; transform: translateX(0); }
}
@keyframes dbpm-confirm {
  0%, 48% { opacity: 0; stroke-dashoffset: 1; }
  80%, 100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes dbpm-teach {
  0%, 8% { stroke-dashoffset: 1; opacity: .3; }
  60%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes dbpm-teacher-point {
  0%, 100% { transform: rotate(0); }
  35%, 60% { transform: rotate(12deg); }
}
@keyframes dbpm-learners {
  0%, 30% { transform: translateY(1.5px); opacity: .55; }
  68%, 100% { transform: translateY(0); opacity: 1; }
}
@keyframes dbpm-task-one {
  0% { stroke-dashoffset: 1; }
  28%, 100% { stroke-dashoffset: 0; }
}
@keyframes dbpm-task-two {
  0%, 20% { stroke-dashoffset: 1; }
  49%, 100% { stroke-dashoffset: 0; }
}
@keyframes dbpm-task-three {
  0%, 40% { stroke-dashoffset: 1; }
  70%, 100% { stroke-dashoffset: 0; }
}
@keyframes dbpm-completed {
  0%, 54% { opacity: 0; transform: scale(.8); }
  85%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes dbpm-listen {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-5deg); }
  55% { transform: rotate(3deg); }
  72% { transform: rotate(0); }
}
@keyframes dbpm-response {
  0%, 20% { stroke-dashoffset: 1; }
  60%, 100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dbpm-control .dbpm-svg * { animation: none !important; transition: none !important; }
  .dbpm-control .dbpm-svg .dbpm-draw { stroke-dashoffset: 0; }
  .dbpm-control { animation:none!important;translate:none!important; }
  .dbpm-node :is(h3,.fsvc-step-title),.adv13-flow-icon::after { transition:none!important; }
  .adv13-flow-icon::after { transform:none!important; }
}
