#onboarding-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  color: #183b56;
}
#onboarding-dialog::backdrop { background: transparent; }
.onboarding-veil { position: absolute; inset: 0; background: transparent; }
.onboarding-centered .onboarding-veil { background: rgb(12 32 48 / 72%); }
.onboarding-spotlight {
  position: absolute;
  border: 2px solid #a8e1d6;
  border-radius: 12px;
  box-shadow: 0 0 0 200vmax rgb(12 32 48 / 72%);
  pointer-events: none;
}
.onboarding-centered .onboarding-spotlight { display: none; }
.runalio-tour-card {
  position: absolute;
  box-sizing: border-box;
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 26px;
  border: 1px solid rgb(24 59 86 / 12%);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 65px rgb(0 0 0 / 24%);
  animation: onboarding-enter .16s ease-out;
}
.onboarding-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onboarding-label { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #43706a; }
#onboarding-dialog .onboarding-skip { padding: 8px 0 8px 8px; background: transparent; border: 0; color: #466579; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.onboarding-count { margin: 16px 0 8px; font-size: 12px; color: #466579; }
.onboarding-progress { display: flex; gap: 4px; margin-bottom: 20px; }
.onboarding-progress span { flex: 1; height: 4px; border-radius: 4px; background: #e8eff2; }
.onboarding-progress .visited { background: #397d70; }
#onboarding-title { margin: 0 0 14px; font-size: clamp(21px, 4vw, 26px); line-height: 1.2; letter-spacing: -.035em; }
#onboarding-copy { margin: 0; font-size: 15px; line-height: 1.65; color: #39586c; }
.onboarding-note { padding: 12px 14px; margin: 16px 0 0; border-radius: 10px; background: #f0f7f5; color: #375d57; font-size: 12px; line-height: 1.6; }
.onboarding-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.onboarding-actions .button { min-height: 44px; }
#onboarding-dialog button:focus-visible, #onboarding-title:focus-visible { outline: 3px solid #397d70; outline-offset: 4px; }
#onboarding-replay span { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }
@keyframes onboarding-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) { .runalio-tour-card { padding: 20px; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .runalio-tour-card { animation: none; } }
