.hub-tutorial-mask,
.hub-tutorial-highlight,
.hub-tutorial-card {
  position: fixed;
  z-index: 1090;
}

.hub-tutorial-mask {
  background: rgba(15, 27, 23, 0.72);
  pointer-events: auto;
  transition: inset 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.hub-tutorial-highlight {
  z-index: 1091;
  border: 3px solid #7db928;
  border-radius: 14px;
  box-shadow: 0 0 0 5px rgba(125, 185, 40, 0.22), 0 12px 36px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transition: inset 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.hub-tutorial-card {
  z-index: 1092;
  width: min(360px, calc(100vw - 32px));
  padding: 1.25rem;
  border: 1px solid rgba(31, 79, 64, 0.14);
  border-radius: 16px;
  color: #24312d;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.hub-tutorial-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hub-tutorial-progress {
  color: #39755f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-tutorial-skip {
  padding: 0;
  border: 0;
  color: #68756f;
  background: transparent;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-tutorial-card h2 {
  margin-bottom: 0.55rem;
  color: #1f4f40;
  font-size: 1.2rem;
  font-weight: 700;
}

.hub-tutorial-card p {
  margin-bottom: 1rem;
  color: #55635e;
  line-height: 1.55;
}

.hub-tutorial-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.hub-tutorial-actions .btn {
  border-radius: 999px;
}

.hub-tutorial-dots {
  display: flex;
  gap: 0.35rem;
  margin-right: auto;
}

.hub-tutorial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2dad6;
}

.hub-tutorial-dot.is-active {
  background: #7db928;
}

body.hub-tutorial-open {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .hub-tutorial-card {
    right: 16px !important;
    bottom: 16px !important;
    left: 16px !important;
    top: auto !important;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-tutorial-mask,
  .hub-tutorial-highlight {
    transition: none;
  }
}
