/* Zag Store BYOC installer — Digital Seal.
   One stylesheet for the installer form. It replaces the inline "Digital Seal 104/105/106"
   override layers. Selectors start with two IDs so they win over the Refraction theme's general
   installer rules (wp.css) without !important.

   The sign button is a small stage. Its layers, bottom to top:
     base glass ─ fill (spectrum window at the milestone position) ─ green wave ─ sheen
     ─ emblem (the four-act Digital Seal) ─ label.
   The same button carries the whole story and finally becomes the install action. Only opacity
   and transforms animate; the gradient never moves, repeats or scales, so it has no seams. */

#zag-byoc-installer {
  --zds-radius: var(--radius-md, 16px);
  --zds-h: 60px;
  --zds-ease: cubic-bezier(.22, 1, .36, 1);
  --zds-ease-io: cubic-bezier(.65, 0, .35, 1);
  --zds-cyan: #00c6ff;
  --zds-blue: #2f6bff;
  --zds-violet: #7b3cff;
  --zds-magenta: #e23cf0;
  --zds-spectrum: linear-gradient(100deg, var(--zds-cyan) 0%, var(--zds-blue) 36%, var(--zds-violet) 68%, var(--zds-magenta) 100%);
  --zds-green: linear-gradient(100deg, #1fe27e 0%, #00c565 50%, #00a352 100%);
  --zds-wave: 1300ms;
  --zds-rose: linear-gradient(100deg, #d9577a 0%, #a8344f 100%);
  --zds-focus: var(--focus-ring, #8ea3ff);
  --zds-text-2: var(--text-secondary, #b9c5d9);
  padding: 60px 20px 90px;
  background: radial-gradient(circle at top, #25335b, #101522 75%);
  color: #f6f8ff;
}
#zag-byoc-installer * { box-sizing: border-box; }
#zag-byoc-installer .zag-wrap { max-width: 480px; margin: 0 auto; }
#zag-byoc-installer h1 { font-size: 32px; color: #fff; margin: 0 0 10px; }
#zag-byoc-installer p { color: var(--zds-text-2); line-height: 1.5; }
#zag-byoc-installer .zag-panel { background: #1c2638; border: 1px solid #39445d; border-radius: 22px; padding: 24px; }
#zag-byoc-installer .zag-version { background: #273349; border-radius: 12px; padding: 14px; margin: 16px 0; }
#zag-byoc-installer .zag-version small { display: block; margin-top: 4px; }
#zag-byoc-installer label { display: block; font-weight: 600; margin: 20px 0 8px; color: #fff; }

/* Inputs share the button's corner radius. */
#zag-byoc-installer #zag-byoc-form input { border-radius: var(--zds-radius); }

/* ───────────────────────────────────────────── action slot */
#zag-byoc-installer #zag-byoc-form .zds-slot {
  position: relative;
  height: var(--zds-h);
  margin: 28px 0 0;
}
#zag-byoc-installer #zag-byoc-submit {
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%; min-height: 0;
  margin: 0; padding: 0; border: 0;
  border-radius: var(--zds-radius);
  font: inherit; font-size: 16px; letter-spacing: normal; text-transform: none; text-decoration: none;
  color: #fff;
  background: none;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  transition: transform 220ms var(--zds-ease);
}

/* Base: deep ink glass, the same in light and dark themes, like a hardware key. */
#zag-byoc-installer #zag-byoc-submit {
  isolation: isolate;
  background:
    radial-gradient(130% 150% at 50% -45%, rgba(116, 140, 255, .30) 0%, rgba(116, 140, 255, 0) 58%),
    linear-gradient(180deg, #151d42 0%, #0a0f26 100%);
  box-shadow:
    0 1px 2px rgba(4, 7, 24, .35),
    0 16px 34px -18px rgba(66, 98, 240, .85);
  transition: transform 220ms var(--zds-ease), box-shadow 700ms var(--zds-ease), opacity 300ms ease;
}
/* Glass rim: brighter along the top edge, faint at the bottom, a hint of spectrum. */
#zag-byoc-installer #zag-byoc-submit::after {
  content: "";
  position: absolute; inset: 0; z-index: 6;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .08) 38%, rgba(255, 255, 255, .03) 62%, rgba(255, 255, 255, .16) 100%),
    linear-gradient(100deg, rgba(0, 198, 255, .4), rgba(226, 60, 240, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  opacity: .9;
  transition: opacity 500ms ease;
}
#zag-byoc-installer .zds-stage {
  position: absolute; inset: 0;
  border-radius: inherit;
  clip-path: inset(0 round var(--zds-radius));
  overflow: hidden;
  pointer-events: none;
}
#zag-byoc-installer .zds-stage > span { position: absolute; inset: 0; }

/* Progress fill. A window slides to the milestone position while the gradient inside it slides
   back by the same amount, so the colours stay put: no seams, no smear, only transforms
   (compositor-only). The window's leading edge is feathered over 30px, so the boundary reads as
   light advancing rather than a hard cut. At 100% the feather lies outside the button. */
#zag-byoc-installer .zds-stage > .zds-fill {
  inset: 0 auto 0 0;
  width: calc(100% + 30px);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
  transform: translate3d(calc((var(--zds-p, 0) - 1) * (100% - 30px)), 0, 0);
  transition: transform calc(var(--zds-speed, 1) * 1100ms) var(--zds-ease), opacity 500ms ease;
  opacity: 0;
}
#zag-byoc-installer .zds-paint {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(100% - 30px);
  background: var(--zds-spectrum);
  transform: translate3d(calc((1 - var(--zds-p, 0)) * 100%), 0, 0);
  transition: transform calc(var(--zds-speed, 1) * 1100ms) var(--zds-ease);
}
#zag-byoc-installer .zds-paint > span { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--zds-ease-io); }
#zag-byoc-installer .zds-tint-fail { background: var(--zds-rose); }
#zag-byoc-installer .zds-tint-dim { background: rgba(10, 14, 34, .58); }
/* A soft bloom just behind the advancing edge. */
#zag-byoc-installer .zds-fill::after {
  content: "";
  position: absolute; top: 0; bottom: 0; right: 14px;
  width: 80px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .16));
}
/* Install: green arrives as one feathered wave inside the same button, travelling the same way
   the progress did, so it reads as the story's last beat rather than a new button. Its 80px
   feathered front carries a soft crest of light, so the meeting of green and spectrum reads as
   light passing over the glass, never as a muddy in-between colour. */
#zag-byoc-installer .zds-stage > .zds-success {
  inset: 0 auto 0 0;
  width: calc(100% + 140px);
  transform: translate3d(-100%, 0, 0);
  transition: transform var(--zds-wave) cubic-bezier(.5, 0, .3, 1);
}
#zag-byoc-installer .zds-success::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--zds-green);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 140px), transparent calc(100% - 60px));
  mask-image: linear-gradient(90deg, #000 calc(100% - 140px), transparent calc(100% - 60px));
}
#zag-byoc-installer .zds-success::after {
  content: "";
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 150px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .24) 52%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
}
#zag-byoc-installer #zag-byoc-submit[data-phase="install"] .zds-success { transform: translate3d(0, 0, 0); }
/* The crest exists only while the wave travels, so the resting button is pure green. */
#zag-byoc-installer #zag-byoc-submit[data-phase="install"] .zds-success::after { animation: zds-crest var(--zds-wave) linear both; }
@keyframes zds-crest { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

#zag-byoc-installer .zds-sheen {
  background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .03) 44%, rgba(255, 255, 255, 0) 52%, rgba(3, 6, 26, .06) 100%);
}
#zag-byoc-installer .zds-glint {
  background: radial-gradient(160px circle at var(--zds-mx, 50%) var(--zds-my, 0%), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 350ms ease;
}
/* One sweep of light when signing begins. */
#zag-byoc-installer .zds-stage > .zds-sweep {
  inset: -30% auto -30% 0;
  width: 42%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .26) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translate3d(-130%, 0, 0) skewX(-16deg);
  opacity: 0;
}
#zag-byoc-installer #zag-byoc-submit.is-igniting .zds-sweep { animation: zds-sweep 1000ms var(--zds-ease-io) both; }
@keyframes zds-sweep {
  0% { transform: translate3d(-130%, 0, 0) skewX(-16deg); opacity: 1; }
  100% { transform: translate3d(360%, 0, 0) skewX(-16deg); opacity: 1; }
}

/* Label: always optically centred in the whole button, whatever the emblem does. Outgoing and
   incoming text share one grid cell, so a change never shifts anything. */
#zag-byoc-installer .zds-label-host {
  position: absolute; inset: 0; z-index: 5;
  display: grid;
  place-items: center;
  padding: 0 62px;
  pointer-events: none;
}
#zag-byoc-installer .zds-label {
  grid-area: 1 / 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  color: #fff;
  text-shadow: 0 1px 1px rgba(4, 8, 32, .28), 0 0 16px rgba(4, 8, 32, .16);
  -webkit-font-smoothing: antialiased;
}

/* ───────────────────────────────────────────── interaction states */
@media (hover: hover) {
  #zag-byoc-installer #zag-byoc-submit:not(:disabled):not([aria-disabled="true"]):hover {
    box-shadow: 0 1px 2px rgba(4, 7, 24, .35), 0 22px 44px -18px rgba(47, 107, 255, 1);
  }
  #zag-byoc-installer #zag-byoc-submit:not(:disabled):not([aria-disabled="true"]):hover .zds-glint { opacity: 1; }
}
#zag-byoc-installer #zag-byoc-submit:not(:disabled):not([aria-disabled="true"]):active {
  transform: scale(.982);
  transition-duration: 90ms;
}
#zag-byoc-installer #zag-byoc-submit:focus-visible {
  outline: 2px solid var(--zds-focus);
  outline-offset: 3px;
}
#zag-byoc-installer #zag-byoc-submit[aria-disabled="true"] { cursor: progress; }
/* Not yet actionable (no location choice): quieter glass, same geometry. */
#zag-byoc-installer #zag-byoc-submit:disabled:is([data-phase="idle"], :not([data-phase])) {
  cursor: not-allowed;
  box-shadow: 0 1px 2px rgba(4, 7, 24, .25);
}
#zag-byoc-installer #zag-byoc-submit:disabled:is([data-phase="idle"], :not([data-phase])) .zds-label { opacity: .55; }
#zag-byoc-installer #zag-byoc-submit:disabled:is([data-phase="idle"], :not([data-phase]))::after { opacity: .45; }

/* Working: the fill appears; holding gently breathes its edge bloom without advancing anything. */
#zag-byoc-installer #zag-byoc-submit:not([data-phase="idle"]):not([data-phase="expired"]) .zds-fill { opacity: 1; }
#zag-byoc-installer #zag-byoc-submit[data-holding] .zds-fill::after { animation: zds-breathe 2.8s ease-in-out infinite; }
@keyframes zds-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
#zag-byoc-installer #zag-byoc-submit[data-phase="working"] {
  box-shadow: 0 1px 2px rgba(4, 7, 24, .3), 0 18px 40px -20px rgba(123, 60, 255, .95);
}
/* Failure keeps the fill where the story stopped, in rose. */
#zag-byoc-installer #zag-byoc-submit[data-phase="failed"] .zds-tint-fail { opacity: 1; }
#zag-byoc-installer #zag-byoc-submit[data-phase="failed"] {
  box-shadow: 0 1px 2px rgba(4, 7, 24, .3), 0 16px 34px -20px rgba(217, 87, 122, .9);
}
/* Interrupted monitoring: the job may still be running, so the fill stays, quietly dimmed. */
#zag-byoc-installer #zag-byoc-submit[data-phase="interrupted"] .zds-tint-dim { opacity: 1; }
/* Install: the sealed button itself becomes the install action. Its glow follows the wave from
   violet to green over the same duration; the rim brightens to invite a tap. */
#zag-byoc-installer #zag-byoc-submit[data-phase="install"] {
  box-shadow: 0 1px 2px rgba(4, 7, 24, .3), 0 18px 40px -20px rgba(0, 197, 101, .95);
  transition: transform 220ms var(--zds-ease), box-shadow var(--zds-wave) cubic-bezier(.5, 0, .3, 1);
}
#zag-byoc-installer #zag-byoc-submit[data-phase="install"]::after { opacity: 1; }
@media (hover: hover) {
  #zag-byoc-installer #zag-byoc-submit[data-phase="install"]:not(:disabled):not([aria-disabled="true"]):hover {
    box-shadow: 0 1px 2px rgba(4, 7, 24, .3), 0 22px 44px -18px rgba(0, 197, 101, 1);
  }
}

/* Installing: pressed while iOS is asked, with a small spinner before the words. No progress is
   shown: Safari is not told how the installation goes. */
#zag-byoc-installer #zag-byoc-submit[data-installing] { transform: scale(.982); filter: brightness(.94); cursor: progress; }
#zag-byoc-installer #zag-byoc-submit[data-installing] .zds-label:not([aria-hidden="true"])::before {
  content: "";
  display: inline-block;
  width: .85em; height: .85em;
  margin-right: .5em;
  vertical-align: -.1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: zds-spin .8s linear infinite;
}
@keyframes zds-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #zag-byoc-installer #zag-byoc-submit[data-installing] .zds-label:not([aria-hidden="true"])::before { animation: none; border-right-color: currentColor; opacity: .7; }
}

/* ───────────────────────────────────────────── the Digital Seal emblem */
#zag-byoc-installer .zds-emblem {
  position: absolute; z-index: 4;
  left: 11px; top: 50%;
  width: 40px; height: 40px;
  margin-top: -20px;
  opacity: 0;
  transform: scale(.8);
  transition: opacity 450ms ease, transform 700ms var(--zds-ease);
}
#zag-byoc-installer #zag-byoc-submit:not([data-phase="idle"]):not([data-phase="expired"]) .zds-emblem {
  opacity: 1;
  transform: none;
}
#zag-byoc-installer .zds-emblem svg {
  display: block;
  width: 100%; height: 100%;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#zag-byoc-installer .zds-emblem g,
#zag-byoc-installer .zds-emblem .e-dots { transform-box: fill-box; transform-origin: center; }
#zag-byoc-installer .zds-emblem g,
#zag-byoc-installer .zds-emblem path {
  transition:
    opacity calc(var(--zds-speed, 1) * 500ms) ease,
    transform calc(var(--zds-speed, 1) * 800ms) var(--zds-ease),
    stroke-dashoffset calc(var(--zds-speed, 1) * var(--dur, 900ms)) var(--zds-ease) calc(var(--zds-speed, 1) * var(--delay, 0ms));
}
/* Drawn strokes: pathLength="1"; a 1-long dash and 2-long gap, hidden at offset 1.01. */
#zag-byoc-installer .zds-emblem .zd { stroke-dasharray: 1 2; stroke-dashoffset: 1.01; }
#zag-byoc-installer .zds-emblem .e-ghost { stroke-dasharray: 2 2.6; opacity: 0; stroke-width: 1.4; }
#zag-byoc-installer .zds-emblem .e-glow { stroke-width: 5; stroke: rgba(255, 255, 255, .26); }
#zag-byoc-installer .zds-emblem .e-faint { opacity: .5; }

/* Act I — the certificate. Preparing/sending: a ghost outline waits. Accepted: it draws itself.
   Credentials received: its lines are written. Validating: a beam reads it. Validated: the
   authentication rosette and its tick appear. */
#zag-byoc-installer .zds-emblem .e-cert { opacity: 0; }
#zag-byoc-installer [data-reached~="preparing"] .e-cert { opacity: 1; }
#zag-byoc-installer [data-reached~="preparing"]:not([data-reached~="accepted"]) .e-ghost { opacity: .45; }
#zag-byoc-installer [data-reached~="accepted"] .e-cert-outline { stroke-dashoffset: 0; }
#zag-byoc-installer .e-cert-outline { --dur: 1000ms; }
#zag-byoc-installer .e-cert-fold { --dur: 500ms; --delay: 650ms; }
#zag-byoc-installer [data-reached~="accepted"] .e-cert-fold { stroke-dashoffset: 0; }
#zag-byoc-installer .e-line { --dur: 520ms; }
#zag-byoc-installer .e-line:nth-child(2) { --delay: 140ms; }
#zag-byoc-installer .e-line:nth-child(3) { --delay: 280ms; }
#zag-byoc-installer [data-reached~="credentials_received"] .e-line { stroke-dashoffset: 0; }
#zag-byoc-installer .zds-emblem .e-scan { opacity: 0; stroke: #c8f6ff; stroke-width: 1.5; }
#zag-byoc-installer [data-stage="validating_identity"] .e-scan { animation: zds-scan 1.7s var(--zds-ease-io) infinite; }
@keyframes zds-scan {
  0% { transform: translateY(0); opacity: 0; }
  18%, 78% { opacity: .95; }
  100% { transform: translateY(26px); opacity: 0; }
}
#zag-byoc-installer .zds-emblem .e-rosette { opacity: 0; }
#zag-byoc-installer [data-reached~="identity_validated"] .e-rosette { opacity: 1; }
#zag-byoc-installer .e-rosette-ring { --dur: 700ms; }
#zag-byoc-installer .e-rosette-tail { --dur: 380ms; --delay: 420ms; }
#zag-byoc-installer .e-rosette-tick { --dur: 520ms; --delay: 560ms; }
#zag-byoc-installer [data-reached~="identity_validated"] .e-rosette .zd { stroke-dashoffset: 0; }

/* Act II — the signing ceremony. The certificate steps back; its authority (the rosette) travels
   to the corner of the app tile; the tile is drawn; a luminous signature is written across it. */
#zag-byoc-installer [data-reached~="signing"] .e-cert { opacity: 0; transform: translateX(-3px) scale(.86); }
#zag-byoc-installer [data-reached~="signing"] .e-rosette { transform: translate(6px, 3.5px) scale(.78); }
#zag-byoc-installer .zds-emblem .e-app { opacity: 0; transform: scale(.86); }
#zag-byoc-installer [data-reached~="signing"] .e-app { opacity: 1; transform: none; }
#zag-byoc-installer .e-tile { --dur: 850ms; --delay: 120ms; }
#zag-byoc-installer [data-reached~="signing"] .e-tile { stroke-dashoffset: 0; }
#zag-byoc-installer .zds-emblem .e-z { opacity: 0; }
#zag-byoc-installer [data-reached~="signing"] .e-z { opacity: .42; }
#zag-byoc-installer .e-sig { --dur: 1150ms; --delay: 420ms; }
#zag-byoc-installer [data-reached~="signing"] .e-sig { stroke-dashoffset: 0; }

/* Act III — verification. The app settles into the seal; a ring is drawn around it, a quiet
   dotted orbit turns while the backend verifies; once verified, the inner ring closes and the
   rosette is absorbed into the seal. */
#zag-byoc-installer [data-reached~="verifying"] .e-app { transform: scale(.74); }
#zag-byoc-installer [data-reached~="verifying"] .e-rosette { transform: translate(2.9px, 0px) scale(.58); }
#zag-byoc-installer .e-ring { --dur: 1100ms; }
#zag-byoc-installer [data-reached~="verifying"] .e-ring { stroke-dashoffset: 0; }
#zag-byoc-installer .zds-emblem .e-dots { opacity: 0; stroke-dasharray: 0 3.3; stroke-width: 1.6; }
#zag-byoc-installer [data-stage="verifying"] .e-dots { opacity: .6; animation: zds-orbit 9s linear infinite; }
@keyframes zds-orbit { to { transform: rotate(360deg); } }
#zag-byoc-installer .e-ring2 { --dur: 800ms; }
#zag-byoc-installer [data-reached~="publishing"] .e-ring2 { stroke-dashoffset: 0; }
#zag-byoc-installer [data-reached~="publishing"] .e-rosette { opacity: 0; transform: translate(0, 0) scale(.3); }

/* Act IV — sealed, only on the backend's completion. The signature and mark give way to a
   precise check, and the seal settles once. */
#zag-byoc-installer [data-reached~="complete"] .e-z,
#zag-byoc-installer [data-reached~="complete"] .e-sig { opacity: 0; }
#zag-byoc-installer .e-check { --dur: 620ms; --delay: 180ms; stroke-width: 2.3; }
#zag-byoc-installer [data-reached~="complete"] .e-check { stroke-dashoffset: 0; }
#zag-byoc-installer [data-stage="complete"] .e-seal { animation: zds-settle 800ms var(--zds-ease) both; }
@keyframes zds-settle { 0% { transform: scale(1); } 40% { transform: scale(1.07); } 100% { transform: scale(1); } }

/* Failure: the story dims and a plain alert mark replaces it. */
#zag-byoc-installer .zds-emblem .e-alert { opacity: 0; }
#zag-byoc-installer [data-phase="failed"] .e-story { opacity: .22; }
#zag-byoc-installer [data-phase="failed"] .e-alert { opacity: 1; }
#zag-byoc-installer [data-phase="failed"] .e-alert .zd { stroke-dashoffset: 0; }
#zag-byoc-installer [data-phase="interrupted"] .e-story { opacity: .5; }

/* ───────────────────────────────────────────── status, below the button */
#zag-byoc-installer #zag-byoc-form > #zag-byoc-status {
  display: grid;
  min-height: 3em;              /* two lines reserved: the button never moves */
  margin: 16px 0 0;
  padding: 0;                   /* the button's own width and edges */
  border: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;             /* never inherit a centred parent */
  color: var(--zds-text-2);
}
#zag-byoc-installer .zag-byoc-status-text {
  grid-area: 1 / 1;
  align-self: start;
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
#zag-byoc-installer .zds-sr,
#zag-byoc-installer #zag-byoc-progress {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#zag-byoc-installer #zag-byoc-progress[hidden] { display: none; }
#zag-byoc-installer small.zds-note {
  display: block;
  margin-top: 18px;
  text-align: left;
  line-height: 1.55;
  color: var(--zds-text-2);
}

@media (max-width: 360px) {
  #zag-byoc-installer .zds-label { font-size: 15px; }
  #zag-byoc-installer .zds-label-host { padding: 0 56px; }
  #zag-byoc-installer .zds-emblem { left: 9px; width: 36px; height: 36px; margin-top: -18px; }
}

/* Reduced motion: every state is shown at once, with no travelling light or loops. The
   controller also switches its text crossfades and choreography timing off. */
@media (prefers-reduced-motion: reduce) {
  #zag-byoc-installer #zag-byoc-submit,
  #zag-byoc-installer #zag-byoc-submit *,
  #zag-byoc-installer #zag-byoc-submit::after {
    animation: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  #zag-byoc-installer .zds-sweep, #zag-byoc-installer .e-scan, #zag-byoc-installer .e-dots { display: none; }
}
@media (forced-colors: active) {
  #zag-byoc-installer #zag-byoc-submit { border: 1px solid ButtonText; }
  #zag-byoc-installer .zds-stage { display: none; }
}
