/**
 * First-run profile setup - low-friction Abutic Dot onboarding.
 */

body.ab-dot-home.ab-dot-profile-setup {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  text-align: left;
  background: transparent !important;
  /* Belt-and-suspenders: decorative layers on main can paint past the card */
  overflow-x: hidden;
  max-width: 100%;
}

.ab-dot-profile-setup-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.ab-dot-profile-setup .ab-dot-profile-setup-main {
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid !important;
  /* One explicit column — implicit `auto` can shrink to max-content and leave a dead
     strip on the side on narrow viewports; 1fr keeps the track full viewport width */
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden !important;
}

body.ab-dot-profile-setup .ab-dot-profile-setup-main::before,
body.ab-dot-profile-setup .ab-dot-profile-setup-main::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

body.ab-dot-profile-setup .ab-dot-profile-setup-main::before {
  width: min(42rem, 58vw);
  height: min(42rem, 58vw);
  top: -13rem;
  left: -14rem;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.24), transparent 68%);
}

body.ab-dot-profile-setup .ab-dot-profile-setup-main::after {
  width: min(42rem, 58vw);
  height: min(42rem, 58vw);
  right: -15rem;
  bottom: -14rem;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), transparent 70%);
}

.ab-dot-profile-setup-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 68rem);
  overflow: hidden;
  border-radius: clamp(1.5rem, 4vw, 2.4rem);
  background:
    radial-gradient(ellipse 70% 60% at 0% 4%, rgba(219, 234, 254, 0.7), transparent 58%),
    radial-gradient(ellipse 72% 65% at 100% 100%, rgba(237, 233, 254, 0.6), transparent 58%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 60px rgba(15, 23, 42, 0.12),
    0 42px 120px rgba(30, 64, 175, 0.12);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

@media (min-width: 940px) {
  .ab-dot-profile-setup-shell {
    grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.22fr);
  }
}

.ab-dot-profile-setup-copy,
.ab-dot-profile-setup-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.ab-dot-profile-setup-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 940px) {
  .ab-dot-profile-setup-copy {
    border-right: 1px solid rgba(255, 255, 255, 0.72);
    border-bottom: 0;
  }
}

.ab-dot-profile-setup-brand img {
  width: 128px;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.ab-dot-profile-setup-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  color: #0066cc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ab-dot-profile-setup-kicker::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.ab-dot-profile-setup-copy h1 {
  max-width: 23rem;
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.ab-dot-profile-setup-sub {
  max-width: 27rem;
  margin: 1rem 0 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.62;
}

.ab-dot-profile-setup-meter {
  width: 100%;
  max-width: none;
  margin-top: 1.75rem;
  padding: 0.95rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

.ab-dot-profile-setup-meter__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 750;
}

.ab-dot-profile-setup-meter__track {
  height: 0.45rem;
  margin-top: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.ab-dot-profile-setup-meter__track span {
  display: block;
  height: 100%;
  min-width: 0.35rem;
  border-radius: inherit;
  background: linear-gradient(90deg, #0066cc, #7c3aed);
}

.ab-dot-profile-setup-preview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.075);
  box-sizing: border-box;
}

.ab-dot-profile-setup-preview img {
  width: 3.4rem;
  height: 3.4rem;
  flex: 0 0 auto;
  border-radius: 1rem;
  object-fit: cover;
  background: #fff;
}

.ab-dot-profile-setup-preview strong,
.ab-dot-profile-setup-preview span,
.ab-dot-profile-setup-preview small {
  display: block;
}

.ab-dot-profile-setup-preview strong {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.25;
}

.ab-dot-profile-setup-preview span {
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 650;
}

.ab-dot-profile-setup-preview small {
  margin-top: 0.25rem;
  color: #0066cc;
  font-size: 0.76rem;
  word-break: break-all;
}

.ab-dot-profile-setup-card {
  background: rgba(255, 255, 255, 0.32);
}

.ab-dot-profile-setup-alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.95rem;
  background: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 650;
}

.ab-dot-profile-setup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .ab-dot-profile-setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ab-dot-profile-setup-field {
  display: grid;
  gap: 0.38rem;
}

.ab-dot-profile-setup-field--wide {
  grid-column: 1 / -1;
}

.ab-dot-profile-setup-field span {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 750;
}

.ab-dot-profile-setup-field input,
.ab-dot-profile-setup-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.075);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.78);
  color: #0f172a;
  font: inherit;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ab-dot-profile-setup-field input {
  height: 3rem;
  padding: 0 0.95rem;
}

.ab-dot-profile-setup-field input[type="file"] {
  height: auto;
  padding: 0.85rem 0.95rem;
}

.ab-dot-profile-setup-field textarea {
  min-height: 7rem;
  resize: vertical;
  padding: 0.9rem 0.95rem;
}

.ab-dot-profile-setup-field input:focus,
.ab-dot-profile-setup-field textarea:focus {
  border-color: rgba(0, 102, 204, 0.42);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 4px rgba(0, 102, 204, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.ab-dot-profile-setup-section {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.ab-dot-profile-setup-section + .ab-dot-profile-setup-section {
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.ab-dot-profile-setup-section__head {
  margin: 0 0 0.85rem;
}

.ab-dot-profile-setup-section__title {
  margin: 0;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ab-dot-profile-setup-section__hint {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ab-dot-profile-setup-section--soft {
  border-radius: 1.05rem;
  padding: 0.85rem 0.95rem;
  margin-top: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  background: rgba(248, 250, 252, 0.85);
}

.ab-dot-profile-setup-section--soft .ab-dot-profile-setup-section__head {
  margin-bottom: 0.75rem;
}

.ab-dot-profile-setup-section--soft + .ab-dot-profile-setup-actions {
  margin-top: 1.05rem;
}

.ab-dot-profile-setup-req {
  margin-left: 0.15rem;
  color: #b91c1c;
  font-size: 0.95em;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: help;
}

.ab-dot-profile-setup-optional {
  margin-left: 0.35rem;
  color: #94a3b8;
  font-size: 0.78em;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: lowercase;
  font-style: normal;
}

.ab-dot-profile-setup-section__head--inline {
  margin-bottom: 0.65rem;
}

.ab-dot-profile-setup-section__head--inline .ab-dot-profile-setup-section__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.01em;
  text-transform: none;
}

.ab-dot-profile-setup-field--tight {
  margin-top: 0.75rem;
}

.ab-dot-profile-setup-photo {
  display: grid;
  gap: 0.55rem;
}

.ab-dot-profile-setup-photo__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem 1rem;
}

.ab-dot-profile-setup-photo__label {
  color: #334155;
  font-size: 0.75rem;
  font-weight: 750;
}

.ab-dot-profile-setup-photo__hint {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 650;
}

.ab-dot-profile-setup-photo__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.ab-dot-profile-setup-photo__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ab-dot-profile-setup-photo__btn {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0 1rem;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ab-dot-profile-setup-photo__btn:hover {
  border-color: rgba(0, 102, 204, 0.35);
}

.ab-dot-profile-setup-photo__btn:focus-visible {
  outline: none;
  border-color: rgba(0, 102, 204, 0.42);
  box-shadow:
    0 0 0 4px rgba(0, 102, 204, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
}

.ab-dot-profile-setup-photo__name {
  flex: 1 1 12rem;
  min-width: 0;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ab-dot-profile-setup-photo__pick-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.45rem;
  padding: 0.65rem 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
}

/* Class-level `display:flex` wins over `[hidden]` otherwise — keep row fully absent until cropped */
.ab-dot-profile-setup-photo__pick-preview[hidden] {
  display: none !important;
}

.ab-dot-profile-setup-photo__pick-thumb {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
  border-radius: 0.95rem;
  object-fit: cover;
  background: #f1f5f9;
}

.ab-dot-profile-setup-photo__pick-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.ab-dot-profile-setup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.ab-dot-profile-setup-actions button,
.ab-dot-profile-setup-actions a {
  min-height: 3rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.ab-dot-profile-setup-actions button {
  flex: 1 1 14rem;
  border: 0;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
  min-height: 3.1rem;
}

.ab-dot-profile-setup-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: #64748b;
}

.ab-dot-profile-setup-actions a:hover {
  color: #0f172a;
}

@media (max-width: 520px) {
  .ab-dot-profile-setup-copy {
    text-align: center;
    align-items: center;
  }

  .ab-dot-profile-setup-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .ab-dot-profile-setup-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* flex: 1 1 14rem on the button is for row layout; in a column, flex-grow fills
     vertical space and the pill-radius looks like a huge oval — pin height to content */
  .ab-dot-profile-setup-actions button {
    flex: 0 0 auto;
    width: 100%;
    align-self: stretch;
  }
}

/* v2 conversion-focused layout */
body.ab-dot-profile-setup .ab-dot-profile-setup-main {
  align-items: start;
  /* `place-items: center` above only set align-items here; justify-items stayed `center`,
     so the shell shrink-wrapped horizontally — full-width column + stretch fixes mobile */
  justify-items: stretch;
  padding: clamp(1rem, 2.8vw, 2rem);
}

.ab-dot-profile-setup-shell {
  width: min(100%, 74rem);
  min-height: auto;
  margin: auto;
  border-radius: clamp(1.35rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse 52% 70% at 0% 10%, rgba(191, 219, 254, 0.42), transparent 62%),
    radial-gradient(ellipse 48% 72% at 100% 96%, rgba(221, 214, 254, 0.38), transparent 64%),
    rgba(255, 255, 255, 0.88);
}

@media (max-width: 979px) {
  .ab-dot-profile-setup-shell {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

@media (min-width: 980px) {
  body.ab-dot-profile-setup .ab-dot-profile-setup-main {
    place-items: center;
    justify-items: center;
  }

  .ab-dot-profile-setup-shell {
    grid-template-columns: minmax(22rem, 0.86fr) minmax(0, 1.14fr);
    max-height: calc(100dvh - 3rem);
    width: min(100%, 74rem);
    margin-left: auto;
    margin-right: auto;
  }
}

.ab-dot-profile-setup-copy {
  position: relative;
  overflow: hidden;
  justify-content: flex-start;
  align-items: stretch;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)),
    radial-gradient(ellipse 80% 54% at 24% 0%, rgba(147, 197, 253, 0.2), transparent 66%);
}

.ab-dot-profile-setup-copy::before {
  content: '';
  position: absolute;
  width: 16rem;
  height: 16rem;
  top: -6.5rem;
  right: -6.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), rgba(219, 234, 254, 0.32) 48%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 980px) {
  .ab-dot-profile-setup-copy {
    min-height: 0;
  }
}

.ab-dot-profile-setup-brand,
.ab-dot-profile-setup-kicker,
.ab-dot-profile-setup-copy h1,
.ab-dot-profile-setup-sub,
.ab-dot-profile-setup-preview,
.ab-dot-profile-setup-meter {
  position: relative;
  z-index: 1;
}

.ab-dot-profile-setup-brand img {
  width: 116px;
  margin-bottom: clamp(1.15rem, 3vw, 1.8rem);
}

.ab-dot-profile-setup-kicker {
  margin-bottom: 0.65rem;
}

.ab-dot-profile-setup-copy h1 {
  max-width: 25rem;
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.ab-dot-profile-setup-sub {
  max-width: 26.5rem;
  margin-top: 0.9rem;
  font-size: 0.98rem;
}

.ab-dot-profile-setup-preview {
  width: 100%;
  max-width: none;
  margin-top: clamp(1.35rem, 4vw, 2.2rem);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  align-self: stretch;
}

.ab-dot-profile-setup-preview__glow {
  display: none;
}

.ab-dot-profile-setup-preview__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.1rem 1.2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.ab-dot-profile-setup-preview img {
  width: 4.75rem;
  height: 4.75rem;
  flex: 0 0 auto;
  border-radius: 1.2rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.ab-dot-profile-setup-preview__card > div {
  min-width: 0;
  flex: 1 1 auto;
}

.ab-dot-profile-setup-preview__card strong {
  font-size: 1.06rem;
}

.ab-dot-profile-setup-preview__card span {
  font-size: 0.9rem;
}

.ab-dot-profile-setup-preview__card small {
  font-size: 0.8rem;
}

.ab-dot-profile-setup-meter {
  width: 100%;
  max-width: none;
  margin-top: 0.85rem;
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

.ab-dot-profile-setup-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.24);
}

@media (min-width: 980px) {
  .ab-dot-profile-setup-card {
    overflow-y: auto;
    max-height: calc(100dvh - 3rem);
  }
}

.ab-dot-profile-setup-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ab-dot-profile-setup-form-step {
  margin: 0 0 0.25rem;
  color: #0066cc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ab-dot-profile-setup-form-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ab-dot-profile-setup-form-hint {
  margin: 0.55rem 0 0;
  max-width: 44rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.ab-dot-profile-setup-grid {
  gap: 0.78rem;
}

@media (min-width: 700px) {
  .ab-dot-profile-setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-dot-profile-setup-field--wide {
    grid-column: 1 / -1;
  }

  .ab-dot-profile-setup-grid--link {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ab-dot-profile-setup-field span {
  padding-left: 0.08rem;
  font-size: 0.75rem;
}

.ab-dot-profile-setup-field input {
  height: 2.85rem;
}

.ab-dot-profile-setup-field textarea {
  min-height: 5.8rem;
}

.ab-dot-profile-setup-field input,
.ab-dot-profile-setup-field textarea {
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 699px) {
  body.ab-dot-profile-setup .ab-dot-profile-setup-main {
    display: block !important;
    padding: 0.8rem;
    /* Pseudo-orbs sit at negative insets + huge width; `overflow: visible` let them widen
       the page for horizontal panning. Hide them here and clip like desktop. */
    overflow: hidden !important;
  }

  body.ab-dot-profile-setup .ab-dot-profile-setup-main::before,
  body.ab-dot-profile-setup .ab-dot-profile-setup-main::after {
    display: none;
  }

  .ab-dot-profile-setup-copy::before {
    display: none;
  }

  .ab-dot-profile-setup-shell {
    border-radius: 1.45rem;
  }

  .ab-dot-profile-setup-copy,
  .ab-dot-profile-setup-card {
    padding: 1.25rem;
  }

  .ab-dot-profile-setup-copy {
    text-align: left;
    align-items: stretch;
  }

  .ab-dot-profile-setup-brand img {
    width: 104px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.1rem;
  }

  .ab-dot-profile-setup-copy h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .ab-dot-profile-setup-preview,
  .ab-dot-profile-setup-meter {
    width: 100%;
  }

  .ab-dot-profile-setup-form-head {
    align-items: flex-start;
  }
}

/* ═══ Arrival: calm “studio product” entrance (Apple-adjacent: long ease, no gimmicks) ═══ */
@media (prefers-reduced-motion: no-preference) {
  /* Slightly calmer page canvas on this route only */
  html.ab-dot-profile-setup-html body.ab-dot-home.ab-dot-profile-setup {
    animation: ab-ps-page-settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes ab-ps-page-settle {
    from {
      opacity: 0.88;
    }
    to {
      opacity: 1;
    }
  }

  /* Ambient orbs drift in after paint */
  body.ab-dot-profile-setup .ab-dot-profile-setup-main::before,
  body.ab-dot-profile-setup .ab-dot-profile-setup-main::after {
    opacity: 0;
    animation: ab-ps-orb-reveal 1.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
  }

  @keyframes ab-ps-orb-reveal {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Primary frosted shell: quiet lift (no scale — reads more “Apple configurator”) */
  .ab-dot-profile-setup-shell {
    animation: ab-ps-shell-reveal 1.12s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes ab-ps-shell-reveal {
    from {
      opacity: 0;
      transform: translate3d(0, 22px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* Left column: staggered rises */
  .ab-dot-profile-setup-copy > * {
    animation: ab-ps-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .ab-dot-profile-setup-copy > *:nth-child(1) {
    animation-delay: 0.14s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(2) {
    animation-delay: 0.2s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(3) {
    animation-delay: 0.26s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(4) {
    animation-delay: 0.32s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(5) {
    animation-delay: 0.38s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(6) {
    animation-delay: 0.44s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(7) {
    animation-delay: 0.5s;
  }
  .ab-dot-profile-setup-copy > *:nth-child(8) {
    animation-delay: 0.56s;
  }

  /* Right column form stack */
  .ab-dot-profile-setup-card > * {
    animation: ab-ps-rise 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .ab-dot-profile-setup-card > *:nth-child(1) {
    animation-delay: 0.24s;
  }
  .ab-dot-profile-setup-card > *:nth-child(2) {
    animation-delay: 0.3s;
  }
  .ab-dot-profile-setup-card > *:nth-child(3) {
    animation-delay: 0.36s;
  }
  .ab-dot-profile-setup-card > *:nth-child(4) {
    animation-delay: 0.42s;
  }
  .ab-dot-profile-setup-card > *:nth-child(5) {
    animation-delay: 0.48s;
  }
  .ab-dot-profile-setup-card > *:nth-child(6) {
    animation-delay: 0.54s;
  }
  .ab-dot-profile-setup-card > *:nth-child(7) {
    animation-delay: 0.6s;
  }

  @keyframes ab-ps-rise {
    from {
      opacity: 0;
      transform: translate3d(0, 14px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

}

.ab-dot-profile-setup-arrival {
  margin: -0.35rem 0 1rem;
  padding: 0;
  max-width: 22rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #64748b;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  html.ab-dot-profile-setup-html body.ab-dot-home.ab-dot-profile-setup,
  body.ab-dot-profile-setup .ab-dot-profile-setup-main::before,
  body.ab-dot-profile-setup .ab-dot-profile-setup-main::after,
  .ab-dot-profile-setup-shell,
  .ab-dot-profile-setup-copy > *,
  .ab-dot-profile-setup-card > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Single-page onboarding: one step panel visible at a time */
.ab-dot-onboard-step[hidden] {
  display: none !important;
}

.ab-dot-onboard-step.is-active {
  display: block;
}

button.ab-dot-onboard-back {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ── Step-by-step onboarding wizard (Dotcards-style) ── */
html.ab-dot-home-html:has(body.ab-dot-onboard),
html.ab-dot-profile-setup-html:has(body.ab-dot-onboard) {
  background: #fff !important;
  background-color: #fff !important;
}

body.ab-dot-home.ab-dot-profile-setup.ab-dot-onboard {
  background: #fff !important;
}

body.ab-dot-onboard {
  text-align: left;
}

.ab-dot-onboard-main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding:
    clamp(2rem, 9vh, 4.5rem)
    clamp(1rem, 4vw, 2rem)
    clamp(1.5rem, 6vh, 3rem);
  box-sizing: border-box;
}

.ab-dot-onboard-wrap {
  width: min(100%, 26rem);
  display: grid;
  gap: 1.65rem;
}

@media (min-width: 768px) {
  .ab-dot-onboard-main {
    padding-top: clamp(2.5rem, 10vh, 5rem);
  }

  .ab-dot-onboard-wrap {
    width: min(100%, 36rem);
    gap: 1.85rem;
  }
}

@media (min-width: 1024px) {
  .ab-dot-onboard-main {
    padding:
      clamp(3rem, 11vh, 5.5rem)
      clamp(1.5rem, 5vw, 3rem)
      clamp(2rem, 8vh, 4rem);
  }

  .ab-dot-onboard-wrap {
    width: min(100%, 48rem);
    gap: 2.15rem;
  }

  .ab-dot-onboard-brand img {
    width: 3.25rem;
    height: 3.25rem;
  }

  .ab-dot-onboard-progress__text {
    font-size: 0.8125rem;
  }

  .ab-dot-onboard-card {
    padding: 2.35rem 2.35rem 2.5rem;
    border-radius: 1.5rem;
    min-height: 18rem;
  }

  .ab-dot-onboard-card h1 {
    font-size: 2.25rem;
    margin-bottom: 0.15rem;
  }

  .ab-dot-onboard-hint {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .ab-dot-onboard-form {
    gap: 1.1rem;
  }

  .ab-dot-onboard-field {
    gap: 0.45rem;
  }

  .ab-dot-onboard-field span {
    font-size: 0.8125rem;
  }

  .ab-dot-onboard-field input {
    height: 3.5rem;
    font-size: 1.0625rem;
    border-radius: 1rem;
  }

  .ab-dot-onboard-preview {
    padding: 1.25rem 1.5rem;
    border-radius: 1.15rem;
    min-height: 5.5rem;
  }

  .ab-dot-onboard-preview__avatar {
    width: 4.25rem;
    height: 4.25rem;
  }

  .ab-dot-onboard-preview__avatar img,
  .ab-dot-onboard-preview__initials {
    border-radius: 50%;
  }

  .ab-dot-onboard-preview__initials {
    font-size: 1.2rem;
  }

  .ab-dot-onboard-preview__copy strong {
    font-size: 1.0625rem;
  }

  .ab-dot-onboard-preview__copy span {
    font-size: 0.875rem;
  }

  .ab-dot-onboard-preview__copy small {
    font-size: 0.8125rem;
  }

  .ab-dot-onboard-continue {
    min-height: 3.5rem;
    font-size: 1.0625rem;
  }

  .ab-dot-onboard-actions {
    gap: 0.75rem;
    margin-top: 0.65rem;
  }
}

@media (min-width: 1280px) {
  .ab-dot-onboard-main {
    padding-top: clamp(3.5rem, 12vh, 6rem);
  }

  .ab-dot-onboard-wrap {
    width: min(100%, 56rem);
    gap: 2.35rem;
  }

  .ab-dot-onboard-card {
    padding: 2.65rem 2.75rem 2.85rem;
    min-height: 20rem;
  }

  .ab-dot-onboard-card h1 {
    font-size: 2.375rem;
  }

  .ab-dot-onboard-preview {
    padding: 1.4rem 1.65rem;
    min-height: 6rem;
  }

  .ab-dot-onboard-preview__avatar {
    width: 4.5rem;
    height: 4.5rem;
  }

  .ab-dot-onboard-preview__initials {
    font-size: 1.28rem;
  }
}

.ab-dot-onboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ab-dot-onboard-brand img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.ab-dot-onboard-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 380px) {
  .ab-dot-onboard-name-row {
    grid-template-columns: 1fr;
  }
}

.ab-dot-onboard-progress {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ab-dot-onboard-progress__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ab-dot-onboard-progress__dot.is-active {
  background: #0066cc;
}

.ab-dot-onboard-progress__dot.is-done {
  background: rgba(0, 102, 204, 0.35);
}

.ab-dot-onboard-progress__text {
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: #64748b;
  letter-spacing: 0.04em;
}

.ab-dot-onboard-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ab-dot-onboard-preview__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
}

.ab-dot-onboard-preview__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
}

.ab-dot-onboard-preview__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(160deg, #f3f4f6 0%, #e2e4e8 100%);
  color: #3a3f47;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  user-select: none;
}

.ab-dot-onboard-preview__initials[hidden],
.ab-dot-onboard-preview__avatar img[hidden] {
  display: none !important;
}

.ab-dot-onboard-preview__copy {
  min-width: 0;
}

.ab-dot-onboard-preview__copy strong,
.ab-dot-onboard-preview__copy span,
.ab-dot-onboard-preview__copy small {
  display: block;
}

.ab-dot-onboard-preview__copy strong {
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.25;
}

.ab-dot-onboard-preview__copy span {
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.8rem;
}

.ab-dot-onboard-preview__copy small {
  margin-top: 0.2rem;
  color: #0066cc;
  font-size: 0.72rem;
  word-break: break-all;
}

.ab-dot-onboard-card {
  padding: clamp(1.35rem, 4vw, 1.75rem);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 40px rgba(15, 23, 42, 0.08);
}

.ab-dot-onboard-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0066cc;
}

.ab-dot-onboard-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.65rem, 5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.ab-dot-onboard-hint {
  margin: 0.55rem 0 1.25rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ab-dot-onboard-form {
  display: grid;
  gap: 0.85rem;
}

.ab-dot-onboard-field {
  display: grid;
  gap: 0.35rem;
}

.ab-dot-onboard-field span {
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
}

.ab-dot-onboard-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ab-dot-onboard-field input {
  width: 100%;
  box-sizing: border-box;
  height: 3rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ab-dot-onboard-field input:focus {
  border-color: rgba(0, 102, 204, 0.42);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.ab-dot-onboard-url-preview {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  color: #0066cc;
  word-break: break-all;
}

.ab-dot-onboard-link-claim {
  display: grid;
  gap: 0.65rem;
}

.ab-dot-onboard-link-claim__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 650;
  color: #334155;
}

.ab-dot-onboard-link-claim__box {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 3.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.9rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ab-dot-onboard-link-claim__box:focus-within {
  border-color: #0066cc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.ab-dot-onboard-link-claim__host {
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  user-select: none;
}

.ab-dot-onboard-link-claim__box input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0.55rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em;
}

.ab-dot-onboard-link-claim__box input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.ab-dot-onboard-link-claim .ab-dot-onboard-username-status {
  margin: 0;
}

.ab-dot-onboard-username-status {
  margin: -0.15rem 0 0;
  min-height: 1.1rem;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.ab-dot-onboard-username-status.is-checking {
  color: #64748b;
}

.ab-dot-onboard-username-status.is-available {
  color: #15803d;
}

.ab-dot-onboard-username-status.is-taken,
.ab-dot-onboard-username-status.is-invalid {
  color: #b91c1c;
}

.ab-dot-onboard-username-status.is-default {
  color: #64748b;
}

.ab-dot-onboard-field__optional {
  font-weight: 500;
  color: #94a3b8;
}

.ab-dot-onboard-done {
  display: grid;
  gap: 1rem;
  margin-top: 0.25rem;
}

.ab-dot-onboard-done__link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.ab-dot-onboard-done__url {
  width: 100%;
  box-sizing: border-box;
  height: 3rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  background: rgba(248, 250, 252, 0.95);
  color: #0f172a;
  font: inherit;
  font-size: 0.875rem;
}

.ab-dot-onboard-done__copy {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  min-height: 3rem;
  padding: 0 1.1rem;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ab-dot-onboard-done__copy:hover {
  background: #f8fafc;
}

.ab-dot-onboard-done__actions {
  display: grid;
  gap: 0.55rem;
}

.ab-dot-onboard-done__dashboard {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  text-decoration: none;
}

.ab-dot-onboard-done__dashboard:not(.ab-dot-onboard-continue) {
  color: #64748b;
  font: inherit;
  font-weight: 650;
}

.ab-dot-onboard-done__dashboard:not(.ab-dot-onboard-continue):hover {
  color: #0f172a;
}

@media (max-width: 480px) {
  .ab-dot-onboard-done__link {
    grid-template-columns: 1fr;
  }

  .ab-dot-onboard-done__copy {
    width: 100%;
  }
}

.ab-dot-onboard-photo {
  display: grid;
  gap: 0.5rem;
}

.ab-dot-onboard-photo__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.ab-dot-onboard-photo__btn {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-radius: 999px;
  min-height: 2.85rem;
  padding: 0 1.1rem;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  justify-self: start;
}

.ab-dot-onboard-photo__hint {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.ab-dot-onboard-photo__pick {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.85rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ab-dot-onboard-photo__pick[hidden] {
  display: none !important;
}

.ab-dot-onboard-photo__pick img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.ab-dot-onboard-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.ab-dot-onboard-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.15rem 0 !important;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #0066cc !important;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.ab-dot-onboard-back:hover {
  text-decoration: underline;
  color: #0052a3 !important;
}

body.ab-dot-onboard .ab-dot-onboard-form button.ab-dot-onboard-continue {
  width: 100%;
  color: #fff !important;
}

body.ab-dot-onboard .ab-dot-onboard-form button.ab-dot-onboard-skip {
  width: auto !important;
  color: #64748b !important;
}

.ab-dot-onboard-continue {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 3rem;
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.ab-dot-onboard-skip {
  appearance: none;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  min-height: 2.5rem;
}

.ab-dot-onboard-skip:hover {
  color: #0f172a;
}

.ab-dot-onboard-card .ab-dot-profile-setup-alert {
  margin-bottom: 0.85rem;
}

/* ── Step slide transitions ── */
.ab-dot-onboard-card,
.ab-dot-onboard-preview,
.ab-dot-onboard-head {
  will-change: opacity, transform;
}

@keyframes ab-onboard-enter-forward {
  from {
    opacity: 0;
    transform: translateX(1.35rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ab-onboard-enter-back {
  from {
    opacity: 0;
    transform: translateX(-1.35rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ab-onboard-exit-forward {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-1.35rem);
  }
}

@keyframes ab-onboard-exit-back {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(1.35rem);
  }
}

html.ab-onboard-enter-forward .ab-dot-onboard-card,
html.ab-onboard-enter-forward .ab-dot-onboard-preview,
html.ab-onboard-enter-forward .ab-dot-onboard-head,
.ab-dot-onboard-card.is-enter-forward,
.ab-dot-onboard-preview.is-enter-forward,
.ab-dot-onboard-head.is-enter-forward {
  animation: ab-onboard-enter-forward 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.ab-onboard-enter-back .ab-dot-onboard-card,
html.ab-onboard-enter-back .ab-dot-onboard-preview,
html.ab-onboard-enter-back .ab-dot-onboard-head,
.ab-dot-onboard-card.is-enter-back,
.ab-dot-onboard-preview.is-enter-back,
.ab-dot-onboard-head.is-enter-back {
  animation: ab-onboard-enter-back 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ab-dot-onboard-card.is-exit-forward,
.ab-dot-onboard-preview.is-exit-forward,
.ab-dot-onboard-head.is-exit-forward {
  animation: ab-onboard-exit-forward 0.34s cubic-bezier(0.4, 0, 0.68, 0.2) both;
  pointer-events: none;
}

.ab-dot-onboard-card.is-exit-back,
.ab-dot-onboard-preview.is-exit-back,
.ab-dot-onboard-head.is-exit-back {
  animation: ab-onboard-exit-back 0.34s cubic-bezier(0.4, 0, 0.68, 0.2) both;
  pointer-events: none;
}

html.ab-onboard-enter-forward .ab-dot-onboard-progress__dot.is-active,
html.ab-onboard-enter-back .ab-dot-onboard-progress__dot.is-active {
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .ab-dot-onboard-card,
  .ab-dot-onboard-preview,
  .ab-dot-onboard-head {
    will-change: auto;
  }

  html.ab-onboard-enter-forward .ab-dot-onboard-card,
  html.ab-onboard-enter-forward .ab-dot-onboard-preview,
  html.ab-onboard-enter-forward .ab-dot-onboard-head,
  html.ab-onboard-enter-back .ab-dot-onboard-card,
  html.ab-onboard-enter-back .ab-dot-onboard-preview,
  html.ab-onboard-enter-back .ab-dot-onboard-head,
  .ab-dot-onboard-card.is-enter-forward,
  .ab-dot-onboard-preview.is-enter-forward,
  .ab-dot-onboard-head.is-enter-forward,
  .ab-dot-onboard-card.is-enter-back,
  .ab-dot-onboard-preview.is-enter-back,
  .ab-dot-onboard-head.is-enter-back {
    animation: none;
  }

  .ab-dot-onboard-card.is-exit-forward,
  .ab-dot-onboard-preview.is-exit-forward,
  .ab-dot-onboard-head.is-exit-forward,
  .ab-dot-onboard-card.is-exit-back,
  .ab-dot-onboard-preview.is-exit-back,
  .ab-dot-onboard-head.is-exit-back {
    animation: none;
    opacity: 0.35;
    transition: opacity 0.15s ease;
  }
}
